Skip to content

Commit 05aed17

Browse files
Lukas HolzersarahetterlemusthelroyNikAiyerkhendrikse
authored
test: add tests for monorepo base path (#6406)
* test: add tests for monorepo base path * chore: add test:init script for monorepos * fix conflict --------- Co-authored-by: Sarah Etter <[email protected]> Co-authored-by: lemusthelroy <[email protected]> Co-authored-by: NikAiyer <[email protected]> Co-authored-by: Karin Hendrikse <[email protected]> Co-authored-by: Daniel Lew <[email protected]>
1 parent a7c2fab commit 05aed17

File tree

13 files changed

+3546
-5
lines changed

13 files changed

+3546
-5
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
"test:init:cli-help": "npm run start -- --help",
5151
"test:init:eleventy-deps": "cd tests/integration/__fixtures__/eleventy-site && pnpm install --frozen-lockfile",
5252
"test:init:hugo-deps": "npm ci --prefix tests/integration/__fixtures__/hugo-site --no-audit",
53+
"test:init:monorepo-deps": "cd tests/integration/__fixtures__/monorepo && pnpm install --frozen-lockfile",
5354
"test:init:next-deps": "npm ci --prefix tests/integration/__fixtures__/next-app-without-config --no-audit && npm ci --prefix tests/integration/__fixtures__/next-app --no-audit",
5455
"test:dev:vitest": "vitest run tests/unit/ && vitest run tests/integration",
5556
"test:ci:vitest:unit": "vitest run --coverage tests/unit/",
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
public-hoist-pattern[]=*
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"name": "monorepo",
3+
"version": "1.0.0"
4+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<h1>Hello world</h1>
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[build]
2+
cmd = "hello world"
3+
publish = "dist"
4+
5+
[[plugins]]
6+
package = "./tools/build-plugin"
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"name": "app-1",
3+
"version": "1.0.0"
4+
}

0 commit comments

Comments
 (0)