Skip to content

Commit

Permalink
use tsc-alias instead of ttsc
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Aribart committed Aug 26, 2023
1 parent 581d87a commit 8b86369
Show file tree
Hide file tree
Showing 36 changed files with 114 additions and 156 deletions.
5 changes: 2 additions & 3 deletions demo/blueprint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"package": "rm -rf dist && yarn package-cjs && yarn package-esm && yarn package-types",
"package-cjs": "NODE_ENV=cjs yarn transpile --out-dir dist/cjs --source-maps",
"package-esm": "NODE_ENV=esm yarn transpile --out-dir dist/esm --source-maps",
"package-types": "ttsc -p tsconfig.build.json",
"package-types": "tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json",
"test": "yarn test-type && yarn test-circular && yarn test-linter",
"test-circular": "yarn depcruise --validate dependency-cruiser.js .",
"test-linter": "yarn linter-base-config .",
Expand All @@ -39,7 +39,6 @@
"@castore/core": "workspace:",
"@castore/json-schema-event": "workspace:",
"@types/node": "^17.0.29",
"@zerollup/ts-transform-paths": "^1.7.18",
"babel-plugin-module-resolver": "^4.1.0",
"concurrently": "^7.1.0",
"dependency-cruiser": "^11.7.0",
Expand All @@ -48,7 +47,7 @@
"prettier": "^2.6.2",
"ts-node": "^10.7.0",
"ts-toolbelt": "^9.6.0",
"ttypescript": "^1.5.13",
"tsc-alias": "^1.8.7",
"typescript": "^4.6.3"
},
"maintainers": [
Expand Down
1 change: 0 additions & 1 deletion demo/blueprint/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"compilerOptions": {
"baseUrl": "src",
"composite": true,
"plugins": [{ "transform": "@zerollup/ts-transform-paths" }],
"emitDeclarationOnly": true,
"outDir": "./dist/types",
"esModuleInterop": true
Expand Down
1 change: 0 additions & 1 deletion demo/implementation/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"allowSyntheticDefaultImports": true,
"composite": true,
"preserveSymlinks": true,
"plugins": [{ "transform": "@zerollup/ts-transform-paths" }],
"baseUrl": "."
},
"include": ["./**/*.ts"],
Expand Down
1 change: 0 additions & 1 deletion demo/visualization/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"baseUrl": "src",
"composite": true,
"preserveSymlinks": true,
"plugins": [{ "transform": "@zerollup/ts-transform-paths" }],
"emitDeclarationOnly": true,
"isolatedModules": true,
"jsx": "react",
Expand Down
1 change: 0 additions & 1 deletion docs/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"compilerOptions": {
"baseUrl": ".",
"composite": true,
"plugins": [{ "transform": "@zerollup/ts-transform-paths" }],
"emitDeclarationOnly": true,
"lib": ["dom", "dom.iterable", "esnext"],
"removeComments": true,
Expand Down
5 changes: 2 additions & 3 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"package": "rm -rf dist && yarn package-cjs && yarn package-esm && yarn package-types",
"package-cjs": "NODE_ENV=cjs yarn transpile --out-dir dist/cjs --source-maps",
"package-esm": "NODE_ENV=esm yarn transpile --out-dir dist/esm --source-maps",
"package-types": "ttsc -p tsconfig.build.json",
"package-types": "tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json",
"test": "yarn test-type && yarn test-unit && yarn test-circular && yarn test-linter",
"test-circular": "yarn depcruise --validate dependency-cruiser.js .",
"test-linter": "yarn linter-base-config .",
Expand All @@ -47,14 +47,13 @@
"@babel/preset-env": "^7.16.11",
"@babel/preset-typescript": "^7.16.7",
"@types/node": "^17.0.29",
"@zerollup/ts-transform-paths": "^1.7.18",
"babel-plugin-module-resolver": "^4.1.0",
"concurrently": "^7.1.0",
"dependency-cruiser": "^11.7.0",
"eslint": "^8.14.0",
"prettier": "^2.6.2",
"ts-node": "^10.7.0",
"ttypescript": "^1.5.13",
"tsc-alias": "^1.8.7",
"typescript": "^4.6.3",
"vite-tsconfig-paths": "^4.0.3",
"vitest": "^0.26.2"
Expand Down
1 change: 0 additions & 1 deletion packages/core/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"compilerOptions": {
"baseUrl": "src",
"composite": true,
"plugins": [{ "transform": "@zerollup/ts-transform-paths" }],
"emitDeclarationOnly": true,
"outDir": "./dist/types",
"esModuleInterop": true,
Expand Down
5 changes: 2 additions & 3 deletions packages/dam/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"package": "rm -rf dist && yarn package-cjs && yarn package-esm && yarn package-types",
"package-cjs": "NODE_ENV=cjs yarn transpile --out-dir dist/cjs --source-maps",
"package-esm": "NODE_ENV=esm yarn transpile --out-dir dist/esm --source-maps",
"package-types": "ttsc -p tsconfig.build.json",
"package-types": "tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json",
"test": "yarn test-type && yarn test-unit && yarn test-circular && yarn test-linter",
"test-circular": "yarn depcruise --validate dependency-cruiser.js .",
"test-linter": "yarn linter-base-config .",
Expand All @@ -51,14 +51,13 @@
"@castore/in-memory-message-queue-adapter": "workspace:",
"@castore/test-tools": "workspace:",
"@types/node": "^17.0.29",
"@zerollup/ts-transform-paths": "^1.7.18",
"babel-plugin-module-resolver": "^4.1.0",
"concurrently": "^7.1.0",
"dependency-cruiser": "^11.7.0",
"eslint": "^8.14.0",
"prettier": "^2.6.2",
"ts-node": "^10.7.0",
"ttypescript": "^1.5.13",
"tsc-alias": "^1.8.7",
"typescript": "^4.6.3",
"vite-tsconfig-paths": "^4.0.3",
"vitest": "^0.26.2"
Expand Down
1 change: 0 additions & 1 deletion packages/dam/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"compilerOptions": {
"baseUrl": "src",
"composite": true,
"plugins": [{ "transform": "@zerollup/ts-transform-paths" }],
"emitDeclarationOnly": true,
"outDir": "./dist/types",
"esModuleInterop": true
Expand Down
5 changes: 2 additions & 3 deletions packages/dynamodb-event-storage-adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"package": "rm -rf dist && yarn package-cjs && yarn package-esm && yarn package-types",
"package-cjs": "NODE_ENV=cjs yarn transpile --out-dir dist/cjs --source-maps",
"package-esm": "NODE_ENV=esm yarn transpile --out-dir dist/esm --source-maps",
"package-types": "ttsc -p tsconfig.build.json",
"package-types": "tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json",
"test": "yarn test-type && yarn test-unit && yarn test-circular && yarn test-linter",
"test-circular": "yarn depcruise --validate dependency-cruiser.js .",
"test-linter": "yarn linter-base-config .",
Expand All @@ -52,7 +52,6 @@
"@serverless/typescript": "^3.15.2",
"@types/lodash.omit": "^4.5.7",
"@types/node": "^17.0.29",
"@zerollup/ts-transform-paths": "^1.7.18",
"aws-sdk-client-mock": "^2.1.1",
"babel-plugin-module-resolver": "^4.1.0",
"concurrently": "^7.1.0",
Expand All @@ -62,7 +61,7 @@
"mockdate": "^3.0.5",
"prettier": "^2.6.2",
"ts-node": "^10.7.0",
"ttypescript": "^1.5.13",
"tsc-alias": "^1.8.7",
"typescript": "^4.6.3",
"vitest": "^0.26.2"
},
Expand Down
1 change: 0 additions & 1 deletion packages/dynamodb-event-storage-adapter/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"compilerOptions": {
"baseUrl": "src",
"composite": true,
"plugins": [{ "transform": "@zerollup/ts-transform-paths" }],
"emitDeclarationOnly": true,
"outDir": "./dist/types",
"esModuleInterop": true
Expand Down
5 changes: 2 additions & 3 deletions packages/event-bridge-message-bus-adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"package": "rm -rf dist && yarn package-cjs && yarn package-esm && yarn package-types",
"package-cjs": "NODE_ENV=cjs yarn transpile --out-dir dist/cjs --source-maps",
"package-esm": "NODE_ENV=esm yarn transpile --out-dir dist/esm --source-maps",
"package-types": "ttsc -p tsconfig.build.json",
"package-types": "tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json",
"test": "yarn test-type && yarn test-unit && yarn test-circular && yarn test-linter",
"test-circular": "yarn depcruise --validate dependency-cruiser.js .",
"test-linter": "yarn linter-base-config .",
Expand All @@ -51,7 +51,6 @@
"@castore/core": "workspace:",
"@types/lodash.chunk": "^4.2.7",
"@types/node": "^17.0.29",
"@zerollup/ts-transform-paths": "^1.7.18",
"aws-sdk-client-mock": "^2.1.0",
"babel-plugin-module-resolver": "^4.1.0",
"concurrently": "^7.1.0",
Expand All @@ -60,7 +59,7 @@
"prettier": "^2.6.2",
"ts-node": "^10.7.0",
"ts-toolbelt": "^9.6.0",
"ttypescript": "^1.5.13",
"tsc-alias": "^1.8.7",
"typescript": "^4.6.3",
"vitest": "^0.26.2"
},
Expand Down
1 change: 0 additions & 1 deletion packages/event-bridge-message-bus-adapter/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"compilerOptions": {
"baseUrl": "src",
"composite": true,
"plugins": [{ "transform": "@zerollup/ts-transform-paths" }],
"emitDeclarationOnly": true,
"outDir": "./dist/types",
"esModuleInterop": true
Expand Down
5 changes: 2 additions & 3 deletions packages/event-bridge-s3-message-bus-adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"package": "rm -rf dist && yarn package-cjs && yarn package-esm && yarn package-types",
"package-cjs": "NODE_ENV=cjs yarn transpile --out-dir dist/cjs --source-maps",
"package-esm": "NODE_ENV=esm yarn transpile --out-dir dist/esm --source-maps",
"package-types": "ttsc -p tsconfig.build.json",
"package-types": "tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json",
"test": "yarn test-type && yarn test-unit && yarn test-circular && yarn test-linter",
"test-circular": "yarn depcruise --validate dependency-cruiser.js .",
"test-linter": "yarn linter-base-config .",
Expand Down Expand Up @@ -56,15 +56,14 @@
"@castore/core": "workspace:",
"@types/lodash.chunk": "^4.2.7",
"@types/node": "^17.0.29",
"@zerollup/ts-transform-paths": "^1.7.18",
"aws-sdk-client-mock": "^2.1.0",
"babel-plugin-module-resolver": "^4.1.0",
"concurrently": "^7.1.0",
"dependency-cruiser": "^11.7.0",
"eslint": "^8.14.0",
"prettier": "^2.6.2",
"ts-node": "^10.7.0",
"ttypescript": "^1.5.13",
"tsc-alias": "^1.8.7",
"typescript": "^4.6.3",
"vitest": "^0.26.2"
},
Expand Down
1 change: 0 additions & 1 deletion packages/event-bridge-s3-message-bus-adapter/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"compilerOptions": {
"baseUrl": "src",
"composite": true,
"plugins": [{ "transform": "@zerollup/ts-transform-paths" }],
"emitDeclarationOnly": true,
"outDir": "./dist/types",
"esModuleInterop": true
Expand Down
5 changes: 2 additions & 3 deletions packages/in-memory-message-bus-adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"package": "rm -rf dist && yarn package-cjs && yarn package-esm && yarn package-types",
"package-cjs": "NODE_ENV=cjs yarn transpile --out-dir dist/cjs --source-maps",
"package-esm": "NODE_ENV=esm yarn transpile --out-dir dist/esm --source-maps",
"package-types": "ttsc -p tsconfig.build.json",
"package-types": "tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json",
"test": "yarn test-type && yarn test-unit && yarn test-circular && yarn test-linter",
"test-circular": "yarn depcruise --validate dependency-cruiser.js .",
"test-linter": "yarn linter-base-config .",
Expand All @@ -46,14 +46,13 @@
"@castore/core": "workspace:",
"@castore/demo-blueprint": "workspace:",
"@types/node": "^17.0.29",
"@zerollup/ts-transform-paths": "^1.7.18",
"babel-plugin-module-resolver": "^4.1.0",
"concurrently": "^7.1.0",
"dependency-cruiser": "^11.7.0",
"eslint": "^8.14.0",
"prettier": "^2.6.2",
"ts-node": "^10.7.0",
"ttypescript": "^1.5.13",
"tsc-alias": "^1.8.7",
"typescript": "^4.6.3",
"vitest": "^0.26.2"
},
Expand Down
1 change: 0 additions & 1 deletion packages/in-memory-message-bus-adapter/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"compilerOptions": {
"baseUrl": "src",
"composite": true,
"plugins": [{ "transform": "@zerollup/ts-transform-paths" }],
"emitDeclarationOnly": true,
"outDir": "./dist/types",
"esModuleInterop": true
Expand Down
5 changes: 2 additions & 3 deletions packages/in-memory-message-queue-adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"package": "rm -rf dist && yarn package-cjs && yarn package-esm && yarn package-types",
"package-cjs": "NODE_ENV=cjs yarn transpile --out-dir dist/cjs --source-maps",
"package-esm": "NODE_ENV=esm yarn transpile --out-dir dist/esm --source-maps",
"package-types": "ttsc -p tsconfig.build.json",
"package-types": "tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json",
"test": "yarn test-type && yarn test-unit && yarn test-circular && yarn test-linter",
"test-circular": "yarn depcruise --validate dependency-cruiser.js .",
"test-linter": "yarn linter-base-config .",
Expand All @@ -49,15 +49,14 @@
"@castore/core": "workspace:",
"@castore/demo-blueprint": "workspace:",
"@types/node": "^17.0.29",
"@zerollup/ts-transform-paths": "^1.7.18",
"babel-plugin-module-resolver": "^4.1.0",
"concurrently": "^7.1.0",
"dependency-cruiser": "^11.7.0",
"eslint": "^8.14.0",
"prettier": "^2.6.2",
"ts-node": "^10.7.0",
"ts-toolbelt": "^9.6.0",
"ttypescript": "^1.5.13",
"tsc-alias": "^1.8.7",
"typescript": "^4.6.3",
"vitest": "^0.26.2"
},
Expand Down
1 change: 0 additions & 1 deletion packages/in-memory-message-queue-adapter/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"compilerOptions": {
"baseUrl": "src",
"composite": true,
"plugins": [{ "transform": "@zerollup/ts-transform-paths" }],
"emitDeclarationOnly": true,
"outDir": "./dist/types",
"esModuleInterop": true
Expand Down
5 changes: 2 additions & 3 deletions packages/inmemory-event-storage-adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"package": "rm -rf dist && yarn package-cjs && yarn package-esm && yarn package-types",
"package-cjs": "NODE_ENV=cjs yarn transpile --out-dir dist/cjs --source-maps",
"package-esm": "NODE_ENV=esm yarn transpile --out-dir dist/esm --source-maps",
"package-types": "ttsc -p tsconfig.build.json",
"package-types": "tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json",
"test": "yarn test-type && yarn test-unit && yarn test-circular && yarn test-linter",
"test-circular": "yarn depcruise --validate dependency-cruiser.js .",
"test-linter": "yarn linter-base-config .",
Expand All @@ -46,7 +46,6 @@
"@castore/core": "workspace:",
"@types/lodash.omit": "^4.5.7",
"@types/node": "^17.0.29",
"@zerollup/ts-transform-paths": "^1.7.18",
"babel-plugin-module-resolver": "^4.1.0",
"concurrently": "^7.1.0",
"dependency-cruiser": "^11.7.0",
Expand All @@ -55,7 +54,7 @@
"mockdate": "^3.0.5",
"prettier": "^2.6.2",
"ts-node": "^10.7.0",
"ttypescript": "^1.5.13",
"tsc-alias": "^1.8.7",
"typescript": "^4.6.3",
"vitest": "^0.26.2"
},
Expand Down
1 change: 0 additions & 1 deletion packages/inmemory-event-storage-adapter/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"compilerOptions": {
"baseUrl": "src",
"composite": true,
"plugins": [{ "transform": "@zerollup/ts-transform-paths" }],
"emitDeclarationOnly": true,
"outDir": "./dist/types",
"esModuleInterop": true,
Expand Down
5 changes: 2 additions & 3 deletions packages/json-schema-command/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"package": "rm -rf dist && yarn package-cjs && yarn package-esm && yarn package-types",
"package-cjs": "NODE_ENV=cjs yarn transpile --out-dir dist/cjs --source-maps",
"package-esm": "NODE_ENV=esm yarn transpile --out-dir dist/esm --source-maps",
"package-types": "ttsc -p tsconfig.build.json",
"package-types": "tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json",
"test": "yarn test-type && yarn test-unit && yarn test-circular && yarn test-linter",
"test-circular": "yarn depcruise --validate dependency-cruiser.js .",
"test-linter": "yarn linter-base-config .",
Expand All @@ -48,15 +48,14 @@
"@babel/preset-typescript": "^7.16.7",
"@castore/core": "workspace:",
"@types/node": "^17.0.29",
"@zerollup/ts-transform-paths": "^1.7.18",
"babel-plugin-module-resolver": "^4.1.0",
"concurrently": "^7.1.0",
"dependency-cruiser": "^11.7.0",
"eslint": "^8.14.0",
"json-schema-to-ts": "^2.5.4",
"prettier": "^2.6.2",
"ts-node": "^10.7.0",
"ttypescript": "^1.5.13",
"tsc-alias": "^1.8.7",
"typescript": "^4.6.3",
"vitest": "^0.26.2"
},
Expand Down
1 change: 0 additions & 1 deletion packages/json-schema-command/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"compilerOptions": {
"baseUrl": "src",
"composite": true,
"plugins": [{ "transform": "@zerollup/ts-transform-paths" }],
"emitDeclarationOnly": true,
"outDir": "./dist/types",
"esModuleInterop": true
Expand Down
5 changes: 2 additions & 3 deletions packages/json-schema-event/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"package": "rm -rf dist && yarn package-cjs && yarn package-esm && yarn package-types",
"package-cjs": "NODE_ENV=cjs yarn transpile --out-dir dist/cjs --source-maps",
"package-esm": "NODE_ENV=esm yarn transpile --out-dir dist/esm --source-maps",
"package-types": "ttsc -p tsconfig.build.json",
"package-types": "tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json",
"test": "yarn test-type && yarn test-unit && yarn test-circular && yarn test-linter",
"test-circular": "yarn depcruise --validate dependency-cruiser.js .",
"test-linter": "yarn linter-base-config .",
Expand All @@ -45,7 +45,6 @@
"@babel/preset-typescript": "^7.16.7",
"@castore/core": "workspace:",
"@types/node": "^17.0.29",
"@zerollup/ts-transform-paths": "^1.7.18",
"babel-plugin-module-resolver": "^4.1.0",
"concurrently": "^7.1.0",
"dependency-cruiser": "^11.7.0",
Expand All @@ -54,7 +53,7 @@
"prettier": "^2.6.2",
"ts-node": "^10.7.0",
"ts-toolbelt": "^9.6.0",
"ttypescript": "^1.5.13",
"tsc-alias": "^1.8.7",
"typescript": "^4.6.3",
"vitest": "^0.26.2"
},
Expand Down
1 change: 0 additions & 1 deletion packages/json-schema-event/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"compilerOptions": {
"baseUrl": "src",
"composite": true,
"plugins": [{ "transform": "@zerollup/ts-transform-paths" }],
"emitDeclarationOnly": true,
"outDir": "./dist/types",
"esModuleInterop": true
Expand Down
Loading

0 comments on commit 8b86369

Please sign in to comment.