@workos/oagen-emitters 0.0.1 → 0.2.0
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/.github/workflows/release-please.yml +9 -1
- package/.husky/commit-msg +0 -0
- package/.husky/pre-commit +1 -0
- package/.husky/pre-push +1 -0
- package/.prettierignore +1 -0
- package/.release-please-manifest.json +3 -0
- package/.vscode/settings.json +3 -0
- package/CHANGELOG.md +54 -0
- package/README.md +2 -2
- package/dist/index.d.mts +7 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +3522 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +14 -18
- package/release-please-config.json +11 -0
- package/src/node/client.ts +437 -204
- package/src/node/common.ts +74 -4
- package/src/node/config.ts +1 -0
- package/src/node/enums.ts +50 -6
- package/src/node/errors.ts +78 -3
- package/src/node/fixtures.ts +84 -15
- package/src/node/index.ts +2 -2
- package/src/node/manifest.ts +4 -2
- package/src/node/models.ts +195 -79
- package/src/node/naming.ts +16 -1
- package/src/node/resources.ts +721 -106
- package/src/node/serializers.ts +510 -52
- package/src/node/tests.ts +621 -105
- package/src/node/type-map.ts +89 -11
- package/src/node/utils.ts +377 -114
- package/test/node/client.test.ts +979 -15
- package/test/node/enums.test.ts +0 -1
- package/test/node/errors.test.ts +4 -21
- package/test/node/models.test.ts +409 -2
- package/test/node/naming.test.ts +0 -3
- package/test/node/resources.test.ts +964 -7
- package/test/node/serializers.test.ts +212 -3
- package/tsconfig.json +2 -3
- package/{tsup.config.ts → tsdown.config.ts} +1 -1
- package/dist/index.d.ts +0 -5
- package/dist/index.js +0 -2158
|
@@ -4,6 +4,7 @@ on:
|
|
|
4
4
|
push:
|
|
5
5
|
branches:
|
|
6
6
|
- main
|
|
7
|
+
workflow_dispatch:
|
|
7
8
|
|
|
8
9
|
permissions:
|
|
9
10
|
contents: write
|
|
@@ -17,10 +18,17 @@ jobs:
|
|
|
17
18
|
release_created: ${{ steps.release.outputs.release_created }}
|
|
18
19
|
tag_name: ${{ steps.release.outputs.tag_name }}
|
|
19
20
|
steps:
|
|
21
|
+
- name: Generate token
|
|
22
|
+
id: generate-token
|
|
23
|
+
uses: actions/create-github-app-token@f8d387b68d61c58ab83c6c016672934102569859 # v3.0.0
|
|
24
|
+
with:
|
|
25
|
+
app-id: ${{ vars.SDK_BOT_APP_ID }}
|
|
26
|
+
private-key: ${{ secrets.SDK_BOT_PRIVATE_KEY }}
|
|
27
|
+
|
|
20
28
|
- uses: googleapis/release-please-action@16a9c90856f42705d54a6fda1823352bdc62cf38 # v4.4.0
|
|
21
29
|
id: release
|
|
22
30
|
with:
|
|
23
|
-
token: ${{
|
|
31
|
+
token: ${{ steps.generate-token.outputs.token }}
|
|
24
32
|
|
|
25
33
|
publish:
|
|
26
34
|
needs: release-please
|
package/.husky/commit-msg
CHANGED
|
File without changes
|
package/.husky/pre-commit
CHANGED
package/.husky/pre-push
CHANGED
package/.prettierignore
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
CHANGELOG.md
|
package/.vscode/settings.json
CHANGED
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## [0.2.0](https://github.com/workos/oagen-emitters/compare/v0.1.1...v0.2.0) (2026-03-25)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **node:** resolve Node emitter generation correctness, typing, and test coverage gapsCorrections ([#5](https://github.com/workos/oagen-emitters/issues/5)) ([8061bb4](https://github.com/workos/oagen-emitters/commit/8061bb41c993d4a4db6df91e35721f87e476010a))
|
|
9
|
+
|
|
10
|
+
## [0.1.1](https://github.com/workos/oagen-emitters/compare/v0.1.0...v0.1.1) (2026-03-23)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* add repository url to package.json for npm provenance ([b6ecff3](https://github.com/workos/oagen-emitters/commit/b6ecff3684721e4340d0748ed19ea7ec31dcab4f))
|
|
16
|
+
* force fixed oagen ([#4](https://github.com/workos/oagen-emitters/issues/4)) ([ede66c3](https://github.com/workos/oagen-emitters/commit/ede66c3e928c9e9c647755e47c741448bcfa7a2c))
|
|
17
|
+
|
|
18
|
+
## [0.1.0](https://github.com/workos/oagen-emitters/compare/v0.0.1...v0.1.0) (2026-03-23)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Features
|
|
22
|
+
|
|
23
|
+
* add all the commands ([007fe1d](https://github.com/workos/oagen-emitters/commit/007fe1de39ed3a6805ad757040bf6bac8a8ce2a8))
|
|
24
|
+
* add foundational extractors and smoke tests ([0f637a3](https://github.com/workos/oagen-emitters/commit/0f637a330536e073ab6a926040bc10bcc6126848))
|
|
25
|
+
* client fixes ([#1](https://github.com/workos/oagen-emitters/issues/1)) ([3be4eaa](https://github.com/workos/oagen-emitters/commit/3be4eaa826dd6f0e0166fbdc60126814ec0c82d4))
|
|
26
|
+
* **node:** add full IR field parity for docs and annotations ([a6b1ce6](https://github.com/workos/oagen-emitters/commit/a6b1ce6bc80306d61b812008b077ab9a600cafea))
|
|
27
|
+
* **node:** emit [@throws](https://github.com/throws) JSDoc tags from operation error responses ([0ddab44](https://github.com/workos/oagen-emitters/commit/0ddab44365fcba7efd2ef81cdeab782e27471839))
|
|
28
|
+
* **node:** enhance generated test quality with body, field, and error assertions ([3029642](https://github.com/workos/oagen-emitters/commit/30296427eda26b3dd7c1b2ab2a236fe65581276e))
|
|
29
|
+
* **node:** handle multiline docstrings and [@deprecated](https://github.com/deprecated) across all IR types ([53c3bb2](https://github.com/workos/oagen-emitters/commit/53c3bb20d23faabd676fbb1ecfb7adb3eb64e9f5))
|
|
30
|
+
* **node:** remove file header and add [@param](https://github.com/param) tags to method docstrings ([8680da2](https://github.com/workos/oagen-emitters/commit/8680da28e42a7a18c0303622b6df2a1f8470ac58))
|
|
31
|
+
* **node:** use overlay-resolved service names across all emitter modules ([550d13f](https://github.com/workos/oagen-emitters/commit/550d13f50a9e83d5c7c9fbc8a7d2b7fbf01fed79))
|
|
32
|
+
* **smoke:** apply wave-based planning to Go/Rust/Kotlin/DotNet/Elixir runners ([7677831](https://github.com/workos/oagen-emitters/commit/7677831df5fd7933eca63371b7392650f35b2668))
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
### Bug Fixes
|
|
36
|
+
|
|
37
|
+
* add .prettierignore to exclude auto-generated CHANGELOG.md ([ee61899](https://github.com/workos/oagen-emitters/commit/ee6189965188b1e5ad2bcdb6c09d9828221eecb4))
|
|
38
|
+
* align test fixtures with current oagen EmitterContext and IR types ([ee85034](https://github.com/workos/oagen-emitters/commit/ee850341e7b132c1ea6df82d1ac8394811ac1e3c))
|
|
39
|
+
* change package name ([40d6a7d](https://github.com/workos/oagen-emitters/commit/40d6a7d93465f29bfc6ba0f6ea1a2982820b4452))
|
|
40
|
+
* lint ([4691e33](https://github.com/workos/oagen-emitters/commit/4691e33d8e181507c8871f14f018b61a08b7ed5b))
|
|
41
|
+
* **node:** avoid ResponseResponse stutter with wireInterfaceName helper ([7c1d2de](https://github.com/workos/oagen-emitters/commit/7c1d2de367177e10662308423b76d5627c06a0c3))
|
|
42
|
+
* **node:** fall through to non-paginated rendering when response has no named model ([1a6562e](https://github.com/workos/oagen-emitters/commit/1a6562edad5ea59ede95b8269d93fbaf3937fdba))
|
|
43
|
+
* **node:** fix paginated path params, duplicate returns, missing imports, and untyped payloads ([f57f5df](https://github.com/workos/oagen-emitters/commit/f57f5dfaaaae6e65166af27d5ffcd987411f2388))
|
|
44
|
+
* **node:** guard against null responseModel in paginated method generation ([5555023](https://github.com/workos/oagen-emitters/commit/55550234e076af604c9234a047c476c115501f18))
|
|
45
|
+
* **node:** mark scaffold-only files with integrateTarget: false ([546cd58](https://github.com/workos/oagen-emitters/commit/546cd5839a6a719690cec91694f162898e367272))
|
|
46
|
+
* rename ([d1bcf84](https://github.com/workos/oagen-emitters/commit/d1bcf84e6cffd6e6d509173a0e0631a402ca701d))
|
|
47
|
+
* simple fix for HTTP verbs ([1cbef9f](https://github.com/workos/oagen-emitters/commit/1cbef9f3b6cafc301c51aa1316c3596df02faae0))
|
|
48
|
+
* these were (temporarily) removed ([12c98d7](https://github.com/workos/oagen-emitters/commit/12c98d700507a4e921cf9c3769c7981c6c9942c4))
|
|
49
|
+
* update workflow to use proper token ([1074afc](https://github.com/workos/oagen-emitters/commit/1074afce953c565389cbb0d95c99d81e2b7aef2b))
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
### Reverts
|
|
53
|
+
|
|
54
|
+
* **node:** restore auto-generated file header ([32738ea](https://github.com/workos/oagen-emitters/commit/32738eababbd0fac903c2d7a68f5a59e24d39e6d))
|
package/README.md
CHANGED
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/node/index.ts"],"mappings":";;;cAaa,WAAA,EAAa,OAAA"}
|