This repository was archived by the owner on Aug 7, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit b124e3b
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 basenames1 parent 9a57a53 commit b124e3b
File tree
287 files changed
+3904
-1156
lines changed- demo
- AngularApp
- app
- App_Resources
- Android
- drawable-hdpi
- drawable-ldpi
- drawable-mdpi
- drawable-nodpi
- drawable-xhdpi
- drawable-xxhdpi
- drawable-xxxhdpi
- values-v21
- values
- iOS
- Assets.xcassets
- AppIcon.appiconset
- LaunchImage.launchimage
- LaunchScreen.AspectFill.imageset
- LaunchScreen.Center.imageset
- item
- ninjas
- details
- e2e
- config
- resources/images/AngularApp/Emulator-Api23-Default
- JavaScriptApp
- app
- App_Resources
- Android
- drawable-hdpi
- drawable-ldpi
- drawable-mdpi
- drawable-nodpi
- drawable-xhdpi
- drawable-xxhdpi
- drawable-xxxhdpi
- values-v21
- values
- iOS
- Assets.xcassets
- AppIcon.appiconset
- LaunchImage.launchimage
- LaunchScreen.AspectFill.imageset
- LaunchScreen.Center.imageset
- views
- TypeScriptApp
- app
- App_Resources
- Android
- drawable-hdpi
- drawable-ldpi
- drawable-mdpi
- drawable-nodpi
- drawable-xhdpi
- drawable-xxhdpi
- drawable-xxxhdpi
- values-v21
- values
- iOS
- Assets.xcassets
- AppIcon.appiconset
- LaunchImage.launchimage
- LaunchScreen.AspectFill.imageset
- LaunchScreen.Center.imageset
- views
- lib
- plugins
- prepublish
- angular
- common
- javascript
- typescript
- templates
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 changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | + | ||
1 | 2 |
| |
2 | 3 |
| |
4 | + | ||
5 | + | ||
6 | + | ||
7 | + | ||
8 | + | ||
9 | + | ||
10 | + | ||
11 | + | ||
12 | + | ||
13 | + | ||
14 | + | ||
15 | + | ||
16 | + | ||
17 | + | ||
18 | + | ||
19 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | + | ||
2 | + | ||
3 | + | ||
4 | + | ||
5 | + | ||
6 | + | ||
7 | + | ||
8 | + | ||
9 | + | ||
10 | + | ||
11 | + | ||
12 | + | ||
13 | + | ||
14 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | + | ||
2 | + | ||
3 | + | ||
4 | + | ||
5 | + | ||
6 | + | ||
7 | + | ||
8 | + | ||
9 | + |
Lines changed: 43 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | + | ||
2 | + | ||
3 | + | ||
4 | + | ||
5 | + | ||
6 | + | ||
7 | + | ||
8 | + | ||
9 | + | ||
10 | + | ||
11 | + | ||
12 | + | ||
13 | + | ||
14 | + | ||
15 | + | ||
16 | + | ||
17 | + | ||
18 | + | ||
19 | + | ||
20 | + | ||
21 | + | ||
22 | + | ||
23 | + | ||
24 | + | ||
25 | + | ||
26 | + | ||
27 | + | ||
28 | + | ||
29 | + | ||
30 | + | ||
31 | + | ||
32 | + | ||
33 | + | ||
34 | + | ||
35 | + | ||
36 | + | ||
37 | + | ||
38 | + | ||
39 | + | ||
40 | + | ||
41 | + | ||
42 | + | ||
43 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | + | ||
2 | + | ||
3 | + | ||
4 | + | ||
5 | + | ||
6 | + | ||
7 | + | ||
8 | + | ||
9 | + | ||
10 | + | ||
11 | + | ||
12 | + | ||
13 | + | ||
14 | + | ||
15 | + | ||
16 | + |
0 commit comments