@adamhl8/configs 0.17.13 → 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.
@@ -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": "error",
231
- "noVueDuplicateKeys": "error",
232
- "noVueReservedKeys": "error",
233
- "noVueReservedProps": "error",
234
- "noVueVIfWithVFor": "error",
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,16 +256,16 @@
245
256
  "useSortedClasses": "error",
246
257
  "useSpread": "error",
247
258
  "useUniqueGraphqlOperationName": "error",
248
- "useVueDefineMacrosOrder": "error",
249
- "useVueHyphenatedAttributes": "error",
250
- "useVueMultiWordComponentNames": "error",
251
- "useVueValidVBind": "error",
252
- "useVueValidVElse": "error",
253
- "useVueValidVElseIf": "error",
254
- "useVueValidVHtml": "error",
255
- "useVueValidVIf": "error",
256
- "useVueValidVOn": "error",
257
- "useVueValidVText": "error"
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"
258
269
  },
259
270
  "performance": {
260
271
  "noAccumulatingSpread": "error",
@@ -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?: boolean | tsdown0.DebugOptions;
58
- dts?: boolean | rolldown_plugin_dts0.Options;
59
- unused?: boolean | UnusedOptions;
60
- publint?: boolean | publint0.Options;
61
- attw?: boolean | tsdown0.AttwOptions;
62
- report?: boolean | tsdown0.ReportOptions;
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?: boolean | tsdown0.ExportsOptions;
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: "esmOnly";
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA7E,SAAA,cAAA,EAAA,KAAA;EACZ,SAAA,MAAA,EAAA,UAA8E;;;;;;;;;;;;;;cAA9E,iBAAe,sBAAA"}
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"}
@@ -14,7 +14,7 @@ const baseConfig = {
14
14
  },
15
15
  attw: {
16
16
  level: "error",
17
- profile: "esmOnly"
17
+ profile: "esm-only"
18
18
  },
19
19
  publint: true,
20
20
  failOnWarn: true
@@ -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: \"esmOnly\",\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"}
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.13",
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.6.2",
43
- "@optique/run": "^0.6.2",
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.16.6",
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.7",
60
- "@types/bun": "^1.3.2",
61
- "knip": "^5.70.1",
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.6.2",
63
+ "prettier": "^3.7.2",
64
64
  "publint": "^0.3.15",
65
65
  "typescript": "^5.9.3"
66
66
  },