Skip to content

Commit 71ee0e5

Browse files
authored
Merge pull request #107 from hectorhdzg/hectorhdzg/fix-vulnerabilities
Fix vulnerable dependencies, update supportability, and remove Rush
2 parents b3e2a6d + 62fe39c commit 71ee0e5

20 files changed

Lines changed: 37 additions & 8344 deletions

‎.gitattributes‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,6 @@
22
# Set default behavior to automatically normalize line endings.
33
###############################################################################
44
* text=auto
5-
# Don't allow people to merge changes to these generated files, because the result
6-
# may be invalid. You need to run "rush update" again.
7-
shrinkwrap.yaml merge=binary
8-
npm-shrinkwrap.json merge=binary
9-
yarn.lock merge=binary
105

116
*.ts linguist-detectable=true
127
*.js linguist-detectable=false

‎.github/workflows/ci.yml‎

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,15 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
node-version: [ 18.x, 20.x ]
19+
node-version: [ 20.x, 22.x ]
2020

2121
steps:
2222
- uses: actions/checkout@v4
2323
- name: Use Node.js ${{ matrix.node-version }}
2424
uses: actions/setup-node@v4
2525
with:
2626
node-version: ${{ matrix.node-version }}
27-
- name: Update rush shrinkwrap dependencies (for different node versions)
28-
run: node common/scripts/install-run-rush.js update --full --recheck
29-
- run: npm install rollup -g
30-
- run: npm install grunt-cli
3127
- run: npm install
32-
- run: node common/scripts/install-run-rush.js check
33-
- run: node common/scripts/install-run-rush.js update --full --recheck
3428
- run: npm run build --verbose
3529
timeout-minutes: 10
3630
- run: npm run test --verbose

‎.gitignore‎

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,6 @@ rollup/types/
5151
# Output of 'npm pack'
5252
*.tgz
5353

54-
55-
# Rush files
56-
common/temp/**
57-
**/.rush/temp/**
58-
package-deps.json
5954
package-lock.json
6055

61-
# test output
62-
**/.rush/temp/**
56+
# test output

‎CONTRIBUTING.md‎

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,20 +26,16 @@ We strongly welcome and encourage contributions to this project. If making a lar
2626

2727
```sh
2828
npm install
29-
npm install -g @microsoft/rush
3029
```
3130

32-
3. Navigate to the root folder and update rush dependencies
31+
3. Build and create docs
3332

3433
```sh
35-
rush update --recheck --full
34+
npm run build
3635
```
3736

38-
4. Build, lint, create docs and run tests
37+
4. Run tests
3938

4039
```sh
41-
rush build
4240
npm run test
4341
```
44-
45-
If you are changing package versions or adding/removing any package dependencies, run<br>**```rush update --purge --recheck --full```**<br>before building. Please check-in any files that change under common\ folder.

‎README.md‎

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -67,24 +67,20 @@ class ExampleClass extends BaseClass {
6767

6868
```sh
6969
npm install
70-
npm install -g @microsoft/rush
7170
```
7271

73-
2. Navigate to the root folder and update rush dependencies
72+
2. Build and create docs
7473

7574
```sh
76-
rush update
75+
npm run build
7776
```
7877

79-
3. Build, lint, create docs and run tests
78+
3. Run tests
8079

8180
```sh
82-
rush build
8381
npm run test
8482
```
8583

86-
If you are changing package versions or adding/removing any package dependencies, run<br>**```rush update --purge --recheck --full```**<br>before building. Please check-in any files that change under common\ folder.
87-
8884
## Performance
8985

9086
The minified version of this adds a negligible amount of code and loadtime to your source code and by using this library, your generated code can be better minified as it removes most references of Classname.prototype.XXX methods from the generated code.

‎common/config/rush/command-line.json‎

Lines changed: 0 additions & 18 deletions
This file was deleted.

‎common/config/rush/common-versions.json‎

Lines changed: 0 additions & 45 deletions
This file was deleted.

0 commit comments

Comments
 (0)