Skip to content

Commit a058485

Browse files
author
Zdravko
authored
Merge pull request #89 from NativeScript/lini/update-4-2-0
chor: update dependencies in src/ and demo/ package.json for 4.2.0
2 parents 936b332 + f4d194f commit a058485

File tree

4 files changed

+25
-44
lines changed

4 files changed

+25
-44
lines changed

.travis.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ matrix:
66
- stage: "Lint"
77
language: node_js
88
os: linux
9-
node_js: "6"
9+
node_js: "8"
1010
script: cd src && npm run ci.tslint && cd ../demo && npm run ci.tslint
1111
- stage: "Build and Test"
1212
env:
@@ -21,10 +21,10 @@ matrix:
2121
- os: osx
2222
env:
2323
- BuildiOS="11"
24-
- Xcode="9.2"
25-
osx_image: xcode9.2
24+
- Xcode="9.3"
25+
osx_image: xcode9.3
2626
language: node_js
27-
node_js: "6"
27+
node_js: "8"
2828
jdk: oraclejdk8
2929
script:
3030
- cd src && npm i && npm run tsc && cd ../demo
@@ -47,9 +47,9 @@ matrix:
4747
env:
4848
- TestVersion="latest"
4949
language: node_js
50-
node_js: "6"
50+
node_js: "8"
5151
jdk: oraclejdk8
52-
osx_image: xcode8.3
52+
osx_image: xcode9.3
5353
before_script:
5454
- cd seed-tests && npm i
5555
script: travis_wait travis_retry npm run test.ios

demo/package.json

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -6,37 +6,19 @@
66
"nativescript-theme-core": "^1.0.4",
77
"nativescript-unit-test-runner": "^0.3.4",
88
"nativescript-yourplugin": "../src",
9-
"tns-core-modules": "^4.1.0"
9+
"tns-core-modules": "^4.2.0"
1010
},
1111
"devDependencies": {
12-
"awesome-typescript-loader": "~5.0.0",
13-
"babel-traverse": "6.26.0",
14-
"babel-types": "6.26.0",
15-
"babylon": "6.18.0",
16-
"clean-webpack-plugin": "~0.1.19",
17-
"copy-webpack-plugin": "~4.5.1",
18-
"css-loader": "~0.28.7",
19-
"extract-text-webpack-plugin": "~3.0.2",
20-
"filewalker": "0.1.2",
2112
"jasmine-core": "^2.5.2",
2213
"karma": "^1.3.0",
2314
"karma-jasmine": "^1.0.2",
2415
"karma-nativescript-launcher": "^0.4.0",
25-
"lazy": "1.0.11",
26-
"nativescript-css-loader": "~0.26.0",
27-
"nativescript-dev-typescript": "^0.7.0",
28-
"nativescript-dev-webpack": "^0.12.0",
29-
"nativescript-worker-loader": "~0.8.1",
30-
"raw-loader": "~0.5.1",
31-
"resolve-url-loader": "~2.3.0",
32-
"tns-platform-declarations": "^4.1.0",
16+
"nativescript-css-loader": "~0.26.1",
17+
"nativescript-dev-typescript": "~0.7.2",
18+
"nativescript-dev-webpack": "~0.15.1",
19+
"tns-platform-declarations": "^4.2.0",
3320
"tslint": "~5.4.3",
34-
"typescript": "~2.7.2",
35-
"webpack": "~4.5.0",
36-
"webpack-bundle-analyzer": "^2.9.1",
37-
"uglifyjs-webpack-plugin": "~1.2.4",
38-
"webpack-cli": "~2.0.14",
39-
"webpack-sources": "~1.1.0"
21+
"typescript": "~2.8.2"
4022
},
4123
"scripts": {
4224
"build.plugin": "cd ../src && npm run build",

src/.travis.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,23 @@ matrix:
33
- stage: "Lint"
44
language: node_js
55
os: linux
6-
node_js: "6"
6+
node_js: "8"
77
script: cd src && npm run ci.tslint && cd ../demo && npm run ci.tslint
88
- stage: "WebPack, Build and Test"
99
os: osx
1010
env:
1111
- WebPack="iOS"
1212
osx_image: xcode9.2
1313
language: node_js
14-
node_js: "6"
14+
node_js: "8"
1515
jdk: oraclejdk8
1616
script: cd demo && npm run build.plugin && npm i && tns build ios --bundle --env.uglify
1717
- language: android
1818
os: linux
1919
env:
2020
- WebPack="Android"
2121
jdk: oraclejdk8
22-
before_install: nvm install 6.10.3
22+
before_install: nvm install 8
2323
script: cd demo && npm run build.plugin && npm i && tns build android --bundle --env.uglify --env.snapshot
2424
- language: android
2525
env:
@@ -35,7 +35,7 @@ matrix:
3535
- Xcode="9.2"
3636
osx_image: xcode9.2
3737
language: node_js
38-
node_js: "6"
38+
node_js: "8"
3939
jdk: oraclejdk8
4040
script:
4141
- cd src && npm i && npm run tsc && cd ../demo && tns build ios
@@ -49,11 +49,11 @@ matrix:
4949
- emulator -avd test -no-audio -no-window &
5050
- android-wait-for-emulator
5151
before_install:
52-
- nvm install 6
52+
- nvm install 8
5353
script: cd src && npm run test.android
5454
- os: osx
5555
language: node_js
56-
node_js: "6"
56+
node_js: "8"
5757
jdk: oraclejdk8
5858
osx_image: xcode9.2
5959
script: cd src && npm run test.ios

src/package.json

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,16 @@
1414
"tsc": "tsc -skipLibCheck",
1515
"build": "npm i && tsc && npm run build.native",
1616
"build.native": "node scripts/build-native.js",
17-
"postclone": "npm i && node scripts/postclone.js && cd ../demo && npm i && cd ../src && npm run plugin.link",
17+
"postclone": "npm i && node scripts/postclone.js && cd ../demo && npm i",
1818
"test.android": "npm i && npm run tsc && npm run tslint && cd ../demo && tns build android && tns test android --justlaunch",
1919
"test.ios": "npm i && npm run tsc && npm run tslint && cd ../demo && tns build ios && tns test ios --justlaunch",
2020
"tslint": "cd .. && tslint \"**/*.ts\" --config tslint.json --exclude \"**/node_modules/**\"",
21-
"plugin.link": "npm link && cd ../demo && npm link nativescript-yourplugin && cd ../src",
2221
"plugin.tscwatch": "npm run tsc -- -w",
2322
"demo.ios": "npm i && npm run tsc && cd ../demo && tns run ios --syncAllFiles",
2423
"demo.android": "npm i && npm run tsc && cd ../demo && tns run android --syncAllFiles",
2524
"demo.reset": "cd ../demo && rimraf platforms",
2625
"plugin.prepare": "npm run build && cd ../demo && tns plugin remove nativescript-yourplugin && tns plugin add ../src",
27-
"clean": "cd ../demo && rimraf hooks node_modules platforms && cd ../src && rimraf node_modules && npm run plugin.link",
26+
"clean": "cd ../demo && rimraf hooks node_modules platforms && cd ../src && rimraf node_modules",
2827
"ci.tslint": "npm i && tslint '**/*.ts' --config '../tslint.json' --exclude '**/node_modules/**'",
2928
"prepack": "npm run build.native"
3029
},
@@ -45,12 +44,12 @@
4544
"homepage": "https://github.com/YourName/nativescript-yourplugin",
4645
"readmeFilename": "README.md",
4746
"devDependencies": {
48-
"tns-core-modules": "^4.0.0",
49-
"tns-platform-declarations": "^4.0.0",
50-
"typescript": "~2.7.2",
47+
"tns-core-modules": "^4.2.0",
48+
"tns-platform-declarations": "^4.2.0",
49+
"typescript": "~2.8.2",
5150
"prompt": "^1.0.0",
52-
"rimraf": "^2.5.0",
53-
"tslint": "^5.0.0",
51+
"rimraf": "^2.6.2",
52+
"tslint": "^5.11.0",
5453
"semver": "^5.5.0"
5554
},
5655
"dependencies": {},

0 commit comments

Comments
 (0)