Filipe Silva
e97fd9f378
fix(init): don't replace live reload script on diffs ( #1128 )
...
Fix #1122
2016-06-18 03:23:49 +01:00
Hans
5f909aa7e4
fix(sourcemaps): try to improve the source maps by fixing the path ( #1028 )
2016-06-06 20:54:48 -07:00
Petar Blazevski
8307c14c50
chore(broccoli): Load different env config files
...
Fix #899
Close #913
2016-06-03 17:00:07 +01:00
Filipe Silva
9005d0f51b
chore: fix typoed var name ( #981 )
2016-06-03 15:37:46 +01:00
Giovanni Degiorgi
0bc3d94994
fix(admin): added support for non Administrator CLI user
...
In case of non-admin user instead of symlinkSync will just writeFileSync.
Close #905
Fix #886
Fix #370
2016-06-01 16:52:19 +01:00
Mike Brocchi
c3fd9c72cb
feat: allow lazy route prefix to be configurable
...
Fixes #842
2016-05-23 22:12:18 -04:00
Hans
19d578d02e
build(typescript): path mapping now includes checking without an extension ( #875 )
2016-05-21 00:11:47 +01:00
Filipe Silva
234de2b4f9
fix(build): fix broken sourcemaps ( #839 )
2016-05-19 09:45:57 -07:00
Mike Brocchi
482aa74bac
feat(blueprint): add blueprint for generating interfaces ( #757 )
...
Fixes #729
2016-05-18 13:20:30 -07:00
Hans
289c9bdb4d
build: add path mapping support to broccoli typescript ( #797 )
2016-05-17 16:16:49 -07:00
Jeff Cross
9d18f742c9
fix(mobile): prevent already-bundled JS from getting cached by Service Worker
...
This change excludes all JS files, except for the production-ready bundle,
from the tree that the ServiceWorkerPlugin receives.
2016-05-16 17:44:19 -07:00
killface
6b45099b6a
feat(SASSPlugin): Allow regexes to be passed to include/exclude certain file patterns
...
Allow passing in cacheInclude and cacheExclude as options to the SASSPlugin, primarily so that filenames beginning with an underscore can be ignored during SASS/SCSS compilation, which is generally accepted to be a standard in SASS (http://sass-lang.com/guide#topic-4 ). These config values can be set in angular-cli-build.js thus:
"sassCompiler": {
"cacheExclude": [/\/_[^\/]+$/]
}
This arguably closes issue #558 (https://github.com/angular/angular-cli/issues/558 )
2016-05-16 14:46:53 -07:00
Filipe Silva
285db139ce
fix(build): fix infinite loop on ng serve ( #775 )
...
Close #773
In windows, `filePath` seems to not be normalized and has the wrong separations, resulting in incorrect calculation of `destPath`.
2016-05-14 23:06:32 -07:00
Jeff Cross
bbf1bc8e14
fix(broccoli-typescript): properly parse compilerOptions ( #764 )
...
Previously, the settings in tsconfig would be ignored by
the broccoli-typescript plugin, because the whole config's
JSON was being provided to `convertCompilerOptionsFromJson()`
instead of just the expected `compilerOptions`.
2016-05-13 14:34:04 -07:00
Mike Brocchi
c302be81d5
chore: add ability to set default style file extensions ( #763 )
2016-05-13 12:31:31 -07:00
Jeff Cross
679d0e60cf
fix(mobile): include vendor scripts in bundle
...
Closes #733
2016-05-12 20:17:58 -07:00
Jeff Cross
818fb19b0a
fix(mobile): update path to reflect updated service worker package ( #746 )
2016-05-12 18:14:41 -07:00
Jeff Cross
04593ebe1d
feat(mobile): add ServiceWorker generation to build process and index
2016-05-11 21:13:59 -07:00
Jeff Cross
51569ce674
feat(mobile): add prod build step to concatenate scripts
...
For projects that use the --mobile flag, this will cause all
third-party polyfills and the system-loader script to be
concatenated into a single file that can be loaded via
an async script tag. This is necessary for App Shell to work
properly, so that rendering won't be blocked on synchronous
script loading.
Note: this change still loads app and library files individually.
Follow-up work should be done to further improve loading
performance.
2016-05-11 21:13:59 -07:00
Jeff Cross
cb1270f5e4
feat(mobile): add support for generating App Shell in index.html
2016-05-11 21:13:52 -07:00
Jeff Cross
f717bde013
feat(mobile): add blueprint for app manifest and icons
2016-05-11 21:13:45 -07:00
Hans
d81e4b1638
feature: now use Handlebars for building the index.html. ( #712 )
2016-05-10 16:58:48 -07:00
Hans Larsen
7ba388db8e
fix: use options sourceDir, and fix null property access. Also use 1.9
...
proper tsconfig reading.
Fixes #619 .
2016-05-09 13:22:46 -07:00
Jonathan Kuleff
413d6e0a4e
chore: exclude tsconfig.json from being copied to dist/ ( #686 )
2016-05-09 08:48:44 -07:00
Hans
cc989462f5
Bug fixes ( #622 )
...
* chore: if no files in tsconfig, use empty array
* chore: cleanup and check for file existence in the build.
Fixes #620 .
2016-05-03 22:04:54 -07:00
Hans
a9f14a725d
chore: fix all linting issues with generated app ( #611 )
2016-05-03 09:55:46 -07:00
Alex Rickabaugh
44e300bcd0
refactor(sw): Delete the service worker manifest generation functionality from the CLI ( #609 )
2016-05-03 01:02:08 -06:00
Filipe Silva
84017f8ed5
feat(prod): add bundling ( #549 )
2016-05-03 02:43:03 +01:00
Hans
78e040c43f
chore: upgrade to new packaging ( #550 )
2016-05-02 18:46:44 -06:00
Mike Brocchi
9969509f15
feat: allow for configurable source diretory location and selector prefix at app creation
2016-05-01 14:42:51 -04:00
Zack Chapple
cb6dcc0d3f
feat(migration): copying JS files when created in cli generated app, removing dead code ( #546 )
2016-04-27 15:05:58 +01:00
Filipe Silva
a6cf82564d
fix(envs): update source dir ( #535 )
...
Close #530
2016-04-27 12:35:51 +01:00
Hans
b8f6fb4de8
chore: use _sourceDir everywhere ( #541 )
2016-04-26 23:55:52 -07:00
Mike Brocchi
875a743cd0
feat: auto-prefix selectors based upon configuration
...
Fixes #539
2016-04-26 23:57:38 -04:00
Jan Kuri
8ae3cb6d6e
chore(config): ng-config ( #506 )
2016-04-26 15:48:41 -07:00
Hans
c5e43d07ed
chore: add a first draft of the config schema. ( #484 )
2016-04-22 11:26:18 -07:00
Hans
49456773f3
chore: make Angular2App a full broccoli plugin. ( #449 )
...
`toTree()` is always called and nothing else is ever done anyway.
Also added an inputNode as input. If ommitted uses the source dir, as
before.
2016-04-18 17:31:17 -07:00
Hans
0b6949128d
fix: when a file has an error, recompile it next run. ( #445 )
...
Fixes #435
2016-04-16 15:24:43 +01:00
Filipe Silva
0f3f11b855
feat(prod-build): add environment config ( #411 )
2016-04-14 00:55:11 +01:00
Hans
4fa8de5867
build: adding support for custom globs in the angular2app, and cleanup ( #422 )
2016-04-11 17:45:25 -07:00
Hans Larsen
af5dbef974
build: do not do a full build _after_ we have done an incremental one.
2016-04-10 16:47:55 -07:00
Hans
f505b75e94
fix: deleting the data instead of setting it null. ( #413 )
...
Also, remove ngConfig which was added by mistake, and new tests for
sass.
2016-04-09 12:11:49 -07:00
Hans Larsen
2fac21b695
build: Angular2App is now a class, and accepts options for css compilers.
2016-04-08 17:49:26 -07:00
Cédric Exbrayat
4fe8687c63
fix: use symLinkSync for TS compiler output
2016-04-08 12:07:36 -07:00
Hans Larsen
12ee1ef446
chore: monkey patch findBuildFile to use our angular-cli-build file.
2016-04-06 13:44:25 -07:00
jkuri
3b72dced7b
fix(build): remove source files from dist dir
2016-04-06 00:16:16 +02:00
jkuri
bf1f762887
docs: css preprocessors support
2016-04-05 20:53:49 +02:00
jkuri
d2f2404f96
chore: add css preprocessor trees
2016-04-05 19:27:23 +02:00
jkuri
f5397c531b
feat(css): broccoli compass plugin
2016-04-05 19:27:23 +02:00
jkuri
6a93b3ea87
feat(css): broccoli stylus plugin
2016-04-05 19:27:23 +02:00