@visulima/cerebro 1.0.50 → 1.1.0
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/CHANGELOG.md +21 -0
- package/LICENSE.md +103 -0
- package/dist/chunks/has-new-version.cjs +1 -0
- package/dist/chunks/has-new-version.mjs +1 -0
- package/dist/index.cjs +10 -36
- package/dist/index.d.cts +2 -9
- package/dist/index.d.mts +149 -0
- package/dist/index.d.ts +2 -9
- package/dist/index.mjs +10 -0
- package/package.json +9 -9
- package/dist/chunk-5IGWF4F6.js +0 -5
- package/dist/chunk-5IGWF4F6.js.map +0 -1
- package/dist/chunk-764E7XDY.cjs +0 -9
- package/dist/chunk-764E7XDY.cjs.map +0 -1
- package/dist/has-new-version-7NAF5SXW.cjs +0 -172
- package/dist/has-new-version-7NAF5SXW.cjs.map +0 -1
- package/dist/has-new-version-QP2BT3PX.js +0 -167
- package/dist/has-new-version-QP2BT3PX.js.map +0 -1
- package/dist/index.cjs.map +0 -1
- package/dist/index.js +0 -25
- package/dist/index.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@visulima/cerebro",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "A delightful toolkit for building Node-powered CLIs.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"command",
|
|
@@ -60,15 +60,14 @@
|
|
|
60
60
|
"default": "./dist/index.cjs"
|
|
61
61
|
},
|
|
62
62
|
"import": {
|
|
63
|
-
"types": "./dist/index.d.
|
|
64
|
-
"default": "./dist/index.
|
|
63
|
+
"types": "./dist/index.d.mts",
|
|
64
|
+
"default": "./dist/index.mjs"
|
|
65
65
|
}
|
|
66
66
|
},
|
|
67
67
|
"./package.json": "./package.json"
|
|
68
68
|
},
|
|
69
69
|
"main": "dist/index.cjs",
|
|
70
|
-
"module": "dist/index.
|
|
71
|
-
"source": "src/index.ts",
|
|
70
|
+
"module": "dist/index.mjs",
|
|
72
71
|
"types": "dist/index.d.ts",
|
|
73
72
|
"files": [
|
|
74
73
|
"dist",
|
|
@@ -79,6 +78,7 @@
|
|
|
79
78
|
"dependencies": {
|
|
80
79
|
"@visulima/boxen": "1.0.10",
|
|
81
80
|
"@visulima/colorize": "1.4.3",
|
|
81
|
+
"@visulima/find-cache-dir": "1.0.0",
|
|
82
82
|
"@visulima/pail": "1.4.3",
|
|
83
83
|
"cli-table3": "^0.6.5",
|
|
84
84
|
"command-line-args": "^5.2.1",
|
|
@@ -100,12 +100,13 @@
|
|
|
100
100
|
"@types/command-line-args": "^5.2.3",
|
|
101
101
|
"@types/node": "18.19.15",
|
|
102
102
|
"@visulima/nextra-theme-docs": "4.0.26",
|
|
103
|
-
"@visulima/
|
|
103
|
+
"@visulima/packem": "1.0.0-alpha.45",
|
|
104
104
|
"@visulima/path": "1.0.2",
|
|
105
105
|
"@vitest/coverage-v8": "^1.6.0",
|
|
106
106
|
"camelcase": "8.0.0",
|
|
107
107
|
"conventional-changelog-conventionalcommits": "8.0.0",
|
|
108
108
|
"cross-env": "^7.0.3",
|
|
109
|
+
"esbuild": "0.21.5",
|
|
109
110
|
"eslint": "^8.57.0",
|
|
110
111
|
"eslint-plugin-deprecation": "^3.0.0",
|
|
111
112
|
"eslint-plugin-import": "npm:eslint-plugin-i@^2.29.1",
|
|
@@ -116,7 +117,6 @@
|
|
|
116
117
|
"rimraf": "^5.0.7",
|
|
117
118
|
"semantic-release": "24.0.0",
|
|
118
119
|
"strip-ansi": "^7.1.0",
|
|
119
|
-
"tsup": "^8.1.0",
|
|
120
120
|
"typescript": "^5.4.5",
|
|
121
121
|
"vitest": "^1.6.0"
|
|
122
122
|
},
|
|
@@ -146,8 +146,8 @@
|
|
|
146
146
|
}
|
|
147
147
|
},
|
|
148
148
|
"scripts": {
|
|
149
|
-
"build": "
|
|
150
|
-
"build:prod": "
|
|
149
|
+
"build": "cross-env NODE_ENV=development packem build",
|
|
150
|
+
"build:prod": "cross-env NODE_ENV=production packem build",
|
|
151
151
|
"clean": "rimraf node_modules dist .eslintcache",
|
|
152
152
|
"dev": "pnpm run build --watch",
|
|
153
153
|
"lint:eslint": "eslint . --ext js,cjs,mjs,jsx,ts,tsx,json,yaml,yml,md,mdx --max-warnings=0 --config .eslintrc.cjs",
|
package/dist/chunk-5IGWF4F6.js
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
var n=Object.create;var i=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var c=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty;var l=(t,e)=>()=>(t&&(e=t(t=0)),e);var d=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var s=(t,e,o,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let m of p(e))!f.call(t,m)&&m!==o&&i(t,m,{get:()=>e[m],enumerable:!(r=a(e,m))||r.enumerable});return t};var g=(t,e,o)=>(o=t!=null?n(c(t)):{},s(e||!t||!t.__esModule?i(o,"default",{value:t,enumerable:!0}):o,t));var _=l(()=>{});
|
|
2
|
-
|
|
3
|
-
export { d as a, g as b, _ as c };
|
|
4
|
-
//# sourceMappingURL=out.js.map
|
|
5
|
-
//# sourceMappingURL=chunk-5IGWF4F6.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../node_modules/.pnpm/tsup@8.1.0_@swc+core@1.5.7_postcss@8.4.38_typescript@5.4.5/node_modules/tsup/assets/esm_shims.js"],"names":["init_esm_shims","__esmMin"],"mappings":"4iBAAA,IAAAA,EAAAC,EAAA","sourcesContent":["// Shim globals in esm bundle\nimport { fileURLToPath } from 'url'\nimport path from 'path'\n\nconst getFilename = () => fileURLToPath(import.meta.url)\nconst getDirname = () => path.dirname(getFilename())\n\nexport const __dirname = /* @__PURE__ */ getDirname()\nexport const __filename = /* @__PURE__ */ getFilename()\n"]}
|
package/dist/chunk-764E7XDY.cjs
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var m=Object.create;var o=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var u=Object.getOwnPropertyNames;var d=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty;var p=(e,t)=>()=>(e&&(t=e(e=0)),t);var U=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var a=(e,t,n,c)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of u(t))!f.call(e,r)&&r!==n&&o(e,r,{get:()=>t[r],enumerable:!(c=i(t,r))||c.enumerable});return e};var l=(e,t,n)=>(n=e!=null?m(d(e)):{},a(t||!e||!e.__esModule?o(n,"default",{value:e,enumerable:!0}):n,e));var s=p(()=>{});
|
|
4
|
-
|
|
5
|
-
exports.a = U;
|
|
6
|
-
exports.b = l;
|
|
7
|
-
exports.c = s;
|
|
8
|
-
//# sourceMappingURL=out.js.map
|
|
9
|
-
//# sourceMappingURL=chunk-764E7XDY.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../node_modules/.pnpm/tsup@8.1.0_@swc+core@1.5.7_postcss@8.4.38_typescript@5.4.5/node_modules/tsup/assets/cjs_shims.js"],"names":["init_cjs_shims","__esmMin"],"mappings":"4iBAAA,IAAAA,EAAAC,EAAA","sourcesContent":["// Shim globals in cjs bundle\n// There's a weird bug that esbuild will always inject importMetaUrl\n// if we export it as `const importMetaUrl = ... __filename ...`\n// But using a function will not cause this issue\n\nconst getImportMetaUrl = () =>\n typeof document === 'undefined'\n ? new URL('file:' + __filename).href\n : (document.currentScript && document.currentScript.src) ||\n new URL('main.js', document.baseURI).href\n\nexport const importMetaUrl = /* @__PURE__ */ getImportMetaUrl()\n"]}
|