Skip to content

Commit 5f20d9f

Browse files
authored
Use npm and vitest (#2)
1 parent 10d7ac2 commit 5f20d9f

File tree

68 files changed

+12309
-8699
lines changed

Some content is hidden

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

68 files changed

+12309
-8699
lines changed

.eslintrc.json

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

.github/workflows/on-push.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ jobs:
1010
- name: Setup Node
1111
uses: actions/setup-node@v4
1212
with:
13-
node-version: 16.x
14-
- run: yarn
15-
- run: yarn lint
13+
node-version: 18.x
14+
- run: npm install
15+
- run: npm run lint
1616
env:
1717
CI: true
1818

@@ -23,10 +23,10 @@ jobs:
2323
- name: Setup Node
2424
uses: actions/setup-node@v4
2525
with:
26-
node-version: 16.x
27-
- run: yarn
28-
- run: yarn build
29-
- run: yarn test
26+
node-version: 18.x
27+
- run: npm install
28+
- run: npm run build
29+
- run: npm run test
3030

3131
test-building-docs:
3232
runs-on: ubuntu-latest
@@ -35,10 +35,10 @@ jobs:
3535
- name: Setup Node
3636
uses: actions/setup-node@v4
3737
with:
38-
node-version: 16.x
39-
- run: yarn
40-
- run: yarn build
41-
- run: yarn build:docs
38+
node-version: 18.x
39+
- run: npm install
40+
- run: npm run build
41+
- run: npm run build:docs
4242

4343
test-examples:
4444
runs-on: ubuntu-latest
@@ -47,14 +47,14 @@ jobs:
4747
- name: Setup Node
4848
uses: actions/setup-node@v4
4949
with:
50-
node-version: 16.x
51-
- run: yarn
52-
- run: yarn build
53-
- run: cd examples/api && yarn test:js
50+
node-version: 18.x
51+
- run: npm install
52+
- run: npm run build
53+
- run: cd examples/api && npm run test:js
5454
env:
5555
DEPLOYMENT_ID: ${{ secrets.DEPLOYMENT_ID }}
5656
REGION: ${{ secrets.REGION }}
57-
- run: cd examples/api && yarn test:ts
57+
- run: cd examples/api && npm run test:ts
5858
env:
5959
DEPLOYMENT_ID: ${{ secrets.DEPLOYMENT_ID }}
6060
REGION: ${{ secrets.REGION }}

.github/workflows/on-release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ jobs:
99
- uses: actions/checkout@v4
1010
- uses: actions/setup-node@v4
1111
with:
12-
node-version: '16.x'
12+
node-version: '18.x'
1313
registry-url: 'https://registry.npmjs.org'
1414
scope: '@makingchatbots'
15-
- run: yarn
16-
- run: yarn build
17-
- run: yarn test
18-
- run: yarn publish
15+
- run: npm install
16+
- run: npm run build
17+
- run: npm run test
18+
- run: npm run publish
1919
env:
20-
YARN_NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
20+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.gitignore

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
logs
33
*.log
44
npm-debug.log*
5-
yarn-debug.log*
6-
yarn-error.log*
7-
lerna-debug.log*
85

96
# Diagnostic reports (https://nodejs.org/api/report.html)
107
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
@@ -65,9 +62,6 @@ typings/
6562
# Output of 'npm pack'
6663
*.tgz
6764

68-
# Yarn Integrity file
69-
.yarn-integrity
70-
7165
# dotenv environment variables file
7266
.env
7367
.env.test
@@ -104,11 +98,3 @@ dist
10498
.tern-port
10599

106100
lib
107-
108-
.yarn/*
109-
!.yarn/patches
110-
!.yarn/releases
111-
!.yarn/plugins
112-
!.yarn/sdks
113-
!.yarn/versions
114-
.pnp.*

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
16.20.1
1+
22.18.0

.yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs

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

.yarn/releases/yarn-3.1.1.cjs

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

.yarnrc.yml

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

docs/api/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
**Genesys Web Messaging Tester****Docs**
1+
**Genesys Web Messaging Tester**
22

33
***
44

0 commit comments

Comments
 (0)