@adamhl8/configs 0.4.2 → 0.6.0
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/{configs → dist}/biome.jsonc +2 -0
- package/{configs → dist}/prettier.js +3 -2
- package/dist/prettier.js.map +1 -0
- package/{configs → dist}/tsconfig.json +16 -5
- package/dist/types/prettier.d.ts +3 -0
- package/package.json +7 -8
- package/configs/tsconfig.package.json +0 -14
- package/configs/types/prettier.d.ts +0 -23
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prettier.js","sourceRoot":"","sources":["../configs/prettier.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,GAAW;IACrB,UAAU,EAAE,GAAG;IACf,IAAI,EAAE,KAAK;IACX,OAAO,EAAE;QACP,2CAA2C;QAC3C,oBAAoB;QACpB,sBAAsB;QACtB,uBAAuB;QACvB,6BAA6B;KAC9B;IACD,kBAAkB,EAAE,kBAAkB;IACtC,SAAS,EAAE;QACT;YACE,oDAAoD;YACpD,KAAK,EAAE,SAAS;YAChB,OAAO,EAAE;gBACP,aAAa,EAAE,MAAM;aACtB;SACF;QACD;YACE,KAAK,EAAE,SAAS;YAChB,OAAO,EAAE;gBACP,MAAM,EAAE,OAAO;aAChB;SACF;KACF;CACF,CAAA;AAED,eAAe,MAAM,CAAA"}
|
|
@@ -7,13 +7,20 @@
|
|
|
7
7
|
"moduleResolution": "bundler",
|
|
8
8
|
"moduleDetection": "force",
|
|
9
9
|
"isolatedModules": true,
|
|
10
|
-
"
|
|
10
|
+
"isolatedDeclarations": true,
|
|
11
11
|
"verbatimModuleSyntax": true,
|
|
12
|
+
// https://github.com/microsoft/TypeScript/issues/61991
|
|
13
|
+
// "allowImportingTsExtensions": true,
|
|
14
|
+
// "rewriteRelativeImportExtensions": true,
|
|
12
15
|
"resolveJsonModule": true,
|
|
13
|
-
|
|
14
|
-
"allowJs": true,
|
|
15
|
-
"checkJs": true,
|
|
16
|
+
// https://github.com/microsoft/TypeScript/issues/58262
|
|
17
|
+
// "allowJs": true,
|
|
18
|
+
// "checkJs": true,
|
|
16
19
|
"skipLibCheck": true,
|
|
20
|
+
"declaration": true,
|
|
21
|
+
"sourceMap": true,
|
|
22
|
+
"outDir": "${configDir}/dist/",
|
|
23
|
+
"declarationDir": "${configDir}/dist/types",
|
|
17
24
|
|
|
18
25
|
// Strictness
|
|
19
26
|
"strict": true,
|
|
@@ -28,6 +35,10 @@
|
|
|
28
35
|
"noUnusedLocals": true,
|
|
29
36
|
"noUnusedParameters": true,
|
|
30
37
|
"forceConsistentCasingInFileNames": true,
|
|
31
|
-
"noUncheckedSideEffectImports": true
|
|
38
|
+
"noUncheckedSideEffectImports": true,
|
|
39
|
+
|
|
40
|
+
"paths": {
|
|
41
|
+
"@/*": ["${configDir}/src/*"]
|
|
42
|
+
}
|
|
32
43
|
}
|
|
33
44
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adamhl8/configs",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -17,20 +17,19 @@
|
|
|
17
17
|
},
|
|
18
18
|
"license": "MIT",
|
|
19
19
|
"exports": {
|
|
20
|
-
"./tsconfig": "./
|
|
21
|
-
"./
|
|
22
|
-
"./biome": "./configs/biome.jsonc",
|
|
20
|
+
"./tsconfig": "./dist/tsconfig.json",
|
|
21
|
+
"./biome": "./dist/biome.jsonc",
|
|
23
22
|
"./prettier": {
|
|
24
|
-
"import": "./
|
|
25
|
-
"types": "./
|
|
23
|
+
"import": "./dist/prettier.js",
|
|
24
|
+
"types": "./dist/types/prettier.d.ts"
|
|
26
25
|
}
|
|
27
26
|
},
|
|
28
27
|
"files": [
|
|
29
|
-
"
|
|
28
|
+
"dist/"
|
|
30
29
|
],
|
|
31
30
|
"scripts": {
|
|
32
31
|
"prepublishOnly": "bun lint",
|
|
33
|
-
"lint": "tsc && biome check --write"
|
|
32
|
+
"lint": "tsc && biome check --write && cp ./configs/*.{json,jsonc} ./dist/"
|
|
34
33
|
},
|
|
35
34
|
"dependencies": {
|
|
36
35
|
"@prettier/plugin-xml": "^3.4.1",
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "./tsconfig.json",
|
|
3
|
-
"exclude": ["${configDir}/dist/"],
|
|
4
|
-
"compilerOptions": {
|
|
5
|
-
"module": "NodeNext",
|
|
6
|
-
"moduleResolution": "nodenext",
|
|
7
|
-
"allowImportingTsExtensions": false,
|
|
8
|
-
"noEmit": false,
|
|
9
|
-
"declaration": true,
|
|
10
|
-
"sourceMap": true,
|
|
11
|
-
"outDir": "${configDir}/dist",
|
|
12
|
-
"declarationDir": "${configDir}/dist/types"
|
|
13
|
-
}
|
|
14
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
printWidth: number
|
|
3
|
-
semi: false
|
|
4
|
-
plugins: string[]
|
|
5
|
-
tailwindStylesheet: string
|
|
6
|
-
overrides: (
|
|
7
|
-
| {
|
|
8
|
-
files: string
|
|
9
|
-
options: {
|
|
10
|
-
trailingComma: "none"
|
|
11
|
-
parser?: never
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
| {
|
|
15
|
-
files: string
|
|
16
|
-
options: {
|
|
17
|
-
parser: "astro"
|
|
18
|
-
trailingComma?: never
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
)[]
|
|
22
|
-
}
|
|
23
|
-
export default _default
|