* trying Circle CI v2
* paths are fun
* seeing how long a demos build takes
* Batching Demo builds
* testing demo builds on CI2
* batches count from 0
* ok, looks good. preparing for master branch
* forgot `production=true` flag. let’s test that quick.
* forgot to save the file
* making sure that docs are still copied over to ionic-site in the deploy phase
* getting ready for the PR again
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`.
- 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
* 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
* 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
* 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#8411closes#10023
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.
* 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
* 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
* chore(e2e): add livereload server and clean task for e2e
* chore(e2e): refactor to use gulp connect and open
* chore(e2e): WIP remove open, add formatting, add reload task
* wip(e2e): use SystemJS for faster dev e2e rebuilds
* chore(e2e): wip removing old gulp file, old e2e task
update template for e2e and port number
* chore(e2e): wip add SystemJS for dev build of e2e, use those tasks instead
* chore(e2e): uncomment out range components
* chore(e2e): wip fix paths for the e2e tempate
* chore(scripts): update README back to the old way
* chore(e2e): code cleanup
* chore(e2e): split tasks into dev and prod, put common tasks in e2e
* chore(e2e): rename e2e templates and add to readme
* chore(e2e): fix dev build so it will work with snapshot
* chore(snapshot): get snapshot working with dev and prod builds