10000 Bring over updated tombstone script from https://github.com/microsoft… · JavaScriptExpert/rushstack@7c85418 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7c85418

Browse files
committed
Bring over updated tombstone script from microsoft#1785
1 parent 1eee047 commit 7c85418

File tree

3 files changed

+31
-7
lines changed

3 files changed

+31
-7
lines changed

repo-scripts/tombstone/README.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1-
# @microsoft/loader-set-webpack-public-path
1+
# @microsoft/node-core-library
22

3-
This package has been deprecated in favor of [@microsoft/set-webpack-public-path-plugin](https://www.npmjs.com/package/@microsoft/set-webpack-public-path-plugin).
3+
> Please use [@rushstack/node-core-library](https://www.npmjs.com/package/@rushstack/node-core-library) instead of this package.
4+
5+
IMPORTANT: This package has moved under the `@rushstack` NPM scope.
6+
7+
```
8+
OLD NAME: @microsoft/node-core-library (3.19.3)
9+
NEW NAME: @rushstack/node-core-library (3.19.4)
10+
```
11+
12+
The new package's CHANGELOG.md preserves version history from before the rename.
13+
14+
The new package starts with a SemVer PATCH increment, since no code has changed.
15+
16+
To learn about the Rush Stack project, please visit https://rushstack.io/`

repo-scripts/tombstone/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "@microsoft/loader-set-webpack-public-path",
2+
"name": "@microsoft/node-core-library",
33
"version": "4.0.0",
4-
"description": "(This package has been deprecated.)",
4+
"description": "(Please use \"@rushstack/node-core-library\" instead.)",
55
"license": "MIT",
66
"scripts": {
77
"postinstall": "node postinstall.js"

repo-scripts/tombstone/postinstall.js

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,21 @@ function writeErrorInRed(message) {
44
console.error('\u001b[31m' + message + '\u001b[39m');
55
}
66

7-
writeErrorInRed(`* * * * * * * * * * * THIS PACKAGE HAS BEEN DEPRECATED! * * * * * * * * * * * *`);
7+
writeErrorInRed(
8+
`* * * * * * * * * * * * * THIS PACKAGE WAS RENAMED! * * * * * * * * * * * * * *`);
89

910
console.error(`
10-
This package has been deprecated in favor of @microsoft/set-webpack-public-path-plugin`
11+
IMPORTANT: This package has moved under the "@rushstack" NPM scope.
12+
13+
OLD NAME: @microsoft/node-core-library (3.19.3)
14+
NEW NAME: @rushstack/node-core-library (3.19.4)
15+
16+
The new package's CHANGELOG.md preserves version history from before the rename.
17+
The new package starts with a SemVer PATCH increment, since no code has changed.
18+
To learn about the Rush Stack project, please visit https://rushstack.io/`
1119
);
1220

13-
writeErrorInRed(`* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *`);
21+
writeErrorInRed(
22+
`* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n`);
23+
24+
process.exit(1);

0 commit comments

Comments
 (0)
0