570 Commits

Author SHA1 Message Date
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
907191bbc2 perf(tabs): improve tab switching response 2016-11-28 09:00:41 -06:00
b515f5251b refactor(toolbar): move border from toolbar to header/footer and increase opacity
This matches native iOS. Removed the `no-border-top` and
`no-border-bottom` from toolbars since it is only added to `ion-header`
and `ion-footer` now, and added `no-border` to each of those.
2016-11-23 17:54:05 -06:00
12b8157e1e chore(): update dgeni config 2016-11-16 08:14:51 -06:00
b93799713f chore(CI) skipping demo builds for now 2016-11-14 13:18:13 -06:00
217c171e5f chore(CI): update dgeni 2016-11-14 10:10:29 -06:00
cf1196a209 docs(contributing): update contributing and scripts docs for commit messages 2016-11-04 13:24:08 -04:00
a1e17c6f78 chore(): generate coverage to umd js only 2016-11-03 20:24:35 +01:00
7735be7c4f chore(): add remove debug statements logs 2016-11-03 00:56:06 +01:00
837ca76dad chore(scripts): update npm script to link and README instructions
fixes #8874
2016-10-25 13:31:06 -04:00
950e6634e1 fix(gulp): e2e.watch works with non localhost interface 2016-10-24 16:58:31 +02:00
d93070a7d5 chore(gulp): update e2e and snapshot (#8846)
* 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
2016-10-21 23:59:20 +02:00
61620f8d48 fix(templates): suffix templates page #8320 (#8368) 2016-10-18 14:37:45 -05:00
d334a43108 chore(generators): change class name 2016-10-18 14:25:29 -05: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
8b07e6c55b fix(navPush): change detector exception
Disables prod mode in e2e tests

fixes
2016-10-18 01:38:42 +02:00
c72ab1a3bd chore(readme): eric wanted two beers, so we're gonna have two beers 2016-10-13 16:49:28 -04:00
e69d9d70c7 chore(release): update release task to increment version, run validate, and pull latest
update the release documentation to reflect the new release process
2016-10-13 16:34:49 -04:00
8926595f31 chore(e2e): remove the e2e clean for now until it can be implemented correctly 2016-10-12 11:47:42 -04:00
75eb743786 test(popover): fix popover e2e test to use the shared css 2016-10-11 14:54:13 -04:00
6008fde74c chore(release): update release task name to use sass for consistency 2016-10-11 11:36:27 -04:00
3cf90c6eb8 chore(e2e): update e2e watch to use gulp-connect and open
references #8411
2016-10-11 11:16:37 -04:00
e8e518a863 chore(build): move ionic-angular to peerDependencies
move ionic-angular to peerDependencies
2016-10-10 13:26:17 -05:00
d26edb0f1b chore(): move ionic's dependencies into peerDependencies. (#8488)
* chore(): move ionic's dependencies into peerDependencies.

* Update package.json

Added compiler-cli back as a peer dependency.
2016-10-10 13:16:56 -05:00
01dfca7356 chore(): update dgeni config 2016-10-07 12:39:35 -04:00
a7db2367fa chore(release): fix nightly task so it gets published 2016-10-04 13:10:24 -04:00
55d8594f6c chore(build): release process automated
release process automated
2016-09-28 12:22:49 -05:00
bd828fa8c6 chore(changelog): update changelog 2016-09-27 22:18:32 -05:00