@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.
Files changed (2) hide show
  1. package/README.md +9 -4
  2. 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
- ```bash
160
- ./publish.sh <npm-otp> [patch|minor|major]
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
- Requires a clean tree on `main` and an npm login. Typechecks, builds, bumps the version, tags, pushes, and publishes `@borrowbetter/arpcsdk`.
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
- "name": "@borrowbetter/arpcsdk",
3
- "version": "0.1.0",
4
- "description": "Typed, agnostic client for FDR's ARPC DEX API — Achieve Resolution Partner Connect (Digital Enrollment Experience)",
5
- "license": "MIT",
6
- "publishConfig": {
7
- "access": "public"
8
- },
9
- "repository": {
10
- "type": "git",
11
- "url": "git+https://github.com/BorrowBetter/arpcsdk.git"
12
- },
13
- "homepage": "https://github.com/BorrowBetter/arpcsdk#readme",
14
- "main": "./dist/index.js",
15
- "module": "./dist/index.mjs",
16
- "types": "./dist/index.d.ts",
17
- "exports": {
18
- ".": {
19
- "types": "./dist/index.d.ts",
20
- "import": "./dist/index.mjs",
21
- "require": "./dist/index.js"
22
- }
23
- },
24
- "files": [
25
- "dist"
26
- ],
27
- "dependencies": {
28
- "ky": "^1.7.4"
29
- },
30
- "devDependencies": {
31
- "@biomejs/biome": "^2.4.4",
32
- "@types/node": "^22.10.5",
33
- "dotenv-flow": "^4.1.0",
34
- "orval": "^7.13.0",
35
- "tsup": "^8.0.0",
36
- "tsx": "^4.21.0",
37
- "typescript": "^5.7.3"
38
- },
39
- "engines": {
40
- "node": ">=18"
41
- },
42
- "scripts": {
43
- "build": "pnpm codegen && tsup",
44
- "build:dist": "tsup",
45
- "codegen": "orval --config codegen.ts",
46
- "dev": "tsup --watch",
47
- "typecheck": "tsc --noEmit",
48
- "typecheck:scripts": "tsc --noEmit --project scripts/tsconfig.json",
49
- "smoke": "tsx scripts/smoke.ts",
50
- "lint": "biome check",
51
- "format": "biome check --write --unsafe",
52
- "format:check": "biome ci"
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
+ }