Skip to content

Commit 0432268

Browse files
committed
Fix yarn commands and doc
Signed-off-by: Michael Weimann <[email protected]>
1 parent 75bd8ef commit 0432268

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ The following commands are available:
6161
- `yarn dev:example`: Start the example app.
6262
- `yarn dev:example:https`: Start the example app with a self-signed HTTPS certificate.
6363
- `yarn build`: Build all packages and the example app.
64-
- `yarn preview`: Preview a built version of the example app. Requires `yarn build` to be run first.
65-
- `yarn preview:https`: Preview a built version of the example app with a self-signed HTTPS certificate. Requires `yarn build` to be run first.
64+
- `yarn preview:example`: Preview a built version of the example app. Requires `yarn build` to be run first.
65+
- `yarn preview:example:https`: Preview a built version of the example app with a self-signed HTTPS certificate. Requires `yarn build` to be run first.
6666
- `yarn test`: Watch all packages for changes and run tests.
6767
- `yarn tsc`: Check TypeScript types for errors in all packages.
6868
- `yarn lint`: Run eslint on all packages.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"scripts": {
1111
"dev:example": "yarn workspace @matrix-widget-toolkit/example-widget-mui dev",
1212
"dev:example:https": "yarn workspace @matrix-widget-toolkit/example-widget-mui dev:https",
13-
"dev:example:preview": "yarn workspace @matrix-widget-toolkit/example-widget-mui preview",
14-
"dev:example:preview:https": "yarn workspace @matrix-widget-toolkit/example-widget-mui preview:https",
13+
"preview:example": "yarn workspace @matrix-widget-toolkit/example-widget-mui preview",
14+
"preview:example:https": "yarn workspace @matrix-widget-toolkit/example-widget-mui preview:https",
1515
"build": "yarn workspaces run build",
1616
"test": "vitest watch",
1717
"test:all": "vitest run --coverage",

0 commit comments

Comments
 (0)