597 Commits

Author SHA1 Message Date
4b9f673594 chore(templates): entryComponents are not needed with code splitting 2017-03-22 13:39:55 -05:00
09b01baa4e chore(templates): clean up templates for new generators 2017-03-22 13:37:40 -05:00
a63f760786 chore(e2e): remove experimental deeplink arg, add deepLinksDir 2017-03-21 21:19:31 -05:00
daab927fbd chore(readme): update readme for e2e tests with concurrency and dev flags 2017-03-21 12:09:32 -05:00
e1617c1433 chore(build): fix early return 2017-03-21 16:32:51 +01:00
042f698555 Merge branch 'master' into 3.0
# Conflicts:
#	src/components/action-sheet/test/basic/pages/page-one/page-one.ts
#	src/components/alert/alert.ts
#	src/components/content/content.ts
#	src/components/datetime/datetime.ts
#	src/components/datetime/test/datetime.spec.ts
#	src/components/loading/loading.ts
#	src/components/modal/test/basic/app.module.ts
#	src/components/picker/picker-component.ts
#	src/components/toast/toast.ts
#	src/components/toolbar/toolbar.ios.scss
#	src/components/toolbar/toolbar.md.scss
#	src/components/toolbar/toolbar.wp.scss
#	src/components/virtual-scroll/test/basic/app.module.ts
#	src/util/util.ts
2017-03-20 18:07:38 -04:00
b56b0e8105 chore(templates): change from deeplink to IonicPage 2017-03-20 14:04:51 -05:00
fbed3c5b04 chore(e2e): catch errors from app-scripts to continue
also return empty array so that if the exact folder isn’t matched it
won’t continue to filter and run tests. For example, if you pass
`--f=toolbar/color` it will error because that doesn't exist, but still
tries to run `toolbar/colors`.
2017-03-17 11:06:46 -04:00
da8ce042b6 chore(templates): directive template 2017-03-16 15:44:33 -05:00
960e529b43 chore(demos): remove unused code and add concurrency arg 2017-03-16 15:56:43 -04:00
ae56039ba1 chore(e2e): log an error if the test doesn't exist, add concurrency arg
- If the e2e test doesn’t exist then throw an error
- Don’t log anything if no tests are being built
- Add concurrency arg to change the number of tests being ran at once
2017-03-16 15:56:43 -04:00
06b388bb68 chore(templates): update tabs templates for 3.0 2017-03-15 15:15:41 -05:00
305848274d chore(templates): wip: update templates for 3.0 2017-03-15 15:09:46 -05:00
5d668036e6 chore(templates): modify tabs template to code-split 2017-03-15 14:54:17 -05:00
06246df3ce chore(build): fix to ensure all unit tests are run independent of state of dist directory 2017-03-14 16:08:15 -05:00
396f891f33 chore(docs): updating dgeni typescript package 2017-03-14 14:50:31 -05:00
0964c850d4 test(e2e): refactor e2e to use deeplink decorator, lazy load more pages 2017-03-11 00:15:38 -06:00
c90fcb07e7 chore(e2e): add --dev option to e2e.prod to speed up builds for faster but less thorough verification 2017-03-09 12:13:36 -06:00
1d68d1f91f chore(npm): update ionic-angular readme to remove 2.x 2017-03-08 15:46:35 -05:00
0d32e5e791 chore(gulp): updates to build process to use app-scripts for watch/build
updates to build process to use app-scripts for watch/build
2017-03-02 14:28:15 -06:00
555519da62 chore(deps): update to Angular 2.4.8
* chore(angular): update to latest stable angular

* chore(deps): update app-scripts

* chore(deps): sw-toolbox

* chore(deps): bump to 1.1.1 app-scripts

* chore(deps): abc order sw-toolbox

* chore(deps): update to angular 2.4.8

* chore(build): pass appNgModule path to app-scripts, make run AoT instead of Prod when using --debug

pass appNgModule path to app-scripts, make run AoT instead of Prod when using --debug
2017-02-21 16:43:38 -06:00
38717155a8 chore(docs): it’s not 2.0.0-nightly, it’s just “nightly” 2017-02-21 10:58:35 -06:00
f50697bf5c chore(release): add prompt for release to select release type (#10244)
* chore(release): add inquirer to prompt for release

* chore(release): wip get release working again and test

also adds nightly back in

* chore(release): WIP remove commented code
2017-02-02 18:26:07 -05:00
7f304edcf9 chore(docs): alphabetize class members in docs 2017-02-01 11:44:09 -06:00
2d4a998993 chore(release): update to increment major version 2017-01-25 11:26:46 -05:00
40b5ecba3b chore(sass): update import path for ionic 2017-01-23 15:15:33 -05:00
091545e8c5 chore(e2e): update tests to remove component name strings 2017-01-23 14:35:23 -05:00
ce7afd0327 chore(build): don't run prod build, just run with flags
TODO: this should be reverted with
https://github.com/driftyco/ionic-app-scripts/issues/668
2017-01-20 15:35:42 -05:00
d0db916f53 chore(scripts): update app-scripts to run via node, remove snapshot clean 2017-01-19 18:20:54 -05:00
f06398215c docs(config): update demo for config, add more logs for app-scripts
closes #9413
2017-01-19 13:17:11 -05:00
c8c90572bc chore(scripts): update e2e prod build to work with ionic-app-scripts (#10083)
* chore(e2e): WIP to add files needed for app-scripts

* chore(e2e): WIP one e2e test building but with errors

* chore(e2e): move e2e.prod to working with app-scripts

move shared functions into util, add support for debug flag when
running e2e.prod / demos.prod which gets passed to app-scripts

* chore(build): fix app-scripts build for all e2e and demos

* chore(e2e): update ionic-angular import path

* chore(build): update dev paths to work with prod

* chore(e2e): get watch working with e2e prod

* docs(scripts): update README for running e2e and demos

closes #8411
closes #10023
2017-01-19 11:09:57 -05:00
d252fa49e5 chore(e2e): rename app-module.ts to app.module.ts for consistency
references #10023
2017-01-13 15:16:24 -05:00
e35a3b1ab7 chore: fix incorrect execution of node binaries (#9962)
* chore: fix incorrect execution of node binaries

* Currently gulp runs the `ngc` by manually calling the `./node_modules/.bin/ngc` file (by assuming it's a node script)
  This is not always correct, because often package managers like (npm or yarn) create bash files for the package binaries.

* Using `resolve-bin` to properly determine the path to the *real* node script and then we can assume it's a node file.

Fixes #8341

* Remove extra newline
2017-01-12 13:28:41 -05:00
2c6d63cb72 docs(demos): update colors for API demos 2017-01-11 11:22:28 -05:00
755524abc7 chore(build): run a 'clean' before running 'validate'
run a 'clean' before running 'validate'
2017-01-09 10:16:31 -06:00
7000b1b173 refactor: improve tree shaking abilities
Internal refactor completed in order to improve tree shaking and dead
code removal. The public API, with an exception to ion-slides, has
stayed the same. However, internally many changes were required so
bundlers could better exclude modules which should not be bundled.
Ultimately most changes resorted to removing references to `window` or
`document`, or a module that referenced one of those.

BREAKING CHANGES

ion-slides was refactored to remove the external dependencies, and
rewritten in TypeScript/ES6 modules to again improve tree shaking
abilities.
2017-01-09 09:51:39 -06:00
b69eed5220 chore(demos): update demos build task to use app-scripts (#9830)
* chore(build): WIP getting ionic working with app-scripts

the tsconfig file change is just for testing, this will need to be
undone

* chore(demos): update tsconfig and gitignore for demos

update tsconfig and gitinogre for demos

* chore(build): WIP check in progress with building with app-scripts

this only works with demos/action-sheet currently

* refactor(demos): add custom copy config

add custom copy config

* chore(tsconfig): revert root tsconfig

* chore(demos): change import paths

* chore(demos): move sass config, add new tsconfig, update template

* chore(scripts): update demos tasks to use app scripts with folder name

tweak the createTempTsConfig function to include a path to read from,
move getFolderInfo into util to share

at this point you should be able to run `gulp demos.prod` with a folder
e.g. `--f=alert` and open the index of that test to see it. Doesn’t
work yet with all of the tests at once. Need to have ran `gulp
release.prepareReleasePackage` first.

* chore(build): WIP working on getting all of the demos building

* chore(demos): update demos task for app-scripts build

* chore(demos): fix tslint errors thrown by app-scripts

* chore(demos): get the demos working with fonts and variable file

* chore(demos): add watch task to the new prod task

* chore(demos): remove old demos.prod file and rename new one to it

* chore(npm): remove build npm script

* chore(demos): only log component name in url if one was passed
2017-01-03 10:23:14 -06:00
1f83cde78b chore(demos): update demos to work
* chore(demos): WIP refactor gulp demos task to use SystemJS

move build files into dist/demos and comment out the AoT demos task for
right now. This makes both `gulp demos` and `gulp demos.watch`work
again.

references #8411

* docs(demos): fix infinite scroll demo

* chore(demos): move old demos task to demos.prod

update the demos file with shared tasks, include the shared css

* docs(demos): fix API demos to use correct styles

* chore(demos): remove the main.ts files from each demo

* chore(demos): add prod template and constant

* chore(demos): remove tsconfig and package from demos

* chore(demos): update app.module path to ionic

* chore(demos): update app.module path to ionic

* chore(demos): update prod task for demos to work with AoT

also puts the demo build files into dist/ instead of the src directory

* docs(demos): update deploy and docs tasks for new build

* docs(scripts): update demos README

* chore(demos): fix path for prod build
2016-12-13 12:56:22 -06:00
7c70bdff15 chore(gulp): remove worker tasks 2016-12-12 09:43:39 -06:00
f051bba390 chore(img): add worker comments and watch task 2016-12-09 12:00:31 -06:00
8c297fee33 chore(worker): create tasks for external web workers 2016-12-08 22:36:57 -06:00
975eaa8aeb refactor(img): use external web worker 2016-12-08 22:32:44 -06:00
fd5dced9c0 chore(worker): remove inline worker task 2016-12-08 22:28:57 -06:00
25e581a7ea chore(ci): updating dgeni processors and templates for new ionic-site structure 2016-12-08 15:39:45 -06:00
104723ecda chore(CI): updating docs script for new repo structure 2016-12-08 14:47:05 -06:00
cf725d3cd7 chore(polyfills): remove promise from polyfills 2016-12-07 14:08:33 -06:00
0b4e8cee53 chore(minify): minify web worker 2016-12-06 13:44:02 -06:00
32b76173a2 test(img): create mock img server 2016-12-05 16:34:45 -06:00
a4ab7cae8f chore(test): mock img server task 2016-11-29 10:16:21 -06:00
85871914dc feat(template): add NavParams to page template 2016-11-28 12:32:21 -06:00