Skip to content

Commit 0e5f7ab

Browse files
committed
Test fixes
1 parent 0344712 commit 0e5f7ab

File tree

65 files changed

+160
-168
lines changed

Some content is hidden

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

65 files changed

+160
-168
lines changed

apps/api-documenter/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
"license": "MIT",
1212
"scripts": {
1313
"build": "heft build --clean",
14-
"_phase:build": "heft build --clean",
15-
"_phase:test": "heft test --no-build"
14+
"_phase:build": "heft run --only build -- --clean",
15+
"_phase:test": "heft run --only test -- --clean"
1616
},
1717
"bin": {
1818
"api-documenter": "./bin/api-documenter"

apps/rundown/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"homepage": "https://rushstack.io",
1515
"scripts": {
1616
"build": "heft build --clean",
17-
"_phase:build": "heft build --clean"
17+
"_phase:build": "heft run --only build -- --clean"
1818
},
1919
"bin": {
2020
"rundown": "./bin/rundown"

apps/rush/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
"scripts": {
2727
"build": "heft build --clean",
2828
"start": "node lib/start-dev-docs.js",
29-
"_phase:build": "heft build --clean",
30-
"_phase:test": "heft test --no-build"
29+
"_phase:build": "heft run --only build -- --clean",
30+
"_phase:test": "heft run --only test -- --clean"
3131
},
3232
"bin": {
3333
"rush": "./bin/rush",

build-tests-samples/heft-node-basic-tutorial/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
"license": "MIT",
88
"scripts": {
99
"build": "heft build --clean",
10-
"_phase:build": "heft build --clean",
11-
"_phase:test": "heft test --no-build"
10+
"_phase:build": "heft run --only build -- --clean",
11+
"_phase:test": "heft run --only test -- --clean"
1212
},
1313
"devDependencies": {
1414
"@rushstack/eslint-config": "workspace:*",
@@ -21,4 +21,4 @@
2121
"eslint": "~8.7.0",
2222
"typescript": "~4.6.3"
2323
}
24-
}
24+
}

build-tests-samples/heft-node-jest-tutorial/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"license": "MIT",
77
"scripts": {
88
"build": "heft build --clean",
9-
"_phase:build": "heft build --clean",
10-
"_phase:test": "heft test --no-build"
9+
"_phase:build": "heft run --only build -- --clean",
10+
"_phase:test": "heft run --only test -- --clean"
1111
},
1212
"devDependencies": {
1313
"@rushstack/eslint-config": "workspace:*",
@@ -20,4 +20,4 @@
2020
"eslint": "~8.7.0",
2121
"typescript": "~4.6.3"
2222
}
23-
}
23+
}

build-tests-samples/heft-node-rig-tutorial/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
"license": "MIT",
88
"scripts": {
99
"build": "heft build --clean",
10-
"_phase:build": "heft build --clean",
11-
"_phase:test": "heft test --no-build"
10+
"_phase:build": "heft run --only build -- --clean",
11+
"_phase:test": "heft run --only test -- --clean"
1212
},
1313
"devDependencies": {
1414
"@rushstack/eslint-config": "workspace:*",

build-tests-samples/heft-serverless-stack-tutorial/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"build": "heft build --clean",
1010
"deploy": "sst deploy",
1111
"remove": "sst remove",
12-
"_phase:build": "heft build --clean",
13-
"_phase:test": "heft test --no-build"
12+
"_phase:build": "heft run --only build -- --clean",
13+
"_phase:test": "heft run --only test -- --clean"
1414
},
1515
"devDependencies": {
1616
"@rushstack/eslint-config": "workspace:*",

build-tests-samples/heft-storybook-react-tutorial/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
"build": "heft build --clean",
88
"start": "heft start",
99
"storybook": "heft start --storybook",
10-
"_phase:build": "heft build --clean",
11-
"_phase:test": "heft test --no-build"
10+
"_phase:build": "heft run --only build -- --clean",
11+
"_phase:test": "heft run --only test -- --clean"
1212
},
1313
"dependencies": {
1414
"react-dom": "~16.13.1",

build-tests-samples/heft-web-rig-app-tutorial/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"scripts": {
77
"build": "heft test --clean",
88
"start": "heft start",
9-
"_phase:build": "heft build --clean",
10-
"_phase:test": "heft test --no-build"
9+
"_phase:build": "heft run --only build -- --clean",
10+
"_phase:test": "heft run --only test -- --clean"
1111
},
1212
"dependencies": {
1313
"heft-web-rig-library-tutorial": "workspace:*",

build-tests-samples/heft-web-rig-library-tutorial/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"scripts": {
1010
"build": "heft test --clean",
1111
"start": "heft start",
12-
"_phase:build": "heft build --clean",
13-
"_phase:test": "heft test --no-build"
12+
"_phase:build": "heft run --only build -- --clean",
13+
"_phase:test": "heft run --only test -- --clean"
1414
},
1515
"dependencies": {
1616
"react": "~16.13.1",

build-tests-samples/heft-webpack-basic-tutorial/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"scripts": {
77
"build": "heft build --clean",
88
"start": "heft start",
9-
"_phase:build": "heft build --clean",
10-
"_phase:test": "heft test --no-build"
9+
"_phase:build": "heft run --only build -- --clean",
10+
"_phase:test": "heft run --only test -- --clean"
1111
},
1212
"dependencies": {
1313
"react-dom": "~16.13.1",
@@ -33,4 +33,4 @@
3333
"typescript": "~4.6.3",
3434
"webpack": "~5.68.0"
3535
}
36-
}
36+
}

build-tests-samples/packlets-tutorial/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"scripts": {
88
"build": "heft build --clean",
99
"start": "node lib/start.js",
10-
"_phase:build": "heft build --clean"
10+
"_phase:build": "heft run --only build -- --clean"
1111
},
1212
"devDependencies": {
1313
"@rushstack/eslint-config": "workspace:*",
@@ -18,4 +18,4 @@
1818
"eslint": "~8.7.0",
1919
"typescript": "~4.6.3"
2020
}
21-
}
21+
}

build-tests/eslint-7-test/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"license": "MIT",
88
"scripts": {
99
"build": "heft build --clean",
10-
"_phase:build": "heft build --clean"
10+
"_phase:build": "heft run --only build -- --clean"
1111
},
1212
"devDependencies": {
1313
"@rushstack/eslint-config": "workspace:*",
@@ -19,4 +19,4 @@
1919
"eslint": "~7.30.0",
2020
"typescript": "~4.6.3"
2121
}
22-
}
22+
}

build-tests/hashed-folder-copy-plugin-webpack4-test/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"scripts": {
77
"build": "heft build --clean",
88
"serve": "heft start --clean",
9-
"_phase:build": "heft build --clean"
9+
"_phase:build": "heft run --only build -- --clean"
1010
},
1111
"devDependencies": {
1212
"@rushstack/hashed-folder-copy-plugin": "workspace:*",
@@ -22,4 +22,4 @@
2222
"webpack-bundle-analyzer": "~4.5.0",
2323
"webpack": "~4.44.2"
2424
}
25-
}
25+
}

build-tests/hashed-folder-copy-plugin-webpack5-test/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"scripts": {
77
"build": "heft build --clean",
88
"serve": "heft start --clean",
9-
"_phase:build": "heft build --clean"
9+
"_phase:build": "heft run --only build -- --clean"
1010
},
1111
"devDependencies": {
1212
"@rushstack/hashed-folder-copy-plugin": "workspace:*",
@@ -20,4 +20,4 @@
2020
"webpack-bundle-analyzer": "~4.5.0",
2121
"webpack": "~5.68.0"
2222
}
23-
}
23+
}

build-tests/heft-copy-files-test/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"license": "MIT",
77
"scripts": {
88
"build": "heft build --clean",
9-
"_phase:build": "heft build --clean"
9+
"_phase:build": "heft run --only build -- --clean"
1010
},
1111
"devDependencies": {
1212
"@rushstack/heft": "workspace:*"

build-tests/heft-example-plugin-01/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"scripts": {
99
"build": "heft build --clean",
1010
"start": "heft start",
11-
"_phase:build": "heft build --clean"
11+
"_phase:build": "heft run --only build -- --clean"
1212
},
1313
"dependencies": {
1414
"tapable": "1.1.3"
@@ -23,4 +23,4 @@
2323
"eslint": "~8.7.0",
2424
"typescript": "~4.6.3"
2525
}
26-
}
26+
}

build-tests/heft-example-plugin-02/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"scripts": {
99
"build": "heft build --clean",
1010
"start": "heft start",
11-
"_phase:build": "heft build --clean"
11+
"_phase:build": "heft run --only build -- --clean"
1212
},
1313
"peerDependencies": {
1414
"heft-example-plugin-01": "workspace:*"
@@ -28,4 +28,4 @@
2828
"heft-example-plugin-01": "workspace:*",
2929
"typescript": "~4.6.3"
3030
}
31-
}
31+
}

build-tests/heft-fastify-test/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"build": "heft build --clean",
1010
"start": "heft start --clean",
1111
"serve": "node lib/start.js",
12-
"_phase:build": "heft build --clean"
12+
"_phase:build": "heft run --only build -- --clean"
1313
},
1414
"devDependencies": {
1515
"@rushstack/eslint-config": "workspace:*",
@@ -24,4 +24,4 @@
2424
"dependencies": {
2525
"fastify": "~3.16.1"
2626
}
27-
}
27+
}

build-tests/heft-jest-reporters-test/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"scripts": {
77
"build": "heft build --clean",
88
"start": "heft start",
9-
"_phase:build": "heft build --clean",
10-
"_phase:test": "heft test --no-build"
9+
"_phase:build": "heft run --only build -- --clean",
10+
"_phase:test": "heft run --only test -- --clean"
1111
},
1212
"devDependencies": {
1313
"@jest/reporters": "~27.4.2",
@@ -21,4 +21,4 @@
2121
"eslint": "~8.7.0",
2222
"typescript": "~4.6.3"
2323
}
24-
}
24+
}

build-tests/heft-minimal-rig-usage-test/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"license": "MIT",
77
"scripts": {
88
"build": "heft build --clean",
9-
"_phase:build": "heft build --clean",
10-
"_phase:test": "heft test --no-build"
9+
"_phase:build": "heft run --only build -- --clean",
10+
"_phase:test": "heft run --only test -- --clean"
1111
},
1212
"devDependencies": {
1313
"@rushstack/heft": "workspace:*",

build-tests/heft-node-everything-esm-module-test/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"license": "MIT",
99
"scripts": {
1010
"build": "heft build --clean",
11-
"_phase:build": "heft build --clean",
12-
"_phase:test": "heft test --no-build"
11+
"_phase:build": "heft run --only build -- --clean",
12+
"_phase:test": "heft run --only test -- --clean"
1313
},
1414
"devDependencies": {
1515
"@microsoft/api-extractor": "workspace:*",
@@ -28,4 +28,4 @@
2828
"tslint-microsoft-contrib": "~6.2.0",
2929
"typescript": "~4.6.3"
3030
}
31-
}
31+
}

build-tests/heft-node-everything-test/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
"license": "MIT",
88
"scripts": {
99
"build": "heft build --clean",
10-
"_phase:build": "heft build --clean",
11-
"_phase:test": "heft test --no-build"
10+
"_phase:build": "heft run --only build -- --clean",
11+
"_phase:test": "heft run --only test -- --clean"
1212
},
1313
"devDependencies": {
1414
"@microsoft/api-extractor": "workspace:*",
@@ -27,4 +27,4 @@
2727
"tslint-microsoft-contrib": "~6.2.0",
2828
"typescript": "~4.6.3"
2929
}
30-
}
30+
}

0 commit comments

Comments
 (0)