Просмотр исходного кода

fix(release): follow the workspace protocol in the invariant fixture and knip config

The package-invariant spec built its fixture with the range the rule no longer
accepts. knip stopped needing the tar ignore entry once the tarball helpers
became the one place that spawns it.
imccyu 1 месяц назад
Родитель
Сommit
bcc4890038
2 измененных файлов с 1 добавлено и 2 удалено
  1. 0 1
      knip.json
  2. 1 1
      scripts/package-invariants.spec.ts

+ 0 - 1
knip.json

@@ -9,7 +9,6 @@
     "musl-gcc",
     "musl-gcc",
     "python3",
     "python3",
     "sandbox-exec",
     "sandbox-exec",
-    "tar",
     "taskkill",
     "taskkill",
     "where.exe"
     "where.exe"
   ],
   ],

+ 1 - 1
scripts/package-invariants.spec.ts

@@ -49,7 +49,7 @@ function fixture(options: {
     },
     },
     files: ['lib/index.js', 'lib/invariant.js'],
     files: ['lib/index.js', 'lib/invariant.js'],
     peerDependencies: options.invariantDependency === false ? {} : {
     peerDependencies: options.invariantDependency === false ? {} : {
-      '@deepseek-ai/dsh-invariants': '^0.0.1',
+      '@deepseek-ai/dsh-invariants': 'workspace:^',
     },
     },
     devDependencies: options.invariantDependency === false ? {} : {
     devDependencies: options.invariantDependency === false ? {} : {
       '@deepseek-ai/dsh-invariants': 'workspace:^',
       '@deepseek-ai/dsh-invariants': 'workspace:^',