Skip to content

Commit 15027f8

Browse files
committed
SDK regeneration
1 parent b0c59f8 commit 15027f8

File tree

103 files changed

+6853
-3597
lines changed

Some content is hidden

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

103 files changed

+6853
-3597
lines changed

.github/workflows/ci.yml

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,15 @@ jobs:
1313
- name: Set up node
1414
uses: actions/setup-node@v3
1515

16+
- uses: pnpm/action-setup@v4
17+
with:
18+
version: 10
19+
20+
- name: Install dependencies
21+
run: pnpm install
22+
1623
- name: Compile
17-
run: yarn && yarn build
24+
run: pnpm build
1825

1926
test:
2027
runs-on: ubuntu-latest
@@ -25,9 +32,16 @@ jobs:
2532

2633
- name: Set up node
2734
uses: actions/setup-node@v3
35+
36+
- uses: pnpm/action-setup@v4
37+
with:
38+
version: 10
2839

29-
- name: Compile
30-
run: yarn && yarn test
40+
- name: Install dependencies
41+
run: pnpm install
42+
43+
- name: Test
44+
run: pnpm test
3145

3246
publish:
3347
needs: [ compile, test ]
@@ -36,12 +50,19 @@ jobs:
3650
steps:
3751
- name: Checkout repo
3852
uses: actions/checkout@v4
53+
3954
- name: Set up node
4055
uses: actions/setup-node@v3
56+
57+
- uses: pnpm/action-setup@v4
58+
with:
59+
version: 10
60+
4161
- name: Install dependencies
42-
run: yarn install
62+
run: pnpm install
63+
4364
- name: Build
44-
run: yarn build
65+
run: pnpm build
4566

4667
- name: Publish to npm
4768
run: |

LICENSE

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

jest.config.mjs

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

package.json

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "phenoml",
3-
"version": "0.0.3",
3+
"version": "0.0.4",
44
"private": false,
55
"repository": "github:phenoml/phenoml-ts-sdk",
66
"type": "commonjs",
@@ -30,22 +30,17 @@
3030
],
3131
"scripts": {
3232
"format": "prettier . --write --ignore-unknown",
33-
"build": "yarn build:cjs && yarn build:esm",
33+
"build": "pnpm build:cjs && pnpm build:esm",
3434
"build:cjs": "tsc --project ./tsconfig.cjs.json",
3535
"build:esm": "tsc --project ./tsconfig.esm.json && node scripts/rename-to-esm-files.js dist/esm",
36-
"test": "jest --config jest.config.mjs",
37-
"test:unit": "jest --selectProjects unit",
38-
"test:browser": "jest --selectProjects browser",
39-
"test:wire": "jest --selectProjects wire"
36+
"test": "vitest",
37+
"test:unit": "vitest --project unit",
38+
"test:wire": "vitest --project wire"
4039
},
4140
"devDependencies": {
4241
"webpack": "^5.97.1",
4342
"ts-loader": "^9.5.1",
44-
"jest": "^29.7.0",
45-
"@jest/globals": "^29.7.0",
46-
"@types/jest": "^29.5.14",
47-
"ts-jest": "^29.3.4",
48-
"jest-environment-jsdom": "^29.7.0",
43+
"vitest": "^3.2.4",
4944
"msw": "^2.8.4",
5045
"@types/node": "^18.19.70",
5146
"prettier": "^3.4.2",
@@ -57,7 +52,7 @@
5752
"path": false,
5853
"stream": false
5954
},
60-
"packageManager": "[email protected]",
55+
"packageManager": "[email protected]",
6156
"engines": {
6257
"node": ">=18.0.0"
6358
},

0 commit comments

Comments
 (0)