Skip to content

Commit d5bf487

Browse files
authored
Merge pull request #104 from NativeScript/lini/remove-webpack-deps
chor: update webpack and remove unneeded dependencies
2 parents 124ce36 + 7103e48 commit d5bf487

File tree

3 files changed

+14
-40
lines changed

3 files changed

+14
-40
lines changed

demo-angular/package.json

Lines changed: 12 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@
1111
}
1212
},
1313
"dependencies": {
14-
"@angular/common": "~6.0.0",
15-
"@angular/compiler": "~6.0.0",
16-
"@angular/core": "~6.0.0",
17-
"@angular/forms": "~6.0.0",
18-
"@angular/http": "~6.0.0",
19-
"@angular/platform-browser": "~6.0.0",
20-
"@angular/platform-browser-dynamic": "~6.0.0",
21-
"@angular/router": "~6.0.0",
22-
"nativescript-angular": "6.0.0",
14+
"@angular/common": "~6.0.6",
15+
"@angular/compiler": "~6.0.6",
16+
"@angular/core": "~6.0.6",
17+
"@angular/forms": "~6.0.6",
18+
"@angular/http": "~6.0.6",
19+
"@angular/platform-browser": "~6.0.6",
20+
"@angular/platform-browser-dynamic": "~6.0.6",
21+
"@angular/router": "~6.0.6",
22+
"nativescript-angular": "~6.0.6",
2323
"nativescript-facebook": "../src",
2424
"nativescript-theme-core": "^1.0.4",
2525
"nativescript-unit-test-runner": "^0.3.4",
@@ -28,14 +28,10 @@
2828
"zone.js": "^0.8.4"
2929
},
3030
"devDependencies": {
31-
"@angular/compiler-cli": "~6.0.0",
32-
"@ngtools/webpack": "~6.0.0",
31+
"@angular/compiler-cli": "~6.1.0-beta.1",
3332
"babel-traverse": "6.26.0",
3433
"babel-types": "6.26.0",
3534
"babylon": "6.18.0",
36-
"copy-webpack-plugin": "~4.5.1",
37-
"css-loader": "~0.28.7",
38-
"extract-text-webpack-plugin": "~3.0.2",
3935
"filewalker": "0.1.2",
4036
"jasmine-core": "^2.5.2",
4137
"karma": "^1.3.0",
@@ -44,19 +40,10 @@
4440
"lazy": "1.0.11",
4541
"nativescript-css-loader": "~0.26.0",
4642
"nativescript-dev-typescript": "^0.7.1",
47-
"nativescript-dev-webpack": "0.12.0",
48-
"nativescript-worker-loader": "~0.8.1",
49-
"raw-loader": "~0.5.1",
50-
"resolve-url-loader": "~2.3.0",
43+
"nativescript-dev-webpack": "~0.14.0",
5144
"tslint": "~5.4.3",
5245
"typescript": "~2.7.2",
53-
"webpack": "~4.5.0",
54-
"webpack-bundle-analyzer": "~2.9.1",
55-
"webpack-cli": "~2.0.14",
56-
"webpack-sources": "~1.1.0",
57-
"uglifyjs-webpack-plugin": "~1.2.4",
58-
"clean-webpack-plugin": "~0.1.19",
59-
"@angular-devkit/core": "~0.6.3"
46+
"@angular-devkit/build-angular": "~0.7.0-rc.0"
6047
},
6148
"scripts": {
6249
"build.plugin": "cd ../src && npm run build",

demo/package.json

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,11 @@
1515
"tns-core-modules": "4.1.0"
1616
},
1717
"devDependencies": {
18-
"awesome-typescript-loader": "~5.0.0",
1918
"babel-traverse": "6.26.0",
2019
"babel-types": "6.26.0",
2120
"babylon": "6.18.0",
2221
"chai": "~4.1.2",
2322
"chai-as-promised": "~7.1.1",
24-
"copy-webpack-plugin": "~4.5.1",
25-
"css-loader": "~0.28.11",
26-
"extract-text-webpack-plugin": "~3.0.2",
2723
"filewalker": "~0.1.3",
2824
"jasmine-core": "^3.1.0",
2925
"karma": "^2.0.2",
@@ -34,19 +30,10 @@
3430
"nativescript-css-loader": "~0.26.1",
3531
"nativescript-dev-appium": "3.2.0",
3632
"nativescript-dev-typescript": "^0.7.1",
37-
"nativescript-dev-webpack": "0.12.0",
38-
"nativescript-worker-loader": "~0.9.0",
39-
"raw-loader": "~0.5.1",
40-
"resolve-url-loader": "~2.3.0",
33+
"nativescript-dev-webpack": "~0.14.0",
4134
"tslint": "~5.4.3",
4235
"typescript": "~2.7.2",
4336
"wd": "~1.7.0",
44-
"webpack": "~4.5.0",
45-
"webpack-bundle-analyzer": "^2.9.1",
46-
"webpack-cli": "~2.0.14",
47-
"webpack-sources": "~1.1.0",
48-
"uglifyjs-webpack-plugin": "~1.2.5",
49-
"clean-webpack-plugin": "~0.1.19",
5037
"@types/chai": "^4.1.3",
5138
"@types/mocha": "^5.2.0",
5239
"@types/node": "^10.1.2"

demo/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@
4141
"platforms"
4242
],
4343
"compileOnSave": false
44-
}
44+
}

0 commit comments

Comments
 (0)