Fix references from 'packages/*' to 'platform/*' in READMEs (#23498)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
52e5cd5ecd
Коммит
341b34d08f
@@ -11,7 +11,7 @@ To interact with a workspace using npm, such as to add a dependency or run a scr
|
|||||||
npm add react --workspace=boards
|
npm add react --workspace=boards
|
||||||
|
|
||||||
# Build multiple packages
|
# Build multiple packages
|
||||||
npm run build --workspace=packages/client --workspace=packages/components
|
npm run build --workspace=platform/client --workspace=platform/components
|
||||||
|
|
||||||
# Test all workspaces
|
# Test all workspaces
|
||||||
npm test --workspaces
|
npm test --workspaces
|
||||||
@@ -25,4 +25,4 @@ To install dependencies for a workspace, simply run `npm install` from this fold
|
|||||||
## Useful Links
|
## Useful Links
|
||||||
|
|
||||||
- [Developer setup](https://developers.mattermost.com/contribute/developer-setup/), now included with the Mattermost server developer setup
|
- [Developer setup](https://developers.mattermost.com/contribute/developer-setup/), now included with the Mattermost server developer setup
|
||||||
- [Web app developer documentation](https://developers.mattermost.com/contribute/more-info/webapp/)
|
- [Web app developer documentation](https://developers.mattermost.com/contribute/more-info/webapp/)
|
||||||
|
|||||||
@@ -7,8 +7,8 @@ This package contains the JavaScript/TypeScript client for [Mattermost](https://
|
|||||||
As a member of Mattermost with write access to our NPM organization, you can build and publish this package by running the following commands:
|
As a member of Mattermost with write access to our NPM organization, you can build and publish this package by running the following commands:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm run build --workspace=packages/client
|
npm run build --workspace=platform/client
|
||||||
npm publish --workspace=packages/client
|
npm publish --workspace=platform/client
|
||||||
```
|
```
|
||||||
|
|
||||||
Make sure to increment the version number in `package.json` first! You can add `-0`, `-1`, etc for pre-release versions.
|
Make sure to increment the version number in `package.json` first! You can add `-0`, `-1`, etc for pre-release versions.
|
||||||
|
|||||||
@@ -19,6 +19,6 @@ npm run build
|
|||||||
or from the root of the webapp with
|
or from the root of the webapp with
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm run build --workspace=packages/mattermost
|
npm run build --workspace=platform/components
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -29,8 +29,8 @@ In your Jest config, you can use the `moduleNameMapper` field to add that alias.
|
|||||||
As a member of Mattermost with write access to our NPM organization, you can build and publish this package by running the following commands:
|
As a member of Mattermost with write access to our NPM organization, you can build and publish this package by running the following commands:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm run build --workspace=packages/types
|
npm run build --workspace=platform/types
|
||||||
npm publish --workspace=packages/types
|
npm publish --workspace=platform/types
|
||||||
```
|
```
|
||||||
|
|
||||||
Make sure to increment the version number in `package.json` first! You can add `-0`, `-1`, etc for pre-release versions.
|
Make sure to increment the version number in `package.json` first! You can add `-0`, `-1`, etc for pre-release versions.
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user