Skip to content

Commit 56981ed

Browse files
committed
fixes for build, incorrect cy root
1 parent a26b221 commit 56981ed

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

npm/webpack-dev-server-fresh/cypress/e2e/vue-cli.cy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import type { ProjectFixtureDir } from '@tooling/system-tests/lib/fixtureDirs'
55
const PROJECTS: ProjectFixtureDir[] = ['vuecli4-vue2', 'vuecli4-vue3', 'vuecli5-vue3']
66

77
// Add to this list to focus on a particular permutation
8-
const ONLY_PROJECTS: ProjectFixtureDir[] = ['vuecli4-vue2']
8+
const ONLY_PROJECTS: ProjectFixtureDir[] = []
99

1010
for (const project of PROJECTS) {
1111
if (ONLY_PROJECTS.length && !ONLY_PROJECTS.includes(project)) {

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"binary-release": "node ./scripts/binary.js release",
1313
"binary-upload": "node ./scripts/binary.js upload",
1414
"binary-zip": "node ./scripts/binary.js zip",
15-
"build": "lerna run build --scope cypress && lerna run build --stream --no-bail --ignore create-cypress-tests --ignore \"'@packages/{runner}'\" && node ./cli/scripts/post-build.js && lerna run build --stream --scope create-cypress-tests",
15+
"build": "yarn build-npm-modules && lerna run build --stream --no-bail --ignore create-cypress-tests --ignore cypress --ignore \"'@packages/{runner}'\" --ignore \"'@cypress/{react,vue,vue2,mount-utils}'\" && node ./cli/scripts/post-build.js && lerna run build --stream --scope create-cypress-tests",
16+
"build-npm-modules": "lerna run build --scope cypress --scope @cypress/mount-utils && lerna run build --scope \"'@cypress/{react,vue,vue2}'\"",
1617
"build-prod": "lerna run build-prod-ui --stream && lerna run build-prod --stream --ignore create-cypress-tests && node ./cli/scripts/post-build.js && lerna run build-prod --stream --scope create-cypress-tests",
1718
"check-node-version": "node scripts/check-node-version.js",
1819
"check-terminal": "node scripts/check-terminal.js",

system-tests/lib/dep-installer/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,8 @@ export async function scaffoldProjectNodeModules (project: string, updateLockFil
214214
// 4. Fix relative paths in temp dir's lockfile.
215215
const lockFilePath = path.join(projectDir, lockFilename)
216216

217+
console.log(lockFilePath)
218+
217219
log(`Writing ${lockFilename} with fixed relative paths to temp dir`)
218220
await restoreLockFileRelativePaths({ projectDir, lockFilePath, relativePathToMonorepoRoot })
219221

system-tests/project-fixtures/cra/cypress/support/component-index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
<title>Components App</title>
88
</head>
99
<body>
10-
<div id="__cy_root"></div>
10+
<div data-cy-root></div>
1111
</body>
1212
</html>

system-tests/project-fixtures/vue2-cli/cypress/support/component-index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
<title>Components App</title>
88
</head>
99
<body>
10-
<div id="__cy_root"></div>
10+
<div data-cy-root></div>
1111
</body>
1212
</html>

yarn.lock

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3295,9 +3295,6 @@
32953295
"@cypress/mount-utils@file:npm/mount-utils":
32963296
version "0.0.0-development"
32973297

3298-
"@cypress/mount-utils@file:npm/mount-utils":
3299-
version "0.0.0-development"
3300-
33013298
"@cypress/parse-domain@2.4.0":
33023299
version "2.4.0"
33033300
resolved "https://registry.yarnpkg.com/@cypress/parse-domain/-/parse-domain-2.4.0.tgz#3034b50babfd0adffa2a018aa03264b1e5be4d9e"

0 commit comments

Comments
 (0)