mirror of
https://github.com/facebook/docusaurus.git
synced 2025-04-28 09:47:48 +02:00
chore: simplify TypeScript configs, use TS 5.5 configDir placeholder (#10256)
This commit is contained in:
parent
aab1f4868b
commit
6dd9a5076e
54 changed files with 45 additions and 247 deletions
4
.github/workflows/tests-windows.yml
vendored
4
.github/workflows/tests-windows.yml
vendored
|
@ -58,9 +58,9 @@ jobs:
|
||||||
run: yarn workspace website typecheck
|
run: yarn workspace website typecheck
|
||||||
- name: TypeCheck website - min version - v5.1
|
- name: TypeCheck website - min version - v5.1
|
||||||
run: |
|
run: |
|
||||||
yarn add typescript@5.1.6 --exact -D -W
|
yarn add typescript@5.1.6 --exact -D -W --ignore-scripts
|
||||||
yarn workspace website typecheck
|
yarn workspace website typecheck
|
||||||
- name: TypeCheck website - max version - Latest
|
- name: TypeCheck website - max version - Latest
|
||||||
run: |
|
run: |
|
||||||
yarn add typescript@latest --exact -D -W
|
yarn add typescript@latest --exact -D -W --ignore-scripts
|
||||||
yarn workspace website typecheck
|
yarn workspace website typecheck
|
||||||
|
|
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
|
@ -49,9 +49,9 @@ jobs:
|
||||||
run: yarn workspace website typecheck
|
run: yarn workspace website typecheck
|
||||||
- name: TypeCheck website - min version - v5.1
|
- name: TypeCheck website - min version - v5.1
|
||||||
run: |
|
run: |
|
||||||
yarn add typescript@5.1.6 --exact -D -W
|
yarn add typescript@5.1.6 --exact -D -W --ignore-scripts
|
||||||
yarn workspace website typecheck
|
yarn workspace website typecheck
|
||||||
- name: TypeCheck website - max version - Latest
|
- name: TypeCheck website - max version - Latest
|
||||||
run: |
|
run: |
|
||||||
yarn add typescript@latest --exact -D -W
|
yarn add typescript@latest --exact -D -W --ignore-scripts
|
||||||
yarn workspace website typecheck
|
yarn workspace website typecheck
|
||||||
|
|
|
@ -35,15 +35,6 @@ const tsconfigSchema = Joi.object({
|
||||||
'../../tsconfig.base.json',
|
'../../tsconfig.base.json',
|
||||||
'../../tsconfig.base.client.json',
|
'../../tsconfig.base.client.json',
|
||||||
),
|
),
|
||||||
compilerOptions: Joi.object({
|
|
||||||
rootDir: Joi.valid('src').required(),
|
|
||||||
outDir: Joi.valid('lib').required(),
|
|
||||||
tsBuildInfoFile: Joi.valid(
|
|
||||||
'lib/.tsbuildinfo',
|
|
||||||
'lib/.tsbuildinfo-client',
|
|
||||||
'lib/.tsbuildinfo-worker',
|
|
||||||
),
|
|
||||||
}).unknown(),
|
|
||||||
}).unknown();
|
}).unknown();
|
||||||
|
|
||||||
describe('tsconfig files', () => {
|
describe('tsconfig files', () => {
|
||||||
|
@ -52,7 +43,6 @@ describe('tsconfig files', () => {
|
||||||
|
|
||||||
tsconfigFiles
|
tsconfigFiles
|
||||||
// Ignore noEmit configs
|
// Ignore noEmit configs
|
||||||
.filter((file) => !(file.content.compilerOptions!.noEmit === true))
|
|
||||||
.forEach((file) => {
|
.forEach((file) => {
|
||||||
try {
|
try {
|
||||||
Joi.attempt(file.content, tsconfigSchema);
|
Joi.attempt(file.content, tsconfigSchema);
|
||||||
|
|
|
@ -2,11 +2,7 @@
|
||||||
"extends": "../../tsconfig.base.json",
|
"extends": "../../tsconfig.base.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"noEmit": false,
|
"noEmit": false,
|
||||||
"composite": true,
|
"tsBuildInfoFile": "lib/.tsbuildinfo-build"
|
||||||
"incremental": true,
|
|
||||||
"tsBuildInfoFile": "lib/.tsbuildinfo",
|
|
||||||
"rootDir": "src",
|
|
||||||
"outDir": "lib"
|
|
||||||
},
|
},
|
||||||
"include": ["src"],
|
"include": ["src"],
|
||||||
"exclude": ["templates/", "**/__tests__/**"]
|
"exclude": ["templates/", "**/__tests__/**"]
|
||||||
|
|
|
@ -5,6 +5,6 @@
|
||||||
"noEmit": true,
|
"noEmit": true,
|
||||||
"rootDir": "."
|
"rootDir": "."
|
||||||
},
|
},
|
||||||
"include": ["bin"],
|
"include": ["package.json", "bin"],
|
||||||
"exclude": ["**/__tests__/**"]
|
"exclude": ["**/__tests__/**"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,11 +1,7 @@
|
||||||
{
|
{
|
||||||
"extends": "../../tsconfig.base.json",
|
"extends": "../../tsconfig.base.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"noEmit": false,
|
"noEmit": false
|
||||||
"incremental": true,
|
|
||||||
"tsBuildInfoFile": "lib/.tsbuildinfo",
|
|
||||||
"rootDir": "src",
|
|
||||||
"outDir": "lib"
|
|
||||||
},
|
},
|
||||||
"include": ["src"],
|
"include": ["src"],
|
||||||
"exclude": ["**/__tests__/**"]
|
"exclude": ["**/__tests__/**"]
|
||||||
|
|
|
@ -2,12 +2,8 @@
|
||||||
"extends": "../../tsconfig.base.json",
|
"extends": "../../tsconfig.base.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"noEmit": false,
|
"noEmit": false,
|
||||||
"incremental": true,
|
|
||||||
"tsBuildInfoFile": "lib/.tsbuildinfo",
|
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"declarationMap": true,
|
"declarationMap": true
|
||||||
"rootDir": "src",
|
|
||||||
"outDir": "lib"
|
|
||||||
},
|
},
|
||||||
"include": ["src"],
|
"include": ["src"],
|
||||||
"exclude": ["**/__tests__/**"]
|
"exclude": ["**/__tests__/**"]
|
||||||
|
|
|
@ -2,14 +2,9 @@
|
||||||
"extends": "../../tsconfig.base.json",
|
"extends": "../../tsconfig.base.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"noEmit": false,
|
"noEmit": false,
|
||||||
"incremental": true,
|
|
||||||
"tsBuildInfoFile": "lib/.tsbuildinfo",
|
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"declarationMap": true,
|
"declarationMap": true
|
||||||
"rootDir": "src",
|
|
||||||
"outDir": "lib",
|
|
||||||
"types": []
|
|
||||||
},
|
},
|
||||||
"include": ["src"],
|
"include": ["package.json", "src"],
|
||||||
"exclude": ["**/__tests__/**"]
|
"exclude": ["**/__tests__/**"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,11 +1,7 @@
|
||||||
{
|
{
|
||||||
"extends": "../../tsconfig.base.json",
|
"extends": "../../tsconfig.base.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"noEmit": false,
|
"noEmit": false
|
||||||
"incremental": true,
|
|
||||||
"tsBuildInfoFile": "lib/.tsbuildinfo",
|
|
||||||
"rootDir": "src",
|
|
||||||
"outDir": "lib"
|
|
||||||
},
|
},
|
||||||
"include": ["src"],
|
"include": ["src"],
|
||||||
"exclude": ["**/__tests__/**"]
|
"exclude": ["**/__tests__/**"]
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
{
|
{
|
||||||
"extends": "../../tsconfig.base.client.json",
|
"extends": "../../tsconfig.base.client.json",
|
||||||
"compilerOptions": {
|
|
||||||
"rootDir": "src",
|
|
||||||
"outDir": "lib",
|
|
||||||
"tsBuildInfoFile": "lib/.tsbuildinfo-client"
|
|
||||||
},
|
|
||||||
"include": ["src/client", "src/*.d.ts"],
|
"include": ["src/client", "src/*.d.ts"],
|
||||||
"exclude": ["**/__tests__/**"]
|
"exclude": ["**/__tests__/**"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,11 +2,7 @@
|
||||||
"extends": "../../tsconfig.base.json",
|
"extends": "../../tsconfig.base.json",
|
||||||
"references": [{"path": "./tsconfig.client.json"}],
|
"references": [{"path": "./tsconfig.client.json"}],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"noEmit": false,
|
"noEmit": false
|
||||||
"incremental": true,
|
|
||||||
"tsBuildInfoFile": "lib/.tsbuildinfo",
|
|
||||||
"rootDir": "src",
|
|
||||||
"outDir": "lib"
|
|
||||||
},
|
},
|
||||||
"include": ["src"],
|
"include": ["src"],
|
||||||
"exclude": ["src/client", "**/__tests__/**"]
|
"exclude": ["src/client", "**/__tests__/**"]
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
{
|
{
|
||||||
"extends": "../../tsconfig.base.client.json",
|
"extends": "../../tsconfig.base.client.json",
|
||||||
"compilerOptions": {
|
|
||||||
"rootDir": "src",
|
|
||||||
"outDir": "lib",
|
|
||||||
"tsBuildInfoFile": "lib/.tsbuildinfo-client"
|
|
||||||
},
|
|
||||||
"include": ["src/client", "src/*.d.ts"],
|
"include": ["src/client", "src/*.d.ts"],
|
||||||
"exclude": ["**/__tests__/**"]
|
"exclude": ["**/__tests__/**"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,11 +2,7 @@
|
||||||
"extends": "../../tsconfig.base.json",
|
"extends": "../../tsconfig.base.json",
|
||||||
"references": [{"path": "./tsconfig.client.json"}],
|
"references": [{"path": "./tsconfig.client.json"}],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"noEmit": false,
|
"noEmit": false
|
||||||
"incremental": true,
|
|
||||||
"tsBuildInfoFile": "lib/.tsbuildinfo",
|
|
||||||
"rootDir": "src",
|
|
||||||
"outDir": "lib"
|
|
||||||
},
|
},
|
||||||
"include": ["src"],
|
"include": ["src"],
|
||||||
"exclude": ["src/client", "**/__tests__/**"]
|
"exclude": ["src/client", "**/__tests__/**"]
|
||||||
|
|
|
@ -1,11 +1,7 @@
|
||||||
{
|
{
|
||||||
"extends": "../../tsconfig.base.json",
|
"extends": "../../tsconfig.base.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"noEmit": false,
|
"noEmit": false
|
||||||
"incremental": true,
|
|
||||||
"tsBuildInfoFile": "lib/.tsbuildinfo",
|
|
||||||
"rootDir": "src",
|
|
||||||
"outDir": "lib"
|
|
||||||
},
|
},
|
||||||
"include": ["src"],
|
"include": ["src"],
|
||||||
"exclude": ["**/__tests__/**"]
|
"exclude": ["**/__tests__/**"]
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
{
|
{
|
||||||
"extends": "../../tsconfig.base.client.json",
|
"extends": "../../tsconfig.base.client.json",
|
||||||
"compilerOptions": {
|
|
||||||
"rootDir": "src",
|
|
||||||
"outDir": "lib",
|
|
||||||
"tsBuildInfoFile": "lib/.tsbuildinfo-client"
|
|
||||||
},
|
|
||||||
"include": ["src/theme", "src/*.d.ts"],
|
"include": ["src/theme", "src/*.d.ts"],
|
||||||
"exclude": ["**/__tests__/**"]
|
"exclude": ["**/__tests__/**"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,11 +2,7 @@
|
||||||
"extends": "../../tsconfig.base.json",
|
"extends": "../../tsconfig.base.json",
|
||||||
"references": [{"path": "./tsconfig.client.json"}],
|
"references": [{"path": "./tsconfig.client.json"}],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"noEmit": false,
|
"noEmit": false
|
||||||
"incremental": true,
|
|
||||||
"tsBuildInfoFile": "lib/.tsbuildinfo",
|
|
||||||
"rootDir": "src",
|
|
||||||
"outDir": "lib"
|
|
||||||
},
|
},
|
||||||
"include": ["src"],
|
"include": ["src"],
|
||||||
"exclude": ["src/theme", "**/__tests__/**"]
|
"exclude": ["src/theme", "**/__tests__/**"]
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
{
|
{
|
||||||
"extends": "../../tsconfig.base.client.json",
|
"extends": "../../tsconfig.base.client.json",
|
||||||
"compilerOptions": {
|
|
||||||
"rootDir": "src",
|
|
||||||
"outDir": "lib",
|
|
||||||
"tsBuildInfoFile": "lib/.tsbuildinfo-client"
|
|
||||||
},
|
|
||||||
"include": ["src/analytics.ts", "src/*.d.ts"],
|
"include": ["src/analytics.ts", "src/*.d.ts"],
|
||||||
"exclude": ["**/__tests__/**"]
|
"exclude": ["**/__tests__/**"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,11 +2,7 @@
|
||||||
"extends": "../../tsconfig.base.json",
|
"extends": "../../tsconfig.base.json",
|
||||||
"references": [{"path": "./tsconfig.client.json"}],
|
"references": [{"path": "./tsconfig.client.json"}],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"noEmit": false,
|
"noEmit": false
|
||||||
"incremental": true,
|
|
||||||
"tsBuildInfoFile": "lib/.tsbuildinfo",
|
|
||||||
"rootDir": "src",
|
|
||||||
"outDir": "lib"
|
|
||||||
},
|
},
|
||||||
"include": ["src"],
|
"include": ["src"],
|
||||||
"exclude": ["src/analytics.ts", "**/__tests__/**"]
|
"exclude": ["src/analytics.ts", "**/__tests__/**"]
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
{
|
{
|
||||||
"extends": "../../tsconfig.base.client.json",
|
"extends": "../../tsconfig.base.client.json",
|
||||||
"compilerOptions": {
|
|
||||||
"rootDir": "src",
|
|
||||||
"outDir": "lib",
|
|
||||||
"tsBuildInfoFile": "lib/.tsbuildinfo-client"
|
|
||||||
},
|
|
||||||
"include": ["src/gtag.ts", "src/*.d.ts"],
|
"include": ["src/gtag.ts", "src/*.d.ts"],
|
||||||
"exclude": ["**/__tests__/**"]
|
"exclude": ["**/__tests__/**"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,11 +2,7 @@
|
||||||
"extends": "../../tsconfig.base.json",
|
"extends": "../../tsconfig.base.json",
|
||||||
"references": [{"path": "./tsconfig.client.json"}],
|
"references": [{"path": "./tsconfig.client.json"}],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"noEmit": false,
|
"noEmit": false
|
||||||
"incremental": true,
|
|
||||||
"tsBuildInfoFile": "lib/.tsbuildinfo",
|
|
||||||
"rootDir": "src",
|
|
||||||
"outDir": "lib"
|
|
||||||
},
|
},
|
||||||
"include": ["src"],
|
"include": ["src"],
|
||||||
"exclude": ["src/gtag.ts", "**/__tests__/**"]
|
"exclude": ["src/gtag.ts", "**/__tests__/**"]
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
{
|
{
|
||||||
"extends": "../../tsconfig.base.client.json",
|
"extends": "../../tsconfig.base.client.json",
|
||||||
"compilerOptions": {
|
|
||||||
"rootDir": "src",
|
|
||||||
"outDir": "lib",
|
|
||||||
"tsBuildInfoFile": "lib/.tsbuildinfo-client"
|
|
||||||
},
|
|
||||||
"include": ["src/*.d.ts"],
|
"include": ["src/*.d.ts"],
|
||||||
"exclude": ["**/__tests__/**"]
|
"exclude": ["**/__tests__/**"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,11 +2,7 @@
|
||||||
"extends": "../../tsconfig.base.json",
|
"extends": "../../tsconfig.base.json",
|
||||||
"references": [{"path": "./tsconfig.client.json"}],
|
"references": [{"path": "./tsconfig.client.json"}],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"noEmit": false,
|
"noEmit": false
|
||||||
"incremental": true,
|
|
||||||
"tsBuildInfoFile": "lib/.tsbuildinfo",
|
|
||||||
"rootDir": "src",
|
|
||||||
"outDir": "lib"
|
|
||||||
},
|
},
|
||||||
"include": ["src"],
|
"include": ["src"],
|
||||||
"exclude": ["**/__tests__/**"]
|
"exclude": ["**/__tests__/**"]
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
{
|
{
|
||||||
"extends": "../../tsconfig.base.client.json",
|
"extends": "../../tsconfig.base.client.json",
|
||||||
"compilerOptions": {
|
|
||||||
"rootDir": "src",
|
|
||||||
"outDir": "lib",
|
|
||||||
"tsBuildInfoFile": "lib/.tsbuildinfo-client"
|
|
||||||
},
|
|
||||||
"include": ["src/theme", "src/*.d.ts"],
|
"include": ["src/theme", "src/*.d.ts"],
|
||||||
"exclude": ["**/__tests__/**"]
|
"exclude": ["**/__tests__/**"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,11 +2,7 @@
|
||||||
"extends": "../../tsconfig.base.json",
|
"extends": "../../tsconfig.base.json",
|
||||||
"references": [{"path": "./tsconfig.client.json"}],
|
"references": [{"path": "./tsconfig.client.json"}],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"noEmit": false,
|
"noEmit": false
|
||||||
"incremental": true,
|
|
||||||
"tsBuildInfoFile": "lib/.tsbuildinfo",
|
|
||||||
"rootDir": "src",
|
|
||||||
"outDir": "lib"
|
|
||||||
},
|
},
|
||||||
"include": ["src"],
|
"include": ["src"],
|
||||||
"exclude": ["src/theme", "**/__tests__/**"]
|
"exclude": ["src/theme", "**/__tests__/**"]
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
{
|
{
|
||||||
"extends": "../../tsconfig.base.client.json",
|
"extends": "../../tsconfig.base.client.json",
|
||||||
"compilerOptions": {
|
|
||||||
"rootDir": "src",
|
|
||||||
"outDir": "lib",
|
|
||||||
"tsBuildInfoFile": "lib/.tsbuildinfo-client"
|
|
||||||
},
|
|
||||||
"include": [
|
"include": [
|
||||||
"src/theme/",
|
"src/theme/",
|
||||||
"src/*.d.ts",
|
"src/*.d.ts",
|
||||||
|
|
|
@ -5,11 +5,7 @@
|
||||||
{"path": "./tsconfig.worker.json"}
|
{"path": "./tsconfig.worker.json"}
|
||||||
],
|
],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"noEmit": false,
|
"noEmit": false
|
||||||
"incremental": true,
|
|
||||||
"tsBuildInfoFile": "lib/.tsbuildinfo",
|
|
||||||
"rootDir": "src",
|
|
||||||
"outDir": "lib"
|
|
||||||
},
|
},
|
||||||
"include": ["src"],
|
"include": ["src"],
|
||||||
"exclude": [
|
"exclude": [
|
||||||
|
|
|
@ -2,12 +2,8 @@
|
||||||
"extends": "../../tsconfig.base.json",
|
"extends": "../../tsconfig.base.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"noEmit": false,
|
"noEmit": false,
|
||||||
"composite": true,
|
|
||||||
"incremental": true,
|
|
||||||
"lib": ["webworker", "esnext"],
|
"lib": ["webworker", "esnext"],
|
||||||
"tsBuildInfoFile": "lib/.tsbuildinfo-worker",
|
"tsBuildInfoFile": "lib/.tsbuildinfo-worker",
|
||||||
"rootDir": "src",
|
|
||||||
"outDir": "lib",
|
|
||||||
"moduleResolution": "bundler",
|
"moduleResolution": "bundler",
|
||||||
"module": "esnext",
|
"module": "esnext",
|
||||||
"target": "esnext",
|
"target": "esnext",
|
||||||
|
|
|
@ -1,11 +1,7 @@
|
||||||
{
|
{
|
||||||
"extends": "../../tsconfig.base.json",
|
"extends": "../../tsconfig.base.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"noEmit": false,
|
"noEmit": false
|
||||||
"incremental": true,
|
|
||||||
"tsBuildInfoFile": "lib/.tsbuildinfo",
|
|
||||||
"rootDir": "src",
|
|
||||||
"outDir": "lib"
|
|
||||||
},
|
},
|
||||||
"include": ["src"],
|
"include": ["src"],
|
||||||
"exclude": ["**/__tests__/**"]
|
"exclude": ["**/__tests__/**"]
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
{
|
{
|
||||||
"extends": "../../tsconfig.base.client.json",
|
"extends": "../../tsconfig.base.client.json",
|
||||||
"compilerOptions": {
|
|
||||||
"rootDir": "src",
|
|
||||||
"outDir": "lib",
|
|
||||||
"tsBuildInfoFile": "lib/.tsbuildinfo-client"
|
|
||||||
},
|
|
||||||
"include": ["src/analytics.ts", "src/options.ts", "src/*.d.ts"],
|
"include": ["src/analytics.ts", "src/options.ts", "src/*.d.ts"],
|
||||||
"exclude": ["**/__tests__/**"]
|
"exclude": ["**/__tests__/**"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,11 +2,7 @@
|
||||||
"extends": "../../tsconfig.base.json",
|
"extends": "../../tsconfig.base.json",
|
||||||
"references": [{"path": "./tsconfig.client.json"}],
|
"references": [{"path": "./tsconfig.client.json"}],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"noEmit": false,
|
"noEmit": false
|
||||||
"incremental": true,
|
|
||||||
"tsBuildInfoFile": "lib/.tsbuildinfo",
|
|
||||||
"rootDir": "src",
|
|
||||||
"outDir": "lib"
|
|
||||||
},
|
},
|
||||||
"include": ["src"],
|
"include": ["src"],
|
||||||
"exclude": ["src/analytics.ts", "**/__tests__/**"]
|
"exclude": ["src/analytics.ts", "**/__tests__/**"]
|
||||||
|
|
|
@ -1,11 +1,7 @@
|
||||||
{
|
{
|
||||||
"extends": "../../tsconfig.base.json",
|
"extends": "../../tsconfig.base.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"noEmit": false,
|
"noEmit": false
|
||||||
"incremental": true,
|
|
||||||
"tsBuildInfoFile": "lib/.tsbuildinfo",
|
|
||||||
"rootDir": "src",
|
|
||||||
"outDir": "lib"
|
|
||||||
},
|
},
|
||||||
"include": ["src"],
|
"include": ["src"],
|
||||||
"exclude": ["**/__tests__/**"]
|
"exclude": ["**/__tests__/**"]
|
||||||
|
|
|
@ -2,12 +2,8 @@
|
||||||
"extends": "../../tsconfig.base.json",
|
"extends": "../../tsconfig.base.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"noEmit": false,
|
"noEmit": false,
|
||||||
"incremental": true,
|
|
||||||
"tsBuildInfoFile": "lib/.tsbuildinfo",
|
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"declarationMap": true,
|
"declarationMap": true
|
||||||
"rootDir": "src",
|
|
||||||
"outDir": "lib"
|
|
||||||
},
|
},
|
||||||
"include": ["src"],
|
"include": ["src"],
|
||||||
"exclude": ["**/__tests__/**"]
|
"exclude": ["**/__tests__/**"]
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
{
|
{
|
||||||
"extends": "../../tsconfig.base.client.json",
|
"extends": "../../tsconfig.base.client.json",
|
||||||
"compilerOptions": {
|
|
||||||
"rootDir": "src",
|
|
||||||
"outDir": "lib",
|
|
||||||
"tsBuildInfoFile": "lib/.tsbuildinfo-client"
|
|
||||||
},
|
|
||||||
"include": [
|
"include": [
|
||||||
"src/nprogress.ts",
|
"src/nprogress.ts",
|
||||||
"src/prism-include-languages.ts",
|
"src/prism-include-languages.ts",
|
||||||
|
|
|
@ -2,11 +2,7 @@
|
||||||
"extends": "../../tsconfig.base.json",
|
"extends": "../../tsconfig.base.json",
|
||||||
"references": [{"path": "./tsconfig.client.json"}],
|
"references": [{"path": "./tsconfig.client.json"}],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"noEmit": false,
|
"noEmit": false
|
||||||
"incremental": true,
|
|
||||||
"tsBuildInfoFile": "lib/.tsbuildinfo",
|
|
||||||
"rootDir": "src",
|
|
||||||
"outDir": "lib"
|
|
||||||
},
|
},
|
||||||
"include": ["src"],
|
"include": ["src"],
|
||||||
"exclude": [
|
"exclude": [
|
||||||
|
|
|
@ -1,9 +1,6 @@
|
||||||
{
|
{
|
||||||
"extends": "../../tsconfig.base.client.json",
|
"extends": "../../tsconfig.base.client.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"rootDir": "src",
|
|
||||||
"outDir": "lib",
|
|
||||||
"tsBuildInfoFile": "lib/.tsbuildinfo-client",
|
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"declarationMap": true
|
"declarationMap": true
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
{
|
{
|
||||||
"extends": "../../tsconfig.base.client.json",
|
"extends": "../../tsconfig.base.client.json",
|
||||||
"compilerOptions": {
|
|
||||||
"rootDir": "src",
|
|
||||||
"outDir": "lib",
|
|
||||||
"tsBuildInfoFile": "lib/.tsbuildinfo-client"
|
|
||||||
},
|
|
||||||
"include": ["src/theme", "src/*.d.ts", "src/custom-buble.ts"],
|
"include": ["src/theme", "src/*.d.ts", "src/custom-buble.ts"],
|
||||||
"exclude": ["**/__tests__/**"]
|
"exclude": ["**/__tests__/**"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,11 +2,7 @@
|
||||||
"extends": "../../tsconfig.base.json",
|
"extends": "../../tsconfig.base.json",
|
||||||
"references": [{"path": "./tsconfig.client.json"}],
|
"references": [{"path": "./tsconfig.client.json"}],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"noEmit": false,
|
"noEmit": false
|
||||||
"incremental": true,
|
|
||||||
"tsBuildInfoFile": "lib/.tsbuildinfo",
|
|
||||||
"rootDir": "src",
|
|
||||||
"outDir": "lib"
|
|
||||||
},
|
},
|
||||||
"include": ["src"],
|
"include": ["src"],
|
||||||
"exclude": ["src/custom-buble.ts", "src/theme", "**/__tests__/**"]
|
"exclude": ["src/custom-buble.ts", "src/theme", "**/__tests__/**"]
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
{
|
{
|
||||||
"extends": "../../tsconfig.base.client.json",
|
"extends": "../../tsconfig.base.client.json",
|
||||||
"compilerOptions": {
|
|
||||||
"rootDir": "src",
|
|
||||||
"outDir": "lib",
|
|
||||||
"tsBuildInfoFile": "lib/.tsbuildinfo-client"
|
|
||||||
},
|
|
||||||
"include": ["src/client", "src/theme", "src/*.d.ts"],
|
"include": ["src/client", "src/theme", "src/*.d.ts"],
|
||||||
"exclude": ["**/__tests__/**"]
|
"exclude": ["**/__tests__/**"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,11 +2,7 @@
|
||||||
"extends": "../../tsconfig.base.json",
|
"extends": "../../tsconfig.base.json",
|
||||||
"references": [{"path": "./tsconfig.client.json"}],
|
"references": [{"path": "./tsconfig.client.json"}],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"noEmit": false,
|
"noEmit": false
|
||||||
"incremental": true,
|
|
||||||
"tsBuildInfoFile": "lib/.tsbuildinfo",
|
|
||||||
"rootDir": "src",
|
|
||||||
"outDir": "lib"
|
|
||||||
},
|
},
|
||||||
"include": ["src"],
|
"include": ["src"],
|
||||||
"exclude": ["src/client", "src/theme", "**/__tests__/**"]
|
"exclude": ["src/client", "src/theme", "**/__tests__/**"]
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
{
|
{
|
||||||
"extends": "../../tsconfig.base.client.json",
|
"extends": "../../tsconfig.base.client.json",
|
||||||
"compilerOptions": {
|
|
||||||
"rootDir": "src",
|
|
||||||
"outDir": "lib",
|
|
||||||
"tsBuildInfoFile": "lib/.tsbuildinfo-client"
|
|
||||||
},
|
|
||||||
"include": ["src/theme", "src/client", "src/*.d.ts"],
|
"include": ["src/theme", "src/client", "src/*.d.ts"],
|
||||||
"exclude": ["**/__tests__/**"]
|
"exclude": ["**/__tests__/**"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,11 +2,7 @@
|
||||||
"extends": "../../tsconfig.base.json",
|
"extends": "../../tsconfig.base.json",
|
||||||
"references": [{"path": "./tsconfig.client.json"}],
|
"references": [{"path": "./tsconfig.client.json"}],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"noEmit": false,
|
"noEmit": false
|
||||||
"incremental": true,
|
|
||||||
"tsBuildInfoFile": "lib/.tsbuildinfo",
|
|
||||||
"rootDir": "src",
|
|
||||||
"outDir": "lib"
|
|
||||||
},
|
},
|
||||||
"include": ["src"],
|
"include": ["src"],
|
||||||
"exclude": ["src/client", "src/theme", "**/__tests__/**"]
|
"exclude": ["src/client", "src/theme", "**/__tests__/**"]
|
||||||
|
|
|
@ -1,14 +1,10 @@
|
||||||
{
|
{
|
||||||
"extends": "../../tsconfig.base.json",
|
"extends": "../../tsconfig.base.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
|
"tsBuildInfoFile": "${configDir}/lib/.tsbuildinfo-build",
|
||||||
"noEmit": false,
|
"noEmit": false,
|
||||||
"composite": true,
|
|
||||||
"incremental": true,
|
|
||||||
"tsBuildInfoFile": "lib/.tsbuildinfo",
|
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"declarationMap": true,
|
"declarationMap": true
|
||||||
"rootDir": "src",
|
|
||||||
"outDir": "lib"
|
|
||||||
},
|
},
|
||||||
"include": ["src"],
|
"include": ["src"],
|
||||||
"exclude": ["**/__tests__/**"]
|
"exclude": ["**/__tests__/**"]
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
"extends": "../../tsconfig.base.json",
|
"extends": "../../tsconfig.base.json",
|
||||||
"references": [{"path": "./tsconfig.build.json"}],
|
"references": [{"path": "./tsconfig.build.json"}],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
|
"rootDir": ".",
|
||||||
"noEmit": true,
|
"noEmit": true,
|
||||||
"checkJs": true
|
"checkJs": true
|
||||||
},
|
},
|
||||||
|
|
|
@ -2,12 +2,8 @@
|
||||||
"extends": "../../tsconfig.base.json",
|
"extends": "../../tsconfig.base.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"noEmit": false,
|
"noEmit": false,
|
||||||
"incremental": true,
|
|
||||||
"tsBuildInfoFile": "lib/.tsbuildinfo",
|
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"declarationMap": true,
|
"declarationMap": true,
|
||||||
"rootDir": "src",
|
|
||||||
"outDir": "lib",
|
|
||||||
"noEmitHelpers": false
|
"noEmitHelpers": false
|
||||||
},
|
},
|
||||||
"include": ["src"],
|
"include": ["src"],
|
||||||
|
|
|
@ -2,12 +2,8 @@
|
||||||
"extends": "../../tsconfig.base.json",
|
"extends": "../../tsconfig.base.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"noEmit": false,
|
"noEmit": false,
|
||||||
"incremental": true,
|
|
||||||
"tsBuildInfoFile": "lib/.tsbuildinfo",
|
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"declarationMap": true,
|
"declarationMap": true
|
||||||
"rootDir": "src",
|
|
||||||
"outDir": "lib"
|
|
||||||
},
|
},
|
||||||
"include": ["src"],
|
"include": ["src"],
|
||||||
"exclude": ["**/__tests__/**"]
|
"exclude": ["**/__tests__/**"]
|
||||||
|
|
|
@ -2,12 +2,8 @@
|
||||||
"extends": "../../tsconfig.base.json",
|
"extends": "../../tsconfig.base.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"noEmit": false,
|
"noEmit": false,
|
||||||
"incremental": true,
|
|
||||||
"tsBuildInfoFile": "lib/.tsbuildinfo",
|
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"declarationMap": true,
|
"declarationMap": true
|
||||||
"rootDir": "src",
|
|
||||||
"outDir": "lib"
|
|
||||||
},
|
},
|
||||||
"include": ["src"],
|
"include": ["src"],
|
||||||
"exclude": ["**/__tests__/**"]
|
"exclude": ["**/__tests__/**"]
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
{
|
{
|
||||||
"extends": "../../tsconfig.base.client.json",
|
"extends": "../../tsconfig.base.client.json",
|
||||||
"compilerOptions": {
|
|
||||||
"rootDir": "src",
|
|
||||||
"outDir": "lib",
|
|
||||||
"tsBuildInfoFile": "lib/.tsbuildinfo-client"
|
|
||||||
},
|
|
||||||
"include": ["src/client", "src/*.d.ts"],
|
"include": ["src/client", "src/*.d.ts"],
|
||||||
"exclude": ["**/__tests__/**"]
|
"exclude": ["**/__tests__/**"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,6 +9,6 @@
|
||||||
"checkJs": true,
|
"checkJs": true,
|
||||||
"rootDir": "."
|
"rootDir": "."
|
||||||
},
|
},
|
||||||
"include": ["bin"],
|
"include": ["package.json", "bin"],
|
||||||
"exclude": ["**/__tests__/**"]
|
"exclude": ["**/__tests__/**"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,11 +2,7 @@
|
||||||
"extends": "../../tsconfig.base.json",
|
"extends": "../../tsconfig.base.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"noEmit": false,
|
"noEmit": false,
|
||||||
"composite": true,
|
"tsBuildInfoFile": "${configDir}/lib/.tsbuildinfo-server"
|
||||||
"incremental": true,
|
|
||||||
"tsBuildInfoFile": "lib/.tsbuildinfo",
|
|
||||||
"rootDir": "src",
|
|
||||||
"outDir": "lib"
|
|
||||||
},
|
},
|
||||||
"include": ["src"],
|
"include": ["src"],
|
||||||
"exclude": ["src/client", "**/__tests__/**"]
|
"exclude": ["src/client", "**/__tests__/**"]
|
||||||
|
|
|
@ -1,11 +1,7 @@
|
||||||
{
|
{
|
||||||
"extends": "../../tsconfig.base.json",
|
"extends": "../../tsconfig.base.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"noEmit": false,
|
"noEmit": false
|
||||||
"incremental": true,
|
|
||||||
"tsBuildInfoFile": "lib/.tsbuildinfo",
|
|
||||||
"rootDir": "src",
|
|
||||||
"outDir": "lib"
|
|
||||||
},
|
},
|
||||||
"include": ["src"],
|
"include": ["src"],
|
||||||
"exclude": ["**/__tests__/**"]
|
"exclude": ["**/__tests__/**"]
|
||||||
|
|
|
@ -1,11 +1,7 @@
|
||||||
{
|
{
|
||||||
"extends": "../../tsconfig.base.json",
|
"extends": "../../tsconfig.base.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"noEmit": false,
|
"noEmit": false
|
||||||
"incremental": true,
|
|
||||||
"tsBuildInfoFile": "lib/.tsbuildinfo",
|
|
||||||
"rootDir": "src",
|
|
||||||
"outDir": "lib"
|
|
||||||
},
|
},
|
||||||
"include": ["src"],
|
"include": ["src"],
|
||||||
"exclude": ["**/__tests__/**"]
|
"exclude": ["**/__tests__/**"]
|
||||||
|
|
|
@ -1,11 +1,7 @@
|
||||||
{
|
{
|
||||||
"extends": "../../tsconfig.base.json",
|
"extends": "../../tsconfig.base.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"noEmit": false,
|
"noEmit": false
|
||||||
"incremental": true,
|
|
||||||
"tsBuildInfoFile": "lib/.tsbuildinfo",
|
|
||||||
"rootDir": "src",
|
|
||||||
"outDir": "lib"
|
|
||||||
},
|
},
|
||||||
"include": ["src"],
|
"include": ["src"],
|
||||||
"exclude": ["**/__tests__/**"]
|
"exclude": ["**/__tests__/**"]
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
{
|
{
|
||||||
"extends": "./tsconfig.base.json",
|
"extends": "./tsconfig.base.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
|
"tsBuildInfoFile": "${configDir}/lib/.tsbuildinfo-client",
|
||||||
"noEmit": false,
|
"noEmit": false,
|
||||||
"composite": true,
|
|
||||||
"incremental": true,
|
|
||||||
"moduleResolution": "bundler",
|
"moduleResolution": "bundler",
|
||||||
"module": "esnext",
|
"module": "esnext",
|
||||||
"target": "esnext"
|
"target": "esnext"
|
||||||
|
|
|
@ -1,5 +1,11 @@
|
||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
|
"rootDir": "${configDir}/src",
|
||||||
|
"outDir": "${configDir}/lib",
|
||||||
|
"composite": true,
|
||||||
|
"incremental": true,
|
||||||
|
"tsBuildInfoFile": "${configDir}/lib/.tsbuildinfo",
|
||||||
|
|
||||||
/* Emit */
|
/* Emit */
|
||||||
"target": "ES2020",
|
"target": "ES2020",
|
||||||
"lib": ["ESNext"],
|
"lib": ["ESNext"],
|
||||||
|
|
Loading…
Add table
Reference in a new issue