@adamhl8/configs 0.13.0 → 0.13.1
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/dist/knip.d.ts +2 -1
- package/dist/knip.d.ts.map +1 -1
- package/dist/knip.js +3 -2
- package/dist/knip.js.map +1 -1
- package/package.json +1 -1
package/dist/knip.d.ts
CHANGED
package/dist/knip.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"knip.d.ts","names":[],"sources":["../src/knip.ts"],"sourcesContent":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"knip.d.ts","names":[],"sources":["../src/knip.ts"],"sourcesContent":[],"mappings":";cAMa;EAAA,SAAA,KAIkB,EAAA,CAAA,gBAAA,EAAA,cAAA,CAAA"}
|
package/dist/knip.js
CHANGED
package/dist/knip.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"knip.js","names":[],"sources":["../src/knip.ts"],"sourcesContent":["import type { KnipConfig } from \"knip\"\n\nexport const knipConfig = {\n entry: [\"**/*.test.ts\"], // knip automatically grabs the `./src/index.ts` entrypoint with its tsdown plugin\n project: [\"**\"],\n} as const satisfies KnipConfig\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"knip.js","names":[],"sources":["../src/knip.ts"],"sourcesContent":["import type { KnipConfig } from \"knip\"\n\n// Normally, specifying the `./src/index.ts` entry would cause knip to complain about a redundant entry because it gets automatically included via the tsdown plugin.\n// However, in projects that _don't_ use tsdown, the `./src/index.ts` entry would be missing entirely.\n// To handle this, we specify it and disable the tsdown plugin. This makes knip work in both cases.\n\nexport const knipConfig = {\n entry: [\"./src/index.ts\", \"**/*.test.ts\"], // knip automatically grabs the `./src/index.ts` entrypoint with its tsdown plugin\n project: [\"**\"],\n tsdown: false,\n} as const satisfies KnipConfig\n"],"mappings":"AAMA,MAAa,aAAa;CACxB,OAAO,CAAC,kBAAkB,eAAe;CACzC,SAAS,CAAC,KAAK;CACf,QAAQ;CACT"}
|