Skip to content

Commit 462829b

Browse files
authored
fix: adding build-prod tasks to all of the npm dependencies that need artifacts (#9046)
1 parent 011d845 commit 462829b

File tree

5 files changed

+7
-4
lines changed

5 files changed

+7
-4
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ cli/visual-snapshots
6161
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
6262

6363
# User-specific stuff
64+
.idea
6465
.idea/**/workspace.xml
6566
.idea/**/tasks.xml
6667
.idea/**/usage.statistics.xml

npm/react/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"main": "dist",
66
"scripts": {
77
"build": "rimraf dist && yarn transpile && yarn transpile:bin && yarn build:dist-package",
8+
"build-prod": "yarn build",
89
"build:dist-package": "node scripts/prepareDistPackage.js && ncp ./plugins ./dist/plugins",
910
"check:links": "find . -type f -name 'README.md' ! -path './node_modules/*' | xargs -L1 npx markdown-link-check --quiet",
1011
"cy:open": "node ../../scripts/cypress open",
@@ -131,7 +132,7 @@
131132
},
132133
"homepage": "https://on.cypress.io/component-testing",
133134
"author": "Gleb Bahmutov <gleb.bahmutov@gmail.com>",
134-
"bugs": "https://github.com/cypress-io/cypress/issues/new?assignees=JessicaSachs&labels=experiment%3A+component+testing,npm%3A%20%40cypress%2Freact&template=bug-report.md",
135+
"bugs": "https://github.com/cypress-io/cypress/issues/new?assignees=&labels=npm%3A%20%40cypress%2Freact&template=1-bug-report.md&title=",
135136
"keywords": [
136137
"react",
137138
"cypress",

npm/vue/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"main": "dist/index.js",
66
"scripts": {
77
"build": "tsc",
8+
"build-prod": "yarn build",
89
"build:watch": "tsc --watch",
910
"cy:open": "node ../../scripts/cypress open",
1011
"cy:run": "node ../../scripts/cypress run",
@@ -66,7 +67,7 @@
6667
},
6768
"homepage": "https://on.cypress.io/component-testing",
6869
"author": "Gleb Bahmutov <gleb.bahmutov@gmail.com>",
69-
"bugs": "https://github.com/cypress-io/cypress/issues/new?assignees=JessicaSachs&labels=experiment%3A+component+testing,npm%3A%20%40cypress%2Fvue&template=bug-report.md",
70+
"bugs": "https://github.com/cypress-io/cypress/issues/new?assignees=&labels=npm%3A%20%40cypress%2Fvue&template=1-bug-report.md&title=",
7071
"keywords": [
7172
"cypress",
7273
"vue"

npm/webpack-preprocessor/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
},
8484
"homepage": "https://github.com/cypress-io/cypress/tree/master/npm/webpack-preprocessor#readme",
8585
"author": "Chris Breiding <chris@cypress.io>",
86-
"bugs": "https://github.com/cypress-io/cypress/issues/new?assignees=&labels=npm%3A %40cypress%2Fwebpack-preprocessor&template=bug-report.md",
86+
"bugs": "https://github.com/cypress-io/cypress/issues/new?assignees=&labels=npm%3A%20%40cypress%2Fwebpack-preprocessor&template=1-bug-report.md&title=",
8787
"keywords": [
8888
"cypress",
8989
"cypress-plugin",

scripts/npm-release.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ const waitOnTests = async (names, packageInfo) => {
148148
console.log(`\nWaiting on the following CI jobs: ${jobs.join(', ')}`)
149149

150150
return Promise.all(jobs.map((job) => {
151-
waitForJobToPass(job)
151+
return Promise.resolve(waitForJobToPass(job))
152152
.timeout(minutes(60))
153153
.then(() => {
154154
console.log(`${job} passed`)

0 commit comments

Comments
 (0)