Skip to content

Commit d7ce9f7

Browse files
authored
build: switch tscpaths to tsc-alias (#177)
1 parent 51c2499 commit d7ce9f7

File tree

8 files changed

+465
-271
lines changed

8 files changed

+465
-271
lines changed

Diff for: package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"scripts": {
1818
"prebuild": "rimraf dist",
1919
"build": "tsc --project tsconfig.prod.json",
20-
"postbuild": "tscpaths --project tsconfig.prod.json --src ./lib --out ./dist",
20+
"postbuild": "tsc-alias -p tsconfig.prod.json",
2121
"generate:changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
2222
"generate:workflows": "node ./ci/generate-workflows.js",
2323
"watch": "nodemon --watch lib --ext ts,tsx --exec \"yarn build\"",
@@ -77,7 +77,7 @@
7777
"rimraf": "^3.0.2",
7878
"strip-ansi": "^6.0.0",
7979
"ts-jest": "^26.4.4",
80-
"tscpaths": "^0.0.9",
80+
"tsc-alias": "^1.3.3",
8181
"typescript": "^4.2.4"
8282
},
8383
"peerDependencies": {

Diff for: repositories/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"scripts": {
1919
"prebuild": "rimraf dist",
2020
"build": "tsc --project tsconfig.prod.json",
21-
"postbuild": "tscpaths --project tsconfig.prod.json --src ./lib --out ./dist",
21+
"postbuild": "tsc-alias -p tsconfig.prod.json",
2222
"generate": "ts-node ./scripts/fetch-libraries.ts",
2323
"filter:private": "ts-node ./scripts/filter-private-repos.ts",
2424
"filter:unique": "ts-node ./scripts/filter-unique-repos.ts",
@@ -33,7 +33,7 @@
3333
"node-fetch": "^2.6.1",
3434
"ts-jest": "^26.5.5",
3535
"ts-node": "^9.1.1",
36-
"tscpaths": "^0.0.9",
36+
"tsc-alias": "^1.3.3",
3737
"typescript": "^4.2.4"
3838
},
3939
"keywords": [

Diff for: repositories/tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "../tsconfig",
2+
"extends": "../tsconfig.json",
33
"compilerOptions": {
44
"outDir": "dist",
55
"resolveJsonModule": true

Diff for: repositories/tsconfig.prod.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"extends": "./tsconfig",
2+
"extends": "./tsconfig.json",
33
"exclude": ["scripts", "test"]
44
}

0 commit comments

Comments
 (0)