@natsuneko-laboratory/archon 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.
- package/dist/cli.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/{src-Cl_D_2eC.js → src-B16UxrE4.js} +1 -1
- package/package.json +12 -11
package/dist/cli.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { y as ArchonError } from "./code-writer-DSyoTysA.js";
|
|
3
|
-
import { n as generate, o as findConfigFile, s as loadConfigFile, t as version } from "./src-
|
|
3
|
+
import { n as generate, o as findConfigFile, s as loadConfigFile, t as version } from "./src-B16UxrE4.js";
|
|
4
4
|
import { existsSync, realpathSync } from "node:fs";
|
|
5
5
|
import { dirname, resolve } from "node:path";
|
|
6
6
|
import { writeFile } from "node:fs/promises";
|
package/dist/index.d.ts
CHANGED
|
@@ -70,5 +70,5 @@ type GenerateResult = {
|
|
|
70
70
|
};
|
|
71
71
|
/** 設定ごとのジョブを順に実行する。 */
|
|
72
72
|
export declare function generate(config: UserConfig | UserConfig[], opts?: GenerateOptions): Promise<GenerateResult>;
|
|
73
|
-
export declare const version = "0.1.
|
|
73
|
+
export declare const version = "0.1.1";
|
|
74
74
|
export { ArchonError, type ArchonPlugin, CodeWriter, type DeepPartial, type Diagnostic, Diagnostics, type EmittedFile, type FiltersConfig, type GenerateOptions, type GenerateResult, type HeaderContext, type HoistOptions, type IRDocument, type IRMediaType, type IROAuthFlow, type IROAuthFlows, type IROperation, type IRParameter, type IRProperty, type IRRequirements, type IRResponse, type IRSchema, type IRSchemaBase, type IRSecurityRequirement, type IRSecurityScheme, type IRServer, type NameCase, type OutputConfig, type ParserHooks, type PluginContext, type PluginDefinition, type PluginFactory, type PostProcessCommand, type ReadWriteOptions, type ResolvedConfig, type SchemaPath, type TransformsConfig, UniqueNamer, type UserConfig, applyTemplate, defineConfig, definePlugin, runCommonPasses, runPluginPasses, splitWords, toCase };
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { _ as splitWords, b as Diagnostics, g as applyTemplate, h as UniqueNamer, n as definePlugin, t as CodeWriter, v as toCase, y as ArchonError } from "./code-writer-DSyoTysA.js";
|
|
2
|
-
import { a as resolveConfig, c as defineConfig, d as parseDocument, i as runPlugins, l as runCommonPasses, n as generate, o as findConfigFile, r as writeOutput, s as loadConfigFile, t as version, u as runPluginPasses } from "./src-
|
|
2
|
+
import { a as resolveConfig, c as defineConfig, d as parseDocument, i as runPlugins, l as runCommonPasses, n as generate, o as findConfigFile, r as writeOutput, s as loadConfigFile, t as version, u as runPluginPasses } from "./src-B16UxrE4.js";
|
|
3
3
|
export { ArchonError, CodeWriter, Diagnostics, UniqueNamer, applyTemplate, defineConfig, definePlugin, findConfigFile, generate, loadConfigFile, parseDocument, resolveConfig, runCommonPasses, runPluginPasses, runPlugins, splitWords, toCase, version, writeOutput };
|
|
@@ -1387,5 +1387,5 @@ async function runJob(userConfig, opts) {
|
|
|
1387
1387
|
};
|
|
1388
1388
|
}
|
|
1389
1389
|
// src/index.ts
|
|
1390
|
-
const version = "0.1.
|
|
1390
|
+
const version = "0.1.1";
|
|
1391
1391
|
export { resolveConfig as a, defineConfig as c, parseDocument as d, runPlugins as i, runCommonPasses as l, generate as n, findConfigFile as o, writeOutput as r, loadConfigFile as s, version as t, runPluginPasses as u };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@natsuneko-laboratory/archon",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Generate SDKs with minimal dependencies for TypeScript, C#, Kotlin, Swift, Rust and Go from OpenAPI 3.0 / 3.1 specs",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"openapi",
|
|
@@ -16,18 +16,18 @@
|
|
|
16
16
|
"go"
|
|
17
17
|
],
|
|
18
18
|
"license": "MIT",
|
|
19
|
-
"homepage": "https://github.com/teyvat-project/
|
|
19
|
+
"homepage": "https://github.com/teyvat-project/archon#readme",
|
|
20
20
|
"bugs": {
|
|
21
|
-
"url": "https://github.com/teyvat-project/
|
|
21
|
+
"url": "https://github.com/teyvat-project/archon/issues"
|
|
22
22
|
},
|
|
23
23
|
"repository": {
|
|
24
24
|
"type": "git",
|
|
25
|
-
"url": "git+https://github.com/teyvat-project/
|
|
25
|
+
"url": "git+https://github.com/teyvat-project/archon.git",
|
|
26
26
|
"directory": "packages/archon"
|
|
27
27
|
},
|
|
28
28
|
"type": "module",
|
|
29
29
|
"bin": {
|
|
30
|
-
"archon": "
|
|
30
|
+
"archon": "dist/cli.js"
|
|
31
31
|
},
|
|
32
32
|
"exports": {
|
|
33
33
|
".": {
|
|
@@ -43,6 +43,12 @@
|
|
|
43
43
|
"dist",
|
|
44
44
|
"runtimes"
|
|
45
45
|
],
|
|
46
|
+
"scripts": {
|
|
47
|
+
"build": "node scripts/copy-runtimes.mjs && tsdown",
|
|
48
|
+
"prepack": "node scripts/copy-package-files.mjs && pnpm run build",
|
|
49
|
+
"test": "vitest run",
|
|
50
|
+
"typecheck": "tsc --noEmit -p ."
|
|
51
|
+
},
|
|
46
52
|
"engines": {
|
|
47
53
|
"node": ">=22.19.0"
|
|
48
54
|
},
|
|
@@ -57,10 +63,5 @@
|
|
|
57
63
|
"tsdown": "^0.23.2",
|
|
58
64
|
"typescript": "^7.0.2",
|
|
59
65
|
"vitest": "^5.0.5"
|
|
60
|
-
},
|
|
61
|
-
"scripts": {
|
|
62
|
-
"build": "node scripts/copy-runtimes.mjs && tsdown",
|
|
63
|
-
"test": "vitest run",
|
|
64
|
-
"typecheck": "tsc --noEmit -p ."
|
|
65
66
|
}
|
|
66
|
-
}
|
|
67
|
+
}
|