@4mbl/tsconfig 0.0.0-beta.ed61394 → 0.0.0-beta.f1d8a7f
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +47 -33
- package/package.json +21 -7
- package/base.json +0 -43
- package/browser.json +0 -14
- package/next.json +0 -35
- package/node.json +0 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,33 +1,47 @@
|
|
|
1
|
-
# @4mbl/tsconfig Changelog
|
|
2
|
-
|
|
3
|
-
## 4.1.
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
1
|
+
# @4mbl/tsconfig Changelog
|
|
2
|
+
|
|
3
|
+
## 4.1.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 0957212: Migrate to monorepo setup internally. No changes to the package itself.
|
|
8
|
+
|
|
9
|
+
## 4.1.2
|
|
10
|
+
|
|
11
|
+
- Setup npm trusted publishing. No changes to the package itself.
|
|
12
|
+
|
|
13
|
+
## 4.1.1
|
|
14
|
+
|
|
15
|
+
- Fixed missing artifacts in the previous release.
|
|
16
|
+
|
|
17
|
+
## 4.1.0
|
|
18
|
+
|
|
19
|
+
- Add vite-react template.
|
|
20
|
+
|
|
21
|
+
## 4.0.1
|
|
22
|
+
|
|
23
|
+
- Move `baseUrl` definition from the base template to child templates to improve Next.js support.
|
|
24
|
+
|
|
25
|
+
## 4.0.0
|
|
26
|
+
|
|
27
|
+
- Migrated from versioned templates to a single template per type. The package version is now used to determine the template version. This simplifies both the maintenance and usage of the package.
|
|
28
|
+
- Enabled the following options in the base template:
|
|
29
|
+
- `declarationMap`
|
|
30
|
+
- `tsBuildInfoFile` set to `node_modules/.tmp/tsbuildinfo`
|
|
31
|
+
- `verbatimModuleSyntax`
|
|
32
|
+
- `allowSyntheticDefaultImports`
|
|
33
|
+
- `noImplicitOverride`
|
|
34
|
+
- In the Next.js all paths now use paths relative to the project.
|
|
35
|
+
- Removed `tsBuildInfoFile` from browser template in favor of the base template value.
|
|
36
|
+
|
|
37
|
+
## 3.0.0
|
|
38
|
+
|
|
39
|
+
- Enabled `erasableSyntaxOnly` option in the base template. Requires TypeScript 5.8.0+.
|
|
40
|
+
|
|
41
|
+
## 2.0.0
|
|
42
|
+
|
|
43
|
+
- Changed path options to use `${configDir}` instead of relative paths in base template. Requires TypeScript 5.5.0+.
|
|
44
|
+
|
|
45
|
+
## 1.0.0
|
|
46
|
+
|
|
47
|
+
- Initial release
|
package/package.json
CHANGED
|
@@ -1,22 +1,33 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@4mbl/tsconfig",
|
|
3
|
-
"version": "0.0.0-beta.
|
|
3
|
+
"version": "0.0.0-beta.f1d8a7f",
|
|
4
4
|
"description": "Strict TypeScript configuration for various environments.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "4mbl",
|
|
7
7
|
"license": "MIT",
|
|
8
|
-
"homepage": "https://github.com/4mbl/tsconfig#readme",
|
|
8
|
+
"homepage": "https://github.com/4mbl/config/tree/main/packages/tsconfig#readme",
|
|
9
|
+
"exports": {
|
|
10
|
+
"./browser": "./dist/browser.json",
|
|
11
|
+
"./next": "./dist/next.json",
|
|
12
|
+
"./node": "./dist/node.json",
|
|
13
|
+
"./vite-react/app": "./dist/vite-react/app.json",
|
|
14
|
+
"./vite-react/node": "./dist/vite-react/node.json"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist",
|
|
18
|
+
"package.json",
|
|
19
|
+
"README.md",
|
|
20
|
+
"CHANGELOG.md"
|
|
21
|
+
],
|
|
9
22
|
"repository": {
|
|
10
23
|
"type": "git",
|
|
11
|
-
"url": "git+https://github.com/4mbl/
|
|
24
|
+
"url": "git+https://github.com/4mbl/config.git",
|
|
25
|
+
"directory": "packages/tsconfig"
|
|
12
26
|
},
|
|
13
27
|
"keywords": [
|
|
14
28
|
"typescript",
|
|
15
29
|
"tsconfig"
|
|
16
30
|
],
|
|
17
|
-
"scripts": {
|
|
18
|
-
"build": "cp templates/*.json ."
|
|
19
|
-
},
|
|
20
31
|
"peerDependencies": {
|
|
21
32
|
"typescript": ">=5.8.0"
|
|
22
33
|
},
|
|
@@ -24,5 +35,8 @@
|
|
|
24
35
|
"typescript": {
|
|
25
36
|
"optional": true
|
|
26
37
|
}
|
|
38
|
+
},
|
|
39
|
+
"scripts": {
|
|
40
|
+
"build": "rm -rf dist && mkdir dist && cp -r templates/* dist/ && node scripts/generate-exports.mjs"
|
|
27
41
|
}
|
|
28
|
-
}
|
|
42
|
+
}
|
package/base.json
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json.schemastore.org/tsconfig",
|
|
3
|
-
"display": "Base",
|
|
4
|
-
"compilerOptions": {
|
|
5
|
-
/* Base Options */
|
|
6
|
-
"lib": ["ESNext"],
|
|
7
|
-
"allowJs": true,
|
|
8
|
-
"skipLibCheck": true,
|
|
9
|
-
"resolveJsonModule": true,
|
|
10
|
-
"moduleDetection": "force",
|
|
11
|
-
"paths": {
|
|
12
|
-
"@/*": ["${configDir}/src/*"]
|
|
13
|
-
},
|
|
14
|
-
|
|
15
|
-
/* Output */
|
|
16
|
-
"target": "ES6",
|
|
17
|
-
"outDir": "${configDir}/dist",
|
|
18
|
-
"sourceMap": true,
|
|
19
|
-
"declarationMap": true,
|
|
20
|
-
"declaration": true,
|
|
21
|
-
"incremental": true,
|
|
22
|
-
"isolatedModules": true,
|
|
23
|
-
"esModuleInterop": true,
|
|
24
|
-
"tsBuildInfoFile": "${configDir}/node_modules/.tmp/tsconfig.tsbuildinfo",
|
|
25
|
-
"verbatimModuleSyntax": true,
|
|
26
|
-
|
|
27
|
-
/* Linting */
|
|
28
|
-
"strict": true,
|
|
29
|
-
"checkJs": true,
|
|
30
|
-
"erasableSyntaxOnly": true,
|
|
31
|
-
"forceConsistentCasingInFileNames": true,
|
|
32
|
-
"allowSyntheticDefaultImports": true,
|
|
33
|
-
"noFallthroughCasesInSwitch": true,
|
|
34
|
-
"noImplicitAny": true,
|
|
35
|
-
"noImplicitOverride": true,
|
|
36
|
-
"noImplicitReturns": false,
|
|
37
|
-
"noUnusedLocals": true,
|
|
38
|
-
"noUnusedParameters": true,
|
|
39
|
-
"noUncheckedIndexedAccess": true
|
|
40
|
-
},
|
|
41
|
-
"include": ["${configDir}/src/**/*"],
|
|
42
|
-
"exclude": ["${configDir}/node_modules"]
|
|
43
|
-
}
|
package/browser.json
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json.schemastore.org/tsconfig",
|
|
3
|
-
"display": "Browser",
|
|
4
|
-
"extends": "./base.json",
|
|
5
|
-
"compilerOptions": {
|
|
6
|
-
"lib": ["DOM", "DOM.Iterable", "ESNext"],
|
|
7
|
-
"jsx": "react-jsx",
|
|
8
|
-
"module": "ESNext",
|
|
9
|
-
"moduleResolution": "Bundler",
|
|
10
|
-
"baseUrl": "${configDir}/src",
|
|
11
|
-
"noEmit": true,
|
|
12
|
-
"sourceMap": true
|
|
13
|
-
}
|
|
14
|
-
}
|
package/next.json
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json.schemastore.org/tsconfig",
|
|
3
|
-
"display": "Next.js",
|
|
4
|
-
"extends": "./base.json",
|
|
5
|
-
"compilerOptions": {
|
|
6
|
-
"target": "ES2017",
|
|
7
|
-
"lib": ["dom", "dom.iterable", "esnext"],
|
|
8
|
-
"allowJs": true,
|
|
9
|
-
"skipLibCheck": true,
|
|
10
|
-
"strict": true,
|
|
11
|
-
"noEmit": true,
|
|
12
|
-
"esModuleInterop": true,
|
|
13
|
-
"module": "preserve",
|
|
14
|
-
"moduleResolution": "bundler",
|
|
15
|
-
"resolveJsonModule": true,
|
|
16
|
-
"isolatedModules": true,
|
|
17
|
-
"jsx": "preserve",
|
|
18
|
-
"incremental": true,
|
|
19
|
-
"plugins": [
|
|
20
|
-
{
|
|
21
|
-
"name": "next"
|
|
22
|
-
}
|
|
23
|
-
],
|
|
24
|
-
"paths": {
|
|
25
|
-
"@/*": ["${configDir}/src/*"]
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
"include": [
|
|
29
|
-
"${configDir}/next-env.d.ts",
|
|
30
|
-
"${configDir}/**/*.ts",
|
|
31
|
-
"${configDir}/**/*.tsx",
|
|
32
|
-
"${configDir}/.next/types/**/*.ts"
|
|
33
|
-
],
|
|
34
|
-
"exclude": ["${configDir}/node_modules"]
|
|
35
|
-
}
|
package/node.json
DELETED