Skip to content

chor: update dependencies in src/ and demo/ package.json for 4.2.0 #89

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 9, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ matrix:
- stage: "Lint"
language: node_js
os: linux
node_js: "6"
node_js: "8"
script: cd src && npm run ci.tslint && cd ../demo && npm run ci.tslint
- stage: "Build and Test"
env:
Expand All @@ -21,10 +21,10 @@ matrix:
- os: osx
env:
- BuildiOS="11"
- Xcode="9.2"
osx_image: xcode9.2
- Xcode="9.3"
osx_image: xcode9.3
language: node_js
node_js: "6"
node_js: "8"
jdk: oraclejdk8
script:
- cd src && npm i && npm run tsc && cd ../demo
Expand All @@ -47,9 +47,9 @@ matrix:
env:
- TestVersion="latest"
language: node_js
node_js: "6"
node_js: "8"
jdk: oraclejdk8
osx_image: xcode8.3
osx_image: xcode9.3
before_script:
- cd seed-tests && npm i
script: travis_wait travis_retry npm run test.ios
Expand Down
30 changes: 6 additions & 24 deletions demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,37 +6,19 @@
"nativescript-theme-core": "^1.0.4",
"nativescript-unit-test-runner": "^0.3.4",
"nativescript-yourplugin": "../src",
"tns-core-modules": "^4.1.0"
"tns-core-modules": "^4.2.0"
},
"devDependencies": {
"awesome-typescript-loader": "~5.0.0",
"babel-traverse": "6.26.0",
"babel-types": "6.26.0",
"babylon": "6.18.0",
"clean-webpack-plugin": "~0.1.19",
"copy-webpack-plugin": "~4.5.1",
"css-loader": "~0.28.7",
"extract-text-webpack-plugin": "~3.0.2",
"filewalker": "0.1.2",
"jasmine-core": "^2.5.2",
"karma": "^1.3.0",
"karma-jasmine": "^1.0.2",
"karma-nativescript-launcher": "^0.4.0",
"lazy": "1.0.11",
"nativescript-css-loader": "~0.26.0",
"nativescript-dev-typescript": "^0.7.0",
"nativescript-dev-webpack": "^0.12.0",
"nativescript-worker-loader": "~0.8.1",
"raw-loader": "~0.5.1",
"resolve-url-loader": "~2.3.0",
"tns-platform-declarations": "^4.1.0",
"nativescript-css-loader": "~0.26.1",
"nativescript-dev-typescript": "~0.7.2",
"nativescript-dev-webpack": "~0.15.1",
"tns-platform-declarations": "^4.2.0",
"tslint": "~5.4.3",
"typescript": "~2.7.2",
"webpack": "~4.5.0",
"webpack-bundle-analyzer": "^2.9.1",
"uglifyjs-webpack-plugin": "~1.2.4",
"webpack-cli": "~2.0.14",
"webpack-sources": "~1.1.0"
"typescript": "~2.8.2"
},
"scripts": {
"build.plugin": "cd ../src && npm run build",
Expand Down
12 changes: 6 additions & 6 deletions src/.travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,23 @@ matrix:
- stage: "Lint"
language: node_js
os: linux
node_js: "6"
node_js: "8"
script: cd src && npm run ci.tslint && cd ../demo && npm run ci.tslint
- stage: "WebPack, Build and Test"
os: osx
env:
- WebPack="iOS"
osx_image: xcode9.2
language: node_js
node_js: "6"
node_js: "8"
jdk: oraclejdk8
script: cd demo && npm run build.plugin && npm i && tns build ios --bundle --env.uglify
- language: android
os: linux
env:
- WebPack="Android"
jdk: oraclejdk8
before_install: nvm install 6.10.3
before_install: nvm install 8
script: cd demo && npm run build.plugin && npm i && tns build android --bundle --env.uglify --env.snapshot
- language: android
env:
Expand All @@ -35,7 +35,7 @@ matrix:
- Xcode="9.2"
osx_image: xcode9.2
language: node_js
node_js: "6"
node_js: "8"
jdk: oraclejdk8
script:
- cd src && npm i && npm run tsc && cd ../demo && tns build ios
Expand All @@ -49,11 +49,11 @@ matrix:
- emulator -avd test -no-audio -no-window &
- android-wait-for-emulator
before_install:
- nvm install 6
- nvm install 8
script: cd src && npm run test.android
- os: osx
language: node_js
node_js: "6"
node_js: "8"
jdk: oraclejdk8
osx_image: xcode9.2
script: cd src && npm run test.ios
Expand Down
15 changes: 7 additions & 8 deletions src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,16 @@
"tsc": "tsc -skipLibCheck",
"build": "npm i && tsc && npm run build.native",
"build.native": "node scripts/build-native.js",
"postclone": "npm i && node scripts/postclone.js && cd ../demo && npm i && cd ../src && npm run plugin.link",
"postclone": "npm i && node scripts/postclone.js && cd ../demo && npm i",
"test.android": "npm i && npm run tsc && npm run tslint && cd ../demo && tns build android && tns test android --justlaunch",
"test.ios": "npm i && npm run tsc && npm run tslint && cd ../demo && tns build ios && tns test ios --justlaunch",
"tslint": "cd .. && tslint \"**/*.ts\" --config tslint.json --exclude \"**/node_modules/**\"",
"plugin.link": "npm link && cd ../demo && npm link nativescript-yourplugin && cd ../src",
"plugin.tscwatch": "npm run tsc -- -w",
"demo.ios": "npm i && npm run tsc && cd ../demo && tns run ios --syncAllFiles",
"demo.android": "npm i && npm run tsc && cd ../demo && tns run android --syncAllFiles",
"demo.reset": "cd ../demo && rimraf platforms",
"plugin.prepare": "npm run build && cd ../demo && tns plugin remove nativescript-yourplugin && tns plugin add ../src",
"clean": "cd ../demo && rimraf hooks node_modules platforms && cd ../src && rimraf node_modules && npm run plugin.link",
"clean": "cd ../demo && rimraf hooks node_modules platforms && cd ../src && rimraf node_modules",
"ci.tslint": "npm i && tslint '**/*.ts' --config '../tslint.json' --exclude '**/node_modules/**'",
"prepack": "npm run build.native"
},
Expand All @@ -45,12 +44,12 @@
"homepage": "https://github.com/YourName/nativescript-yourplugin",
"readmeFilename": "README.md",
"devDependencies": {
"tns-core-modules": "^4.0.0",
"tns-platform-declarations": "^4.0.0",
"typescript": "~2.7.2",
"tns-core-modules": "^4.2.0",
"tns-platform-declarations": "^4.2.0",
"typescript": "~2.8.2",
"prompt": "^1.0.0",
"rimraf": "^2.5.0",
"tslint": "^5.0.0",
"rimraf": "^2.6.2",
"tslint": "^5.11.0",
"semver": "^5.5.0"
},
"dependencies": {},
Expand Down