@adamhl8/configs 0.17.12 → 0.17.14
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://biomejs.dev/schemas/
|
|
2
|
+
"$schema": "https://biomejs.dev/schemas/latest/schema.json",
|
|
3
3
|
"root": false,
|
|
4
4
|
"vcs": {
|
|
5
5
|
"enabled": true,
|
|
@@ -20,6 +20,11 @@
|
|
|
20
20
|
"expand": "auto"
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
|
+
"css": {
|
|
24
|
+
"parser": {
|
|
25
|
+
"tailwindDirectives": true
|
|
26
|
+
}
|
|
27
|
+
},
|
|
23
28
|
"assist": {
|
|
24
29
|
"enabled": true,
|
|
25
30
|
"actions": {
|
|
@@ -209,29 +214,35 @@
|
|
|
209
214
|
"noContinue": "off",
|
|
210
215
|
"noDeprecatedImports": "error",
|
|
211
216
|
"noDuplicateDependencies": "error",
|
|
217
|
+
"noDuplicatedSpreadProps": "error",
|
|
212
218
|
"noEmptySource": "error",
|
|
219
|
+
"noEqualsToNull": "error",
|
|
213
220
|
"noFloatingPromises": "error",
|
|
214
221
|
"noForIn": "error",
|
|
215
222
|
"noImportCycles": "error",
|
|
216
223
|
"noIncrementDecrement": "off",
|
|
217
224
|
"noJsxLiterals": "off",
|
|
225
|
+
"noLeakedRender": "error",
|
|
218
226
|
"noMisusedPromises": "error",
|
|
227
|
+
"noMultiStr": "error",
|
|
219
228
|
"noNextAsyncClientComponent": "error",
|
|
220
229
|
"noParametersOnlyUsedInRecursion": "error",
|
|
230
|
+
"noProto": "error",
|
|
221
231
|
"noReactForwardRef": "error",
|
|
222
232
|
"noShadow": "error",
|
|
223
233
|
"noSyncScripts": "off",
|
|
234
|
+
"noTernary": "off",
|
|
224
235
|
"noUnknownAttribute": "error",
|
|
225
236
|
"noUnnecessaryConditions": "error",
|
|
226
237
|
"noUnresolvedImports": "off",
|
|
227
238
|
"noUnusedExpressions": "error",
|
|
228
239
|
"noUselessCatchBinding": "error",
|
|
229
240
|
"noUselessUndefined": "error",
|
|
230
|
-
"noVueDataObjectDeclaration": "
|
|
231
|
-
"noVueDuplicateKeys": "
|
|
232
|
-
"noVueReservedKeys": "
|
|
233
|
-
"noVueReservedProps": "
|
|
234
|
-
"noVueVIfWithVFor": "
|
|
241
|
+
"noVueDataObjectDeclaration": "off",
|
|
242
|
+
"noVueDuplicateKeys": "off",
|
|
243
|
+
"noVueReservedKeys": "off",
|
|
244
|
+
"noVueReservedProps": "off",
|
|
245
|
+
"noVueVIfWithVFor": "off",
|
|
235
246
|
"useArraySortCompare": "error",
|
|
236
247
|
"useConsistentArrowReturn": "error",
|
|
237
248
|
"useConsistentGraphqlDescriptions": "error",
|
|
@@ -245,15 +256,16 @@
|
|
|
245
256
|
"useSortedClasses": "error",
|
|
246
257
|
"useSpread": "error",
|
|
247
258
|
"useUniqueGraphqlOperationName": "error",
|
|
248
|
-
"useVueDefineMacrosOrder": "
|
|
249
|
-
"useVueHyphenatedAttributes": "
|
|
250
|
-
"useVueMultiWordComponentNames": "
|
|
251
|
-
"useVueValidVBind": "
|
|
252
|
-
"useVueValidVElse": "
|
|
253
|
-
"useVueValidVElseIf": "
|
|
254
|
-
"useVueValidVHtml": "
|
|
255
|
-
"useVueValidVIf": "
|
|
256
|
-
"useVueValidVOn": "
|
|
259
|
+
"useVueDefineMacrosOrder": "off",
|
|
260
|
+
"useVueHyphenatedAttributes": "off",
|
|
261
|
+
"useVueMultiWordComponentNames": "off",
|
|
262
|
+
"useVueValidVBind": "off",
|
|
263
|
+
"useVueValidVElse": "off",
|
|
264
|
+
"useVueValidVElseIf": "off",
|
|
265
|
+
"useVueValidVHtml": "off",
|
|
266
|
+
"useVueValidVIf": "off",
|
|
267
|
+
"useVueValidVOn": "off",
|
|
268
|
+
"useVueValidVText": "off"
|
|
257
269
|
},
|
|
258
270
|
"performance": {
|
|
259
271
|
"noAccumulatingSpread": "error",
|
package/dist/configs/tsdown.d.ts
CHANGED
|
@@ -48,20 +48,20 @@ declare const tsdownConfig: MergeConfigFn<{
|
|
|
48
48
|
name?: string;
|
|
49
49
|
silent?: boolean;
|
|
50
50
|
logLevel?: "silent" | ("error" | "warn" | "info");
|
|
51
|
-
failOnWarn?: boolean;
|
|
51
|
+
failOnWarn?: boolean | tsdown0.CIOption;
|
|
52
52
|
customLogger?: tsdown0.Logger;
|
|
53
53
|
fromVite?: boolean | "vitest";
|
|
54
54
|
watch?: boolean | (string | string[]);
|
|
55
55
|
ignoreWatch?: string | RegExp | (string | RegExp)[];
|
|
56
56
|
onSuccess?: string | ((config: tsdown0.ResolvedConfig, signal: AbortSignal) => void | Promise<void>);
|
|
57
|
-
debug?:
|
|
58
|
-
dts?:
|
|
59
|
-
unused?:
|
|
60
|
-
publint?:
|
|
61
|
-
attw?:
|
|
62
|
-
report?:
|
|
57
|
+
debug?: tsdown0.WithEnabled<tsdown0.DebugOptions>;
|
|
58
|
+
dts?: tsdown0.WithEnabled<rolldown_plugin_dts0.Options>;
|
|
59
|
+
unused?: tsdown0.WithEnabled<UnusedOptions>;
|
|
60
|
+
publint?: tsdown0.WithEnabled<publint0.Options>;
|
|
61
|
+
attw?: tsdown0.WithEnabled<tsdown0.AttwOptions>;
|
|
62
|
+
report?: tsdown0.WithEnabled<tsdown0.ReportOptions>;
|
|
63
63
|
globImport?: boolean;
|
|
64
|
-
exports?:
|
|
64
|
+
exports?: tsdown0.WithEnabled<tsdown0.ExportsOptions>;
|
|
65
65
|
publicDir?: tsdown0.CopyOptions | tsdown0.CopyOptionsFn;
|
|
66
66
|
copy?: tsdown0.CopyOptions | tsdown0.CopyOptionsFn;
|
|
67
67
|
hooks?: Partial<tsdown0.TsdownHooks> | ((hooks: hookable0.Hookable<tsdown0.TsdownHooks>) => void | Promise<void>);
|
|
@@ -82,7 +82,7 @@ declare const tsdownConfig: MergeConfigFn<{
|
|
|
82
82
|
};
|
|
83
83
|
readonly attw: {
|
|
84
84
|
readonly level: "error";
|
|
85
|
-
readonly profile: "
|
|
85
|
+
readonly profile: "esm-only";
|
|
86
86
|
};
|
|
87
87
|
readonly publint: true;
|
|
88
88
|
readonly failOnWarn: true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tsdown.d.ts","names":[],"sources":["../../src/configs/tsdown.ts"],"sourcesContent":[],"mappings":";;;;;;;;;cA0Ca;UAAyF,SAAA,CAAA;;;;;;;EAAzF,MAAA,CAAA,EAAA,MAAyF,GAAA,MAAA,EAAA,GAAA,KAAA;EAAA,GAAA,CAAA,QAAA,CAAA,MAAA,EAAA,GAAA,CAAA
|
|
1
|
+
{"version":3,"file":"tsdown.d.ts","names":[],"sources":["../../src/configs/tsdown.ts"],"sourcesContent":[],"mappings":";;;;;;;;;cA0Ca;UAAyF,SAAA,CAAA;;;;;;;EAAzF,MAAA,CAAA,EAAA,MAAyF,GAAA,MAAA,EAAA,GAAA,KAAA;EAAA,GAAA,CAAA,QAAA,CAAA,MAAA,EAAA,GAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA7E,SAAA,IAAA,EAAA;IACZ,SAAA,KAA8E,EAAA,OAAA;;;;;;cAA9E,iBAAe,sBAAA"}
|
package/dist/configs/tsdown.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tsdown.js","names":[],"sources":["../../src/configs/tsdown.ts"],"sourcesContent":["import type { UserConfig } from \"tsdown\"\nimport type { SetRequired } from \"type-fest\"\n\nimport { createMergeConfigFn } from \"./utils.ts\"\n\n// force projects to specify platform\ntype StrictUserConfig = SetRequired<UserConfig, \"platform\">\n\nconst baseConfig = {\n entry: [\"./src/index.ts\"],\n unbundle: true,\n target: false,\n platform: \"neutral\",\n fixedExtension: false,\n minify: \"dce-only\",\n sourcemap: true,\n hash: false,\n dts: {\n newContext: true,\n sourcemap: true,\n },\n attw: {\n level: \"error\",\n profile: \"
|
|
1
|
+
{"version":3,"file":"tsdown.js","names":[],"sources":["../../src/configs/tsdown.ts"],"sourcesContent":["import type { UserConfig } from \"tsdown\"\nimport type { SetRequired } from \"type-fest\"\n\nimport { createMergeConfigFn } from \"./utils.ts\"\n\n// force projects to specify platform\ntype StrictUserConfig = SetRequired<UserConfig, \"platform\">\n\nconst baseConfig = {\n entry: [\"./src/index.ts\"],\n unbundle: true,\n target: false,\n platform: \"neutral\",\n fixedExtension: false,\n minify: \"dce-only\",\n sourcemap: true,\n hash: false,\n dts: {\n newContext: true,\n sourcemap: true,\n },\n attw: {\n level: \"error\",\n profile: \"esm-only\",\n },\n publint: true,\n failOnWarn: true,\n} as const satisfies StrictUserConfig\n\nconst binConfig = {\n ...baseConfig,\n entry: [],\n platform: \"node\",\n outExtensions: () => ({ js: \"\" }),\n copy: [],\n unbundle: false,\n sourcemap: false,\n dts: false,\n attw: false,\n publint: false,\n} as const satisfies UserConfig\n\nexport const tsdownConfig = createMergeConfigFn<StrictUserConfig, typeof baseConfig, true>(baseConfig)\nexport const tsdownBinConfig = createMergeConfigFn<UserConfig, typeof binConfig>(binConfig)\n"],"mappings":";AAQA,MAAM,aAAa;CACjB,OAAO,CAAC,iBAAiB;CACzB,UAAU;CACV,QAAQ;CACR,UAAU;CACV,gBAAgB;CAChB,QAAQ;CACR,WAAW;CACX,MAAM;CACN,KAAK;EACH,YAAY;EACZ,WAAW;EACZ;CACD,MAAM;EACJ,OAAO;EACP,SAAS;EACV;CACD,SAAS;CACT,YAAY;CACb;AAED,MAAM,YAAY;CAChB,GAAG;CACH,OAAO,EAAE;CACT,UAAU;CACV,sBAAsB,EAAE,IAAI,IAAI;CAChC,MAAM,EAAE;CACR,UAAU;CACV,WAAW;CACX,KAAK;CACL,MAAM;CACN,SAAS;CACV;AAED,MAAa,eAAe,oBAA+D,WAAW;AACtG,MAAa,kBAAkB,oBAAkD,UAAU"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adamhl8/configs",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.14",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"typescript": "^5.0.0"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@optique/core": "^0.
|
|
43
|
-
"@optique/run": "^0.
|
|
42
|
+
"@optique/core": "^0.7.0",
|
|
43
|
+
"@optique/run": "^0.7.0",
|
|
44
44
|
"@prettier/plugin-xml": "^3.4.2",
|
|
45
45
|
"es-toolkit": "^1.42.0",
|
|
46
46
|
"get-tsconfig": "^4.13.0",
|
|
@@ -51,16 +51,16 @@
|
|
|
51
51
|
"prettier-plugin-toml": "^2.0.6",
|
|
52
52
|
"remeda": "^2.32.0",
|
|
53
53
|
"ts-explicit-errors": "^4.0.1",
|
|
54
|
-
"tsdown": "^0.
|
|
54
|
+
"tsdown": "^0.17.0-beta.1",
|
|
55
55
|
"type-fest": "^5.2.0"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@arethetypeswrong/core": "^0.18.2",
|
|
59
|
-
"@biomejs/biome": "^2.3.
|
|
60
|
-
"@types/bun": "^1.3.
|
|
61
|
-
"knip": "^5.70.
|
|
59
|
+
"@biomejs/biome": "^2.3.8",
|
|
60
|
+
"@types/bun": "^1.3.3",
|
|
61
|
+
"knip": "^5.70.2",
|
|
62
62
|
"markdown-toc": "^1.2.0",
|
|
63
|
-
"prettier": "^3.
|
|
63
|
+
"prettier": "^3.7.2",
|
|
64
64
|
"publint": "^0.3.15",
|
|
65
65
|
"typescript": "^5.9.3"
|
|
66
66
|
},
|