You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
migrate to release-please
reduce complexity of generateScreenshotPath
reduce complexity of getConfig fn
prepare directory structure for more examples
prepare codeclimate configuration for monorepo
Copy file name to clipboardexpand all lines: CONTRIBUTING.md
+14-14
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ Don’t hesitate to ask a question directly on the [discussions board](https://g
22
22
23
23
- Checkout the master branch and (after you do your work) file a PR against it
24
24
25
-
- Read through the [development setup](#development-setup) to learn how to work with this project. Always make sure that `yarn lint`, `yarn build` and `yarn test` pass
25
+
- Read through the [development setup](#development-setup) to learn how to work with this project. Always make sure that `pnpm lint`, `pnpm build` and `pnpm test` pass
26
26
27
27
- Please use [conventional commits v1.0.0 style guide](https://www.conventionalcommits.org/en/v1.0.0/) for commits and PR names
28
28
@@ -42,15 +42,15 @@ Don’t hesitate to ask a question directly on the [discussions board](https://g
42
42
43
43
<!-- textlint-disable spelling -->
44
44
45
-
You will need [Node.js](https://nodejs.org/en/)**version 16+** and [yarn](https://yarnpkg.com/getting-started/install).
45
+
You will need [Node.js](https://nodejs.org/en/)**version 16+** and [pnpm](https://pnpm.io/installation).
46
46
47
47
<!-- textlint-enable -->
48
48
49
49
After cloning the repository, run:
50
50
51
51
```bash
52
-
yarn i # installs the project dependencies
53
-
cdexample&&yarn i # install dependencies for example project (useful for testing)
52
+
pnpm i # installs the project dependencies
53
+
cdexamples/webpack&&pnpm i # install dependencies for example project (useful for testing)
54
54
```
55
55
56
56
### Committing Changes
@@ -63,30 +63,30 @@ When fired in the project root they will run corresponding actions in every nest
63
63
64
64
```bash
65
65
# build the project for NPM and example usage
66
-
$ yarn build
66
+
$ pnpm build
67
67
68
68
# run tests once
69
-
$ yarntest
69
+
$ pnpmtest
70
70
71
71
# open cypress component runner from example directory
72
-
# requires plugin to be built first via `yarn build`
73
-
$ yarn test:ct
72
+
# requires plugin to be built first via `pnpm build`
73
+
$ pnpm test:ct
74
74
75
75
# open cypress e2e runner from example directory
76
-
# requires plugin to be built first via `yarn build`
77
-
$ yarn test:e2e
76
+
# requires plugin to be built first via `pnpm build`
77
+
$ pnpm test:e2e
78
78
79
79
# run integration tests once and collect coverage
80
-
$ yarn test:integration:coverage
80
+
$ pnpm test:integration:coverage
81
81
82
82
# run integration tests in watch mode
83
-
$ yarn test:integration:watch
83
+
$ pnpm test:integration:watch
84
84
85
85
# lint & try to autofix linting errors
86
-
$ yarn fix:lint &&yarn prettify
86
+
$ pnpm fix:lint &&pnpm format
87
87
88
88
# lint files
89
-
$ yarn lint &&yarn prettify:ci
89
+
$ pnpm lint &&pnpm format:ci
90
90
```
91
91
92
92
There are some other scripts available in the `scripts` section of the `package.json` file.
Still got troubles with installation? Have a look at [example directory of this repo](./example) to see how this plugin can be used in e2e or component-testing Cypress environment within your project.
156
+
Still got troubles with installation? Have a look at [examples directory of this repo](./examples) to see how this plugin can be used in e2e or component-testing Cypress environment within your project.
0 commit comments