@oasis-gen/darwin-x64 0.1.0 → 0.1.2

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 CHANGED
@@ -46,7 +46,7 @@ npm install --save-dev oasis-gen
46
46
  ```
47
47
 
48
48
  The CLI and the generated client need Node.js 24 or later. The client also
49
- runs in browsers, Deno, and Bun, and type-checks with TypeScript 5.0 or later.
49
+ runs in browsers and Bun, and type-checks with TypeScript 5.0 or later.
50
50
 
51
51
  The package ships prebuilt binaries for macOS, Linux, and Windows, on arm64
52
52
  and x64. npm installs only the one for your platform. Archives are also
@@ -74,29 +74,10 @@ cargo install --git https://github.com/22mb/oasis
74
74
 
75
75
  Changes in each release are listed in [CHANGELOG.md](CHANGELOG.md).
76
76
 
77
- ## Design
77
+ ## Contributing
78
78
 
79
- ```
80
- JSON/YAML files ──Documents──▶ serde_json::Value per file ──parse──▶ ir::Api ──emit──▶ TypeScript
81
- ```
82
-
83
- `src/documents.rs` loads the entry document and every local file it references,
84
- and resolves URI references (base URIs from `$self` and `$id`). `src/parse.rs`
85
- handles everything about the OpenAPI document (`$ref` resolution, version
86
- check, validation) and produces a language-neutral IR (`src/ir.rs`). Schemas
87
- behind `$ref`s outside `components.schemas` are hoisted into named schemas
88
- once, so references stay references and recursion is cheap. Emitters only
89
- translate the IR. Adding a target language means adding one emitter next to
90
- `src/typescript.rs`. The IR is public but not yet stable.
91
-
92
- ## Development
93
-
94
- ```sh
95
- cargo test # unit tests and golden files
96
- UPDATE_GOLDEN=1 cargo test # regenerate tests/golden after an intended change
97
- cd tests/ts && npm ci && npm test # type-check and run the generated client against a test server
98
- cd site && npm ci && npm run dev # the documentation site
99
- ```
79
+ See [CONTRIBUTING.md](CONTRIBUTING.md) for the development setup and the
80
+ design of the generator.
100
81
 
101
82
  ## License
102
83
 
package/bin/oasis-gen CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oasis-gen/darwin-x64",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "The oasis-gen binary for darwin-x64",
5
5
  "license": "MIT OR Apache-2.0",
6
6
  "repository": {