41 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
41e34fc4ce chore(docs): moving docs from /docs/v2 to /docs 2017-03-29 11:00:52 -05:00
5974dcea9e docs(demos): update paths for fonts and stylesheet 2017-03-27 13:33:47 -04: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
40b5ecba3b chore(sass): update import path for ionic 2017-01-23 15:15:33 -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
2c6d63cb72 docs(demos): update colors for API demos 2017-01-11 11:22:28 -05: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
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
4260940814 chore(demos): update demo scripts 2016-09-13 15:06:50 -05:00
248b8f4adf docs(demos): fix API demos missing the correct path to angular forms 2016-08-03 11:42:56 -04:00
b7826ba1c1 fix(demos): updates @angular paths 2016-06-23 21:14:57 +02:00
fc819dd9c4 feat(range): add ability to add labels to the left/right of range
using `range-left` and `range-right` inside of `ion-range` will place
the element to the left or right of the range.

references #5422
2016-05-31 20:11:09 -04:00
92683ebdf9 chore(CI): update src paths 2016-05-19 14:42:10 -05:00
3817c91084 chore(demos): fix the index file and sass for local demos
references #6491
2016-05-19 14:59:40 -04:00
c8f760f080 chore(build): rename ionic directory to src and update all references in the build process. 2016-05-19 13:22:40 -05:00
227930f002 chore(demos): fix the template for demos with the angular update 2016-05-16 17:13:41 -04:00
f14e3840e2 build(demos): fix path for zone 2016-04-07 11:47:17 -04:00
a0d068dae0 docs(demos): update gulp file and API demos to include windows theme 2016-03-10 23:04:13 -05:00
1cdf10238f docs(api demos): update api demos 2016-02-24 11:18:51 -05:00
c883a2ae91 chore(): update Ionic imports in tests 2016-02-22 17:45:17 -06:00
1b7cb8ccb0 chore(demos): don't bundle demos when developing
Rebundling all demos on every change takes 1 minute, only do it for
production.
2016-02-18 14:53:46 -06:00
da18868636 refactor(animations): inline css animations 2016-02-09 16:23:01 -06:00
0ac475fae8 chore(demos): update build process, add sass compilation 2016-02-05 11:35:39 -06:00
c740b8e479 chore(demos): remove loading icon
Related: https://github.com/driftyco/ionic-site/issues/299
2016-01-14 16:52:46 -06:00
5aa93f70db chore(demos): remove platform-cordova 2016-01-11 13:37:40 -06:00
4b9a761f76 docs(demos): update tabs demo 2016-01-06 09:07:23 -06:00
0d1ef20622 fix(demos): update demos wip 2016-01-04 17:57:57 -06:00
982f32bbcb fix(demos): explicitly set android menu width
Closes #401
2015-11-05 16:16:08 -06:00
3fa2f6b7de docs(components): import ionic sass 2015-10-30 15:54:12 -05:00
cd1d4cc82a docs(demos): use cordova platform class to style statusbar 2015-10-26 13:53:41 -05:00
f02b2c3c8a chore(es6-shim): Updating the gulpfile to bundle in es6-shim. Updating the webpack.config file to include the es6-shim 2015-10-20 10:25:35 -06:00
aa816a9072 bundle demos with CJS 2015-10-09 22:45:46 -05:00
ec480b1fd9 docs(demos): add list and item demo 2015-10-01 13:45:12 -05:00
c89deca542 chore(demos): fix zonejs issue, add new template 2015-10-01 13:45:12 -05:00
3042e7e9d0 chore(demos): add local app.css to each demo 2015-09-30 14:01:53 -05:00
860471d822 fix(demos): fix paths for alpha.37 update 2015-09-11 09:01:34 -05:00
e538c9793e fix(demos): fix paths 2015-09-10 10:20:43 -05:00
31d04a1093 feat(gulp): add demos task 2015-09-09 16:52:25 -05:00