@brightoutcome/guidistry-client 0.0.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/package.json CHANGED
@@ -1,7 +1,52 @@
1
1
  {
2
2
  "name": "@brightoutcome/guidistry-client",
3
- "version": "0.0.0",
4
- "description": "Placeholder for the Guidistry API client. Not for use; real releases start at 0.1.0.",
3
+ "version": "0.1.1",
4
+ "description": "Typed client and sign-in helpers for the Guidistry API",
5
5
  "license": "UNLICENSED",
6
- "repository": { "type": "git", "url": "git+https://github.com/BrightOutcome-Inc/guidistry.git" }
6
+ "type": "module",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/BrightOutcome-Inc/guidistry.git",
10
+ "directory": "clients/typescript"
11
+ },
12
+ "homepage": "https://github.com/BrightOutcome-Inc/guidistry/tree/main/clients/typescript#readme",
13
+ "exports": {
14
+ ".": {
15
+ "types": "./dist/index.d.ts",
16
+ "import": "./dist/index.js"
17
+ },
18
+ "./auth": {
19
+ "types": "./dist/auth.d.ts",
20
+ "import": "./dist/auth.js"
21
+ }
22
+ },
23
+ "files": [
24
+ "dist",
25
+ "README.md"
26
+ ],
27
+ "sideEffects": false,
28
+ "scripts": {
29
+ "generate": "openapi-typescript ../../openapi/guidistry.json -o src/schema.d.ts",
30
+ "check-generated": "openapi-typescript ../../openapi/guidistry.json -o /tmp/guidistry-schema.d.ts && diff -u src/schema.d.ts /tmp/guidistry-schema.d.ts",
31
+ "typecheck": "tsc --noEmit",
32
+ "test": "vitest run",
33
+ "build": "rm -rf dist && tsc -p tsconfig.build.json && cp src/schema.d.ts dist/schema.d.ts"
34
+ },
35
+ "dependencies": {
36
+ "openapi-fetch": "^0.17.0"
37
+ },
38
+ "peerDependencies": {
39
+ "aws-amplify": "^6.10.0"
40
+ },
41
+ "peerDependenciesMeta": {
42
+ "aws-amplify": {
43
+ "optional": true
44
+ }
45
+ },
46
+ "devDependencies": {
47
+ "aws-amplify": "^6.22.2",
48
+ "openapi-typescript": "^7.13.0",
49
+ "typescript": "^5.9.3",
50
+ "vitest": "^5.0.4"
51
+ }
7
52
  }