@techninja/clearstack 0.3.23 → 0.3.25
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/lib/spec-config.js +5 -1
- package/package.json +1 -1
package/lib/spec-config.js
CHANGED
|
@@ -44,7 +44,11 @@ export function loadConfig(projectDir) {
|
|
|
44
44
|
/** Build check commands for the detected package manager. */
|
|
45
45
|
export function buildCmds(projectDir) {
|
|
46
46
|
const runner = detectRunner(projectDir);
|
|
47
|
-
|
|
47
|
+
// pnpm 9.x audit hits a retired npm endpoint (410). Use --ignore-registry-errors
|
|
48
|
+
// to avoid failing on registry issues outside the user's control.
|
|
49
|
+
const audit = runner === 'pnpm exec'
|
|
50
|
+
? 'pnpm audit --prod --ignore-registry-errors'
|
|
51
|
+
: 'npm audit --omit=dev';
|
|
48
52
|
return {
|
|
49
53
|
lint: `${runner} eslint --config .configs/eslint.config.js . --fix`,
|
|
50
54
|
stylelint: `${runner} stylelint --config .configs/.stylelintrc.json "src/**/*.css" --fix`,
|
package/package.json
CHANGED