Skip to content

Commit

Permalink
fix: update @cypress/npm-webpack-batteries-included-preprocessor for …
Browse files Browse the repository at this point in the history
…monorepo (#14181)

* fix: update @cypress/npm-webpack-batteries-included-preprocessor for monorepo

* fix circleci config

* fix test

* fix snapshot
  • Loading branch information
panzarino authored Jan 5, 2021
1 parent 4a8726a commit 5a3b133
Show file tree
Hide file tree
Showing 12 changed files with 567 additions and 9,218 deletions.
13 changes: 13 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -888,6 +888,16 @@ jobs:
working_directory: npm/webpack-preprocessor/examples/react-app
- store-npm-logs

npm-webpack-batteries-included-preprocessor:
<<: *defaults
steps:
- attach_workspace:
at: ~/
- check-conditional-ci
- run:
name: Run tests
command: yarn workspace @cypress/webpack-batteries-included-preprocessor test

npm-vue:
<<: *defaults
steps:
Expand Down Expand Up @@ -1707,6 +1717,9 @@ linux-workflow: &linux-workflow
- npm-webpack-preprocessor:
requires:
- build
- npm-webpack-batteries-included-preprocessor:
requires:
- build
- npm-vue:
requires:
- build
Expand Down
6 changes: 0 additions & 6 deletions npm/webpack-batteries-included-preprocessor/.eslintignore

This file was deleted.

4 changes: 0 additions & 4 deletions npm/webpack-batteries-included-preprocessor/.gitignore

This file was deleted.

1 change: 0 additions & 1 deletion npm/webpack-batteries-included-preprocessor/.node-version

This file was deleted.

6 changes: 3 additions & 3 deletions npm/webpack-batteries-included-preprocessor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Cypress preprocessor for bundling JavaScript via webpack, with dependencies incl

## Why?

This preprocessor is a wrapper for [@cypress/webpack-preprocessor](/~https://github.com/cypress-io/cypress-webpack-preprocessor). The webpack preprocessor does not include any extra dependencies (e.g. `babel-loader`, `ts-loader`), since most users will use their own `webpack.config.js` with it and already have the necessary dependencies installed. This preprocessor is for users who do not have those dependencies installed and would prefer not to configure the preprocessor to handle things like TypeScript and CoffeeScript.
This preprocessor is a wrapper for [@cypress/webpack-preprocessor](/~https://github.com/cypress-io/cypress/tree/master/npm/webpack-preprocessor#readme). The webpack preprocessor does not include any extra dependencies (e.g. `babel-loader`, `ts-loader`), since most users will use their own `webpack.config.js` with it and already have the necessary dependencies installed. This preprocessor is for users who do not have those dependencies installed and would prefer not to configure the preprocessor to handle things like TypeScript and CoffeeScript.

## Installation

Expand All @@ -30,7 +30,7 @@ module.exports = (on) => {
}
```

This preprocessor supports the same options as [@cypress/webpack-preprocessor](/~https://github.com/cypress-io/cypress-webpack-preprocessor), so see its README for more information.
This preprocessor supports the same options as [@cypress/webpack-preprocessor](/~https://github.com/cypress-io/cypress/tree/master/npm/webpack-preprocessor#readme), so see its README for more information.

## Contributing

Expand All @@ -39,7 +39,7 @@ Use the [version of Node that matches Cypress](/~https://github.com/cypress-io/cyp
Run the tests:

```shell
npm test
yarn test
```

## License
Expand Down
19 changes: 0 additions & 19 deletions npm/webpack-batteries-included-preprocessor/issue_template.md

This file was deleted.

32 changes: 9 additions & 23 deletions npm/webpack-batteries-included-preprocessor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,8 @@
"description": "Cypress preprocessor for bundling JavaScript via webpack with dependencies included and support for various ES features, TypeScript, and CoffeeScript",
"private": false,
"scripts": {
"lint": "eslint --ext .js,.jsx,.json,.ts,.tsx .",
"lint-fix": "yarn lint --fix",
"semantic-release": "semantic-release",
"test": "mocha test/e2e/*.spec.* --timeout 4000"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"dependencies": {
"@babel/core": "^7.11.1",
"@babel/plugin-proposal-class-properties": "^7.10.4",
Expand All @@ -32,26 +24,22 @@
"webpack": "^4.44.1"
},
"devDependencies": {
"@cypress/eslint-plugin-dev": "^5.0.0",
"@cypress/webpack-preprocessor": "^5.4.4",
"@fellow/eslint-plugin-coffee": "^0.4.13",
"@cypress/eslint-plugin-dev": "*",
"@cypress/webpack-preprocessor": "*",
"@types/mocha": "^8.0.2",
"@types/webpack": "^4.41.21",
"@typescript-eslint/eslint-plugin": "^3.9.0",
"@typescript-eslint/parser": "^3.9.0",
"babel-eslint": "^10.1.0",
"chai": "^4.2.0",
"eslint": "^7.6.0",
"eslint-plugin-cypress": "^2.11.1",
"eslint-plugin-json-format": "^2.0.1",
"eslint-plugin-mocha": "^8.0.0",
"eslint-plugin-react": "^7.20.6",
"fs-extra": "^9.0.1",
"graphql": "14.0.0",
"lint-staged": "^10.2.11",
"mocha": "^8.1.1",
"react": "^16.13.1",
"semantic-release": "^17.1.1",
"typescript": "^3.9.7"
},
"peerDependencies": {
Expand All @@ -64,23 +52,21 @@
"license": "MIT",
"repository": {
"type": "git",
"url": "/~https://github.com/cypress-io/cypress-webpack-batteries-included-preprocessor.git"
"url": "/~https://github.com/cypress-io/cypress.git"
},
"homepage": "/~https://github.com/cypress-io/cypress-webpack-batteries-included-preprocessor#readme",
"homepage": "/~https://github.com/cypress-io/cypress/tree/master/npm/webpack-batteries-included-preprocessor#readme",
"author": "Chris Breiding <chris@cypress.io>",
"bugs": "/~https://github.com/cypress-io/cypress-webpack-batteries-included-preprocessor/issues",
"bugs": "/~https://github.com/cypress-io/cypress/issues/new?assignees=&labels=npm%3A%20webpack-batteries-included-preprocessor&template=1-bug-report.md&title=",
"keywords": [
"cypress",
"cypress-plugin",
"cypress-preprocessor",
"webpack"
],
"lint-staged": {
"*.{js,jsx,ts,tsx,json}": [
"yarn lint"
]
},
"publishConfig": {
"access": "public"
}
},
"ciJobs": [
"npm-webpack-batteries-included-preprocessor"
]
}
5 changes: 0 additions & 5 deletions npm/webpack-batteries-included-preprocessor/renovate.json

This file was deleted.

Loading

4 comments on commit 5a3b133

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 5a3b133 Jan 5, 2021

Choose a reason for hiding this comment

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

Circle has built the linux 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/6.2.2/circle-develop-5a3b1338e0ec3edf6b60b47929d8a51faf3c9b85/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 5a3b133 Jan 5, 2021

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/6.2.2/appveyor-develop-5a3b1338e0ec3edf6b60b47929d8a51faf3c9b85/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 5a3b133 Jan 5, 2021

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/6.2.2/appveyor-develop-5a3b1338e0ec3edf6b60b47929d8a51faf3c9b85/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 5a3b133 Jan 5, 2021

Choose a reason for hiding this comment

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

Circle has built the darwin 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/6.2.2/circle-develop-5a3b1338e0ec3edf6b60b47929d8a51faf3c9b85/cypress.tgz

Please sign in to comment.