create-hugoblox 0.1.0 → 0.1.2

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/dist/index.js CHANGED
@@ -1,15 +1,4 @@
1
1
  #!/usr/bin/env node
2
2
  import { bootstrap } from 'hugoblox';
3
3
 
4
- var args = [
5
- process.argv[0],
6
- process.argv[1],
7
- "create",
8
- ...process.argv.slice(2)
9
- ];
10
- bootstrap(args).catch((err) => {
11
- console.error(err);
12
- process.exit(1);
13
- });
14
- //# sourceMappingURL=out.js.map
15
- //# sourceMappingURL=index.js.map
4
+ var o=[process.argv[0],process.argv[1],"create",...process.argv.slice(2)];bootstrap(o).catch(r=>{console.error(r),process.exit(1);});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-hugoblox",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Create a new HugoBlox site",
5
5
  "type": "module",
6
6
  "bin": {
@@ -14,7 +14,7 @@
14
14
  "node": ">=18"
15
15
  },
16
16
  "dependencies": {
17
- "hugoblox": "0.1.1"
17
+ "hugoblox": "0.3.0"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@biomejs/biome": "1.6.4",
package/dist/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,SAAS,iBAAiB;AAK1B,IAAM,OAAO;AAAA,EACZ,QAAQ,KAAK,CAAC;AAAA,EACd,QAAQ,KAAK,CAAC;AAAA,EACd;AAAA,EACA,GAAG,QAAQ,KAAK,MAAM,CAAC;AACxB;AAGA,UAAU,IAAI,EAAE,MAAM,CAAC,QAAQ;AAC9B,UAAQ,MAAM,GAAG;AACjB,UAAQ,KAAK,CAAC;AACf,CAAC","sourcesContent":["import { bootstrap } from \"hugoblox\";\n\n// Construct the arguments to simulate \"hbx create ...\"\n// process.argv contains [nodePath, scriptPath, ...userArgs]\n// We want to pass [nodePath, scriptPath, \"create\", ...userArgs]\nconst args = [\n\tprocess.argv[0],\n\tprocess.argv[1],\n\t\"create\",\n\t...process.argv.slice(2),\n];\n\n// Invoke the main CLI's bootstrap function\nbootstrap(args).catch((err) => {\n\tconsole.error(err);\n\tprocess.exit(1);\n});\n\n"]}