File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ const FILTER_BY_PACKAGE_NAME: string = process.env.FILTER_BY_PACKAGE_NAME ?? "";
14
14
/**
15
15
* Restricted tags that can be deprecated
16
16
*/
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 " ] ;
18
18
19
19
/**
20
20
* Packages that are no longer published to npm
@@ -95,6 +95,8 @@ for await (const packageAndVersion of depreciablePackageAndVersions) {
95
95
const dryRun = SHOULD_DEPRECATE_VERSIONS ? "" : "--dry-run " ;
96
96
const command = `npm deprecate ${ packageAndVersion } ${ dryRun } "Version no longer supported."` ;
97
97
98
+ log ( "Command" , command ) ;
99
+
98
100
try {
99
101
const result = execSync ( command ) ;
100
102
log ( `✅ Deprecated ${ packageAndVersion } ` ) ;
You can’t perform that action at this time.
0 commit comments