@batijs/core 0.0.249 → 0.0.251

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}=${kps(n)}
1089
- `;return t+a+l}function kps(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 Hps=e2(_zr(),1);import{randomBytes as y5s}from"node:crypto";var sSt={name:"@batijs/core",version:"0.0.249",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.0","@types/estree":"^1.0.5","@types/node":"^18.19.14","@types/which":"^3.0.4","@typescript-eslint/parser":"^8.2.0","@typescript-eslint/utils":"^8.2.0",colorette:"^2.0.20",esbuild:"^0.23.1",eslint:"^9.9.0","eslint-plugin-solid":"^0.14.2","eslint-rule-composer":"^0.3.0",espree:"^10.1.0",magicast:"^0.3.4",prettier:"^3.3.3",squirrelly:"^9.1.0",tsup:"^8.2.4",tsx:"^4.17.0",typescript:"^5.5.4","unplugin-purge-polyfills":"^0.0.4",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 Qps(){if(process.env.npm_config_user_agent)return Zps(process.env.npm_config_user_agent)}function Zps(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 S5s(){switch(Qps()?.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 x5s(){let t=sSt.version.split("."),e=t[0],n=t[1],s=t.slice(2).join(".");return{version:sSt.version,semver:[e,n,s]}}var export_which=Hps.default;export{xvt as Readme,a5s as addDependency,gps as addVitePlugin,l5s as appendToEnv,Srt as formatCode,Wq as generateCode,S5s as getArgs,x5s as getVersion,s7s as loadAsJson,a7s as loadAsMagicast,Svt as loadFile,i7s as loadReadme,o7s as loadRelativeFileAsMagicast,c7s as loadYaml,O8s as markdown,Qps as packageManager,FLe as parseModule,KVr as parseReadme,y5s as randomBytes,o5s as setScripts,yns as transformAndFormat,export_which as which,VWr as withIcon};
1089
+ `;return t+a+l}function kps(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 Hps=e2(_zr(),1);import{randomBytes as y5s}from"node:crypto";var sSt={name:"@batijs/core",version:"0.0.251",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.0","@types/estree":"^1.0.5","@types/node":"^18.19.14","@types/which":"^3.0.4","@typescript-eslint/parser":"^8.2.0","@typescript-eslint/utils":"^8.2.0",colorette:"^2.0.20",esbuild:"^0.23.1",eslint:"^9.9.0","eslint-plugin-solid":"^0.14.2","eslint-rule-composer":"^0.3.0",espree:"^10.1.0",magicast:"^0.3.4",prettier:"^3.3.3",squirrelly:"^9.1.0",tsup:"^8.2.4",tsx:"^4.17.0",typescript:"^5.5.4","unplugin-purge-polyfills":"^0.0.4",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 Qps(){if(process.env.npm_config_user_agent)return Zps(process.env.npm_config_user_agent)}function Zps(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 S5s(){switch(Qps()?.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 x5s(){let t=sSt.version.split("."),e=t[0],n=t[1],s=t.slice(2).join(".");return{version:sSt.version,semver:[e,n,s]}}var export_which=Hps.default;export{xvt as Readme,a5s as addDependency,gps as addVitePlugin,l5s as appendToEnv,Srt as formatCode,Wq as generateCode,S5s as getArgs,x5s as getVersion,s7s as loadAsJson,a7s as loadAsMagicast,Svt as loadFile,i7s as loadReadme,o7s as loadRelativeFileAsMagicast,c7s as loadYaml,O8s as markdown,Qps as packageManager,FLe as parseModule,KVr as parseReadme,y5s as randomBytes,o5s as setScripts,yns as transformAndFormat,export_which as which,VWr as withIcon};
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.249",
3
+ "version": "0.0.251",
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.249"
35
+ "@batijs/features": "0.0.251"
36
36
  },
37
37
  "exports": {
38
38
  ".": "./dist/index.js",