@adamhl8/configs 0.15.14 → 0.15.15
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/adamhl8-knip +1 -1
- package/package.json +2 -2
package/dist/adamhl8-knip
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
2
|
import path from "node:path";
|
|
3
3
|
import process from "node:process";
|
|
4
|
-
const baseKnipPreprocessorPath = `${path.resolve(import.meta.dir, "
|
|
4
|
+
const baseKnipPreprocessorPath = `${path.resolve(import.meta.dir, "./knip-preprocessor")}`;
|
|
5
5
|
const knipPreprocessorPathExt = await Bun.file(`${baseKnipPreprocessorPath}.ts`).exists() ? ".ts" : ".js";
|
|
6
6
|
const knipPreprocessorPath = `${baseKnipPreprocessorPath}${knipPreprocessorPathExt}`;
|
|
7
7
|
process.exitCode = Bun.spawnSync({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adamhl8/configs",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.15",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"files": ["dist/"],
|
|
31
31
|
"scripts": {
|
|
32
32
|
"bundle": "bun lint && tsdown",
|
|
33
|
-
"lint": "bun generate-biome-rules.ts && tsc --noEmit && biome check --write && ./src/
|
|
33
|
+
"lint": "bun generate-biome-rules.ts && tsc --noEmit && biome check --write && ./src/adamhl8-knip.ts",
|
|
34
34
|
"postinstall": "mkdir -p ./node_modules/@adamhl8/configs/dist/ && cp -r ./src/biome-plugins/ ./node_modules/@adamhl8/configs/dist/",
|
|
35
35
|
"prepare": "find .githooks -type f -exec ln -srf {} .git/hooks/ \\; || true",
|
|
36
36
|
"prepublishOnly": "bun bundle"
|