-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: publish new messaging socket client (#667)
* chore: publish new messaging socket client * update * chore: add gh wf to publish packages on npm
- Loading branch information
1 parent
4950e68
commit 2bc0106
Showing
7 changed files
with
59 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: Publish Messaging Packages | ||
on: workflow_dispatch | ||
|
||
permissions: | ||
id-token: write | ||
contents: read | ||
|
||
jobs: | ||
publish-packages: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version-file: '.nvmrc' | ||
cache: 'yarn' | ||
- name: Install | ||
run: | | ||
yarn --immutable | ||
- name: Build Client | ||
working-directory: ./packages/client | ||
run: | | ||
yarn build | ||
- name: Build Socket | ||
working-directory: ./packages/socket | ||
run: | | ||
yarn build | ||
- name: Build Webchat | ||
working-directory: ./packages/webchat | ||
run: | | ||
yarn build | ||
- name: Publish Client | ||
uses: botpress/gh-actions/publish-if-not-exists@master | ||
with: | ||
path: './packages/client' | ||
token: '${{ secrets.NPM_ACCESS_TOKEN }}' | ||
- name: Publish Socket | ||
uses: botpress/gh-actions/publish-if-not-exists@master | ||
with: | ||
path: './packages/socket' | ||
token: '${{ secrets.NPM_ACCESS_TOKEN }}' | ||
- name: Publish Webchat | ||
uses: botpress/gh-actions/publish-if-not-exists@master | ||
with: | ||
path: './packages/webchat' | ||
token: '${{ secrets.NPM_ACCESS_TOKEN }}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2189,8 +2189,8 @@ __metadata: | |
dependencies: | ||
"@botpress/messaging-base": 1.2.0 | ||
"@botpress/messaging-client": 1.2.1 | ||
"@botpress/messaging-socket": 1.2.0 | ||
"@botpress/webchat": 0.5.1 | ||
"@botpress/messaging-socket": 1.3.0 | ||
"@botpress/webchat": 0.5.2 | ||
"@parcel/config-default": ^2.2.1 | ||
"@parcel/transformer-typescript-tsc": ^2.2.1 | ||
"@types/react": ^17.0.38 | ||
|
@@ -2468,7 +2468,7 @@ __metadata: | |
languageName: unknown | ||
linkType: soft | ||
|
||
"@botpress/messaging-socket@1.2.0, @botpress/messaging-socket@workspace:packages/socket": | ||
"@botpress/messaging-socket@1.3.0, @botpress/messaging-socket@workspace:packages/socket": | ||
version: 0.0.0-use.local | ||
resolution: "@botpress/messaging-socket@workspace:packages/socket" | ||
dependencies: | ||
|
@@ -2550,7 +2550,7 @@ __metadata: | |
version: 0.0.0-use.local | ||
resolution: "@botpress/webchat-inject@workspace:packages/inject" | ||
dependencies: | ||
"@botpress/webchat": 0.5.1 | ||
"@botpress/webchat": 0.5.2 | ||
"@parcel/config-default": ^2.2.1 | ||
"@parcel/reporter-bundle-analyzer": 2.2.1 | ||
"@parcel/transformer-typescript-tsc": ^2.2.1 | ||
|
@@ -2564,13 +2564,13 @@ __metadata: | |
languageName: unknown | ||
linkType: soft | ||
|
||
"@botpress/[email protected].1, @botpress/webchat@workspace:packages/webchat": | ||
"@botpress/[email protected].2, @botpress/webchat@workspace:packages/webchat": | ||
version: 0.0.0-use.local | ||
resolution: "@botpress/webchat@workspace:packages/webchat" | ||
dependencies: | ||
"@blueprintjs/core": ^3.23.1 | ||
"@botpress/messaging-components": 0.4.3 | ||
"@botpress/messaging-socket": 1.2.0 | ||
"@botpress/messaging-socket": 1.3.0 | ||
"@formatjs/intl-pluralrules": ^4.1.6 | ||
"@formatjs/intl-utils": ^3.8.4 | ||
"@juggle/resize-observer": ^3.0.2 | ||
|