Skip to content

Commit

Permalink
Convert Node projects to build with the Node rig.
Browse files Browse the repository at this point in the history
  • Loading branch information
iclanton committed Sep 28, 2020
1 parent 14c3234 commit 7ef6e33
Show file tree
Hide file tree
Showing 75 changed files with 189 additions and 372 deletions.
24 changes: 0 additions & 24 deletions apps/api-documenter/config/copy-static-assets.json

This file was deleted.

12 changes: 0 additions & 12 deletions apps/api-documenter/config/heft.json

This file was deleted.

5 changes: 5 additions & 0 deletions apps/api-documenter/config/rig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/rig-package/rig.schema.json",

"rigPackageName": "@rushstack/heft-node-rig"
}
4 changes: 2 additions & 2 deletions apps/api-documenter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@
"resolve": "~1.17.0"
},
"devDependencies": {
"@microsoft/rush-stack-compiler-3.5": "workspace:*",
"@rushstack/eslint-config": "workspace:*",
"@rushstack/heft": "workspace:*",
"@types/heft-jest": "1.0.1",
"@types/js-yaml": "3.12.1",
"@types/node": "10.17.13",
"@types/resolve": "1.17.1",
"jest": "~25.4.0"
"jest": "~25.4.0",
"@rushstack/heft-node-rig": "workspace:*"
}
}
2 changes: 1 addition & 1 deletion apps/api-documenter/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "./node_modules/@microsoft/rush-stack-compiler-3.5/includes/tsconfig-node.json",
"extends": "./node_modules/@rushstack/heft-node-rig/profiles/default/tsconfig-base.json",
"compilerOptions": {
"types": ["heft-jest"]
}
Expand Down
12 changes: 0 additions & 12 deletions apps/rundown/config/heft.json

This file was deleted.

5 changes: 5 additions & 0 deletions apps/rundown/config/rig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/rig-package/rig.schema.json",

"rigPackageName": "@rushstack/heft-node-rig"
}
4 changes: 2 additions & 2 deletions apps/rundown/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
"string-argv": "~0.3.1"
},
"devDependencies": {
"@microsoft/rush-stack-compiler-3.5": "workspace:*",
"@rushstack/eslint-config": "workspace:*",
"@rushstack/heft": "workspace:*",
"@types/heft-jest": "1.0.1",
"@types/node": "10.17.13"
"@types/node": "10.17.13",
"@rushstack/heft-node-rig": "workspace:*"
}
}
2 changes: 1 addition & 1 deletion apps/rundown/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "./node_modules/@microsoft/rush-stack-compiler-3.5/includes/tsconfig-node.json",
"extends": "./node_modules/@rushstack/heft-node-rig/profiles/default/tsconfig-base.json",
"compilerOptions": {
"types": ["heft-jest", "node"]
}
Expand Down
26 changes: 0 additions & 26 deletions apps/rush-lib/config/copy-static-assets.json

This file was deleted.

12 changes: 0 additions & 12 deletions apps/rush-lib/config/heft.json

This file was deleted.

5 changes: 5 additions & 0 deletions apps/rush-lib/config/rig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/rig-package/rig.schema.json",

"rigPackageName": "@rushstack/heft-node-rig"
}
4 changes: 2 additions & 2 deletions apps/rush-lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@
"jszip": "~3.5.0"
},
"devDependencies": {
"@microsoft/rush-stack-compiler-3.5": "workspace:*",
"@rushstack/eslint-config": "workspace:*",
"@rushstack/heft": "workspace:*",
"@types/glob": "7.1.1",
Expand All @@ -73,6 +72,7 @@
"@types/tar": "4.0.3",
"@types/wordwrap": "1.0.0",
"@types/z-schema": "3.16.31",
"jest": "~25.4.0"
"jest": "~25.4.0",
"@rushstack/heft-node-rig": "workspace:*"
}
}
2 changes: 1 addition & 1 deletion apps/rush-lib/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "./node_modules/@microsoft/rush-stack-compiler-3.5/includes/tsconfig-node.json",
"extends": "./node_modules/@rushstack/heft-node-rig/profiles/default/tsconfig-base.json",
"compilerOptions": {
"types": ["heft-jest", "node"]
}
Expand Down
12 changes: 0 additions & 12 deletions apps/rush/config/heft.json

This file was deleted.

5 changes: 5 additions & 0 deletions apps/rush/config/rig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/rig-package/rig.schema.json",

"rigPackageName": "@rushstack/heft-node-rig"
}
4 changes: 2 additions & 2 deletions apps/rush/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@
"semver": "~7.3.0"
},
"devDependencies": {
"@microsoft/rush-stack-compiler-3.5": "workspace:*",
"@rushstack/eslint-config": "workspace:*",
"@rushstack/heft": "workspace:*",
"@types/heft-jest": "1.0.1",
"@types/node": "10.17.13",
"@types/semver": "~7.3.1",
"@types/sinon": "1.16.34",
"chai": "~3.5.0",
"sinon": "~1.17.3"
"sinon": "~1.17.3",
"@rushstack/heft-node-rig": "workspace:*"
}
}
2 changes: 1 addition & 1 deletion apps/rush/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "./node_modules/@microsoft/rush-stack-compiler-3.5/includes/tsconfig-node.json",
"extends": "./node_modules/@rushstack/heft-node-rig/profiles/default/tsconfig-base.json",
"compilerOptions": {
"types": ["heft-jest", "node"]
}
Expand Down
4 changes: 4 additions & 0 deletions common/config/rush/browser-approved-packages.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/rush/v5/approved-packages.schema.json",
"packages": [
{
"name": "@rushstack/heft-node-rig",
"allowedCategories": [ "libraries" ]
},
{
"name": "react",
"allowedCategories": [ "tests" ]
Expand Down
4 changes: 4 additions & 0 deletions common/config/rush/nonbrowser-approved-packages.json
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,10 @@
"name": "@rushstack/heft-config-file",
"allowedCategories": [ "libraries" ]
},
{
"name": "@rushstack/heft-node-rig",
"allowedCategories": [ "libraries" ]
},
{
"name": "@rushstack/localization-plugin",
"allowedCategories": [ "tests" ]
Expand Down
Loading

0 comments on commit 7ef6e33

Please sign in to comment.