forked from microsoft/rushstack
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
149 changed files
with
1,005 additions
and
213 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
{ | ||
"extends": "@rushstack/heft-node-rig/profiles/default/config/jest.config.json" | ||
"extends": "@rushstack/heft-node-rig/profiles/default/config/jest.config.json", | ||
|
||
// Enable code coverage for Jest | ||
"collectCoverage": true, | ||
"coverageDirectory": "<rootDir>/coverage", | ||
"coverageReporters": ["cobertura", "html"], | ||
|
||
// Use v8 coverage provider to avoid Babel | ||
"coverageProvider": "v8" | ||
} |
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,14 @@ | ||
{ | ||
"extends": "@rushstack/heft-node-rig/profiles/default/config/rush-project.json", | ||
|
||
"operationSettings": [ | ||
{ | ||
"operationName": "_phase:build", | ||
"outputFolderNames": [".heft"] | ||
}, | ||
{ | ||
"operationName": "_phase:test", | ||
"outputFolderNames": ["coverage"] | ||
} | ||
] | ||
} |
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 |
---|---|---|
@@ -1,3 +1,11 @@ | ||
{ | ||
"extends": "@rushstack/heft-node-rig/profiles/default/config/jest.config.json" | ||
"extends": "@rushstack/heft-node-rig/profiles/default/config/jest.config.json", | ||
|
||
// Enable code coverage for Jest | ||
"collectCoverage": true, | ||
"coverageDirectory": "<rootDir>/coverage", | ||
"coverageReporters": ["cobertura", "html"], | ||
|
||
// Use v8 coverage provider to avoid Babel | ||
"coverageProvider": "v8" | ||
} |
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,14 @@ | ||
{ | ||
"extends": "@rushstack/heft-node-rig/profiles/default/config/rush-project.json", | ||
|
||
"operationSettings": [ | ||
{ | ||
"operationName": "_phase:build", | ||
"outputFolderNames": [".heft"] | ||
}, | ||
{ | ||
"operationName": "_phase:test", | ||
"outputFolderNames": ["coverage"] | ||
} | ||
] | ||
} |
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
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"$schema": "https://developer.microsoft.com/json-schemas/rig-package/rig.schema.json", | ||
|
||
"rigPackageName": "@rushstack/heft-web-rig", | ||
"rigPackageName": "local-web-rig", | ||
"rigProfile": "app" | ||
} |
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 |
---|---|---|
@@ -1,8 +1,3 @@ | ||
{ | ||
"extends": "./node_modules/@rushstack/heft-web-rig/profiles/app/tsconfig-base.json", | ||
"compilerOptions": { | ||
"types": ["heft-jest", "webpack-env"], | ||
"target": "es2017", | ||
"lib": ["es2017", "scripthost", "es2015.collection", "es2015.promise", "es2015.iterable", "dom"] | ||
} | ||
"extends": "./node_modules/local-web-rig/profiles/app/tsconfig-base.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
12 changes: 11 additions & 1 deletion
12
build-tests-samples/heft-node-basic-tutorial/config/jest.config.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 |
---|---|---|
@@ -1,3 +1,13 @@ | ||
{ | ||
"extends": "@rushstack/heft-jest-plugin/includes/jest-shared.config.json" | ||
"extends": "@rushstack/heft-jest-plugin/includes/jest-shared.config.json", | ||
|
||
// These additional properties exist for caching purposes in the rushstack repo | ||
|
||
// Enable code coverage for Jest | ||
"collectCoverage": true, | ||
"coverageDirectory": "<rootDir>/coverage", | ||
"coverageReporters": ["cobertura", "html"], | ||
|
||
// Use v8 coverage provider to avoid Babel | ||
"coverageProvider": "v8" | ||
} |
9 changes: 7 additions & 2 deletions
9
build-tests-samples/heft-node-basic-tutorial/config/rush-project.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 |
---|---|---|
@@ -1,10 +1,15 @@ | ||
// This file exists for caching purposes in the rushstack repo | ||
{ | ||
"$schema": "https://developer.microsoft.com/json-schemas/rush/v5/rush-project.schema.json", | ||
|
||
"operationSettings": [ | ||
{ | ||
"operationName": "build", | ||
"outputFolderNames": ["lib", "dist"] | ||
"operationName": "_phase:build", | ||
"outputFolderNames": [".heft", "lib", "dist"] | ||
}, | ||
{ | ||
"operationName": "_phase:test", | ||
"outputFolderNames": ["coverage"] | ||
} | ||
] | ||
} |
14 changes: 12 additions & 2 deletions
14
build-tests-samples/heft-node-jest-tutorial/config/jest.config.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 |
---|---|---|
@@ -1,12 +1,22 @@ | ||
{ | ||
"extends": "@rushstack/heft-jest-plugin/includes/jest-shared.config.json", | ||
"collectCoverage": true, | ||
|
||
"coverageThreshold": { | ||
"global": { | ||
"branches": 50, | ||
"functions": 50, | ||
"lines": 50, | ||
"statements": 50 | ||
} | ||
} | ||
}, | ||
|
||
// These additional properties exist for caching purposes in the rushstack repo | ||
|
||
// Enable code coverage for Jest | ||
"collectCoverage": true, | ||
"coverageDirectory": "<rootDir>/coverage", | ||
"coverageReporters": ["cobertura", "html"], | ||
|
||
// Use v8 coverage provider to avoid Babel | ||
"coverageProvider": "v8" | ||
} |
9 changes: 7 additions & 2 deletions
9
build-tests-samples/heft-node-jest-tutorial/config/rush-project.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 |
---|---|---|
@@ -1,10 +1,15 @@ | ||
// This file exists for caching purposes in the rushstack repo | ||
{ | ||
"$schema": "https://developer.microsoft.com/json-schemas/rush/v5/rush-project.schema.json", | ||
|
||
"operationSettings": [ | ||
{ | ||
"operationName": "build", | ||
"outputFolderNames": ["lib", "dist"] | ||
"operationName": "_phase:build", | ||
"outputFolderNames": [".heft", "lib", "dist"] | ||
}, | ||
{ | ||
"operationName": "_phase:test", | ||
"outputFolderNames": ["coverage"] | ||
} | ||
] | ||
} |
12 changes: 11 additions & 1 deletion
12
build-tests-samples/heft-node-rig-tutorial/config/jest.config.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 |
---|---|---|
@@ -1,3 +1,13 @@ | ||
{ | ||
"extends": "@rushstack/heft-node-rig/profiles/default/config/jest.config.json" | ||
"extends": "@rushstack/heft-node-rig/profiles/default/config/jest.config.json", | ||
|
||
// These additional properties exist for caching purposes in the rushstack repo | ||
|
||
// Enable code coverage for Jest | ||
"collectCoverage": true, | ||
"coverageDirectory": "<rootDir>/coverage", | ||
"coverageReporters": ["cobertura", "html"], | ||
|
||
// Use v8 coverage provider to avoid Babel | ||
"coverageProvider": "v8" | ||
} |
15 changes: 15 additions & 0 deletions
15
build-tests-samples/heft-node-rig-tutorial/config/rush-project.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,15 @@ | ||
// This file exists for caching purposes in the rushstack repo | ||
{ | ||
"extends": "@rushstack/heft-node-rig/profiles/default/config/rush-project.json", | ||
|
||
"operationSettings": [ | ||
{ | ||
"operationName": "_phase:build", | ||
"outputFolderNames": [".heft", "release"] | ||
}, | ||
{ | ||
"operationName": "_phase:test", | ||
"outputFolderNames": ["coverage"] | ||
} | ||
] | ||
} |
12 changes: 11 additions & 1 deletion
12
build-tests-samples/heft-serverless-stack-tutorial/config/jest.config.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 |
---|---|---|
@@ -1,3 +1,13 @@ | ||
{ | ||
"extends": "@rushstack/heft-jest-plugin/includes/jest-shared.config.json" | ||
"extends": "@rushstack/heft-jest-plugin/includes/jest-shared.config.json", | ||
|
||
// These additional properties exist for caching purposes in the rushstack repo | ||
|
||
// Enable code coverage for Jest | ||
"collectCoverage": true, | ||
"coverageDirectory": "<rootDir>/coverage", | ||
"coverageReporters": ["cobertura", "html"], | ||
|
||
// Use v8 coverage provider to avoid Babel | ||
"coverageProvider": "v8" | ||
} |
9 changes: 7 additions & 2 deletions
9
build-tests-samples/heft-serverless-stack-tutorial/config/rush-project.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 |
---|---|---|
@@ -1,10 +1,15 @@ | ||
// This file exists for caching purposes in the rushstack repo | ||
{ | ||
"$schema": "https://developer.microsoft.com/json-schemas/rush/v5/rush-project.schema.json", | ||
|
||
"operationSettings": [ | ||
{ | ||
"operationName": "build", | ||
"outputFolderNames": ["lib", "dist"] | ||
"operationName": "_phase:build", | ||
"outputFolderNames": [".heft", "lib", "dist"] | ||
}, | ||
{ | ||
"operationName": "_phase:test", | ||
"outputFolderNames": ["coverage"] | ||
} | ||
] | ||
} |
12 changes: 11 additions & 1 deletion
12
build-tests-samples/heft-storybook-react-tutorial/config/jest.config.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 |
---|---|---|
@@ -1,3 +1,13 @@ | ||
{ | ||
"extends": "@rushstack/heft-jest-plugin/includes/jest-web.config.json" | ||
"extends": "@rushstack/heft-jest-plugin/includes/jest-web.config.json", | ||
|
||
// These additional properties exist for caching purposes in the rushstack repo | ||
|
||
// Enable code coverage for Jest | ||
"collectCoverage": true, | ||
"coverageDirectory": "<rootDir>/coverage", | ||
"coverageReporters": ["cobertura", "html"], | ||
|
||
// Use v8 coverage provider to avoid Babel | ||
"coverageProvider": "v8" | ||
} |
9 changes: 7 additions & 2 deletions
9
build-tests-samples/heft-storybook-react-tutorial/config/rush-project.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 |
---|---|---|
@@ -1,10 +1,15 @@ | ||
// This file exists for caching purposes in the rushstack repo | ||
{ | ||
"$schema": "https://developer.microsoft.com/json-schemas/rush/v5/rush-project.schema.json", | ||
|
||
"operationSettings": [ | ||
{ | ||
"operationName": "build", | ||
"outputFolderNames": ["lib", "dist"] | ||
"operationName": "_phase:build", | ||
"outputFolderNames": [".heft", "lib", "dist"] | ||
}, | ||
{ | ||
"operationName": "_phase:test", | ||
"outputFolderNames": ["coverage"] | ||
} | ||
] | ||
} |
12 changes: 11 additions & 1 deletion
12
build-tests-samples/heft-web-rig-app-tutorial/config/jest.config.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 |
---|---|---|
@@ -1,3 +1,13 @@ | ||
{ | ||
"extends": "@rushstack/heft-web-rig/profiles/library/config/jest.config.json" | ||
"extends": "@rushstack/heft-web-rig/profiles/app/config/jest.config.json", | ||
|
||
// These additional properties exist for caching purposes in the rushstack repo | ||
|
||
// Enable code coverage for Jest | ||
"collectCoverage": true, | ||
"coverageDirectory": "<rootDir>/coverage", | ||
"coverageReporters": ["cobertura", "html"], | ||
|
||
// Use v8 coverage provider to avoid Babel | ||
"coverageProvider": "v8" | ||
} |
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
15 changes: 15 additions & 0 deletions
15
build-tests-samples/heft-web-rig-app-tutorial/config/rush-project.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,15 @@ | ||
// This file exists for caching purposes in the rushstack repo | ||
{ | ||
"extends": "@rushstack/heft-web-rig/profiles/app/config/rush-project.json", | ||
|
||
"operationSettings": [ | ||
{ | ||
"operationName": "_phase:build", | ||
"outputFolderNames": [".heft", "release"] | ||
}, | ||
{ | ||
"operationName": "_phase:test", | ||
"outputFolderNames": ["coverage"] | ||
} | ||
] | ||
} |
12 changes: 11 additions & 1 deletion
12
build-tests-samples/heft-web-rig-library-tutorial/config/jest.config.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 |
---|---|---|
@@ -1,3 +1,13 @@ | ||
{ | ||
"extends": "@rushstack/heft-web-rig/profiles/library/config/jest.config.json" | ||
"extends": "@rushstack/heft-web-rig/profiles/library/config/jest.config.json", | ||
|
||
// These additional properties exist for caching purposes in the rushstack repo | ||
|
||
// Enable code coverage for Jest | ||
"collectCoverage": true, | ||
"coverageDirectory": "<rootDir>/coverage", | ||
"coverageReporters": ["cobertura", "html"], | ||
|
||
// Use v8 coverage provider to avoid Babel | ||
"coverageProvider": "v8" | ||
} |
15 changes: 15 additions & 0 deletions
15
build-tests-samples/heft-web-rig-library-tutorial/config/rush-project.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,15 @@ | ||
// This file exists for caching purposes in the rushstack repo | ||
{ | ||
"extends": "@rushstack/heft-web-rig/profiles/library/config/rush-project.json", | ||
|
||
"operationSettings": [ | ||
{ | ||
"operationName": "_phase:build", | ||
"outputFolderNames": [".heft", "release"] | ||
}, | ||
{ | ||
"operationName": "_phase:test", | ||
"outputFolderNames": ["coverage"] | ||
} | ||
] | ||
} |
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
9 changes: 7 additions & 2 deletions
9
build-tests-samples/heft-webpack-basic-tutorial/config/rush-project.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 |
---|---|---|
@@ -1,10 +1,15 @@ | ||
// This file exists for caching purposes in the rushstack repo | ||
{ | ||
"$schema": "https://developer.microsoft.com/json-schemas/rush/v5/rush-project.schema.json", | ||
|
||
"operationSettings": [ | ||
{ | ||
"operationName": "build", | ||
"outputFolderNames": ["lib", "dist"] | ||
"operationName": "_phase:build", | ||
"outputFolderNames": [".heft", "lib", "dist"] | ||
}, | ||
{ | ||
"operationName": "_phase:test", | ||
"outputFolderNames": ["coverage"] | ||
} | ||
] | ||
} |
Oops, something went wrong.