Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.

Commit 6216570

Browse files
committed
refactor: various housekeeping stuff
1 parent b1feccf commit 6216570

File tree

6 files changed

+1840
-14
lines changed

6 files changed

+1840
-14
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Outputs
2+
bazel-*
23
build/
34
dist/
45

@@ -11,6 +12,7 @@ jsconfig.json
1112
typings/
1213

1314
# Misc
15+
coverage/
1416
node_modules/
1517
tmp/
1618
npm-debug.log*

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
6

package.json

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,14 @@
33
"version": "0.0.0",
44
"description": "Software Development Kit for Angular",
55
"bin": {
6-
"sdk-admin": "./bin/sdk-admin"
6+
"sdk-admin": "./bin/sdk-admin",
7+
"schematics": "./bin/schematics"
78
},
89
"keywords": [],
9-
"scripts": {},
10+
"scripts": {
11+
"build": "sdk-admin build",
12+
"test": "sdk-admin test"
13+
},
1014
"repository": {
1115
"type": "git",
1216
"url": "https://github.com/angular/sdk.git"
@@ -22,28 +26,34 @@
2226
},
2327
"homepage": "https://github.com/angular/sdk",
2428
"dependencies": {
29+
"@ngtools/json-schema": "^1.0.9",
30+
"@ngtools/logger": "^1.0.1",
2531
"@types/chalk": "^0.4.28",
2632
"@types/common-tags": "^1.2.4",
2733
"@types/glob": "^5.0.29",
28-
"@types/jasmine": "~2.2.0",
34+
"@types/istanbul": "^0.4.29",
35+
"@types/jasmine": "^2.5.47",
2936
"@types/minimist": "^1.2.0",
3037
"@types/node": "^6.0.36",
3138
"@types/semver": "^5.3.30",
32-
"chai": "^3.5.0",
39+
"@types/source-map": "^0.5.0",
3340
"chalk": "^1.1.3",
3441
"common-tags": "^1.3.1",
3542
"conventional-changelog": "^1.1.0",
3643
"glob": "^7.0.3",
37-
"jasmine": "^2.4.1",
44+
"istanbul": "^0.4.5",
45+
"jasmine": "^2.6.0",
3846
"jasmine-spec-reporter": "^3.2.0",
39-
"minimatch": "^3.0.3",
47+
"marked-terminal": "^2.0.0",
4048
"minimist": "^1.2.0",
4149
"npm-run": "^4.1.0",
4250
"npm-run-all": "^4.0.0",
4351
"rxjs": "^5.0.1",
4452
"semver": "^5.3.0",
53+
"source-map": "^0.5.6",
54+
"temp": "^0.8.3",
4555
"ts-node": "^2.0.0",
4656
"tslint": "^4.0.2",
47-
"typescript": "~2.2.0"
57+
"typescript": "~2.3.0"
4858
}
4959
}

packages/@angular/.gitkeep

Whitespace-only changes.

tsconfig.json

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"declaration": true,
44
"emitDecoratorMetadata": true,
55
"experimentalDecorators": true,
6-
"mapRoot": "",
76
"module": "commonjs",
87
"moduleResolution": "node",
98
"noEmitOnError": true,
@@ -13,12 +12,15 @@
1312
"outDir": "./build",
1413
"rootDir": ".",
1514
"skipLibCheck": true,
16-
"sourceMap": true,
17-
"sourceRoot": "",
15+
"inlineSourceMap": true,
16+
"sourceRoot": ".",
17+
// Inline sources are necessary for out tests to show the proper sources, since we are using
18+
// Istanbul (not Constantinople) as well, and applying both source maps to get the original
19+
// source in devtools.
20+
"inlineSources": true,
21+
"strictNullChecks": true,
1822
"target": "es6",
1923
"lib": [
20-
"es2015",
21-
"es2016",
2224
"es2017"
2325
],
2426
"baseUrl": "",
@@ -28,12 +30,17 @@
2830
"types": [
2931
"jasmine",
3032
"node"
31-
]
33+
],
34+
"paths": {
35+
"@angular/schematics": [ "./packages/schematics/src/index" ]
36+
}
3237
},
3338
"exclude": [
39+
"bazel-*/**/*",
3440
"build/**/*",
3541
"dist/**/*",
3642
"node_modules/**/*",
37-
"tmp/**/*"
43+
"tmp/**/*",
44+
"packages/schematics-cli/schematics/*/files/**"
3845
]
3946
}

0 commit comments

Comments
 (0)