Skip to content

Commit

Permalink
build: switch tscpaths to tsc-alias (#177)
Browse files Browse the repository at this point in the history
  • Loading branch information
AriPerkkio authored Jun 22, 2021
1 parent 51c2499 commit d7ce9f7
Show file tree
Hide file tree
Showing 8 changed files with 465 additions and 271 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"scripts": {
"prebuild": "rimraf dist",
"build": "tsc --project tsconfig.prod.json",
"postbuild": "tscpaths --project tsconfig.prod.json --src ./lib --out ./dist",
"postbuild": "tsc-alias -p tsconfig.prod.json",
"generate:changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
"generate:workflows": "node ./ci/generate-workflows.js",
"watch": "nodemon --watch lib --ext ts,tsx --exec \"yarn build\"",
Expand Down Expand Up @@ -77,7 +77,7 @@
"rimraf": "^3.0.2",
"strip-ansi": "^6.0.0",
"ts-jest": "^26.4.4",
"tscpaths": "^0.0.9",
"tsc-alias": "^1.3.3",
"typescript": "^4.2.4"
},
"peerDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions repositories/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"scripts": {
"prebuild": "rimraf dist",
"build": "tsc --project tsconfig.prod.json",
"postbuild": "tscpaths --project tsconfig.prod.json --src ./lib --out ./dist",
"postbuild": "tsc-alias -p tsconfig.prod.json",
"generate": "ts-node ./scripts/fetch-libraries.ts",
"filter:private": "ts-node ./scripts/filter-private-repos.ts",
"filter:unique": "ts-node ./scripts/filter-unique-repos.ts",
Expand All @@ -33,7 +33,7 @@
"node-fetch": "^2.6.1",
"ts-jest": "^26.5.5",
"ts-node": "^9.1.1",
"tscpaths": "^0.0.9",
"tsc-alias": "^1.3.3",
"typescript": "^4.2.4"
},
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion repositories/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../tsconfig",
"extends": "../tsconfig.json",
"compilerOptions": {
"outDir": "dist",
"resolveJsonModule": true
Expand Down
2 changes: 1 addition & 1 deletion repositories/tsconfig.prod.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"extends": "./tsconfig",
"extends": "./tsconfig.json",
"exclude": ["scripts", "test"]
}
Loading

0 comments on commit d7ce9f7

Please sign in to comment.