@akanjs/devkit 0.0.110 → 0.0.112
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/{src/builder.cjs → cjs/src/builder.js} +6 -4
- package/{src/builder.mjs → esm/src/builder.js} +6 -4
- package/package.json +4 -3
- package/src/executors.d.ts +1 -1
- /package/{index.cjs → cjs/index.js} +0 -0
- /package/{src/aiEditor.cjs → cjs/src/aiEditor.js} +0 -0
- /package/{src/auth.cjs → cjs/src/auth.js} +0 -0
- /package/{src/capacitorApp.cjs → cjs/src/capacitorApp.js} +0 -0
- /package/{src/commandDecorators/argMeta.cjs → cjs/src/commandDecorators/argMeta.js} +0 -0
- /package/{src/commandDecorators/command.cjs → cjs/src/commandDecorators/command.js} +0 -0
- /package/{src/commandDecorators/commandMeta.cjs → cjs/src/commandDecorators/commandMeta.js} +0 -0
- /package/{src/commandDecorators/index.cjs → cjs/src/commandDecorators/index.js} +0 -0
- /package/{src/commandDecorators/targetMeta.cjs → cjs/src/commandDecorators/targetMeta.js} +0 -0
- /package/{src/commandDecorators/types.cjs → cjs/src/commandDecorators/types.js} +0 -0
- /package/{src/constants.cjs → cjs/src/constants.js} +0 -0
- /package/{src/createTunnel.cjs → cjs/src/createTunnel.js} +0 -0
- /package/{src/dependencyScanner.cjs → cjs/src/dependencyScanner.js} +0 -0
- /package/{src/executors.cjs → cjs/src/executors.js} +0 -0
- /package/{src/extractDeps.cjs → cjs/src/extractDeps.js} +0 -0
- /package/{src/getCredentials.cjs → cjs/src/getCredentials.js} +0 -0
- /package/{src/getModelFileData.cjs → cjs/src/getModelFileData.js} +0 -0
- /package/{src/getRelatedCnsts.cjs → cjs/src/getRelatedCnsts.js} +0 -0
- /package/{src/index.cjs → cjs/src/index.js} +0 -0
- /package/{src/selectModel.cjs → cjs/src/selectModel.js} +0 -0
- /package/{src/streamAi.cjs → cjs/src/streamAi.js} +0 -0
- /package/{src/types.cjs → cjs/src/types.js} +0 -0
- /package/{src/uploadRelease.cjs → cjs/src/uploadRelease.js} +0 -0
- /package/{index.mjs → esm/index.js} +0 -0
- /package/{src/aiEditor.mjs → esm/src/aiEditor.js} +0 -0
- /package/{src/auth.mjs → esm/src/auth.js} +0 -0
- /package/{src/capacitorApp.mjs → esm/src/capacitorApp.js} +0 -0
- /package/{src/commandDecorators/argMeta.mjs → esm/src/commandDecorators/argMeta.js} +0 -0
- /package/{src/commandDecorators/command.mjs → esm/src/commandDecorators/command.js} +0 -0
- /package/{src/commandDecorators/commandMeta.mjs → esm/src/commandDecorators/commandMeta.js} +0 -0
- /package/{src/commandDecorators/index.mjs → esm/src/commandDecorators/index.js} +0 -0
- /package/{src/commandDecorators/targetMeta.mjs → esm/src/commandDecorators/targetMeta.js} +0 -0
- /package/{src/commandDecorators/types.mjs → esm/src/commandDecorators/types.js} +0 -0
- /package/{src/constants.mjs → esm/src/constants.js} +0 -0
- /package/{src/createTunnel.mjs → esm/src/createTunnel.js} +0 -0
- /package/{src/dependencyScanner.mjs → esm/src/dependencyScanner.js} +0 -0
- /package/{src/executors.mjs → esm/src/executors.js} +0 -0
- /package/{src/extractDeps.mjs → esm/src/extractDeps.js} +0 -0
- /package/{src/getCredentials.mjs → esm/src/getCredentials.js} +0 -0
- /package/{src/getModelFileData.mjs → esm/src/getModelFileData.js} +0 -0
- /package/{src/getRelatedCnsts.mjs → esm/src/getRelatedCnsts.js} +0 -0
- /package/{src/index.mjs → esm/src/index.js} +0 -0
- /package/{src/selectModel.mjs → esm/src/selectModel.js} +0 -0
- /package/{src/streamAi.mjs → esm/src/streamAi.js} +0 -0
- /package/{src/types.mjs → esm/src/types.js} +0 -0
- /package/{src/uploadRelease.mjs → esm/src/uploadRelease.js} +0 -0
|
@@ -56,8 +56,9 @@ class Builder {
|
|
|
56
56
|
splitting: false,
|
|
57
57
|
platform: this.#pkgJson.esbuild?.platform,
|
|
58
58
|
format,
|
|
59
|
-
outdir: this.#distExecutor.cwdPath
|
|
60
|
-
|
|
59
|
+
outdir: `${this.#distExecutor.cwdPath}/${format}`,
|
|
60
|
+
// outdir: this.#distExecutor.cwdPath,
|
|
61
|
+
// outExtension: { ".js": format === "cjs" ? ".js" : ".esm.js" },
|
|
61
62
|
// format === "cjs"
|
|
62
63
|
// ? { ".js": this.#pkgJson.type === "module" ? ".cjs" : ".js" }
|
|
63
64
|
// : { ".js": this.#pkgJson.type === "module" ? ".js" : ".mjs" },
|
|
@@ -98,8 +99,9 @@ class Builder {
|
|
|
98
99
|
exports: {
|
|
99
100
|
...this.#pkgJson.exports ?? {},
|
|
100
101
|
".": {
|
|
101
|
-
require: "./index.
|
|
102
|
-
import: "./index.
|
|
102
|
+
require: "./cjs/index.js",
|
|
103
|
+
import: "./esm/index.js",
|
|
104
|
+
types: "./index.d.ts"
|
|
103
105
|
// require: this.#pkgJson.type === "module" ? "./index.cjs" : "./index.js",
|
|
104
106
|
// import: this.#pkgJson.type === "module" ? "./index.js" : "./index.mjs",
|
|
105
107
|
}
|
|
@@ -24,8 +24,9 @@ class Builder {
|
|
|
24
24
|
splitting: false,
|
|
25
25
|
platform: this.#pkgJson.esbuild?.platform,
|
|
26
26
|
format,
|
|
27
|
-
outdir: this.#distExecutor.cwdPath
|
|
28
|
-
|
|
27
|
+
outdir: `${this.#distExecutor.cwdPath}/${format}`,
|
|
28
|
+
// outdir: this.#distExecutor.cwdPath,
|
|
29
|
+
// outExtension: { ".js": format === "cjs" ? ".js" : ".esm.js" },
|
|
29
30
|
// format === "cjs"
|
|
30
31
|
// ? { ".js": this.#pkgJson.type === "module" ? ".cjs" : ".js" }
|
|
31
32
|
// : { ".js": this.#pkgJson.type === "module" ? ".js" : ".mjs" },
|
|
@@ -66,8 +67,9 @@ class Builder {
|
|
|
66
67
|
exports: {
|
|
67
68
|
...this.#pkgJson.exports ?? {},
|
|
68
69
|
".": {
|
|
69
|
-
require: "./index.
|
|
70
|
-
import: "./index.
|
|
70
|
+
require: "./cjs/index.js",
|
|
71
|
+
import: "./esm/index.js",
|
|
72
|
+
types: "./index.d.ts"
|
|
71
73
|
// require: this.#pkgJson.type === "module" ? "./index.cjs" : "./index.js",
|
|
72
74
|
// import: this.#pkgJson.type === "module" ? "./index.js" : "./index.mjs",
|
|
73
75
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@akanjs/devkit",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.112",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -34,8 +34,9 @@
|
|
|
34
34
|
},
|
|
35
35
|
"exports": {
|
|
36
36
|
".": {
|
|
37
|
-
"require": "./index.
|
|
38
|
-
"import": "./index.
|
|
37
|
+
"require": "./cjs/index.js",
|
|
38
|
+
"import": "./esm/index.js",
|
|
39
|
+
"types": "./index.d.ts"
|
|
39
40
|
}
|
|
40
41
|
},
|
|
41
42
|
"esbuild": {
|
package/src/executors.d.ts
CHANGED
|
@@ -52,7 +52,7 @@ export declare class WorkspaceExecutor extends Executor {
|
|
|
52
52
|
getBaseDevEnv(): {
|
|
53
53
|
repoName: string;
|
|
54
54
|
serveDomain: string;
|
|
55
|
-
env: "
|
|
55
|
+
env: "testing" | "local" | "debug" | "develop" | "main";
|
|
56
56
|
name?: string | undefined;
|
|
57
57
|
};
|
|
58
58
|
scan(): Promise<WorkspaceScanResult>;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|