Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Refactor tsconfig #467

Merged
merged 4 commits into from
Mar 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
node-version: [20.x]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
Expand All @@ -45,15 +45,13 @@ jobs:
node-version: 20.x

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn install --immutable
- name: Run build
run: yarn tsc --build
- name: Run test
run: yarn test

Expand All @@ -65,13 +63,15 @@ jobs:
node-version: [20.x]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn install --frozen-lockfile --network-timeout 500000
- name: Run build
run: yarn tsc --build
- name: Run build
run: yarn build

Expand All @@ -85,9 +85,9 @@ jobs:
node-version: [20.x]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
Expand Down
893 changes: 0 additions & 893 deletions .yarn/releases/yarn-4.1.0.cjs

This file was deleted.

935 changes: 935 additions & 0 deletions .yarn/releases/yarn-4.7.0.cjs

Large diffs are not rendered by default.

7 changes: 5 additions & 2 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
nodeLinker: node-modules
compressionLevel: mixed
yarnPath: .yarn/releases/yarn-4.1.0.cjs

enableImmutableInstalls: false

nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.7.0.cjs
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,12 @@
"@swc/core": "1.7.26",
"@swc/helpers": "0.5.13",
"@tsed/markdown-it-symbols": "3.20.8",
"@tsed/monorepo-utils": "2.3.10",
"@tsed/monorepo-utils": "2.3.12",
"@tsed/ts-doc": "^4.1.0",
"@types/node": "22.7.4",
"@typescript-eslint/eslint-plugin": "8.7.0",
"@typescript-eslint/parser": "8.7.0",
"@vitest/coverage-v8": "^2.1.1",
"@vitest/coverage-v8": "3.0.9",
"concurrently": "9.0.1",
"cross-env": "7.0.3",
"eslint": "9.11.1",
Expand All @@ -103,7 +103,7 @@
"ts-node": "^10.9.2",
"typescript": "5.6.2",
"unplugin-swc": "^1.5.1",
"vitest": "2.1.1"
"vitest": "3.0.9"
},
"directories": {
"packages": "packages",
Expand All @@ -124,5 +124,5 @@
"npmAccess": "public",
"ghpages": []
},
"packageManager": "yarn@4.1.0"
"packageManager": "yarn@4.7.0"
}
5 changes: 3 additions & 2 deletions packages/cli-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@
"typings": "./lib/types/index.d.ts",
"exports": {
".": {
"cli-tsed-source": "./src/index.ts",
"types": "./lib/types/index.d.ts",
"import": "./lib/esm/index.js",
"default": "./lib/esm/index.js"
}
},
"scripts": {
"build": "yarn build:ts",
"build:ts": "tsc --build tsconfig.json",
"build:ts": "tsc --build tsconfig.esm.json",
"test": "vitest run",
"test:ci": "vitest run --coverage.thresholds.autoUpdate=true"
},
Expand Down Expand Up @@ -74,7 +75,7 @@
"cross-env": "7.0.3",
"deps": "^1.0.0",
"typescript": "5.6.2",
"vitest": "2.1.1"
"vitest": "3.0.9"
},
"peerDependencies": {
"@tsed/core": ">=8.3.1",
Expand Down
16 changes: 0 additions & 16 deletions packages/cli-core/tsconfig.json

This file was deleted.

16 changes: 0 additions & 16 deletions packages/cli-core/tsconfig.spec.json

This file was deleted.

2 changes: 1 addition & 1 deletion packages/cli-core/vitest.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default defineConfig(
test: {
...presets.test,
coverage: {
...presets.test.coverage,
...presets.test?.coverage,
thresholds: {
statements: 0,
branches: 0,
Expand Down
5 changes: 3 additions & 2 deletions packages/cli-generate-http-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@
"typings": "./lib/types/index.d.ts",
"exports": {
".": {
"cli-tsed-source": "./src/index.ts",
"types": "./lib/types/index.d.ts",
"import": "./lib/esm/index.js",
"default": "./lib/esm/index.js"
}
},
"scripts": {
"build": "yarn build:ts",
"build:ts": "tsc --build tsconfig.json",
"build:ts": "tsc --build tsconfig.esm.json",
"/test": "vitest run",
"/test:ci": "vitest run --coverage.thresholds.autoUpdate=true"
},
Expand All @@ -31,7 +32,7 @@
"cross-env": "7.0.3",
"swagger-typescript-api": "^13.0.22",
"typescript": "5.6.2",
"vitest": "2.1.1"
"vitest": "3.0.9"
},
"peerDependencies": {
"@tsed/platform-http": ">=7.14.2",
Expand Down
19 changes: 0 additions & 19 deletions packages/cli-generate-http-client/tsconfig.json

This file was deleted.

14 changes: 0 additions & 14 deletions packages/cli-generate-http-client/tsconfig.spec.json

This file was deleted.

5 changes: 3 additions & 2 deletions packages/cli-generate-swagger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@
"typings": "./lib/types/index.d.ts",
"exports": {
".": {
"cli-tsed-source": "./src/index.ts",
"types": "./lib/types/index.d.ts",
"import": "./lib/esm/index.js",
"default": "./lib/esm/index.js"
}
},
"scripts": {
"build": "yarn build:ts",
"build:ts": "tsc --build tsconfig.json",
"build:ts": "tsc --build tsconfig.esm.json",
"/test": "vitest run",
"/test:ci": "vitest run --coverage.thresholds.autoUpdate=true"
},
Expand All @@ -30,7 +31,7 @@
"@tsed/typescript": "workspace:*",
"cross-env": "7.0.3",
"typescript": "5.6.2",
"vitest": "2.1.1"
"vitest": "3.0.9"
},
"peerDependencies": {
"@tsed/platform-http": ">=7.14.2",
Expand Down
19 changes: 0 additions & 19 deletions packages/cli-generate-swagger/tsconfig.json

This file was deleted.

14 changes: 0 additions & 14 deletions packages/cli-generate-swagger/tsconfig.spec.json

This file was deleted.

5 changes: 3 additions & 2 deletions packages/cli-plugin-eslint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,23 @@
"typings": "./lib/types/index.d.ts",
"exports": {
".": {
"cli-tsed-source": "./src/index.ts",
"types": "./lib/types/index.d.ts",
"import": "./lib/esm/index.js",
"default": "./lib/esm/index.js"
}
},
"scripts": {
"build": "yarn build:ts",
"build:ts": "tsc --build tsconfig.json"
"build:ts": "tsc --build tsconfig.esm.json"
},
"devDependencies": {
"@tsed/cli": "workspace:*",
"@tsed/cli-core": "workspace:*",
"@tsed/typescript": "workspace:*",
"cross-env": "7.0.3",
"typescript": "5.6.2",
"vitest": "2.1.1"
"vitest": "3.0.9"
},
"dependencies": {
"tslib": "2.7.0"
Expand Down
19 changes: 0 additions & 19 deletions packages/cli-plugin-eslint/tsconfig.json

This file was deleted.

14 changes: 0 additions & 14 deletions packages/cli-plugin-eslint/tsconfig.spec.json

This file was deleted.

5 changes: 3 additions & 2 deletions packages/cli-plugin-jest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@
"typings": "./lib/types/index.d.ts",
"exports": {
".": {
"cli-tsed-source": "./src/index.ts",
"types": "./lib/types/index.d.ts",
"import": "./lib/esm/index.js",
"default": "./lib/esm/index.js"
}
},
"scripts": {
"build": "yarn build:ts",
"build:ts": "tsc --build tsconfig.json",
"build:ts": "tsc --build tsconfig.esm.json",
"test": "vitest run",
"test:ci": "vitest run --coverage.thresholds.autoUpdate=true"
},
Expand All @@ -26,7 +27,7 @@
"@tsed/typescript": "workspace:*",
"cross-env": "7.0.3",
"typescript": "5.6.2",
"vitest": "2.1.1"
"vitest": "3.0.9"
},
"dependencies": {
"tslib": "2.7.0"
Expand Down
Loading
Loading