From 341b34d08f227f718751785432914f41a9d80d52 Mon Sep 17 00:00:00 2001 From: Hideaki Matsunami Date: Fri, 2 Jun 2023 19:05:58 +0900 Subject: [PATCH] Fix references from 'packages/*' to 'platform/*' in READMEs (#23498) --- webapp/README.md | 4 ++-- webapp/platform/client/README.md | 4 ++-- webapp/platform/components/README.md | 2 +- webapp/platform/types/README.md | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/webapp/README.md b/webapp/README.md index dfb7d47a09..b175e33b30 100644 --- a/webapp/README.md +++ b/webapp/README.md @@ -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 # Build multiple packages -npm run build --workspace=packages/client --workspace=packages/components +npm run build --workspace=platform/client --workspace=platform/components # Test all workspaces npm test --workspaces @@ -25,4 +25,4 @@ To install dependencies for a workspace, simply run `npm install` from this fold ## Useful Links - [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/) \ No newline at end of file +- [Web app developer documentation](https://developers.mattermost.com/contribute/more-info/webapp/) diff --git a/webapp/platform/client/README.md b/webapp/platform/client/README.md index bbb41b857b..7b5a58408e 100644 --- a/webapp/platform/client/README.md +++ b/webapp/platform/client/README.md @@ -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: ```bash -npm run build --workspace=packages/client -npm publish --workspace=packages/client +npm run build --workspace=platform/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. diff --git a/webapp/platform/components/README.md b/webapp/platform/components/README.md index e6d753288e..a2621cb37c 100644 --- a/webapp/platform/components/README.md +++ b/webapp/platform/components/README.md @@ -19,6 +19,6 @@ npm run build or from the root of the webapp with ```bash -npm run build --workspace=packages/mattermost +npm run build --workspace=platform/components ``` diff --git a/webapp/platform/types/README.md b/webapp/platform/types/README.md index 15b40d2c05..1369645501 100644 --- a/webapp/platform/types/README.md +++ b/webapp/platform/types/README.md @@ -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: ```bash -npm run build --workspace=packages/types -npm publish --workspace=packages/types +npm run build --workspace=platform/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.