@kodycodes/cli 3.31.4 → 3.31.6
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 +8 -5
- package/dist/{auth-PVW2LO2U.js → auth-ESYKAKVY.js} +8 -8
- package/dist/bin.js +11 -11
- package/dist/{chunk-GMD3RXXS.js → chunk-2EE4OHBC.js} +4 -4
- package/dist/{chunk-JZRF3UXG.js → chunk-6GOJQXOM.js} +63 -49
- package/dist/{chunk-JZRF3UXG.js.map → chunk-6GOJQXOM.js.map} +1 -1
- package/dist/{chunk-CQHQFF7B.js → chunk-6L5CRBRF.js} +3 -3
- package/dist/{chunk-HPRHOM5U.js → chunk-7F567S2U.js} +4 -4
- package/dist/{chunk-SQKXY43O.js → chunk-AZRZHC3C.js} +6 -6
- package/dist/{chunk-327OT6ZP.js → chunk-BNXCIPN6.js} +3 -3
- package/dist/{chunk-6KT2QEN3.js → chunk-CMIJZEAV.js} +2 -2
- package/dist/{chunk-H7CJBJFA.js → chunk-EATQUG3Q.js} +2 -2
- package/dist/{chunk-RE7LNPRO.js → chunk-EKO5KFC7.js} +79 -6
- package/dist/chunk-EKO5KFC7.js.map +6 -0
- package/dist/{chunk-6UTLL4CZ.js → chunk-FOETPC2A.js} +4 -4
- package/dist/{chunk-MW3RLRTO.js → chunk-KM5WHDLE.js} +3 -3
- package/dist/{chunk-Z2NJN47S.js → chunk-MBNCASRZ.js} +6 -10
- package/dist/chunk-MBNCASRZ.js.map +6 -0
- package/dist/{chunk-SS2SUBIJ.js → chunk-MVIEFYS4.js} +4 -4
- package/dist/{chunk-VVXXLY65.js → chunk-N2LHIPQO.js} +3 -3
- package/dist/{chunk-YFNQZPEP.js → chunk-OLE7Z5JD.js} +5 -11
- package/dist/chunk-OLE7Z5JD.js.map +6 -0
- package/dist/{chunk-ATZXCAZA.js → chunk-ROCSDHPI.js} +2 -2
- package/dist/cli.d.ts +12 -3
- package/dist/cli.js +13 -13
- package/dist/{commands-I5EWVOJC.js → commands-TVU5R74E.js} +6 -6
- package/dist/{dev-command-AFVKSXJA.js → dev-command-OHD4CKLK.js} +37 -13
- package/dist/{dev-command-AFVKSXJA.js.map → dev-command-OHD4CKLK.js.map} +1 -1
- package/dist/{git-credential-FNVWEKWB.js → git-credential-HX44LBWX.js} +9 -9
- package/dist/keyring-entry.d.ts +43 -0
- package/dist/{local-execute-UTLV5UDA.js → local-execute-P4Q6DSYX.js} +9 -9
- package/dist/{local-package-graph-F3AJFSSG.js → local-package-graph-O3IPTPTR.js} +7 -7
- package/dist/{local-package-run-WMGUVB3U.js → local-package-run-OHBODGBB.js} +11 -11
- package/dist/{local-secrets-KZUJ2LE2.js → local-secrets-LNFSPB3M.js} +7 -7
- package/dist/{mock-dep-resolve-IGS3ZKEO.js → mock-dep-resolve-UELE626X.js} +6 -6
- package/dist/{mock-local-deps-HT5NG52P.js → mock-local-deps-WCIKUJLJ.js} +8 -8
- package/dist/{open-api-client-NRPF5SUW.js → open-api-client-GULJJEIG.js} +7 -7
- package/dist/{org-NWSSC7L7.js → org-GLCQE22A.js} +2 -2
- package/dist/package-check-files.d.ts +10 -2
- package/dist/{remote-execute-MQLJCXD7.js → remote-execute-JGISJLJU.js} +7 -7
- package/dist/{run-executor-N5CDFAOB.js → run-executor-TMTJTQB2.js} +2 -2
- package/dist/{setup-git-6NZQISC4.js → setup-git-RV7LNKRJ.js} +8 -8
- package/dist/{store-4G2J5DRZ.js → store-APLV3NIH.js} +2 -2
- package/dist/store.d.ts +1 -7
- package/dist/{whoami-D2WGWIBE.js → whoami-CRGPYLWQ.js} +6 -6
- package/package.json +2 -1
- package/dist/chunk-RE7LNPRO.js.map +0 -6
- package/dist/chunk-YFNQZPEP.js.map +0 -6
- package/dist/chunk-Z2NJN47S.js.map +0 -6
- /package/dist/{auth-PVW2LO2U.js.map → auth-ESYKAKVY.js.map} +0 -0
- /package/dist/{chunk-GMD3RXXS.js.map → chunk-2EE4OHBC.js.map} +0 -0
- /package/dist/{chunk-CQHQFF7B.js.map → chunk-6L5CRBRF.js.map} +0 -0
- /package/dist/{chunk-HPRHOM5U.js.map → chunk-7F567S2U.js.map} +0 -0
- /package/dist/{chunk-SQKXY43O.js.map → chunk-AZRZHC3C.js.map} +0 -0
- /package/dist/{chunk-327OT6ZP.js.map → chunk-BNXCIPN6.js.map} +0 -0
- /package/dist/{chunk-6KT2QEN3.js.map → chunk-CMIJZEAV.js.map} +0 -0
- /package/dist/{chunk-H7CJBJFA.js.map → chunk-EATQUG3Q.js.map} +0 -0
- /package/dist/{chunk-6UTLL4CZ.js.map → chunk-FOETPC2A.js.map} +0 -0
- /package/dist/{chunk-MW3RLRTO.js.map → chunk-KM5WHDLE.js.map} +0 -0
- /package/dist/{chunk-SS2SUBIJ.js.map → chunk-MVIEFYS4.js.map} +0 -0
- /package/dist/{chunk-VVXXLY65.js.map → chunk-N2LHIPQO.js.map} +0 -0
- /package/dist/{chunk-ATZXCAZA.js.map → chunk-ROCSDHPI.js.map} +0 -0
- /package/dist/{commands-I5EWVOJC.js.map → commands-TVU5R74E.js.map} +0 -0
- /package/dist/{git-credential-FNVWEKWB.js.map → git-credential-HX44LBWX.js.map} +0 -0
- /package/dist/{local-execute-UTLV5UDA.js.map → local-execute-P4Q6DSYX.js.map} +0 -0
- /package/dist/{local-package-graph-F3AJFSSG.js.map → local-package-graph-O3IPTPTR.js.map} +0 -0
- /package/dist/{local-package-run-WMGUVB3U.js.map → local-package-run-OHBODGBB.js.map} +0 -0
- /package/dist/{local-secrets-KZUJ2LE2.js.map → local-secrets-LNFSPB3M.js.map} +0 -0
- /package/dist/{mock-dep-resolve-IGS3ZKEO.js.map → mock-dep-resolve-UELE626X.js.map} +0 -0
- /package/dist/{mock-local-deps-HT5NG52P.js.map → mock-local-deps-WCIKUJLJ.js.map} +0 -0
- /package/dist/{open-api-client-NRPF5SUW.js.map → open-api-client-GULJJEIG.js.map} +0 -0
- /package/dist/{org-NWSSC7L7.js.map → org-GLCQE22A.js.map} +0 -0
- /package/dist/{remote-execute-MQLJCXD7.js.map → remote-execute-JGISJLJU.js.map} +0 -0
- /package/dist/{run-executor-N5CDFAOB.js.map → run-executor-TMTJTQB2.js.map} +0 -0
- /package/dist/{setup-git-6NZQISC4.js.map → setup-git-RV7LNKRJ.js.map} +0 -0
- /package/dist/{store-4G2J5DRZ.js.map → store-APLV3NIH.js.map} +0 -0
- /package/dist/{whoami-D2WGWIBE.js.map → whoami-CRGPYLWQ.js.map} +0 -0
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
resolveLocalPackageBinding,
|
|
13
13
|
runLocalPackageModule,
|
|
14
14
|
trustedDevHostFromHostedUrl
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-AZRZHC3C.js";
|
|
16
16
|
import {
|
|
17
17
|
publishOutsideCloudAdvice
|
|
18
18
|
} from "./chunk-ZUVFYLZA.js";
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
forwardLocalGatewayFetchStream,
|
|
22
22
|
installMockFetchShimModules,
|
|
23
23
|
startLocalRuntimeBridge
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-N2LHIPQO.js";
|
|
25
25
|
import {
|
|
26
26
|
ensureMockTarget
|
|
27
27
|
} from "./chunk-Y3GXC22T.js";
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
cleanWorkerdStderrLine,
|
|
36
36
|
startWorkerd
|
|
37
37
|
} from "./chunk-PPVTGF73.js";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-CMIJZEAV.js";
|
|
39
39
|
import {
|
|
40
40
|
BundleError,
|
|
41
41
|
bundleInputs,
|
|
@@ -62,7 +62,7 @@ import {
|
|
|
62
62
|
resolveLocalPackageGraph,
|
|
63
63
|
runSecretEnvVar,
|
|
64
64
|
writePackageModuleFiles
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-2EE4OHBC.js";
|
|
66
66
|
import "./chunk-F6SEQDAM.js";
|
|
67
67
|
import {
|
|
68
68
|
formatToolResult
|
|
@@ -70,15 +70,15 @@ import {
|
|
|
70
70
|
import {
|
|
71
71
|
redact
|
|
72
72
|
} from "./chunk-CASGRYOF.js";
|
|
73
|
-
import "./chunk-
|
|
73
|
+
import "./chunk-BNXCIPN6.js";
|
|
74
74
|
import {
|
|
75
75
|
assertTokenSafeApiUrl,
|
|
76
76
|
callCapabilityProxy
|
|
77
|
-
} from "./chunk-
|
|
78
|
-
import "./chunk-
|
|
79
|
-
import "./chunk-
|
|
80
|
-
import "./chunk-
|
|
81
|
-
import "./chunk-
|
|
77
|
+
} from "./chunk-EATQUG3Q.js";
|
|
78
|
+
import "./chunk-6L5CRBRF.js";
|
|
79
|
+
import "./chunk-KM5WHDLE.js";
|
|
80
|
+
import "./chunk-OLE7Z5JD.js";
|
|
81
|
+
import "./chunk-EKO5KFC7.js";
|
|
82
82
|
import {
|
|
83
83
|
apiTokenEnvVar
|
|
84
84
|
} from "./chunk-NKH2L5RA.js";
|
|
@@ -4953,6 +4953,7 @@ import { execFile } from "node:child_process";
|
|
|
4953
4953
|
import { readdir as readdir4, readFile as readFile5 } from "node:fs/promises";
|
|
4954
4954
|
import { isAbsolute as isAbsolute2, join as join9, relative as relative6, sep as sep4 } from "node:path";
|
|
4955
4955
|
import { promisify } from "node:util";
|
|
4956
|
+
import ignore from "ignore";
|
|
4956
4957
|
var execFileAsync = promisify(execFile);
|
|
4957
4958
|
var skippedDirectories = /* @__PURE__ */ new Set(["node_modules", ".git"]);
|
|
4958
4959
|
async function listGitFiles(root) {
|
|
@@ -4980,10 +4981,33 @@ async function walkFiles(root, dir = root) {
|
|
|
4980
4981
|
}
|
|
4981
4982
|
return files;
|
|
4982
4983
|
}
|
|
4984
|
+
var kodyIgnoreFileName = ".kodyignore";
|
|
4985
|
+
var neverKodyIgnored = /* @__PURE__ */ new Set(["package.json", kodyIgnoreFileName]);
|
|
4986
|
+
function createKodyIgnoreMatcher(content) {
|
|
4987
|
+
if (content == null || content.trim() === "") return null;
|
|
4988
|
+
const matcher = ignore().add(content);
|
|
4989
|
+
return (relativePath) => {
|
|
4990
|
+
const path = relativePath.replace(/^\/+/, "");
|
|
4991
|
+
if (path === "" || neverKodyIgnored.has(path)) return false;
|
|
4992
|
+
try {
|
|
4993
|
+
return matcher.ignores(path);
|
|
4994
|
+
} catch {
|
|
4995
|
+
return false;
|
|
4996
|
+
}
|
|
4997
|
+
};
|
|
4998
|
+
}
|
|
4999
|
+
async function readKodyIgnore(root) {
|
|
5000
|
+
try {
|
|
5001
|
+
return await readFile5(join9(root, kodyIgnoreFileName), "utf8");
|
|
5002
|
+
} catch {
|
|
5003
|
+
return null;
|
|
5004
|
+
}
|
|
5005
|
+
}
|
|
4983
5006
|
async function listPackageCheckPaths(root) {
|
|
4984
5007
|
const paths = await listGitFiles(root) ?? await walkFiles(root);
|
|
5008
|
+
const isKodyIgnored = createKodyIgnoreMatcher(await readKodyIgnore(root));
|
|
4985
5009
|
return paths.filter(
|
|
4986
|
-
(path) => !path.split("/").some((segment) => skippedDirectories.has(segment))
|
|
5010
|
+
(path) => !path.split("/").some((segment) => skippedDirectories.has(segment)) && !isKodyIgnored?.(path)
|
|
4987
5011
|
).sort();
|
|
4988
5012
|
}
|
|
4989
5013
|
function unpublishedBundleInputPaths(input) {
|
|
@@ -5002,7 +5026,7 @@ function unpublishedBundleInputPaths(input) {
|
|
|
5002
5026
|
return missing;
|
|
5003
5027
|
}
|
|
5004
5028
|
function formatUnpublishedBundleInputMessage(relativePath, options) {
|
|
5005
|
-
const base = `${relativePath} is imported but will not be in the published snapshot (gitignored or
|
|
5029
|
+
const base = `${relativePath} is imported but will not be in the published snapshot (gitignored, untracked, or matched by .kodyignore). Commit it and keep it out of .kodyignore, or generate it somewhere publish can see.`;
|
|
5006
5030
|
if (options?.hasPrebuild === true) {
|
|
5007
5031
|
return `${base} Note: kody.dev.prebuild runs only in \`kody dev\`; publish builds the git snapshot, so commit generated output.`;
|
|
5008
5032
|
}
|
|
@@ -5926,4 +5950,4 @@ export {
|
|
|
5926
5950
|
chokidar/esm/index.js:
|
|
5927
5951
|
(*! chokidar - MIT License (c) 2012 Paul Miller (paulmillr.com) *)
|
|
5928
5952
|
*/
|
|
5929
|
-
//# sourceMappingURL=dev-command-
|
|
5953
|
+
//# sourceMappingURL=dev-command-OHD4CKLK.js.map
|