@pikku/openapi-parser 0.12.17 → 0.12.19

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/CHANGELOG.md CHANGED
@@ -1,5 +1,37 @@
1
1
  # @pikku/openapi-parser
2
2
 
3
+ ## 0.12.19
4
+
5
+ ### Patch Changes
6
+
7
+ - a7fcd2e: Declare dependencies that were imported but missing from `package.json`
8
+
9
+ `@pikku/openapi-parser` and `@pikku/better-auth` imported `zod`, `@pikku/next`
10
+ imported `path-to-regexp`, `@pikku/cli` imported `kysely`, and
11
+ `@pikku/assistant-ui` imported `rxjs`, none of which were declared. Each
12
+ resolved through Yarn hoisting inside the monorepo and would fail for anyone
13
+ installing the package on its own.
14
+
15
+ `rxjs`, `kysely` and `path-to-regexp` reach consumers through public
16
+ signatures — `Observable<BaseEvent>` is the return type of a published method,
17
+ and `createCoercionPlugin` returns a `KyselyPlugin` — so they are runtime
18
+ dependencies rather than build-only ones.
19
+
20
+ `@pikku/assistant-ui` pins `rxjs` to the exact `7.8.1` that `@ag-ui/client`
21
+ pins, rather than a caret range. The two packages exchange `Observable`s, so a
22
+ range that floats to a second copy gives them two incompatible `Observable`
23
+ types.
24
+
25
+ `@pikku/kysely` also drops `SqliteSerializePlugin`, an alias of
26
+ `SerializePlugin` that has been marked `@deprecated` in favour of it. Use
27
+ `SerializePlugin`.
28
+
29
+ ## 0.12.18
30
+
31
+ ### Patch Changes
32
+
33
+ - fd9d834: Stop publishing internals that only their own package or file used. The declarations stay; only the entrypoint re-export is removed, so nothing that imported a name from where it is declared is affected.
34
+
3
35
  ## 0.12.17
4
36
 
5
37
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- export { parseOpenAPISpec, computeContractHash, type ParsedSpec, type ParsedOperation, type ParsedParam, type ErrorResponse, type SecuritySchemeInfo, } from './parse-openapi.js';
1
+ export { parseOpenAPISpec, computeContractHash, type ParsedSpec, } from './parse-openapi.js';
2
2
  export { generateAddonFromOpenAPI } from './codegen.js';
3
- export { AuthConfigSchema, DelegatedLoginSchema, loadAuthConfig, authHeaderValue, type AuthConfig, type DelegatedLoginConfig, } from './auth-config.js';
4
- export { generateOperationNames, detectCommonPrefix, type NamedOperation, } from './naming.js';
5
- export { type OpenAPISchema, type ZodCodegenContext, createContext, schemaToZod, schemaVarName, sanitizeTypeName, snakeToCamel, } from './openapi-to-zod-schema.js';
3
+ export { loadAuthConfig, type AuthConfig, type DelegatedLoginConfig, } from './auth-config.js';
4
+ export { type NamedOperation, } from './naming.js';
5
+ export { type OpenAPISchema, type ZodCodegenContext, createContext, schemaToZod, schemaVarName, sanitizeTypeName, } from './openapi-to-zod-schema.js';
package/dist/index.js CHANGED
@@ -1,5 +1,4 @@
1
1
  export { parseOpenAPISpec, computeContractHash, } from './parse-openapi.js';
2
2
  export { generateAddonFromOpenAPI } from './codegen.js';
3
- export { AuthConfigSchema, DelegatedLoginSchema, loadAuthConfig, authHeaderValue, } from './auth-config.js';
4
- export { generateOperationNames, detectCommonPrefix, } from './naming.js';
5
- export { createContext, schemaToZod, schemaVarName, sanitizeTypeName, snakeToCamel, } from './openapi-to-zod-schema.js';
3
+ export { loadAuthConfig, } from './auth-config.js';
4
+ export { createContext, schemaToZod, schemaVarName, sanitizeTypeName, } from './openapi-to-zod-schema.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pikku/openapi-parser",
3
- "version": "0.12.17",
3
+ "version": "0.12.19",
4
4
  "description": "OpenAPI spec parser and code generator for Pikku",
5
5
  "author": "yasser.fadl@gmail.com",
6
6
  "license": "MIT",
@@ -18,7 +18,8 @@
18
18
  ".": "./dist/index.js"
19
19
  },
20
20
  "dependencies": {
21
- "yaml": "^2.7.1"
21
+ "yaml": "^2.7.1",
22
+ "zod": "^4"
22
23
  },
23
24
  "devDependencies": {
24
25
  "typescript": "^6.0.3"
package/src/index.ts CHANGED
@@ -2,26 +2,17 @@ export {
2
2
  parseOpenAPISpec,
3
3
  computeContractHash,
4
4
  type ParsedSpec,
5
- type ParsedOperation,
6
- type ParsedParam,
7
- type ErrorResponse,
8
- type SecuritySchemeInfo,
9
5
  } from './parse-openapi.js'
10
6
 
11
7
  export { generateAddonFromOpenAPI } from './codegen.js'
12
8
 
13
9
  export {
14
- AuthConfigSchema,
15
- DelegatedLoginSchema,
16
10
  loadAuthConfig,
17
- authHeaderValue,
18
11
  type AuthConfig,
19
12
  type DelegatedLoginConfig,
20
13
  } from './auth-config.js'
21
14
 
22
15
  export {
23
- generateOperationNames,
24
- detectCommonPrefix,
25
16
  type NamedOperation,
26
17
  } from './naming.js'
27
18
 
@@ -32,5 +23,4 @@ export {
32
23
  schemaToZod,
33
24
  schemaVarName,
34
25
  sanitizeTypeName,
35
- snakeToCamel,
36
26
  } from './openapi-to-zod-schema.js'