Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b124e3b

Browse files
Dimitar KerezovPanayotCankov
Dimitar Kerezov
authored andcommittedNov 29, 2017
Enable plugin to run through hooks
Instead of relying on npm scripts, rely on hooks so that certain parts of the prepare chain can be overriden. Do not skip moving `App_Resources` directory, as CLI expects it to be present in platforms and will take care of the resources inside. chore(deps): unpin nativescript-hook version enable webpack builds in debug and optional snapshot feat: support for Angular 5 - add NativeScriptAngularCompilerPlugin that extends AngularCompilerPlugin BREAKING CHANGES NativeScriptAngularCompilerPlugin must be used instead of AotPlugin in your webpack configuration from now on. You can regenerate the webpack configuration if you haven't made changes to it by running "./node_modules/.bin/update-ns-webpack --configs". ... Implement NativeScriptAngularCompilerPlugin and integrate the PlatformFSPlugin .js .map.js and .d.ts files don't have to stay in source control, they will be generated on prepare Make prepare script to tsc, and ignore .ts artifacts from source control Remove the prepare scripts that create templates/webpack.*.js Make the webpack config work for angular, typescript and javascript WIP chore: update added versions Add Angular and JavaScript apps for tests Add demo/AngularApp, demo/JavaScriptApp in wip chore: remove dependency to @angular/animations as it's not used feat(demo-ng): add lazy loaded modules Add scss and platform specific files to the JavaScriptApp demo Make JavaScriptApp work with css and scss, bundle all .js, .css and .scss files test(AngularApp): add configs, dependencies and samples Add some testable rectangles for the app so we can ensure CSS and SCSS work Fix a minor bug in the angular webpack plugin Added a TypeScript project and configured the TypeScript webpack config test(AngularApp): add tests and images Map the watchFileSystem, seems to work 'decently' now... Map timestamps so platform specific files dont get rebuild with every change Add IPC notifications for CLI watch Adding IPC channel without watch made the proccess hang filter for watcher was mapping absolute paths to basenames
1 parent 9a57a53 commit b124e3b

File tree

287 files changed

+3904
-1156
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

287 files changed

+3904
-1156
lines changed
 

‎.gitignore

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,19 @@
1+
12
node_modules
23
*.tgz
4+
package-lock.json
5+
6+
plugins/NativeScriptAngularCompilerPlugin.d.ts
7+
plugins/NativeScriptAngularCompilerPlugin.js
8+
plugins/NativeScriptAngularCompilerPlugin.js.map
9+
10+
plugins/PlatformFSPlugin.d.ts
11+
plugins/PlatformFSPlugin.js
12+
plugins/PlatformFSPlugin.js.map
13+
14+
plugins/WatchStateLoggerPlugin.d.ts
15+
plugins/WatchStateLoggerPlugin.js
16+
plugins/WatchStateLoggerPlugin.js.map
17+
18+
hooks
19+
.DS_Store

‎.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
prepublish
2+
demo

0 commit comments

Comments
 (0)
This repository has been archived.