Skip to content

chore: add scoped package #2014

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 25 commits into from
Oct 21, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
ed16c12
initial commit
tbozhikov Oct 7, 2019
2ca7acd
save progress
tbozhikov Oct 7, 2019
55da9f3
chore: make most of e2e apps work with the revamped older package
tbozhikov Oct 8, 2019
1d640af
fix: single-page test app
tbozhikov Oct 8, 2019
1090095
fix: revert changes to modal navigation e2e
tbozhikov Oct 9, 2019
10b9253
chore: reorganise exports
tbozhikov Oct 9, 2019
f519624
chore: remove comment
tbozhikov Oct 10, 2019
f725a6e
fix: unit tests after refactoring
tbozhikov Oct 10, 2019
fdad1c9
chore: first bits of a pack script for non-scoped dependency
tbozhikov Oct 10, 2019
1cb22db
chore: pack script for compat package
tbozhikov Oct 11, 2019
d975201
chore: rename out tgz file to nativescript-angular-compat.tgz
tbozhikov Oct 11, 2019
1ca8279
fix: comments
tbozhikov Oct 11, 2019
398fbe0
chore: remove unused npm script
tbozhikov Oct 14, 2019
2595456
chore: add pack script in scoped pckg
tbozhikov Oct 14, 2019
5c7f25f
fix: ensure dist
tbozhikov Oct 14, 2019
a492023
chore: build scoped package through nodejs script
tbozhikov Oct 14, 2019
e9e9327
chore: update build scripts, fix jenkins build
tbozhikov Oct 15, 2019
63872d8
fix: try to fix error in jenkins
tbozhikov Oct 15, 2019
faede8a
fix: remove bin prop from compat so that npm flattens scoped deps in …
tbozhikov Oct 17, 2019
ddefe0e
cleanup: wrongly committed files
tbozhikov Oct 17, 2019
8174558
fix: revert tns-ios and tns-android versions in package jsons
tbozhikov Oct 17, 2019
0a25c40
chore: export most types from root scope of the scoped package
tbozhikov Oct 17, 2019
916bc85
chore: add platform common exports in compat, clean ups
tbozhikov Oct 17, 2019
cb0292f
fix: update compat build script to work correctly with save-exact
tbozhikov Oct 21, 2019
f82e9aa
fix: potential breaking change
tbozhikov Oct 21, 2019
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
Prev Previous commit
Next Next commit
save progress
  • Loading branch information
tbozhikov committed Oct 17, 2019
commit 2ca7acdfc67d885ddab9610850021e1e15fe118d
15 changes: 9 additions & 6 deletions e2e/router-tab-view/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
"readme": "NativeScript Application",
"repository": "<fill-your-repository-here>",
"nativescript": {
"id": "org.nativescript.routertabview"
"id": "org.nativescript.routertabview",
"tns-ios": {
"version": "6.1.1"
}
},
"dependencies": {
"@angular/animations": "~8.2.0",
Expand All @@ -15,14 +18,16 @@
"@angular/platform-browser": "~8.2.0",
"@angular/platform-browser-dynamic": "~8.2.0",
"@angular/router": "~8.2.0",
"nativescript-angular": "file:../../nativescript-angular",
"nativescript-angular": "file:../../nativescript-angular-package",
"nativescript-theme-core": "~1.0.4",
"reflect-metadata": "~0.1.8",
"rxjs": "^6.4.0",
"tns-core-modules": "next",
"zone.js": "^0.9.1"
},
"devDependencies": {
"@angular/compiler-cli": "~8.2.0",
"@ngtools/webpack": "~8.2.0",
"@types/chai": "~4.1.7",
"@types/mocha": "~5.2.5",
"@types/node": "~10.12.18",
Expand All @@ -33,10 +38,8 @@
"mocha": "~5.2.0",
"mochawesome": "~3.1.2",
"nativescript-dev-appium": "^6.0.0",
"nativescript-dev-webpack": "next",
"typescript": "~3.5.3",
"@angular/compiler-cli": "~8.2.0",
"@ngtools/webpack": "~8.2.0"
"nativescript-dev-webpack": "^1.3.0-next-2019-10-02-144239-03",
"typescript": "~3.5.3"
},
"scripts": {
"e2e": "tsc -p e2e && mocha --opts ../config/mocha.opts --recursive e2e --appiumCapsLocation ../config/appium.capabilities.json",
Expand Down
2 changes: 1 addition & 1 deletion e2e/single-page/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@angular/platform-browser": "~8.2.0",
"@angular/platform-browser-dynamic": "~8.2.0",
"@angular/router": "~8.2.0",
"@nativescript/angular": "file:../../nativescript-angular",
"nativescript-angular": "file:../../nativescript-angular-package",
"nativescript-intl": "^3.0.0",
"reflect-metadata": "~0.1.8",
"rxjs": "^6.4.0",
Expand Down
1 change: 1 addition & 0 deletions nativescript-angular-package/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from "@nativescript/angular";
1 change: 1 addition & 0 deletions nativescript-angular-package/nativescript.module.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from "@nativescript/angular/nativescript.module";
4 changes: 2 additions & 2 deletions nativescript-angular-package/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
"url": "https://github.com/NativeScript/nativescript-angular.git"
},
"bin": {
"update-app-ng-deps": "./bin/update-app-ng-deps"
"update-app-ng-deps": "node_modules/@nativescript/angular/bin/update-app-ng-deps"
},
"dependencies": {
"@nativescript/angular": "file:../nativescript-angular"
}
}
}
1 change: 1 addition & 0 deletions nativescript-angular-package/platform-static.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from "@nativescript/angular/platform-static";
1 change: 1 addition & 0 deletions nativescript-angular-package/platform.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from "@nativescript/angular/platform";
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from "@nativescript/angular/router/ns-location-strategy";
1 change: 1 addition & 0 deletions nativescript-angular-package/trace.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from "@nativescript/angular/trace";