@davidsneighbour/cypress-config 4.0.10 → 5.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2022 Patrick Kollitsch / David's Neighbour
3
+ Copyright (c) 2023 Patrick Kollitsch / David's Neighbour
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
6
 
package/README.md CHANGED
@@ -1,14 +1,4 @@
1
- ## @davidsneighbour/cypress-config
2
-
3
- ### Installation
4
-
5
- Use npm to install this package as development dependency:
6
-
7
- ```shell
8
- npm install --save-dev @davidsneighbour/cypress-config
9
- ```
10
-
11
- ### Configuration
1
+ # Cypress
12
2
 
13
3
  Create `tests/cypress/plugins.index.js` with the following content:
14
4
 
@@ -16,14 +6,14 @@ Create `tests/cypress/plugins.index.js` with the following content:
16
6
  // noinspection JSUnresolvedVariable
17
7
  module.exports = (on, config) =>
18
8
  // eslint-disable-next-line global-require
19
- require("@davidsneighbour/cypress-config")(config.configFile);
9
+ require("@davidsneighbour/config/cypress")(config.configFile);
20
10
  ```
21
11
 
22
12
  Then add in `cypress.json` at least the following two lines:
23
13
 
24
14
  ```json
25
15
  {
26
- "extends": "@davidsneighbour/cypress-config/base.json",
16
+ "extends": "@davidsneighbour/confing/cypress-base.json",
27
17
  "pluginsFile": "tests/cypress/plugins/index.js"
28
18
  }
29
19
  ```
@@ -32,35 +22,26 @@ This configuration setup uses the approach of [Gleb Bahmutov's blog post](https:
32
22
 
33
23
  ## Default settings of this configuration
34
24
 
35
- - All cypress files reside within the `tests` directory (no need for additional directories in the root directory).
36
- - The base url is set to http://localhost:1313 - default for all Hugo dev server instances.
37
- - IDEs like IntelliJ import the schema to offer typeahead code hints.
38
- - `watchForFileChanges` is enabled.
39
-
40
- <!-- CONFIGURATIONS BEGIN -->
41
-
42
- ## davidsneighbour/configurations
43
-
44
- A collection of configurations for website development at DNB Org.
45
-
46
- <!-- prettier-ignore -->
47
- |Package | Description |
48
- | --- | --- |
49
- | [babel-config](https://github.com/davidsneighbour/configurations/tree/main/packages/babel-config) | [Babel](https://babeljs.io/) configuration |
50
- | [bootstrap-config](https://github.com/davidsneighbour/configurations/tree/main/packages/bootstrap-config) | [Bootstrap](https://getbootstrap.com/) configuration |
51
- | [browserslist-config](https://github.com/davidsneighbour/configurations/tree/main/packages/browserslist-config) | [Browserslist](https://github.com/browserslist/browserslist) configuration |
52
- | [commitlint-config](https://github.com/davidsneighbour/configurations/tree/main/packages/commitlint-config) | [Commitlint](https://github.com/conventional-changelog/commitlint) configuration |
53
- | [cssnano-config](https://github.com/davidsneighbour/configurations/tree/main/packages/cssnano-config) | [CSSnano](https://cssnano.co/) configuration |
54
- | [cypress-config](https://github.com/davidsneighbour/configurations/tree/main/packages/cypress-config) | [Cypress](https://www.cypress.io/) configuration |
55
- | [eslint-config](https://github.com/davidsneighbour/configurations/tree/main/packages/eslint-config) | [ESLint](https://github.com/eslint/eslint) configuration |
56
- | [htmlvalidate-config](https://github.com/davidsneighbour/configurations/tree/main/packages/htmlvalidate-config) | [HTMLValidate](https://html-validate.org/) configuration |
57
- | [postcss-config](https://github.com/davidsneighbour/configurations/tree/main/packages/postcss-config) | [PostCSS](https://postcss.org/) configuration |
58
- | [prettier-config](https://github.com/davidsneighbour/configurations/tree/main/packages/prettier-config) | [Prettier](https://prettier.io/) configuration |
59
- | [remark-config](https://github.com/davidsneighbour/configurations/tree/main/packages/remark-config) | [ReMark](https://github.com/remarkjs/remark-lint) configuration |
60
- | [standard-version-config](https://github.com/davidsneighbour/configurations/tree/main/packages/standard-version-config) | [Standard Version](https://github.com/conventional-changelog/standard-version) configuration |
61
- | [stylelint-config](https://github.com/davidsneighbour/configurations/tree/main/packages/stylelint-config) | [StyleLint](https://github.com/stylelint/stylelint) configuration |
62
- | [textlint-config](https://github.com/davidsneighbour/configurations/tree/main/packages/textlint-config) | [TextLint](https://github.com/textlint/textlint) configuration |
63
- | [webpack-config](https://github.com/davidsneighbour/configurations/tree/main/packages/webpack-config) | [Webpack](https://webpack.js.org/) configuration |
64
- | [tools](https://github.com/davidsneighbour/configurations/tree/main/packages/tools) | Tools |
65
-
66
- <!-- CONFIGURATIONS END -->
25
+ - All cypress files reside within the `tests` directory (no need for additional directories in the root directory).
26
+ - The base url is set to <http://localhost:1313> - default for all Hugo dev server instances.
27
+ - IDEs like IntelliJ import the schema to offer typeahead code hints.
28
+ - `watchForFileChanges` is enabled.
29
+
30
+ # All configurations
31
+
32
+ - [Babel](/packages/babel-config)
33
+ - [Bootstrap](/packages/bootstrap-config)
34
+ - [Browserslist](/packages/browserslist-config)
35
+ - [Commitlint](/packages/commitlint-config)
36
+ - [CssNano](/packages/cssnano-config)
37
+ - [Cypress](/packages/cypress-config)
38
+ - [ESLint](/packages/eslint-config)
39
+ - [Markdownlint](/packages/markdownlint-config)
40
+ - [PostCSS](/packages/postcss-config)
41
+ - [Prettier](/packages/prettier-config)
42
+ - [Remark Lint](/packages/remark-config)
43
+ - [Standard Version](/packages/standard-version-config)
44
+ - [Stylelint](/packages/stylelint-config)
45
+ - [Textlint](/packages/textlint-config)
46
+ - [Tools](/packages/tools)
47
+ - [Webpack](/packages/webpack-config)
File without changes
File without changes
File without changes
package/package.json CHANGED
@@ -1,27 +1,25 @@
1
1
  {
2
2
  "name": "@davidsneighbour/cypress-config",
3
- "version": "4.0.10",
3
+ "description": "Cypress configuration for use in @davidsneighbour projects.",
4
+ "version": "5.0.2",
4
5
  "license": "MIT",
5
- "description": "Cypress configuration for davidsneighbour projects.",
6
+ "repository": "davidsneighbour/configurations",
6
7
  "author": {
7
8
  "name": "Patrick Kollitsch",
8
9
  "email": "patrick@davids-neighbour.com",
9
10
  "web": "https://davids-neighbour.com"
10
11
  },
11
- "repository": "git+https://github.com/davidsneighbour/configurations/",
12
- "bugs": {
13
- "url": "https://github.com/davidsneighbour/configurations/issues"
14
- },
12
+ "bugs": "https://github.com/davidsneighbour/configurations/issues",
13
+ "homepage": "https://github.com/davidsneighbour/configurations/blob/main/docs/cypress.md",
15
14
  "dependencies": {
16
- "axe-core": "^4.4.3",
17
- "cypress": "^10.4.0",
18
- "cypress-axe": "^1.0.0",
19
- "debug": "^4.3.4",
20
- "deepmerge": "^4.2.2",
21
- "eslint-plugin-cypress": "^2.12.1"
15
+ "cypress": "12.4.1",
16
+ "cypress-axe": "1.3.0",
17
+ "cypress-html-validate": "5.1.2",
18
+ "eslint-plugin-cypress": "2.12.1"
22
19
  },
23
- "main": "index.js",
24
20
  "scripts": {
25
- "release": "../../release"
26
- }
21
+ "fixpack": "fixpack"
22
+ },
23
+ "main": "index.js",
24
+ "gitHead": "8af7f637920a8701d198aa71ecd164fe02b1f6e7"
27
25
  }