@kumori/kdsl 0.0.13 → 0.0.14
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/out/main.cjs +1 -1
- package/package.json +2 -2
package/out/main.cjs
CHANGED
|
@@ -357,7 +357,7 @@ If the module is not located in the current directory, you can provide a custom
|
|
|
357
357
|
kdsl mod update -v 1.0.0 -p ./my-module
|
|
358
358
|
`.trim();function G2e(t){return async e=>{await J2e(t,process.cwd(),e)}}var J2e=async(t,e,r)=>{var f,l,d;let n=mn.fileSystemProvider(),i=(f=r.path)!=null?f:e;n0.default.isAbsolute(i)||(i=n0.default.join(e,i));let s=await Cf(n,ke.file(i));Ce.isSome(s)&&s.value.fsPath===i&&(t.error(`error: module ${i} already exists`),process.exit(1));let o=await n.readFile(ke.file(n0.default.join(i,mr))),a=JSON.parse(o),u={spec:"kumori/module/v1",kumori:"0.0.1",version:(l=r.version)!=null?l:a.version,module:a.module,cacheLocation:(d=r.cacheLocation)!=null?d:a.cacheLocation,requires:[]},c=n0.default.join(i,mr);await(0,a7.mkdir)(i,{recursive:!0}),await(0,a7.writeFile)(c,JSON.stringify(u,null,4)),t.info(`updated ${mr}: module ${u.module}`)};var TW={Register:Q2e};function Q2e(t,e){let r=t.command("mod").summary(Y2e).description(Z2e).helpCommand(!1).helpOption(!1);return lW.Register(r,e),rW.Register(r,e),gW.Register(r,e),bW.Register(r,e),SW.Register(r),CW.Register(r,e),r}var Y2e="module maintenance",Z2e=`
|
|
359
359
|
Provides access to operations on modules.
|
|
360
|
-
`.trim();var _W={name:"@kumori/kdsl",version:"0.0.
|
|
360
|
+
`.trim();var _W={name:"@kumori/kdsl",version:"0.0.14",private:!1,files:["bin","out"],type:"module",description:"Kumori DSL command line interface",bin:{kdsl:"bin/cli.js"},scripts:{build:"npm run fix && tsc -b tsconfig.json && node esbuild.mjs --minify && npm run copy-loader","copy-loader":"mkdir -p out/lib && rsync -av --include='*/' --include='*.kumori' --exclude='*' ../lsp/dist/language/builtin/lib/ out/lib/",test:"vitest run",clean:"rm -rf dist/ out/ tsconfig.tsbuildinfo",prepublishOnly:"npm run build",lint:"eslint .",prettier:"prettier src/ test/ --write",fix:"npm run lint && npm run prettier"},dependencies:{"@commander-js/extra-typings":"^13.1.0","@kumori/kdsl-lsp":"0.0.1-alpha.12",ajv:"^6.12.6",chalk:"~5.3.0",commander:"~13.1.0",zod:"^3.24.2"},license:"EUPL",keywords:["cli","tool","automation","kumori","dsl"],gitHead:"89bea74c68de5f90f37ccc0e64b340408c90b76d",devDependencies:{"@eslint/js":"^9.35.0",eslint:"^9.35.0",globals:"^16.4.0",jiti:"^2.5.1",prettier:"3.6.2","typescript-eslint":"^8.44.0"}};var eye="<unknown>",AW,tye=(AW=_W.version)!=null?AW:eye,wW=tye;var kW={Register:rye};function rye(t,e){return t.command("add").argument("<selector>","Name selector for matching dependencies").argument("<version>","Version of the registry specification. It is a git tag.").argument("<url>","URL that contains the registry index for resolving modules").summary(nye).description(iye).action(sye(e))}var nye=`
|
|
361
361
|
add a new registry
|
|
362
362
|
`.trim(),iye=`
|
|
363
363
|
Add a registry to the resolver configuration. The selector argument is used to match artifacts.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kumori/kdsl",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.14",
|
|
4
4
|
"private": false,
|
|
5
5
|
"files": [
|
|
6
6
|
"bin",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@commander-js/extra-typings": "^13.1.0",
|
|
26
|
-
"@kumori/kdsl-lsp": "0.0.1-alpha.
|
|
26
|
+
"@kumori/kdsl-lsp": "0.0.1-alpha.12",
|
|
27
27
|
"ajv": "^6.12.6",
|
|
28
28
|
"chalk": "~5.3.0",
|
|
29
29
|
"commander": "~13.1.0",
|