diff --git a/npm/eslint-plugin-dev/CHANGELOG.md b/npm/eslint-plugin-dev/CHANGELOG.md index 4e473735f3d3..0a80dec1032b 100644 --- a/npm/eslint-plugin-dev/CHANGELOG.md +++ b/npm/eslint-plugin-dev/CHANGELOG.md @@ -1,3 +1,10 @@ +# [@cypress/eslint-plugin-dev-v5.1.0](https://github.com/cypress-io/cypress/compare/@cypress/eslint-plugin-dev-v5.0.2...@cypress/eslint-plugin-dev-v5.1.0) (2021-02-16) + + +### Features + +* component testing ([#14479](https://github.com/cypress-io/cypress/issues/14479)) ([af26fbe](https://github.com/cypress-io/cypress/commit/af26fbebe6bc609132013a0493a116cc78bb1bd4)) + # [@cypress/eslint-plugin-dev-v5.0.2](https://github.com/cypress-io/cypress/compare/@cypress/eslint-plugin-dev-v5.0.1...@cypress/eslint-plugin-dev-v5.0.2) (2020-10-29) diff --git a/npm/react/CHANGELOG.md b/npm/react/CHANGELOG.md index 6e25b53d9bd7..852314eb56a7 100644 --- a/npm/react/CHANGELOG.md +++ b/npm/react/CHANGELOG.md @@ -1,3 +1,52 @@ +# [@cypress/react-v5.0.1](https://github.com/cypress-io/cypress/compare/@cypress/react-v5.0.0...@cypress/react-v5.0.1) (2021-02-17) + + +### Bug Fixes + +* trigger semantic release ([#15128](https://github.com/cypress-io/cypress/issues/15128)) ([3a6f3b1](https://github.com/cypress-io/cypress/commit/3a6f3b1928277f7086062b1107f424e5a0247e00)) + +# [@cypress/react-v5.0.0](https://github.com/cypress-io/cypress/compare/@cypress/react-v4.16.4...@cypress/react-v5.0.0) (2021-02-17) + + +### Bug Fixes + +* update dependencies of npm/react-vue ([#15095](https://github.com/cypress-io/cypress/issues/15095)) ([e028262](https://github.com/cypress-io/cypress/commit/e028262aed485865c4f40162c1f8102970ef91f8)) +* **component-testing:** make content adjust to size of window ([#14876](https://github.com/cypress-io/cypress/issues/14876)) ([4cf3896](https://github.com/cypress-io/cypress/commit/4cf3896ecbb074831709f73f22768457fdaf5779)) + + +### Features + +* component testing ([#14479](https://github.com/cypress-io/cypress/issues/14479)) ([af26fbe](https://github.com/cypress-io/cypress/commit/af26fbebe6bc609132013a0493a116cc78bb1bd4)) + + +### BREAKING CHANGES + +* change of architecture for +component testing + +Co-authored-by: Dmitriy Kovalenko + +# [@cypress/react-v5.0.0](https://github.com/cypress-io/cypress/compare/@cypress/react-v4.16.4...@cypress/react-v5.0.0) (2021-02-16) + + +### Bug Fixes + +* update dependencies of npm/react-vue ([#15095](https://github.com/cypress-io/cypress/issues/15095)) ([e028262](https://github.com/cypress-io/cypress/commit/e028262aed485865c4f40162c1f8102970ef91f8)) +* **component-testing:** make content adjust to size of window ([#14876](https://github.com/cypress-io/cypress/issues/14876)) ([4cf3896](https://github.com/cypress-io/cypress/commit/4cf3896ecbb074831709f73f22768457fdaf5779)) + + +### Features + +* component testing ([#14479](https://github.com/cypress-io/cypress/issues/14479)) ([af26fbe](https://github.com/cypress-io/cypress/commit/af26fbebe6bc609132013a0493a116cc78bb1bd4)) + + +### BREAKING CHANGES + +* change of architecture for +component testing + +Co-authored-by: Dmitriy Kovalenko + # [@cypress/react-v4.16.4](https://github.com/cypress-io/cypress/compare/@cypress/react-v4.16.3...@cypress/react-v4.16.4) (2021-01-27) diff --git a/npm/react/circle.yml b/npm/react/circle.yml deleted file mode 100644 index 7c3c683094ef..000000000000 --- a/npm/react/circle.yml +++ /dev/null @@ -1,371 +0,0 @@ -version: 2.1 -orbs: - cypress: cypress-io/cypress@1.26.0 - -workflows: - build: - jobs: - # install and cache dependencies in this job - # AND build the library once - # then the workspace will be passed to other jobs - - cypress/install: - name: Install - executor: cypress/base-12 - build: npm run transpile - post-steps: - - run: - name: Show info πŸ“Ί - command: npx cypress info - - run: - name: Linting code 🧹 - command: npm run lint - - run: - name: Stop exclusive tests 1️⃣ - command: npm run stop-only - - run: - name: Build folder πŸ— - command: npm run build - - run: - name: Run unit tests πŸ‘· - command: npm run test:unit - - - cypress/run: - name: Example A11y - requires: - - Install - executor: cypress/base-12 - # each example installs "cypress-react-unit-test" as a local dependency (symlink) - install-command: npm install --no-bin-links - verify-command: echo 'Already verified' - no-workspace: true - working_directory: examples/a11y - command: npm test - store_artifacts: true - - - cypress/run: - name: Example Babel - requires: - - Install - executor: cypress/base-12 - # each example installs "cypress-react-unit-test" as a local dependency (symlink) - install-command: npm install --no-bin-links - verify-command: echo 'Already verified' - no-workspace: false - working_directory: examples/using-babel - command: npm test - store_artifacts: true - - - cypress/run: - name: Example Babel + Typescript - requires: - - Install - executor: cypress/base-12 - # each example installs "cypress-react-unit-test" as a local dependency (symlink) - install-command: npm install --no-bin-links - verify-command: echo 'Already verified' - no-workspace: true - working_directory: examples/using-babel-typescript - command: npm test - store_artifacts: true - - - cypress/run: - name: Example React Scripts - requires: - - Install - executor: cypress/base-12 - # each example installs "cypress-react-unit-test" as a local dependency (symlink) - install-command: npm install --no-bin-links - verify-command: echo 'Already verified' - no-workspace: true - working_directory: examples/react-scripts - command: npm test - store_artifacts: true - post-steps: - - run: - name: Check coverage πŸ“ˆ - command: | - npm run check-coverage - npm run only-covered - working_directory: examples/react-scripts - - - cypress/run: - name: Example Next.js - requires: - - Install - executor: cypress/base-12 - # each example installs "cypress-react-unit-test" as a local dependency (symlink) - install-command: npm install --no-bin-links - verify-command: echo 'Already verified' - no-workspace: true - working_directory: examples/nextjs - command: npm test - store_artifacts: true - post-steps: - - run: - name: Check coverage πŸ“ˆ - command: | - npm run check-coverage - npm run only-covered - working_directory: examples/nextjs - - - cypress/run: - # react-scripts example with component tests not in "src" folder - # but in "cypress/component" folder - name: Example Component Folder - executor: cypress/base-12 - requires: - - Install - # each example installs "cypress-react-unit-test" as a local dependency (symlink) - install-command: npm install --no-bin-links - verify-command: echo 'Already verified' - no-workspace: true - working_directory: examples/react-scripts-folder - command: npm test - store_artifacts: true - post-steps: - - run: - name: Check coverage πŸ“ˆ - command: | - npm run check-coverage - npm run only-covered - working_directory: examples/react-scripts-folder - - - cypress/run: - name: Example Tailwind - requires: - - Install - # each example installs "cypress-react-unit-test" as a local dependency (symlink) - executor: cypress/base-12 - install-command: npm install --no-bin-links - verify-command: echo 'Already verified' - no-workspace: true - working_directory: examples/tailwind - command: | - DEBUG=cypress-react-unit-test,find-webpack npm test - store_artifacts: true - post-steps: - - run: - name: Check coverage πŸ“ˆ - command: | - ls -la - npm run check-coverage - npm run only-covered - working_directory: examples/tailwind - - - cypress/run: - name: Example Webpack file - requires: - - Install - # each example installs "cypress-react-unit-test" as a local dependency (symlink) - executor: cypress/base-12 - install-command: npm install --no-bin-links - verify-command: echo 'Already verified' - no-workspace: true - working_directory: examples/webpack-file - command: npm test - store_artifacts: true - post-steps: - - run: - name: Check coverage πŸ“ˆ - command: | - npm run check-coverage - npm run only-covered - working_directory: examples/webpack-file - - - cypress/run: - name: Example Rollup - requires: - - Install - # each example installs "cypress-react-unit-test" as a local dependency (symlink) - executor: cypress/base-12 - install-command: npm install --no-bin-links - verify-command: echo 'Already verified' - no-workspace: true - working_directory: examples/rollup - command: npm test - store_artifacts: true - - - cypress/run: - name: Example Webpack options - requires: - - Install - # each example installs "cypress-react-unit-test" as a local dependency (symlink) - executor: cypress/base-12 - install-command: npm install --no-bin-links - verify-command: echo 'Already verified' - no-workspace: true - working_directory: examples/webpack-options - command: npm test - store_artifacts: true - post-steps: - - run: - name: Check coverage πŸ“ˆ - command: | - npm run check-coverage - npm run only-covered - working_directory: examples/webpack-options - -# - cypress/run: -# name: Example Sass -# requires: -# - Install -# # we need the same OS version as in install job -# # because we will use native Sass dependency -# executor: cypress/base-12 -# # each example installs "cypress-react-unit-test" as a local dependency (symlink) -# install-command: npm install --no-bin-links -# verify-command: echo 'Already verified' -# no-workspace: true -# working_directory: examples/sass-and-ts -# command: npm test -# store_artifacts: true -# post-steps: -# - run: -# name: Check coverage πŸ“ˆ -# command: | -# npm run check-coverage -# npm run only-covered -# working_directory: examples/sass-and-ts - - - cypress/run: - name: Example Snapshots - requires: - - Install - executor: cypress/base-12 - # each example installs "cypress-react-unit-test" as a local dependency (symlink) - install-command: npm install --no-bin-links - verify-command: echo 'Already verified' - no-workspace: true - working_directory: examples/snapshots - command: npm test - store_artifacts: true - - - cypress/run: - name: Visual Sudoku - executor: cypress/base-12 - requires: - - Install - # each example installs "cypress-react-unit-test" as a local dependency (symlink) - install-command: npm install --no-bin-links - verify-command: echo 'Already verified' - no-workspace: true - working_directory: examples/visual-sudoku - command: npm test - store_artifacts: true - post-steps: - - store_artifacts: - path: examples/visual-sudoku/cypress/snapshots - - - cypress/run: - name: Visual with Applitools - executor: cypress/base-12 - requires: - - Install - # each example installs "cypress-react-unit-test" as a local dependency (symlink) - install-command: npm install --no-bin-links - verify-command: echo 'Already verified' - no-workspace: true - working_directory: examples/visual-testing-with-applitools - # to correctly run this job, we need Applitools token - # external pull requests do not have environment variables set - # thus the job will always fail. Let's skip this job if the - # environment variable is missing - command: | - if [ -z "$APPLITOOLS_API_KEY" ]; then - echo "Skipping Applitools test job, missing environment variable APPLITOOLS_API_KEY" - else - npm test - fi - store_artifacts: true - - - cypress/run: - name: Visual with Percy - executor: cypress/base-12 - requires: - - Install - # each example installs "cypress-react-unit-test" as a local dependency (symlink) - install-command: npm install --no-bin-links - verify-command: echo 'Already verified' - no-workspace: true - working_directory: examples/visual-testing-with-percy - # run Percy agent and then run Cypress component tests - # https://docs.percy.io/docs/cypress - command: npx percy exec -- npm test - store_artifacts: true - - - cypress/run: - name: Visual with Happo - executor: cypress/base-12 - requires: - - Install - # each example installs "cypress-react-unit-test" as a local dependency (symlink) - install-command: npm install --no-bin-links - verify-command: echo 'Already verified' - no-workspace: true - working_directory: examples/visual-testing-with-happo - command: npm run test:happo - store_artifacts: true - - - cypress/run: - name: Component Tests - executor: cypress/base-12 - parallelism: 4 - requires: - - Install - # notice a trick to avoid re-installing dependencies - # in this job - a do-nothing "install-command" parameter - install-command: echo 'Nothing to install in this job' - # we are not going to use results from this job anywhere else - no-workspace: true - record: false - store_artifacts: true - # following examples from - # https://circleci.com/docs/2.0/parallelism-faster-jobs/ - # TODO probably only run component tests and move integration sanity checks into own job - command: | - TESTFILES=$(circleci tests glob "cypress/{component,integration}/**/*spec.{js,jsx,ts,tsx}" | circleci tests split --total=4) - echo "Test files for this machine are $TESTFILES" - npx cypress run --spec $TESTFILES - - # this job attaches the workspace left by the install job - # so it is ready to run Cypress tests - # only we will run semantic release script instead - - cypress/run: - name: NPM release - # only run NPM release from specific branch(es) - filters: - branches: - only: - - main - # we need newer Node for semantic release - executor: cypress/base-12 - requires: - - Install - - Component Tests - - Example A11y - - Example Babel - - Example Component Folder - - Example React Scripts - # - Example Sass - - Example Snapshots - - Example Tailwind - - Example Webpack file - - Example Webpack options - - Example Rollup - - Visual Sudoku - - Visual with Percy - - Visual with Happo - - Visual with Applitools - install-command: echo 'Already installed' - verify-command: echo 'Already verified' - no-workspace: true - # instead of "cypress run" do NPM release 😁 - # clear environment variables to trick semantic-release - # into thinking this is NOT a pull request. - # (under the hood the module env-ci is used to check if this is a PR) - command: | - npm run build - CIRCLE_PR_NUMBER= \ - CIRCLE_PULL_REQUEST= \ - CI_PULL_REQUEST= \ - npm run semantic-release diff --git a/npm/react/package.json b/npm/react/package.json index 9d65019c2d04..f79e894c3451 100644 --- a/npm/react/package.json +++ b/npm/react/package.json @@ -156,6 +156,9 @@ "optional": true } }, + "publishConfig": { + "access": "public" + }, "ciJobs": [ "npm-react", "npm-react-axe", diff --git a/npm/vite-dev-server/CHANGELOG.md b/npm/vite-dev-server/CHANGELOG.md new file mode 100644 index 000000000000..548800d8894e --- /dev/null +++ b/npm/vite-dev-server/CHANGELOG.md @@ -0,0 +1,13 @@ +# [@cypress/vite-dev-server-v1.0.1](https://github.com/cypress-io/cypress/compare/@cypress/vite-dev-server-v1.0.0...@cypress/vite-dev-server-v1.0.1) (2021-02-17) + + +### Bug Fixes + +* trigger semantic release ([#15128](https://github.com/cypress-io/cypress/issues/15128)) ([3a6f3b1](https://github.com/cypress-io/cypress/commit/3a6f3b1928277f7086062b1107f424e5a0247e00)) + +# @cypress/vite-dev-server-v1.0.0 (2021-02-16) + + +### Features + +* adding vite-dev-server plugin ([#14839](https://github.com/cypress-io/cypress/issues/14839)) ([0225406](https://github.com/cypress-io/cypress/commit/022540605139545d137125dbb6a85eb995053fcb)) diff --git a/npm/vite-dev-server/package.json b/npm/vite-dev-server/package.json index 3d1316e17023..eeac6b0cce39 100644 --- a/npm/vite-dev-server/package.json +++ b/npm/vite-dev-server/package.json @@ -29,5 +29,10 @@ "repository": { "type": "git", "url": "https://github.com/cypress-io/cypress.git" + }, + "homepage": "https://github.com/cypress-io/cypress/tree/master/npm/vite-dev-server#readme", + "bugs": "https://github.com/cypress-io/cypress/issues/new?template=1-bug-report.md", + "publishConfig": { + "access": "public" } } diff --git a/npm/vue/CHANGELOG.md b/npm/vue/CHANGELOG.md index b80e24a5b47d..abb1774cf5b2 100644 --- a/npm/vue/CHANGELOG.md +++ b/npm/vue/CHANGELOG.md @@ -1,3 +1,41 @@ +# [@cypress/vue-v2.0.1](https://github.com/cypress-io/cypress/compare/@cypress/vue-v2.0.0...@cypress/vue-v2.0.1) (2021-02-17) + + +### Bug Fixes + +* trigger semantic release ([#15128](https://github.com/cypress-io/cypress/issues/15128)) ([3a6f3b1](https://github.com/cypress-io/cypress/commit/3a6f3b1928277f7086062b1107f424e5a0247e00)) + +# [@cypress/vue-v2.0.0](https://github.com/cypress-io/cypress/compare/@cypress/vue-v1.0.0...@cypress/vue-v2.0.0) (2021-02-16) + + +### Bug Fixes + +* code coverage for vue ([68032c1](https://github.com/cypress-io/cypress/commit/68032c1fcb19999a917c89374ea0a85a9c0a9150)) +* update dependencies of npm/react-vue ([#15095](https://github.com/cypress-io/cypress/issues/15095)) ([e028262](https://github.com/cypress-io/cypress/commit/e028262aed485865c4f40162c1f8102970ef91f8)) +* **Component Testing:** Broken links in docs ([#14251](https://github.com/cypress-io/cypress/issues/14251)) ([a72529f](https://github.com/cypress-io/cypress/commit/a72529f396baee669c9b112d9296d314177f8cc1)) +* **deps:** update dependency debug to version 4.3.1 🌟 ([#14583](https://github.com/cypress-io/cypress/issues/14583)) ([9be6165](https://github.com/cypress-io/cypress/commit/9be61657f4150ba5dee7b67f806d810f3106d13b)) +* add discord chat link for component testing readme ([#8780](https://github.com/cypress-io/cypress/issues/8780)) ([529abdc](https://github.com/cypress-io/cypress/commit/529abdc07c9848fabacf3e304d1dad0def18ebc3)) +* adding build-prod tasks to all of the npm dependencies that need artifacts ([#9045](https://github.com/cypress-io/cypress/issues/9045)) ([550c05c](https://github.com/cypress-io/cypress/commit/550c05cc3d7a2a179de21138ae5f8118277df6ef)) +* adding build-prod tasks to all of the npm dependencies that need artifacts ([#9046](https://github.com/cypress-io/cypress/issues/9046)) ([462829b](https://github.com/cypress-io/cypress/commit/462829bea1d903b0f1666d4ef2dd85e56636b725)) +* Fix cypress-vue-unit-test reference ([#8756](https://github.com/cypress-io/cypress/issues/8756)) ([fa253d2](https://github.com/cypress-io/cypress/commit/fa253d24c04d4f4cecca94729651fcacd48b4ff1)) +* make imported @cypress/react working and pass CI ([#8718](https://github.com/cypress-io/cypress/issues/8718)) ([5e4b638](https://github.com/cypress-io/cypress/commit/5e4b6383854a78d10249621ffea9e4e20effe192)) +* reset head between tests to avoid style bleed ([#8828](https://github.com/cypress-io/cypress/issues/8828)) ([ee7b819](https://github.com/cypress-io/cypress/commit/ee7b8196c8c0e0a9a55b44885e8f43f6120d4869)) +* update bugs link in package.json ([#9015](https://github.com/cypress-io/cypress/issues/9015)) ([34186cb](https://github.com/cypress-io/cypress/commit/34186cb8b76c230a2506cabb0358d44c3205e0c4)) + + +### Features + +* component testing ([#14479](https://github.com/cypress-io/cypress/issues/14479)) ([af26fbe](https://github.com/cypress-io/cypress/commit/af26fbebe6bc609132013a0493a116cc78bb1bd4)) +* create-cypress-tests wizard ([#8857](https://github.com/cypress-io/cypress/issues/8857)) ([21ee591](https://github.com/cypress-io/cypress/commit/21ee591d1e9c4083a0c67f2062ced92708c0cedd)) + + +### BREAKING CHANGES + +* change of architecture for +component testing + +Co-authored-by: Dmitriy Kovalenko + # [@cypress/vue-v1.1.0-alpha.3](https://github.com/cypress-io/cypress/compare/@cypress/vue-v1.1.0-alpha.2...@cypress/vue-v1.1.0-alpha.3) (2021-01-27) diff --git a/npm/vue/circle.yml b/npm/vue/circle.yml deleted file mode 100644 index b0b850570643..000000000000 --- a/npm/vue/circle.yml +++ /dev/null @@ -1,90 +0,0 @@ -version: 2.1 -orbs: - cypress: cypress-io/cypress@1 - -workflows: - build: - jobs: - # install and cache dependencies in this job - # AND build the library once - # then the workspace will be passed to other jobs - - cypress/install: - name: Install - executor: cypress/base-12 - # creates files in "dist" folder - build: | - npm run build - echo "" - echo "Build package archive πŸ“¦" - echo "" - # first show the contents to be packed - npm pack --dry - echo "" - echo "packing ..." - echo "" - npm pack - echo "" - ls -la - post-steps: - - run: - name: Show info πŸ“Ί - command: npx cypress info - - run: - name: Linting code 🧹 - command: npm run lint - - - cypress/run: - name: Test - executor: cypress/base-12 - parallelism: 2 - requires: - - Install - # notice a trick to avoid re-installing dependencies - # in this job - a do-nothing "install-command" parameter - install-command: echo 'Nothing to install in this job' - # we are not going to use results from this job anywhere else - no-workspace: true - record: false - store_artifacts: true - # following examples from - # https://circleci.com/docs/2.0/parallelism-faster-jobs/ - command: | - TESTFILES=$(circleci tests glob "cypress/{component,integration}/**/*spec.{js,jsx,ts,tsx}" | circleci tests split --total=2) - echo "Test files for this machine are $TESTFILES" - npx cypress run --spec $TESTFILES - -# - cypress/run: -# name: Example CLI -# executor: cypress/base-12 -# requires: -# - Install -# install-command: npm install -# verify-command: echo 'Already verified' -# no-workspace: true -# working_directory: examples/cli -# command: | -# echo "🦢🏻 Scaffolding component tests" -# echo "" -# # scaffolds Babel + Webpack combo -# npx --package @vue/cli vue add cypress-experimental -# echo "" -# echo "🦢🏻 test scaffolded project, should work" -# echo "" -# DEBUG=@cypress/vue npx cypress run --spec 'tests/components/**/*.js' -# # let's inspect the scaffolded app -# ls -la -# echo "" -# echo "🦢🏻 install the current @cypress/vue" -# echo "" -# npm install ../../@cypress/vue -# echo "" -# echo "🦢🏻 run component tests" -# echo "" -# DEBUG=@cypress/vue npx cypress run --spec 'tests/components/**/*.js' -# echo "" -# echo "🦢🏻 look at the generated files, should have coverage" -# # (after updating cypress-experimental) -# echo "" -# ls -la -# store_artifacts: true - diff --git a/npm/vue/package.json b/npm/vue/package.json index 3f4bf479b6c4..32da693e5a9a 100644 --- a/npm/vue/package.json +++ b/npm/vue/package.json @@ -69,6 +69,7 @@ "vue" ], "publishConfig": { + "access": "public", "registry": "http://registry.npmjs.org/" }, "ciJobs": [ diff --git a/npm/webpack-batteries-included-preprocessor/CHANGELOG.md b/npm/webpack-batteries-included-preprocessor/CHANGELOG.md index 75752e6bf9a5..b0a13211d7d9 100644 --- a/npm/webpack-batteries-included-preprocessor/CHANGELOG.md +++ b/npm/webpack-batteries-included-preprocessor/CHANGELOG.md @@ -1,3 +1,10 @@ +# [@cypress/webpack-batteries-included-preprocessor-v2.1.5](https://github.com/cypress-io/cypress/compare/@cypress/webpack-batteries-included-preprocessor-v2.1.4...@cypress/webpack-batteries-included-preprocessor-v2.1.5) (2021-01-27) + + +### Bug Fixes + +* ignore browserslist file ([#14754](https://github.com/cypress-io/cypress/issues/14754)) ([a21e76f](https://github.com/cypress-io/cypress/commit/a21e76fb0fb8706b4a188bc944137fb33030b42a)) + # [@cypress/webpack-batteries-included-preprocessor-v2.1.4](https://github.com/cypress-io/cypress/compare/@cypress/webpack-batteries-included-preprocessor-v2.1.3...@cypress/webpack-batteries-included-preprocessor-v2.1.4) (2021-01-05) diff --git a/npm/webpack-dev-server/CHANGELOG.md b/npm/webpack-dev-server/CHANGELOG.md new file mode 100644 index 000000000000..69b38b449f2b --- /dev/null +++ b/npm/webpack-dev-server/CHANGELOG.md @@ -0,0 +1,14 @@ +# [@cypress/webpack-dev-server-v1.0.1](https://github.com/cypress-io/cypress/compare/@cypress/webpack-dev-server-v1.0.0...@cypress/webpack-dev-server-v1.0.1) (2021-02-17) + + +### Bug Fixes + +* add a trivial change to trigger semantic release ([#15127](https://github.com/cypress-io/cypress/issues/15127)) ([fb7540e](https://github.com/cypress-io/cypress/commit/fb7540e99d56e0cff89aaf2fe76065b9815bdbec)) +* trigger semantic release ([#15128](https://github.com/cypress-io/cypress/issues/15128)) ([3a6f3b1](https://github.com/cypress-io/cypress/commit/3a6f3b1928277f7086062b1107f424e5a0247e00)) + +# @cypress/webpack-dev-server-v1.0.0 (2021-02-16) + + +### Features + +* component testing ([#14479](https://github.com/cypress-io/cypress/issues/14479)) ([af26fbe](https://github.com/cypress-io/cypress/commit/af26fbebe6bc609132013a0493a116cc78bb1bd4)) diff --git a/npm/webpack-dev-server/package.json b/npm/webpack-dev-server/package.json index 493fdda03468..b83e4591cc50 100644 --- a/npm/webpack-dev-server/package.json +++ b/npm/webpack-dev-server/package.json @@ -34,5 +34,10 @@ "repository": { "type": "git", "url": "https://github.com/cypress-io/cypress.git" + }, + "homepage": "https://github.com/cypress-io/cypress/tree/master/npm/webpack-dev-server#readme", + "bugs": "https://github.com/cypress-io/cypress/issues/new?template=1-bug-report.md", + "publishConfig": { + "access": "public" } } diff --git a/npm/webpack-dev-server/src/index.ts b/npm/webpack-dev-server/src/index.ts index b7dba88ad043..8a4a2f8773c7 100644 --- a/npm/webpack-dev-server/src/index.ts +++ b/npm/webpack-dev-server/src/index.ts @@ -14,13 +14,6 @@ export interface DevServerOptions { devServerEvents: EventEmitter } -export interface StartDevServer { - /* this is the Cypress options object */ - options: DevServerOptions - /* support passing a path to the user's webpack config */ - webpackConfig?: Record -} - type DoneCallback = () => unknown export interface ResolvedDevServerConfig { @@ -28,6 +21,13 @@ export interface ResolvedDevServerConfig { close: (done?: DoneCallback) => void } +export interface StartDevServer { + /* this is the Cypress options object */ + options: DevServerOptions + /* support passing a path to the user's webpack config */ + webpackConfig?: Record +} + export async function startDevServer (startDevServerArgs: StartDevServer) { const webpackDevServer = await createDevServer(startDevServerArgs) diff --git a/npm/webpack-preprocessor/CHANGELOG.md b/npm/webpack-preprocessor/CHANGELOG.md index fc7a1d2e05c1..8ce24c987343 100644 --- a/npm/webpack-preprocessor/CHANGELOG.md +++ b/npm/webpack-preprocessor/CHANGELOG.md @@ -1,3 +1,10 @@ +# [@cypress/webpack-preprocessor-v5.6.0](https://github.com/cypress-io/cypress/compare/@cypress/webpack-preprocessor-v5.5.0...@cypress/webpack-preprocessor-v5.6.0) (2021-02-16) + + +### Features + +* component testing ([#14479](https://github.com/cypress-io/cypress/issues/14479)) ([af26fbe](https://github.com/cypress-io/cypress/commit/af26fbebe6bc609132013a0493a116cc78bb1bd4)) + # [@cypress/webpack-preprocessor-v5.5.0](https://github.com/cypress-io/cypress/compare/@cypress/webpack-preprocessor-v5.4.11...@cypress/webpack-preprocessor-v5.5.0) (2020-11-30)