Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 04e5dfc

Browse files
chore: update tests-app-ng
1 parent fa761ae commit 04e5dfc

File tree

5 files changed

+39
-47
lines changed

5 files changed

+39
-47
lines changed

‎e2e/animation-examples/package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@
4242
"scripts": {
4343
"clean": "ns clean",
4444
"setup": "cd ../../nativescript-angular && npm run prep.apps && cd ../e2e/animation-examples && npm run clean",
45-
"ngcc": "ngcc --properties es2015 module main --first-only",
46-
"postinstall": "npm run ngcc",
4745
"u": "update-ns-webpack",
4846
"e2e": "tsc -p e2e && mocha --opts ../config/mocha.opts --recursive e2e --appiumCapsLocation ../config/appium.capabilities.json",
4947
"e2e-watch": "tsc -p e2e --watch",

‎e2e/tests-app-ng/app/package.json

Lines changed: 0 additions & 9 deletions
This file was deleted.

‎e2e/tests-app-ng/nativescript.config.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import { NativeScriptConfig } from '@nativescript/core'
2+
3+
export default {
4+
id: 'org.nativescript.testsappng',
5+
appResourcesPath: 'app/App_Resources',
6+
android: {
7+
v8Flags: '--expose_gc',
8+
markingMode: 'none',
9+
},
10+
appPath: 'app',
11+
} as NativeScriptConfig

‎e2e/tests-app-ng/package.json

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,6 @@
33
"license": "SEE LICENSE IN <your-license-filename>",
44
"readme": "NativeScript Application",
55
"repository": "<fill-your-repository-here>",
6-
"nativescript": {
7-
"id": "org.nativescript.testsappng",
8-
"tns-ios": {
9-
"version": "6.5.2"
10-
},
11-
"tns-android": {
12-
"version": "6.5.3"
13-
}
14-
},
156
"dependencies": {
167
"@angular/animations": "~10.1.0",
178
"@angular/common": "~10.1.0",
@@ -30,27 +21,27 @@
3021
},
3122
"devDependencies": {
3223
"@angular/compiler-cli": "~10.1.0",
24+
"@nativescript/ios": "7.0.0",
25+
"@nativescript/webpack": "~3.0.0",
3326
"@ngtools/webpack": "~10.1.0",
3427
"babel-traverse": "6.24.1",
3528
"babel-types": "6.24.1",
3629
"babylon": "6.17.0",
3730
"codelyzer": "^5.1.0",
3831
"filewalker": "^0.1.3",
3932
"lazy": "1.0.11",
40-
"@nativescript/webpack": "~3.0.0",
4133
"typescript": "~3.9.0"
4234
},
4335
"scripts": {
4436
"clean": "npx rimraf hooks node_modules platforms package-lock.json webpack.config.js && npm i",
4537
"setup": "cd ../../nativescript-angular && npm run prep.apps && cd ../e2e/tests-app-ng && npm run clean",
46-
"ngcc": "ngcc --properties es2015 module main --first-only",
47-
"postinstall": "npm run ngcc",
4838
"u": "update-ns-webpack",
4939
"e2e": "tsc -p e2e && mocha --opts ../config/mocha.opts --recursive e2e --appiumCapsLocation ../config/appium.capabilities.json",
5040
"e2e-watch": "tsc -p e2e --watch",
5141
"ns-verify-bundle": "ns-verify-bundle",
5242
"update-ns-webpack": "update-ns-webpack",
5343
"ios": "tns debug ios --emulator --no-hmr",
5444
"android": "tns debug android --emulator --no-hmr"
55-
}
45+
},
46+
"main": "main.js"
5647
}

‎e2e/tests-app-ng/tsconfig.json

Lines changed: 24 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,34 @@
11
{
22
"compilerOptions": {
3-
"module": "ESNext",
4-
"target": "es2015",
5-
"moduleResolution": "node",
6-
"experimentalDecorators": true,
7-
"emitDecoratorMetadata": true,
8-
"noEmitHelpers": true,
9-
"noEmitOnError": true,
10-
"skipLibCheck": true,
11-
"lib": [
12-
"es2017",
13-
"dom",
14-
"es6"
15-
],
16-
"baseUrl": ".",
17-
"paths": {
18-
"~/*": [
19-
"app/*"
20-
]
21-
}
3+
"module": "esnext",
4+
"target": "es2017",
5+
"moduleResolution": "node",
6+
"experimentalDecorators": true,
7+
"emitDecoratorMetadata": true,
8+
"noEmitHelpers": true,
9+
"noEmitOnError": true,
10+
"skipLibCheck": true,
11+
"lib": [
12+
"es2017",
13+
"dom",
14+
"es6"
15+
],
16+
"baseUrl": ".",
17+
"paths": {
18+
"~/*": [
19+
"app/*"
20+
]
21+
},
22+
"removeComments": false
2223
},
2324
"files": [
2425
"./references.d.ts",
2526
"./app/main.ts"
2627
],
2728
"exclude": [
28-
"node_modules",
29-
"platforms",
30-
"**/*.aot",
31-
"e2e"
29+
"node_modules",
30+
"platforms",
31+
"**/*.aot",
32+
"e2e"
3233
]
3334
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /