12 Commits

Author SHA1 Message Date
ad40b3b86b chore(scripts): normalize paths and include typeRoots for Windows (#11933)
Short description of what this resolves:

Allows our e2e tests to run on a Windows machine

Changes proposed in this pull request:

Normalize paths using path.join()
Add typeRoots to the root tsconfig file
Change the spawnedCommand based on the OS
Fixes: #11551
2017-06-05 18:57:05 -04:00
54acc74fdb refactor(packaging): points to es5 code with es2015 import/header, points to umd cod
points to es5 code with es2015 import/header,  points to umd code,  points to
pure es2015 code
2017-03-27 16:42:01 -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
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
fd5dced9c0 chore(worker): remove inline worker task 2016-12-08 22:28:57 -06:00
ff1f340285 test(assert): adds new debugging assert() util
improves removing of console.debug statements

fixes #8483
2016-10-18 09:10:00 -05:00
a2c8243b94 chore(build): change build process to publish es5 w/ es2015 import/export, umd, and pure es2015 versions 2016-09-25 11:21:36 -05:00
4c57873c09 chore(build): move to rollup for e2e, move to es6 imports and type definitions
move to rollup for e2e, move to es6 imports and type definitions
2016-09-20 01:02:39 -05:00
716e500351 chore(build): leave .metadata.json metadata in the ionic-angular dist
leave .metadata.json metadata in the ionic-angular dist
2016-09-16 10:58:35 -05:00
5ad8395e0c chore(build): remove ngc metadata and other unnecessary stuff from dist
remove ngc metadata and other unnecessary stuff from dist
2016-09-16 00:34:41 -05:00
12c9fd12bd chore(gulp): update gulp scripts 2016-09-13 15:09:39 -05:00