@borrowbetter/arpcsdk 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -4
- package/package.json +64 -53
package/README.md
CHANGED
|
@@ -156,8 +156,13 @@ The typed client (`src/generated/`) is generated from the committed spec (`opena
|
|
|
156
156
|
|
|
157
157
|
## Releasing
|
|
158
158
|
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
159
|
+
Releases are automated via [Changesets](https://github.com/changesets/changesets) + GitHub Actions — no manual publish.
|
|
160
|
+
|
|
161
|
+
1. With your change, add a changeset describing it:
|
|
162
|
+
```bash
|
|
163
|
+
pnpm changeset
|
|
164
|
+
```
|
|
165
|
+
Pick the bump (patch/minor/major) and write a summary. Commit the generated `.changeset/*.md` alongside your code.
|
|
166
|
+
2. Merge to `main`. The **Release** workflow (`.github/workflows/release.yml`) then runs `changeset version` (bumps `package.json` + updates `CHANGELOG.md`, consuming the changeset), commits `chore: version packages`, and publishes to npm.
|
|
162
167
|
|
|
163
|
-
|
|
168
|
+
Publishing uses **npm OIDC trusted publishing** — no `NPM_TOKEN` secret. The trusted-publisher policy on npm is scoped to this repo + the `release.yml` workflow.
|
package/package.json
CHANGED
|
@@ -1,54 +1,65 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
2
|
+
"name": "@borrowbetter/arpcsdk",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "Typed, agnostic client for FDR's ARPC DEX API — Achieve Resolution Partner Connect (Digital Enrollment Experience)",
|
|
5
|
+
"author": "BorrowBetter",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"publishConfig": {
|
|
8
|
+
"access": "public"
|
|
9
|
+
},
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "git+https://github.com/BorrowBetter/arpcsdk.git"
|
|
13
|
+
},
|
|
14
|
+
"homepage": "https://github.com/BorrowBetter/arpcsdk#readme",
|
|
15
|
+
"bugs": {
|
|
16
|
+
"url": "https://github.com/BorrowBetter/arpcsdk/issues"
|
|
17
|
+
},
|
|
18
|
+
"main": "./dist/index.js",
|
|
19
|
+
"module": "./dist/index.mjs",
|
|
20
|
+
"types": "./dist/index.d.ts",
|
|
21
|
+
"exports": {
|
|
22
|
+
".": {
|
|
23
|
+
"types": "./dist/index.d.ts",
|
|
24
|
+
"import": "./dist/index.mjs",
|
|
25
|
+
"require": "./dist/index.js"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"files": [
|
|
29
|
+
"dist"
|
|
30
|
+
],
|
|
31
|
+
"packageManager": "pnpm@10.24.0",
|
|
32
|
+
"scripts": {
|
|
33
|
+
"build": "pnpm codegen && tsup",
|
|
34
|
+
"build:dist": "tsup",
|
|
35
|
+
"codegen": "orval --config codegen.ts",
|
|
36
|
+
"dev": "tsup --watch",
|
|
37
|
+
"typecheck": "tsc --noEmit",
|
|
38
|
+
"typecheck:scripts": "tsc --noEmit --project scripts/tsconfig.json",
|
|
39
|
+
"smoke": "tsx scripts/smoke.ts",
|
|
40
|
+
"prepublishOnly": "pnpm build",
|
|
41
|
+
"lint": "biome check",
|
|
42
|
+
"format": "biome check --write --unsafe",
|
|
43
|
+
"format:check": "biome ci",
|
|
44
|
+
"changeset": "changeset",
|
|
45
|
+
"version": "changeset version",
|
|
46
|
+
"release": "pnpm build && changeset publish"
|
|
47
|
+
},
|
|
48
|
+
"dependencies": {
|
|
49
|
+
"ky": "^1.7.4"
|
|
50
|
+
},
|
|
51
|
+
"devDependencies": {
|
|
52
|
+
"@biomejs/biome": "^2.4.4",
|
|
53
|
+
"@changesets/changelog-github": "^0.5.0",
|
|
54
|
+
"@changesets/cli": "^2.27.0",
|
|
55
|
+
"@types/node": "^22.10.5",
|
|
56
|
+
"dotenv-flow": "^4.1.0",
|
|
57
|
+
"orval": "^7.13.0",
|
|
58
|
+
"tsup": "^8.0.0",
|
|
59
|
+
"tsx": "^4.21.0",
|
|
60
|
+
"typescript": "^5.7.3"
|
|
61
|
+
},
|
|
62
|
+
"engines": {
|
|
63
|
+
"node": ">=18"
|
|
64
|
+
}
|
|
65
|
+
}
|