Skip to content

Commit 7ef6e33

Browse files
committed
Convert Node projects to build with the Node rig.
1 parent 14c3234 commit 7ef6e33

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+189
-372
lines changed

apps/api-documenter/config/copy-static-assets.json

-24
This file was deleted.

apps/api-documenter/config/heft.json

-12
This file was deleted.

apps/api-documenter/config/rig.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"$schema": "https://developer.microsoft.com/json-schemas/rig-package/rig.schema.json",
3+
4+
"rigPackageName": "@rushstack/heft-node-rig"
5+
}

apps/api-documenter/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@
2626
"resolve": "~1.17.0"
2727
},
2828
"devDependencies": {
29-
"@microsoft/rush-stack-compiler-3.5": "workspace:*",
3029
"@rushstack/eslint-config": "workspace:*",
3130
"@rushstack/heft": "workspace:*",
3231
"@types/heft-jest": "1.0.1",
3332
"@types/js-yaml": "3.12.1",
3433
"@types/node": "10.17.13",
3534
"@types/resolve": "1.17.1",
36-
"jest": "~25.4.0"
35+
"jest": "~25.4.0",
36+
"@rushstack/heft-node-rig": "workspace:*"
3737
}
3838
}

apps/api-documenter/tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "./node_modules/@microsoft/rush-stack-compiler-3.5/includes/tsconfig-node.json",
2+
"extends": "./node_modules/@rushstack/heft-node-rig/profiles/default/tsconfig-base.json",
33
"compilerOptions": {
44
"types": ["heft-jest"]
55
}

apps/rundown/config/heft.json

-12
This file was deleted.

apps/rundown/config/rig.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"$schema": "https://developer.microsoft.com/json-schemas/rig-package/rig.schema.json",
3+
4+
"rigPackageName": "@rushstack/heft-node-rig"
5+
}

apps/rundown/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@
2424
"string-argv": "~0.3.1"
2525
},
2626
"devDependencies": {
27-
"@microsoft/rush-stack-compiler-3.5": "workspace:*",
2827
"@rushstack/eslint-config": "workspace:*",
2928
"@rushstack/heft": "workspace:*",
3029
"@types/heft-jest": "1.0.1",
31-
"@types/node": "10.17.13"
30+
"@types/node": "10.17.13",
31+
"@rushstack/heft-node-rig": "workspace:*"
3232
}
3333
}

apps/rundown/tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "./node_modules/@microsoft/rush-stack-compiler-3.5/includes/tsconfig-node.json",
2+
"extends": "./node_modules/@rushstack/heft-node-rig/profiles/default/tsconfig-base.json",
33
"compilerOptions": {
44
"types": ["heft-jest", "node"]
55
}

apps/rush-lib/config/copy-static-assets.json

-26
This file was deleted.

apps/rush-lib/config/heft.json

-12
This file was deleted.

apps/rush-lib/config/rig.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"$schema": "https://developer.microsoft.com/json-schemas/rig-package/rig.schema.json",
3+
4+
"rigPackageName": "@rushstack/heft-node-rig"
5+
}

apps/rush-lib/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@
5252
"jszip": "~3.5.0"
5353
},
5454
"devDependencies": {
55-
"@microsoft/rush-stack-compiler-3.5": "workspace:*",
5655
"@rushstack/eslint-config": "workspace:*",
5756
"@rushstack/heft": "workspace:*",
5857
"@types/glob": "7.1.1",
@@ -73,6 +72,7 @@
7372
"@types/tar": "4.0.3",
7473
"@types/wordwrap": "1.0.0",
7574
"@types/z-schema": "3.16.31",
76-
"jest": "~25.4.0"
75+
"jest": "~25.4.0",
76+
"@rushstack/heft-node-rig": "workspace:*"
7777
}
7878
}

apps/rush-lib/tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "./node_modules/@microsoft/rush-stack-compiler-3.5/includes/tsconfig-node.json",
2+
"extends": "./node_modules/@rushstack/heft-node-rig/profiles/default/tsconfig-base.json",
33
"compilerOptions": {
44
"types": ["heft-jest", "node"]
55
}

apps/rush/config/heft.json

-12
This file was deleted.

apps/rush/config/rig.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"$schema": "https://developer.microsoft.com/json-schemas/rig-package/rig.schema.json",
3+
4+
"rigPackageName": "@rushstack/heft-node-rig"
5+
}

apps/rush/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@
3737
"semver": "~7.3.0"
3838
},
3939
"devDependencies": {
40-
"@microsoft/rush-stack-compiler-3.5": "workspace:*",
4140
"@rushstack/eslint-config": "workspace:*",
4241
"@rushstack/heft": "workspace:*",
4342
"@types/heft-jest": "1.0.1",
4443
"@types/node": "10.17.13",
4544
"@types/semver": "~7.3.1",
4645
"@types/sinon": "1.16.34",
4746
"chai": "~3.5.0",
48-
"sinon": "~1.17.3"
47+
"sinon": "~1.17.3",
48+
"@rushstack/heft-node-rig": "workspace:*"
4949
}
5050
}

apps/rush/tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "./node_modules/@microsoft/rush-stack-compiler-3.5/includes/tsconfig-node.json",
2+
"extends": "./node_modules/@rushstack/heft-node-rig/profiles/default/tsconfig-base.json",
33
"compilerOptions": {
44
"types": ["heft-jest", "node"]
55
}

common/config/rush/browser-approved-packages.json

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
{
33
"$schema": "https://developer.microsoft.com/json-schemas/rush/v5/approved-packages.schema.json",
44
"packages": [
5+
{
6+
"name": "@rushstack/heft-node-rig",
7+
"allowedCategories": [ "libraries" ]
8+
},
59
{
610
"name": "react",
711
"allowedCategories": [ "tests" ]

common/config/rush/nonbrowser-approved-packages.json

+4
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,10 @@
186186
"name": "@rushstack/heft-config-file",
187187
"allowedCategories": [ "libraries" ]
188188
},
189+
{
190+
"name": "@rushstack/heft-node-rig",
191+
"allowedCategories": [ "libraries" ]
192+
},
189193
{
190194
"name": "@rushstack/localization-plugin",
191195
"allowedCategories": [ "tests" ]

0 commit comments

Comments
 (0)