-
Notifications
You must be signed in to change notification settings - Fork 594
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4530 from g-chao/chao/pnpm-sync
Replace install-test-workspace with usePnpmSyncForInjectedDependencies=true
- Loading branch information
Showing
47 changed files
with
605 additions
and
5,265 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
3 changes: 2 additions & 1 deletion
3
...e/typescript-newest-test/config/heft.json → ...s-subspace/rush-lib-test/config/heft.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
// The "rig.json" file directs tools to look for their config files in an external package. | ||
// Documentation for this system: https://www.npmjs.com/package/@rushstack/rig-package | ||
"$schema": "https://developer.microsoft.com/json-schemas/rig-package/rig.schema.json", | ||
|
||
"rigPackageName": "local-node-rig" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
"name": "rush-lib-test", | ||
"version": "0.0.0", | ||
"private": true, | ||
"description": "A minimal example project that imports APIs from @rushstack/rush-lib", | ||
"license": "MIT", | ||
"scripts": { | ||
"build": "heft build --clean", | ||
"start": "node lib/start.js", | ||
"_phase:build": "heft run --only build -- --clean" | ||
}, | ||
"dependencies": { | ||
"@microsoft/rush-lib": "workspace:*", | ||
"@rushstack/terminal": "workspace:*" | ||
}, | ||
"devDependencies": { | ||
"local-node-rig": "workspace:*", | ||
"@rushstack/eslint-config": "workspace:*", | ||
"@rushstack/heft": "workspace:*", | ||
"@rushstack/heft-lint-plugin": "workspace:*", | ||
"@rushstack/heft-typescript-plugin": "workspace:*", | ||
"@types/node": "18.17.15", | ||
"typescript": "~5.3.3" | ||
}, | ||
"dependenciesMeta": { | ||
"@microsoft/rush-lib": { | ||
"injected": true | ||
}, | ||
"@rushstack/terminal": { | ||
"injected": true | ||
}, | ||
"@rushstack/heft": { | ||
"injected": true | ||
}, | ||
"@rushstack/heft-lint-plugin": { | ||
"injected": true | ||
}, | ||
"@rushstack/heft-typescript-plugin": { | ||
"injected": true | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"$schema": "https://developer.microsoft.com/json-schemas/heft/v0/heft.schema.json", | ||
|
||
"extends": "local-node-rig/profiles/default/config/heft.json", | ||
|
||
"phasesByName": { | ||
"build": { | ||
"cleanFiles": [{ "includeGlobs": ["lib", "dist"] }], | ||
|
||
"tasksByName": { | ||
"typescript": { | ||
"taskPlugin": { | ||
"pluginPackage": "@rushstack/heft-typescript-plugin" | ||
} | ||
}, | ||
"lint": { | ||
"taskDependencies": ["typescript"], | ||
"taskPlugin": { | ||
"pluginPackage": "@rushstack/heft-lint-plugin" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
// The "rig.json" file directs tools to look for their config files in an external package. | ||
// Documentation for this system: https://www.npmjs.com/package/@rushstack/rig-package | ||
"$schema": "https://developer.microsoft.com/json-schemas/rig-package/rig.schema.json", | ||
|
||
"rigPackageName": "local-node-rig" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
"name": "rush-sdk-test", | ||
"version": "0.0.0", | ||
"private": true, | ||
"description": "A minimal example project that imports APIs from @rushstack/rush-sdk", | ||
"license": "MIT", | ||
"scripts": { | ||
"build": "heft build --clean", | ||
"start": "node lib/start.js", | ||
"_phase:build": "heft run --only build -- --clean" | ||
}, | ||
"dependencies": { | ||
"@rushstack/rush-sdk": "workspace:*" | ||
}, | ||
"devDependencies": { | ||
"local-node-rig": "workspace:*", | ||
"@rushstack/eslint-config": "workspace:*", | ||
"@rushstack/heft": "workspace:*", | ||
"@rushstack/heft-lint-plugin": "workspace:*", | ||
"@rushstack/heft-typescript-plugin": "workspace:*", | ||
"@microsoft/rush-lib": "workspace:*", | ||
"@types/node": "18.17.15", | ||
"typescript": "~5.3.3" | ||
}, | ||
"dependenciesMeta": { | ||
"@microsoft/rush-lib": { | ||
"injected": true | ||
}, | ||
"@rushstack/rush-sdk": { | ||
"injected": true | ||
}, | ||
"@rushstack/heft": { | ||
"injected": true | ||
}, | ||
"@rushstack/heft-lint-plugin": { | ||
"injected": true | ||
}, | ||
"@rushstack/heft-typescript-plugin": { | ||
"injected": true | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
// This is a workaround for https://github.com/eslint/eslint/issues/3458 | ||
require('@rushstack/eslint-config/patch/modern-module-resolution'); | ||
|
||
module.exports = { | ||
extends: ['@rushstack/eslint-config/profile/node'], | ||
parserOptions: { tsconfigRootDir: __dirname } | ||
}; |
25 changes: 25 additions & 0 deletions
25
build-tests-subspace/typescript-newest-test/config/heft.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"$schema": "https://developer.microsoft.com/json-schemas/heft/v0/heft.schema.json", | ||
|
||
"extends": "local-node-rig/profiles/default/config/heft.json", | ||
|
||
"phasesByName": { | ||
"build": { | ||
"cleanFiles": [{ "includeGlobs": ["lib", "dist"] }], | ||
|
||
"tasksByName": { | ||
"typescript": { | ||
"taskPlugin": { | ||
"pluginPackage": "@rushstack/heft-typescript-plugin" | ||
} | ||
}, | ||
"lint": { | ||
"taskDependencies": ["typescript"], | ||
"taskPlugin": { | ||
"pluginPackage": "@rushstack/heft-lint-plugin" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
// The "rig.json" file directs tools to look for their config files in an external package. | ||
// Documentation for this system: https://www.npmjs.com/package/@rushstack/rig-package | ||
"$schema": "https://developer.microsoft.com/json-schemas/rig-package/rig.schema.json", | ||
|
||
"rigPackageName": "local-node-rig" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"name": "typescript-newest-test", | ||
"description": "Building this project tests Heft with the newest supported TypeScript compiler version", | ||
"version": "1.0.0", | ||
"private": true, | ||
"main": "lib/index.js", | ||
"license": "MIT", | ||
"scripts": { | ||
"build": "heft build --clean", | ||
"_phase:build": "heft run --only build -- --clean" | ||
}, | ||
"devDependencies": { | ||
"local-node-rig": "workspace:*", | ||
"@rushstack/eslint-config": "workspace:*", | ||
"@rushstack/heft": "workspace:*", | ||
"@rushstack/heft-lint-plugin": "workspace:*", | ||
"@rushstack/heft-typescript-plugin": "workspace:*", | ||
"typescript": "~5.3.3", | ||
"tslint": "~5.20.1", | ||
"eslint": "~8.7.0" | ||
}, | ||
"dependenciesMeta": { | ||
"@rushstack/eslint-config": { | ||
"injected": true | ||
}, | ||
"@rushstack/heft": { | ||
"injected": true | ||
}, | ||
"@rushstack/heft-lint-plugin": { | ||
"injected": true | ||
}, | ||
"@rushstack/heft-typescript-plugin": { | ||
"injected": true | ||
} | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
// This is a workaround for https://github.com/eslint/eslint/issues/3458 | ||
require('@rushstack/eslint-config/patch/modern-module-resolution'); | ||
|
||
module.exports = { | ||
extends: ['@rushstack/eslint-config/profile/node'], | ||
parserOptions: { tsconfigRootDir: __dirname } | ||
}; |
1 change: 0 additions & 1 deletion
1
...space/typescript-v4-test/config/heft.json → ...space/typescript-v4-test/config/heft.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"name": "typescript-v4-test", | ||
"description": "Building this project tests Heft with TypeScript v4", | ||
"version": "1.0.0", | ||
"private": true, | ||
"main": "lib/index.js", | ||
"license": "MIT", | ||
"scripts": { | ||
"build": "heft build --clean", | ||
"_phase:build": "heft run --only build -- --clean" | ||
}, | ||
"devDependencies": { | ||
"@rushstack/eslint-config": "workspace:*", | ||
"@rushstack/heft": "workspace:*", | ||
"@rushstack/heft-lint-plugin": "workspace:*", | ||
"@rushstack/heft-typescript-plugin": "workspace:*", | ||
"typescript": "~4.9.5", | ||
"tslint": "~5.20.1", | ||
"eslint": "~8.7.0" | ||
}, | ||
"dependenciesMeta": { | ||
"@rushstack/eslint-config": { | ||
"injected": true | ||
}, | ||
"@rushstack/heft": { | ||
"injected": true | ||
}, | ||
"@rushstack/heft-lint-plugin": { | ||
"injected": true | ||
}, | ||
"@rushstack/heft-typescript-plugin": { | ||
"injected": true | ||
} | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.