okai 0.0.10 → 0.0.11
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/cs-apis.js +2 -2
- package/dist/cs-ast.js +2 -2
- package/dist/okai.js +0 -0
- package/package.json +2 -2
package/dist/cs-apis.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { getGroupName, splitCase } from "./utils";
|
2
|
-
import { CSharpGenerator } from "./cs-gen";
|
1
|
+
import { getGroupName, splitCase } from "./utils.js";
|
2
|
+
import { CSharpGenerator } from "./cs-gen.js";
|
3
3
|
export class CSharpApiGenerator extends CSharpGenerator {
|
4
4
|
toApiClass(op) {
|
5
5
|
const cls = op.request;
|
package/dist/cs-ast.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { plural, toPascalCase } from "./utils";
|
2
|
-
import { Icons } from "./icons";
|
1
|
+
import { plural, toPascalCase } from "./utils.js";
|
2
|
+
import { Icons } from "./icons.js";
|
3
3
|
const sys = (name, genericArgs) => ({ name, namespace: "System", genericArgs });
|
4
4
|
const sysObj = sys("object");
|
5
5
|
const sysDictObj = { name: "Dictionary", genericArgs: ["string", "object"], namespace: "System.Collections.Generic" };
|
package/dist/okai.js
CHANGED
File without changes
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "okai",
|
3
3
|
"type": "module",
|
4
|
-
"version": "0.0.
|
4
|
+
"version": "0.0.11",
|
5
5
|
"bin": "./dist/okai.js",
|
6
6
|
"main": "./dist/index.js",
|
7
7
|
"module": "./dist/index.js",
|
@@ -12,7 +12,7 @@
|
|
12
12
|
"import": "./dist/index.js"
|
13
13
|
},
|
14
14
|
"scripts": {
|
15
|
-
"build": "bun run clean && tsc",
|
15
|
+
"build": "bun run clean && tsc && chmod +x ./dist/okai.js",
|
16
16
|
"build-bun": "bun run clean && bun build.ts",
|
17
17
|
"clean": "shx rm -rf ./dist",
|
18
18
|
"test": "bun test --",
|