Skip to content

Commit acd7680

Browse files
🌿 Fern Regeneration -- October 3, 2025 (anduril#137)
Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Co-authored-by: dogun-anduril <[email protected]>
1 parent d1c5a00 commit acd7680

32 files changed

+2341
-3683
lines changed

.github/workflows/ci.yml

Lines changed: 70 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -3,55 +3,73 @@ name: ci
33
on: [push]
44

55
jobs:
6-
compile:
7-
runs-on: ubuntu-latest
8-
9-
steps:
10-
- name: Checkout repo
11-
uses: actions/checkout@v4
12-
13-
- name: Set up node
14-
uses: actions/setup-node@v3
15-
16-
- name: Compile
17-
run: yarn && yarn build
18-
19-
test:
20-
runs-on: ubuntu-latest
21-
22-
steps:
23-
- name: Checkout repo
24-
uses: actions/checkout@v4
25-
26-
- name: Set up node
27-
uses: actions/setup-node@v3
28-
29-
- name: Compile
30-
run: yarn && yarn test
31-
32-
publish:
33-
needs: [ compile, test ]
34-
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
35-
runs-on: ubuntu-latest
36-
steps:
37-
- name: Checkout repo
38-
uses: actions/checkout@v4
39-
- name: Set up node
40-
uses: actions/setup-node@v3
41-
- name: Install dependencies
42-
run: yarn install
43-
- name: Build
44-
run: yarn build
45-
46-
- name: Publish to npm
47-
run: |
48-
npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN}
49-
if [[ ${GITHUB_REF} == *alpha* ]]; then
50-
npm publish --access public --tag alpha
51-
elif [[ ${GITHUB_REF} == *beta* ]]; then
52-
npm publish --access public --tag beta
53-
else
54-
npm publish --access public
55-
fi
56-
env:
57-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
6+
compile:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- name: Checkout repo
11+
uses: actions/checkout@v4
12+
13+
- name: Set up node
14+
uses: actions/setup-node@v3
15+
16+
- name: Install pnpm
17+
uses: pnpm/action-setup@v4
18+
19+
- name: Install dependencies
20+
run: pnpm install
21+
22+
- name: Compile
23+
run: pnpm build
24+
25+
test:
26+
runs-on: ubuntu-latest
27+
28+
steps:
29+
- name: Checkout repo
30+
uses: actions/checkout@v4
31+
32+
- name: Set up node
33+
uses: actions/setup-node@v3
34+
35+
- name: Install pnpm
36+
uses: pnpm/action-setup@v4
37+
38+
- name: Install dependencies
39+
run: pnpm install
40+
41+
- name: Test
42+
run: pnpm test
43+
44+
publish:
45+
needs: [compile, test]
46+
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
47+
runs-on: ubuntu-latest
48+
steps:
49+
- name: Checkout repo
50+
uses: actions/checkout@v4
51+
52+
- name: Set up node
53+
uses: actions/setup-node@v3
54+
55+
- name: Install pnpm
56+
uses: pnpm/action-setup@v4
57+
58+
- name: Install dependencies
59+
run: pnpm install
60+
61+
- name: Build
62+
run: pnpm build
63+
64+
- name: Publish to npm
65+
run: |
66+
npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN}
67+
if [[ ${GITHUB_REF} == *alpha* ]]; then
68+
npm publish --access public --tag alpha
69+
elif [[ ${GITHUB_REF} == *beta* ]]; then
70+
npm publish --access public --tag beta
71+
else
72+
npm publish --access public
73+
fi
74+
env:
75+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.prettierignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
dist
2+
*.tsbuildinfo
3+
_tmp_*
4+
*.tmp
5+
.tmp/
6+
*.log
7+
.DS_Store
8+
Thumbs.db
9+

jest.config.mjs

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

package.json

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@anduril-industries/lattice-sdk",
3-
"version": "2.3.0",
3+
"version": "2.4.0",
44
"private": false,
55
"repository": "github:anduril/lattice-sdk-javascript",
66
"license": "See LICENSE",
@@ -31,23 +31,18 @@
3131
],
3232
"scripts": {
3333
"format": "prettier . --write --ignore-unknown",
34-
"build": "yarn build:cjs && yarn build:esm",
34+
"build": "pnpm build:cjs && pnpm build:esm",
3535
"build:cjs": "tsc --project ./tsconfig.cjs.json",
3636
"build:esm": "tsc --project ./tsconfig.esm.json && node scripts/rename-to-esm-files.js dist/esm",
37-
"test": "jest --config jest.config.mjs",
38-
"test:unit": "jest --selectProjects unit",
39-
"test:browser": "jest --selectProjects browser",
40-
"test:wire": "jest --selectProjects wire"
37+
"test": "vitest",
38+
"test:unit": "vitest --project unit",
39+
"test:wire": "vitest --project wire"
4140
},
4241
"devDependencies": {
4342
"webpack": "^5.97.1",
4443
"ts-loader": "^9.5.1",
45-
"jest": "^29.7.0",
46-
"@jest/globals": "^29.7.0",
47-
"@types/jest": "^29.5.14",
48-
"ts-jest": "^29.3.4",
49-
"jest-environment-jsdom": "^29.7.0",
50-
"msw": "^2.8.4",
44+
"vitest": "^3.2.4",
45+
"msw": "2.11.2",
5146
"@types/node": "^18.19.70",
5247
"prettier": "^3.4.2",
5348
"typescript": "~5.7.2"
@@ -58,7 +53,7 @@
5853
"path": false,
5954
"stream": false
6055
},
61-
"packageManager": "[email protected]",
56+
"packageManager": "[email protected]",
6257
"engines": {
6358
"node": ">=18.0.0"
6459
},

0 commit comments

Comments
 (0)