Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update package manager of webpack-test README #6257

Merged
merged 1 commit into from
Apr 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/1-bug-report.en-US.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ body:
description: Please provide the simplest steps so that we can quickly reproduce the problem.
placeholder: |
For example:
1. run `yarn dev`
2. `xxx` error occurred
1. Run `npm run dev`
2. Find some error messages
validations:
required: true
6 changes: 3 additions & 3 deletions webpack-examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,9 @@
If you think an example is missing, please report it as issue. :)

# Building an Example
1. Run `yarn` in the root of the project.
2. Run `yarn setup` in the root of the project.
3. Run `yarn add --dev webpack-cli` in the root of the project.
1. Run `pnpm i` in the root of the project.
2. Run `pnpm setup` in the root of the project.
3. Run `pnpm add --dev webpack-cli` in the root of the project.
4. Run `node build.js` in the specific example directory. (Ex: `cd examples/commonjs && node build.js`)

Note: To build all examples run `npm run build:examples`
6 changes: 3 additions & 3 deletions webpack-test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,17 @@ But don't give up hope!!! Although our tests may appear complex and overwhelming
## tl;dr
Run all tests (this automatically runs the setup):
```sh
yarn test
pnpm test
```

Run an individual suite:
```sh
yarn jest ConfigTestCases
pnpm jest ConfigTestCases
```

Watch mode:
```sh
yarn jest --watch ConfigTestCases
pnpm jest --watch ConfigTestCases
```

See also: [Jest CLI docs](https://jestjs.io/docs/cli)
Expand Down
Loading