Skip to content

Commit b76769a

Browse files
authored
chore: fix build issue and remove deprecated docs package (#1732)
* chore: remove deprecated docs package * chore: fix build issue * chore: fix wrong package version
1 parent 443adc0 commit b76769a

File tree

312 files changed

+81
-27230
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

312 files changed

+81
-27230
lines changed

.github/workflows/release.yml

Lines changed: 23 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,29 @@ on:
66
- "**.**.**"
77

88
jobs:
9+
utils-npm-release:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v2
14+
with:
15+
persist-credentials: false
16+
- name: Setup Node.js
17+
uses: actions/setup-node@v1
18+
with:
19+
node-version: '14.x'
20+
registry-url: 'https://registry.npmjs.org'
21+
- name: Get the version
22+
id: get_version
23+
run: echo ::set-output name=SOURCE_TAG::${GITHUB_REF#refs/tags/}
24+
- run: yarn
25+
- run: yarn workspace @ringcentral-integration/utils release
26+
env:
27+
TRAVIS_TAG: ${{ steps.get_version.outputs.SOURCE_TAG }}
28+
- run: npm publish
29+
working-directory: release/utils
30+
env:
31+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
932
core-npm-release:
1033
runs-on: ubuntu-latest
1134
steps:
@@ -98,23 +121,3 @@ jobs:
98121
working-directory: release/engage-voice-widgets
99122
env:
100123
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
101-
widgets-docs-release:
102-
runs-on: ubuntu-latest
103-
steps:
104-
- name: Checkout
105-
uses: actions/checkout@v2
106-
with:
107-
persist-credentials: false
108-
- name: Setup Node.js
109-
uses: actions/setup-node@v1
110-
with:
111-
node-version: '14.x'
112-
- run: yarn
113-
- run: yarn workspace ringcentral-widgets-docs build
114-
- name: Widgets Docs Release
115-
uses: JamesIves/[email protected]
116-
with:
117-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
118-
BRANCH: gh-pages
119-
FOLDER: packages/ringcentral-widgets-docs/gh-pages
120-
CLEAN: true

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ringcentral-integration/core",
3-
"version": "0.13.0",
3+
"version": "0.14.0",
44
"description": "The foundation package for RingCentral Integration products.",
55
"homepage": "https://github.com/ringcentral/ringcentral-js-widgets/tree/master/packages/core#readme",
66
"bugs": {

packages/engage-voice-widget/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ringcentral-integration/engage-voice-widgets",
3-
"version": "0.13.0",
3+
"version": "0.14.0",
44
"description": "RingCentral Engage Voice Integration Widget Library",
55
"homepage": "https://github.com/ringcentral/ringcentral-js-widgets/tree/master/packages/engage-voice-widgets#readme",
66
"bugs": {
@@ -68,11 +68,11 @@
6868
"jest-html-reporters": "^3.0.8"
6969
},
7070
"peerDependencies": {
71-
"@ringcentral-integration/commons": "^0.13.0",
72-
"@ringcentral-integration/core": "^0.13.0",
71+
"@ringcentral-integration/commons": "^0.14.0",
72+
"@ringcentral-integration/core": "^0.14.0",
7373
"@ringcentral-integration/phone-number": "^1.0.4",
74-
"@ringcentral-integration/utils": "^0.0.1",
75-
"@ringcentral-integration/widgets": "^0.13.0",
74+
"@ringcentral-integration/utils": "^0.14.0",
75+
"@ringcentral-integration/widgets": "^0.14.0",
7676
"@ringcentral/juno": "^2.35.2",
7777
"@ringcentral/juno-icon": "^1.42.0"
7878
},

packages/glip-widgets/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@
4848
"yargs": "^17.1.1"
4949
},
5050
"peerDependencies": {
51-
"@ringcentral-integration/commons": "^0.13.0",
52-
"@ringcentral-integration/core": "^0.13.0",
53-
"@ringcentral-integration/widgets": "^0.13.0",
51+
"@ringcentral-integration/commons": "^0.14.0",
52+
"@ringcentral-integration/core": "^0.14.0",
53+
"@ringcentral-integration/widgets": "^0.14.0",
5454
"react": "^17.0.2",
5555
"react-dom": "^17.0.2",
5656
"react-redux": "^5.1.1",

packages/ringcentral-crius/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ringcentral-integration/crius",
3-
"version": "0.13.0",
3+
"version": "0.14.0",
44
"description": "A test lib based on Crius for RingCentral Integration",
55
"keywords": [],
66
"license": "ISC",

packages/ringcentral-integration/gulpfile.js

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,8 @@ export function compile() {
131131
'!./karma{/**,}',
132132
'!./junit{/**,}',
133133
'!./node_modules{/**,}',
134+
'!./**/*.min.js',
135+
'!./**/pendo.xhr.js',
134136
])
135137
.pipe(
136138
transformLoader({
@@ -143,7 +145,18 @@ export function compile() {
143145
.pipe(gulp.dest(BUILD_PATH));
144146
}
145147

146-
export const build = gulp.series(clean, compile);
148+
export function minifiedFileCopy() {
149+
const localAnalyticFilePath = path.resolve(
150+
__dirname,
151+
'./lib/Analytics',
152+
);
153+
const destPath = path.resolve(BUILD_PATH, './lib/Analytics');
154+
return gulp
155+
.src([`${localAnalyticFilePath}/*.min.js`, `${localAnalyticFilePath}/pendo.xhr.js`])
156+
.pipe(gulp.dest(destPath));
157+
}
158+
159+
export const build = gulp.series(clean, compile, minifiedFileCopy);
147160

148161
async function exec(command) {
149162
return new Promise((resolve, reject) => {

packages/ringcentral-integration/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ringcentral-integration/commons",
3-
"version": "0.13.0",
3+
"version": "0.14.0",
44
"description": "RingCentral Integration Common Javascript Core Library",
55
"homepage": "https://github.com/ringcentral/ringcentral-js-widgets/tree/master/packages/ringcentral-integration#readme",
66
"bugs": {
@@ -121,10 +121,10 @@
121121
"yargs": "^17.1.1"
122122
},
123123
"peerDependencies": {
124-
"@ringcentral-integration/core": "^0.13.0",
124+
"@ringcentral-integration/core": "^0.14.0",
125125
"@ringcentral-integration/i18n": "^2.1.1",
126126
"@ringcentral-integration/phone-number": "^1.0.4",
127-
"@ringcentral-integration/utils": "^0.0.1",
127+
"@ringcentral-integration/utils": "^0.14.0",
128128
"@ringcentral/juno": "^2.35.2",
129129
"@ringcentral/juno-icon": "^1.43.0",
130130
"@ringcentral/sdk": "^4.7.2",

packages/ringcentral-mock/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ringcentral-integration/mock",
3-
"version": "0.13.0",
3+
"version": "0.14.0",
44
"description": "A RingCentral Platform APIs mocking library",
55
"license": "MIT",
66
"author": "",

packages/ringcentral-widgets-cli/templates/Project/package-template.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,12 @@
5858
},
5959
"dependencies": {
6060
"@rc-ex/core": "^1.2.1",
61-
"@ringcentral-integration/commons": "^0.13.0",
62-
"@ringcentral-integration/core": "^0.13.0",
61+
"@ringcentral-integration/commons": "^0.14.0",
62+
"@ringcentral-integration/core": "^0.14.0",
6363
"@ringcentral-integration/i18n": "^2.1.1",
6464
"@ringcentral-integration/phone-number": "^1.0.2",
65-
"@ringcentral-integration/widgets": "^0.13.0",
66-
"@ringcentral-integration/utils": "^0.0.1",
65+
"@ringcentral-integration/widgets": "^0.14.0",
66+
"@ringcentral-integration/utils": "^0.14.0",
6767
"@ringcentral/juno": "^2.35.2",
6868
"@ringcentral/juno-icon": "^1.43.0",
6969
"@ringcentral/sdk": "^4.7.2",

packages/ringcentral-widgets-docs/.gitignore

Lines changed: 0 additions & 4 deletions
This file was deleted.

packages/ringcentral-widgets-docs/README.md

Lines changed: 0 additions & 23 deletions
This file was deleted.

packages/ringcentral-widgets-docs/babel.config.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)