Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/copilot-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ This is a monorepo managed by Rush.js with the following main packages:
## Build and Test Commands

### Prerequisites
- Node.js >= 18.0.0 (some packages like rulesets require >= 20)
- Node.js >= 20.17.0 for building with Rush (individual packages may support earlier versions)
- Rush.js (`npm install -g @microsoft/rush`)

### Essential Commands
Expand Down Expand Up @@ -154,9 +154,9 @@ All rules should have documentation in `docs/` directory. When adding a new rule

## Dependencies

- Rush.js uses pnpm (v8.15.7) as the underlying package manager (configured in rush.json)
- Rush.js uses pnpm (v10.34.9) as the underlying package manager (configured in rush.json)
- Strict peer dependencies enabled
- Node.js >= 18.0.0 supported by Rush (individual packages like rulesets may require >= 20)
- Node.js >= 20.17.0 supported by Rush (individual packages may support earlier versions)

## Deployment

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/staging-lint-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ jobs:
with:
node-version: 24

- name: Apply npm quarantine window
run: echo "npm_config_before=$(node -p 'new Date(Date.now() - 7 * 86400000).toISOString()')" >> "$GITHUB_ENV"

- name: Checkout specs repository (sparse - only needed RPs)
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ jobs:
with:
node-version: ${{ matrix.node-version }}.x

- name: Apply npm quarantine window
shell: bash
run: echo "npm_config_before=$(node -p 'new Date(Date.now() - 7 * 86400000).toISOString()')" >> "$GITHUB_ENV"

- name: rush install
run: node common/scripts/install-run-rush.js install

Expand Down
4 changes: 4 additions & 0 deletions azure-pipelines/common-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ steps:
versionSpec: '${{ parameters.NodeVersion }}'
displayName: 'Install Node.js ${{ parameters.NodeVersion }}'

- script: |
node -e "console.log('##vso[task.setvariable variable=npm_config_before]' + new Date(Date.now() - 7 * 86400000).toISOString())"
displayName: 'Apply npm quarantine window'

- template: /eng/common/pipelines/templates/steps/create-authenticated-npmrc.yml
parameters:
npmrcPath: $(Build.SourcesDirectory)/common/config/rush/.npmrc
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@microsoft.azure/openapi-validator-core",
"comment": "Update lodash to address security vulnerabilities.",
"type": "patch"
}
],
"packageName": "@microsoft.azure/openapi-validator-core"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@microsoft.azure/openapi-validator-rulesets",
"comment": "Update vulnerable dependencies and require Node.js >=20.17.0.",
"type": "major"
}
],
"packageName": "@microsoft.azure/openapi-validator-rulesets"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@microsoft.azure/openapi-validator",
"comment": "Update vulnerable dependencies and require Node.js ^18.18.0 or >=20.17.0.",
"type": "major"
}
],
"packageName": "@microsoft.azure/openapi-validator"
}
2 changes: 1 addition & 1 deletion common/config/rush/common-versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* will recalculate all version selections.
*/
"preferredVersions": {
"form-data": "^3.0.4"
"form-data": "^3.0.5"
},
/**
* When set to true, for all projects in the repo, all dependencies will be automatically added as preferredVersions,
Expand Down
26 changes: 26 additions & 0 deletions common/config/rush/pnpm-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/rush/v5/pnpm-config.schema.json",
"strictPeerDependencies": true,
"globalOverrides": {
"@babel/generator@7.29.14": "7.29.13",
"@babel/helper-module-transforms@7.29.14": "7.29.13",
"@babel/helper-string-parser@7.29.14": "7.29.13",
"@babel/helpers@7.29.14": "7.29.13",
"@babel/parser@7.29.14": "7.29.13",
"@babel/traverse@7.29.14": "7.29.13",
"@babel/types@7.29.14": "7.29.11",
"@typescript-eslint/typescript-estree@6.21.0>minimatch": "9.0.9",
"@jridgewell/resolve-uri@3.1.3": "3.1.2",
"baseline-browser-mapping@2.11.38": "2.11.35",
"brace-expansion@1.1.22": "1.1.21",
"browserslist@4.29.6": "4.29.5",
"caniuse-lite@1.0.30001826": "1.0.30001823",
"electron-to-chromium@1.5.487": "1.5.479",
"graceful-fs@4.2.12": "4.2.11",
"jsonpath@1.3.0>underscore": "1.13.8",
"minimatch@9.0.9>brace-expansion": "2.1.7",
"node-releases@2.0.65": "2.0.63",
"update-browserslist-db@1.4.0": "1.3.4",
"ws@7.5.14": "7.5.13"
}
}
Loading
Loading