Skip to content

Commit

Permalink
fix: adding build-prod tasks to all of the npm dependencies that need…
Browse files Browse the repository at this point in the history
… artifacts (#9045)
  • Loading branch information
JessicaSachs committed Oct 30, 2020
1 parent 61088ba commit 550c05c
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -61,6 +61,7 @@ cli/visual-snapshots
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

# User-specific stuff
.idea
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/**/usage.statistics.xml
Expand Down
3 changes: 2 additions & 1 deletion npm/react/package.json
Expand Up @@ -5,6 +5,7 @@
"main": "dist",
"scripts": {
"build": "rimraf dist && yarn transpile && yarn transpile:bin && yarn build:dist-package",
"build-prod": "yarn build",
"build:dist-package": "node scripts/prepareDistPackage.js && ncp ./plugins ./dist/plugins",
"check:links": "find . -type f -name 'README.md' ! -path './node_modules/*' | xargs -L1 npx markdown-link-check --quiet",
"cy:open": "node ../../scripts/cypress open",
Expand Down Expand Up @@ -131,7 +132,7 @@
},
"homepage": "https://on.cypress.io/component-testing",
"author": "Gleb Bahmutov <gleb.bahmutov@gmail.com>",
"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",
"bugs": "https://github.com/cypress-io/cypress/issues/new?assignees=&labels=npm%3A%20%40cypress%2Freact&template=1-bug-report.md&title=",
"keywords": [
"react",
"cypress",
Expand Down
3 changes: 2 additions & 1 deletion npm/vue/package.json
Expand Up @@ -5,6 +5,7 @@
"main": "dist/index.js",
"scripts": {
"build": "tsc",
"build-prod": "yarn build",
"build:watch": "tsc --watch",
"cy:open": "node ../../scripts/cypress open",
"cy:run": "node ../../scripts/cypress run",
Expand Down Expand Up @@ -66,7 +67,7 @@
},
"homepage": "https://on.cypress.io/component-testing",
"author": "Gleb Bahmutov <gleb.bahmutov@gmail.com>",
"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",
"bugs": "https://github.com/cypress-io/cypress/issues/new?assignees=&labels=npm%3A%20%40cypress%2Fvue&template=1-bug-report.md&title=",
"keywords": [
"cypress",
"vue"
Expand Down
2 changes: 1 addition & 1 deletion npm/webpack-preprocessor/package.json
Expand Up @@ -83,7 +83,7 @@
},
"homepage": "https://github.com/cypress-io/cypress/tree/master/npm/webpack-preprocessor#readme",
"author": "Chris Breiding <chris@cypress.io>",
"bugs": "https://github.com/cypress-io/cypress/issues/new?assignees=&labels=npm%3A %40cypress%2Fwebpack-preprocessor&template=bug-report.md",
"bugs": "https://github.com/cypress-io/cypress/issues/new?assignees=&labels=npm%3A%20%40cypress%2Fwebpack-preprocessor&template=1-bug-report.md&title=",
"keywords": [
"cypress",
"cypress-plugin",
Expand Down
2 changes: 1 addition & 1 deletion scripts/npm-release.js
Expand Up @@ -148,7 +148,7 @@ const waitOnTests = async (names, packageInfo) => {
console.log(`\nWaiting on the following CI jobs: ${jobs.join(', ')}`)

return Promise.all(jobs.map((job) => {
waitForJobToPass(job)
return Promise.resolve(waitForJobToPass(job))
.timeout(minutes(60))
.then(() => {
console.log(`${job} passed`)
Expand Down

2 comments on commit 550c05c

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 550c05c Oct 30, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AppVeyor has built the win32 ia32 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/5.5.1/appveyor-develop-550c05cc3d7a2a179de21138ae5f8118277df6ef/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 550c05c Oct 30, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AppVeyor has built the win32 x64 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/5.5.1/appveyor-develop-550c05cc3d7a2a179de21138ae5f8118277df6ef/cypress.tgz

Please sign in to comment.