Skip to content

Commit 2e3a1f8

Browse files
committed
refactor(config): update package.json scripts to reference .config/ directory
1 parent 7877175 commit 2e3a1f8

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@
2828
"./package.json": "./package.json"
2929
},
3030
"scripts": {
31-
"build": "pnpm run clean:dist && tsgo --build",
31+
"build": "pnpm run clean:dist && tsgo --build .config/tsconfig.json --force",
3232
"check": "run-p -c --aggregate-output check:*",
33-
"check:lint": "eslint --report-unused-disable-directives .",
33+
"check:lint": "eslint --config .config/eslint.config.mjs --report-unused-disable-directives .",
3434
"check:lint:fix": "pnpm run check:lint -- --fix",
35-
"check:tsc": "tsgo --noEmit -p tsconfig.check.json",
35+
"check:tsc": "tsgo --noEmit -p .config/tsconfig.check.json",
3636
"lint-ci": "pnpm run check:lint",
3737
"coverage": "run-s coverage:*",
3838
"coverage:test": "run-s pretest:unit test:unit:coverage",
@@ -52,16 +52,16 @@
5252
"generate-sdk:03-clean-api": "pnpm run fix && pnpm run fix",
5353
"knip:dependencies": "knip --dependencies",
5454
"knip:exports": "knip --include exports,duplicates",
55-
"lint": "oxlint -c=.oxlintrc.json --ignore-path=.oxlintignore --tsconfig=tsconfig.json .",
55+
"lint": "oxlint -c=.config/.oxlintrc.json --ignore-path=.config/.oxlintignore --tsconfig=.config/tsconfig.json .",
5656
"lint:fix": "run-s -c lint:fix:*",
57-
"lint:fix:oxlint": "oxlint -c=.oxlintrc.json --ignore-path=.oxlintignore --tsconfig=tsconfig.json --quiet --fix . | dev-null",
57+
"lint:fix:oxlint": "oxlint -c=.config/.oxlintrc.json --ignore-path=.config/.oxlintignore --tsconfig=.config/tsconfig.json --quiet --fix . | dev-null",
5858
"lint:fix:biome": "biome format --log-level=none --fix . | dev-null",
59-
"lint:fix:eslint": "eslint --report-unused-disable-directives --fix . | dev-null",
59+
"lint:fix:eslint": "eslint --config .config/eslint.config.mjs --report-unused-disable-directives --fix . | dev-null",
6060
"lint-staged": "lint-staged",
6161
"precommit": "lint-staged",
6262
"prepare": "husky",
6363
"prepublishOnly": "echo 'ERROR: Use GitHub Actions workflow for publishing' && exit 1",
64-
"pretest:unit": "dotenvx -q run -f .env.test -- pnpm run build",
64+
"pretest:unit": "pnpm run build",
6565
"test": "run-s check test:*",
6666
"test:run": "node scripts/test.mjs",
6767
"test:unit": "dotenvx -q run -f .env.test -- vitest --run",

0 commit comments

Comments
 (0)