Skip to content

Commit 486947d

Browse files
chore: Sergio's Super Fix 🚀
1 parent a866f30 commit 486947d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎scripts/release-deprecate.mts‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const FILTER_BY_PACKAGE_NAME: string = process.env.FILTER_BY_PACKAGE_NAME ?? "";
1414
/**
1515
* Restricted tags that can be deprecated
1616
*/
17-
const DEPRECIABLE_TAGS: string[] = ["0.0.0-x"];
17+
const DEPRECIABLE_TAGS: string[] = [">=0.0.0-pr <0.0.1 || >=0.0.0-next <0.0.1"];
1818

1919
/**
2020
* Packages that are no longer published to npm
@@ -95,6 +95,8 @@ for await (const packageAndVersion of depreciablePackageAndVersions) {
9595
const dryRun = SHOULD_DEPRECATE_VERSIONS ? "" : "--dry-run ";
9696
const command = `npm deprecate ${packageAndVersion} ${dryRun}"Version no longer supported."`;
9797

98+
log("Command", command);
99+
98100
try {
99101
const result = execSync(command);
100102
log(`✅ Deprecated ${packageAndVersion}`);

0 commit comments

Comments
 (0)