@batijs/core 0.0.268 → 0.0.269

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -1086,7 +1086,7 @@ ${t}
1086
1086
 
1087
1087
  `));let a=s?s.replace(/^(.+)/gm,"# $1")+`
1088
1088
  `:"",l=`${e}=${Bls(n)}
1089
- `;return t+a+l}function Bls(t){let e="";switch(typeof t){case"string":t&&(e=JSON.stringify(t));break;case"boolean":case"number":e=String(t);break;case"undefined":e="";break;case"object":t!==null&&(e=JSON.stringify(t));break}return e}var ius=$f(DYr(),1);import{randomBytes as fLs}from"node:crypto";var qTt={name:"@batijs/core",version:"0.0.268",description:"",type:"module",types:"./dist/index.d.ts",scripts:{"check-types":"tsc --noEmit",vue:"tsx src/parse/linters/vue.ts",test:"vitest run","test:ci":"vitest run",build:"tsup"},keywords:[],author:"Jo\xEBl Charles <joel.charles91@gmail.com>",repository:"https://github.com/vikejs/bati",license:"MIT",devDependencies:{"@batijs/features":"workspace:*","@types/eslint":"^9.6.1","@types/estree":"^1.0.5","@types/node":"^18.19.14","@types/which":"^3.0.4","@typescript-eslint/parser":"^8.4.0","@typescript-eslint/utils":"^8.4.0",colorette:"^2.0.20",esbuild:"^0.23.1",eslint:"^9.9.1","eslint-plugin-solid":"^0.14.3","eslint-rule-composer":"^0.3.0",espree:"^10.1.0",magicast:"^0.3.5",prettier:"^3.3.3",squirrelly:"^9.1.0",tsup:"^8.2.4",tsx:"^4.19.0",typescript:"^5.5.4","unplugin-purge-polyfills":"^0.0.5",vitest:"^2.0.5","vue-eslint-parser":"^9.4.3",which:"^4.0.0",yaml:"^2.5.0"},exports:{".":"./dist/index.js","./types":{types:"./global.d.ts"}},typesVersions:{"*":{types:["./global.d.ts"]}},files:["dist/"]};function aus(){if(process.env.npm_config_user_agent)return ous(process.env.npm_config_user_agent)}function ous(t){let e=t.split(" ")[0],n=e.lastIndexOf("/"),s=e.substring(0,n);return{name:s==="npminstall"?"cnpm":s,version:e.substring(n+1)}}function hLs(){switch(aus()?.name){case"pnpm":return"pnpm create bati";case"yarn":return"yarn dlx @batijs/cli";case"bun":return"bun create bati";default:return"npm create bati --"}}function gLs(){let t=qTt.version.split("."),e=t[0],n=t[1],s=t.slice(2).join(".");return{version:qTt.version,semver:[e,n,s]}}var export_which=ius.default;export{svt as Readme,eLs as addDependency,Cls as addVitePlugin,nLs as appendToEnv,C8s as bgBlack,q8s as bgBlackBright,D8s as bgBlue,W8s as bgBlueBright,N8s as bgCyan,z8s as bgCyanBright,P8s as bgGreen,J8s as bgGreenBright,k8s as bgMagenta,Y8s as bgMagentaBright,A8s as bgRed,V8s as bgRedBright,I8s as bgWhite,K8s as bgWhiteBright,w8s as bgYellow,$8s as bgYellowBright,g8s as black,F8s as blackBright,v8s as blue,M8s as blueBright,p8s as bold,Mie as builders,Rls as createColors,S8s as cyan,j8s as cyanBright,HWr as deepMergeObject,UTt as dim,Art as formatCode,Gq as generateCode,hLs as getArgs,gLs as getVersion,E8s as gray,b8s as green,L8s as greenBright,m8s as hidden,d8s as inverse,Fls as isColorSupported,f8s as italic,QOs as loadAsJson,ZOs as loadAsMagicast,ivt as loadFile,XOs as loadReadme,e8s as loadRelativeFileAsMagicast,t8s as loadYaml,T8s as magenta,B8s as magentaBright,PFs as markdown,aus as packageManager,MLe as parseModule,lJr as parseReadme,fLs as randomBytes,y8s as red,O8s as redBright,u8s as reset,tLs as setScripts,h8s as strikethrough,Ats as transformAndFormat,_8s as underline,export_which as which,x8s as white,U8s as whiteBright,iYr as withIcon,nYr as yellow,R8s as yellowBright};
1089
+ `;return t+a+l}function Bls(t){let e="";switch(typeof t){case"string":t&&(e=JSON.stringify(t));break;case"boolean":case"number":e=String(t);break;case"undefined":e="";break;case"object":t!==null&&(e=JSON.stringify(t));break}return e}var ius=$f(DYr(),1);import{randomBytes as fLs}from"node:crypto";var qTt={name:"@batijs/core",version:"0.0.269",description:"",type:"module",types:"./dist/index.d.ts",scripts:{"check-types":"tsc --noEmit",vue:"tsx src/parse/linters/vue.ts",test:"vitest run","test:ci":"vitest run",build:"tsup"},keywords:[],author:"Jo\xEBl Charles <joel.charles91@gmail.com>",repository:"https://github.com/vikejs/bati",license:"MIT",devDependencies:{"@batijs/features":"workspace:*","@types/eslint":"^9.6.1","@types/estree":"^1.0.5","@types/node":"^18.19.14","@types/which":"^3.0.4","@typescript-eslint/parser":"^8.4.0","@typescript-eslint/utils":"^8.4.0",colorette:"^2.0.20",esbuild:"^0.23.1",eslint:"^9.9.1","eslint-plugin-solid":"^0.14.3","eslint-rule-composer":"^0.3.0",espree:"^10.1.0",magicast:"^0.3.5",prettier:"^3.3.3",squirrelly:"^9.1.0",tsup:"^8.2.4",tsx:"^4.19.0",typescript:"^5.5.4","unplugin-purge-polyfills":"^0.0.5",vitest:"^2.0.5","vue-eslint-parser":"^9.4.3",which:"^4.0.0",yaml:"^2.5.0"},exports:{".":"./dist/index.js","./types":{types:"./global.d.ts"}},typesVersions:{"*":{types:["./global.d.ts"]}},files:["dist/"]};function aus(){if(process.env.npm_config_user_agent)return ous(process.env.npm_config_user_agent)}function ous(t){let e=t.split(" ")[0],n=e.lastIndexOf("/"),s=e.substring(0,n);return{name:s==="npminstall"?"cnpm":s,version:e.substring(n+1)}}function hLs(){switch(aus()?.name){case"pnpm":return"pnpm create bati";case"yarn":return"yarn dlx @batijs/cli";case"bun":return"bun create bati";default:return"npm create bati --"}}function gLs(){let t=qTt.version.split("."),e=t[0],n=t[1],s=t.slice(2).join(".");return{version:qTt.version,semver:[e,n,s]}}var export_which=ius.default;export{svt as Readme,eLs as addDependency,Cls as addVitePlugin,nLs as appendToEnv,C8s as bgBlack,q8s as bgBlackBright,D8s as bgBlue,W8s as bgBlueBright,N8s as bgCyan,z8s as bgCyanBright,P8s as bgGreen,J8s as bgGreenBright,k8s as bgMagenta,Y8s as bgMagentaBright,A8s as bgRed,V8s as bgRedBright,I8s as bgWhite,K8s as bgWhiteBright,w8s as bgYellow,$8s as bgYellowBright,g8s as black,F8s as blackBright,v8s as blue,M8s as blueBright,p8s as bold,Mie as builders,Rls as createColors,S8s as cyan,j8s as cyanBright,HWr as deepMergeObject,UTt as dim,Art as formatCode,Gq as generateCode,hLs as getArgs,gLs as getVersion,E8s as gray,b8s as green,L8s as greenBright,m8s as hidden,d8s as inverse,Fls as isColorSupported,f8s as italic,QOs as loadAsJson,ZOs as loadAsMagicast,ivt as loadFile,XOs as loadReadme,e8s as loadRelativeFileAsMagicast,t8s as loadYaml,T8s as magenta,B8s as magentaBright,PFs as markdown,aus as packageManager,MLe as parseModule,lJr as parseReadme,fLs as randomBytes,y8s as red,O8s as redBright,u8s as reset,tLs as setScripts,h8s as strikethrough,Ats as transformAndFormat,_8s as underline,export_which as which,x8s as white,U8s as whiteBright,iYr as withIcon,nYr as yellow,R8s as yellowBright};
1090
1090
  /*! Bundled license information:
1091
1091
 
1092
1092
  uri-js/dist/es5/uri.all.js:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@batijs/core",
3
- "version": "0.0.268",
3
+ "version": "0.0.269",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",
@@ -32,7 +32,7 @@
32
32
  "vue-eslint-parser": "^9.4.3",
33
33
  "which": "^4.0.0",
34
34
  "yaml": "^2.5.0",
35
- "@batijs/features": "0.0.268"
35
+ "@batijs/features": "0.0.269"
36
36
  },
37
37
  "exports": {
38
38
  ".": "./dist/index.js",