Skip to content

Commit 776ce7b

Browse files
authored
[rush] Fork npm-check into rush-lib (#5416)
* Fork npm-check * rush update * Update test scripts in package json * rush update * Fix test file * Add and update readmes * Update readme, update config * Update readme --------- Co-authored-by: cmalonzo <cmalonzo@users.noreply.github.com>
1 parent a963054 commit 776ce7b

39 files changed

Lines changed: 946 additions & 531 deletions

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ These GitHub repositories provide supplementary resources for Rush Stack:
8787
| [/libraries/lookup-by-path](./libraries/lookup-by-path/) | [![npm version](https://badge.fury.io/js/%40rushstack%2Flookup-by-path.svg)](https://badge.fury.io/js/%40rushstack%2Flookup-by-path) | [changelog](./libraries/lookup-by-path/CHANGELOG.md) | [@rushstack/lookup-by-path](https://www.npmjs.com/package/@rushstack/lookup-by-path) |
8888
| [/libraries/module-minifier](./libraries/module-minifier/) | [![npm version](https://badge.fury.io/js/%40rushstack%2Fmodule-minifier.svg)](https://badge.fury.io/js/%40rushstack%2Fmodule-minifier) | [changelog](./libraries/module-minifier/CHANGELOG.md) | [@rushstack/module-minifier](https://www.npmjs.com/package/@rushstack/module-minifier) |
8989
| [/libraries/node-core-library](./libraries/node-core-library/) | [![npm version](https://badge.fury.io/js/%40rushstack%2Fnode-core-library.svg)](https://badge.fury.io/js/%40rushstack%2Fnode-core-library) | [changelog](./libraries/node-core-library/CHANGELOG.md) | [@rushstack/node-core-library](https://www.npmjs.com/package/@rushstack/node-core-library) |
90+
| [/libraries/npm-check-fork](./libraries/npm-check-fork/) | [![npm version](https://badge.fury.io/js/%40rushstack%2Fnpm-check-fork.svg)](https://badge.fury.io/js/%40rushstack%2Fnpm-check-fork) | [changelog](./libraries/npm-check-fork/CHANGELOG.md) | [@rushstack/npm-check-fork](https://www.npmjs.com/package/@rushstack/npm-check-fork) |
9091
| [/libraries/operation-graph](./libraries/operation-graph/) | [![npm version](https://badge.fury.io/js/%40rushstack%2Foperation-graph.svg)](https://badge.fury.io/js/%40rushstack%2Foperation-graph) | [changelog](./libraries/operation-graph/CHANGELOG.md) | [@rushstack/operation-graph](https://www.npmjs.com/package/@rushstack/operation-graph) |
9192
| [/libraries/package-deps-hash](./libraries/package-deps-hash/) | [![npm version](https://badge.fury.io/js/%40rushstack%2Fpackage-deps-hash.svg)](https://badge.fury.io/js/%40rushstack%2Fpackage-deps-hash) | [changelog](./libraries/package-deps-hash/CHANGELOG.md) | [@rushstack/package-deps-hash](https://www.npmjs.com/package/@rushstack/package-deps-hash) |
9293
| [/libraries/package-extractor](./libraries/package-extractor/) | [![npm version](https://badge.fury.io/js/%40rushstack%2Fpackage-extractor.svg)](https://badge.fury.io/js/%40rushstack%2Fpackage-extractor) | [changelog](./libraries/package-extractor/CHANGELOG.md) | [@rushstack/package-extractor](https://www.npmjs.com/package/@rushstack/package-extractor) |
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"changes": [
3+
{
4+
"packageName": "@microsoft/rush",
5+
"comment": "Fork npm-check to address npm audit CVE",
6+
"type": "none"
7+
}
8+
],
9+
"packageName": "@microsoft/rush"
10+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"changes": [
3+
{
4+
"packageName": "@rushstack/npm-check-fork",
5+
"comment": "Initial fork of npm-check",
6+
"type": "minor"
7+
}
8+
],
9+
"packageName": "@rushstack/npm-check-fork"
10+
}

common/config/rush/nonbrowser-approved-packages.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,10 @@
270270
"name": "@rushstack/node-core-library",
271271
"allowedCategories": [ "libraries", "tests", "vscode-extensions" ]
272272
},
273+
{
274+
"name": "@rushstack/npm-check-fork",
275+
"allowedCategories": [ "libraries" ]
276+
},
273277
{
274278
"name": "@rushstack/operation-graph",
275279
"allowedCategories": [ "libraries" ]
@@ -658,6 +662,10 @@
658662
"name": "git-repo-info",
659663
"allowedCategories": [ "libraries" ]
660664
},
665+
{
666+
"name": "giturl",
667+
"allowedCategories": [ "libraries" ]
668+
},
661669
{
662670
"name": "glob",
663671
"allowedCategories": [ "libraries", "vscode-extensions" ]
@@ -874,6 +882,10 @@
874882
"name": "package-extractor-test-03",
875883
"allowedCategories": [ "tests" ]
876884
},
885+
{
886+
"name": "package-json",
887+
"allowedCategories": [ "libraries" ]
888+
},
877889
{
878890
"name": "pnpm-sync-lib",
879891
"allowedCategories": [ "libraries" ]
@@ -986,6 +998,10 @@
986998
"name": "terser-webpack-plugin",
987999
"allowedCategories": [ "libraries", "tests" ]
9881000
},
1001+
{
1002+
"name": "throat",
1003+
"allowedCategories": [ "libraries" ]
1004+
},
9891005
{
9901006
"name": "timsort",
9911007
"allowedCategories": [ "libraries" ]

common/config/subspaces/build-tests-subspace/pnpm-lock.yaml

Lines changed: 15 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// DO NOT MODIFY THIS FILE MANUALLY BUT DO COMMIT IT. It is generated and used by Rush.
22
{
3-
"pnpmShrinkwrapHash": "26e6eb2ac184c892057b5d9687143b690e088b75",
3+
"pnpmShrinkwrapHash": "1dc2b69423ca353582cec8716410a0b8a8210aff",
44
"preferredVersionsHash": "550b4cee0bef4e97db6c6aad726df5149d20e7d9",
5-
"packageJsonInjectedDependenciesHash": "3622326a8ef09c6dd0846faf66ef2e04eabd1154"
5+
"packageJsonInjectedDependenciesHash": "7bf222162008849ca931709cbaa90632d56766da"
66
}

0 commit comments

Comments
 (0)