create-hugoblox 0.1.3 → 0.3.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/dist/index.d.ts +1 -2
- package/dist/index.js +2 -1
- package/package.json +6 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { }
|
|
1
|
+
export { CreationStep, SiteCreationConfig, TemplateWithPreview, ValidationResult, WelcomeAPIOptions, WelcomeScreenAPI, createWelcomeScreenAPI } from 'hugoblox';
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { bootstrap } from 'hugoblox';
|
|
3
|
+
export { createWelcomeScreenAPI } from 'hugoblox';
|
|
3
4
|
|
|
4
|
-
var
|
|
5
|
+
var r=process.argv.length>2||process.env.CREATE_HUGOBLOX_CLI_MODE==="1";if(r){let e=[process.argv[0],process.argv[1],"create","site",...process.argv.slice(2)];bootstrap(e).catch(t=>{console.error(t),process.exit(1);});}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-hugoblox",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Create a new HugoBlox site",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -14,17 +14,20 @@
|
|
|
14
14
|
"node": ">=18"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"hugoblox": "0.
|
|
17
|
+
"hugoblox": "0.7.0"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@biomejs/biome": "1.6.4",
|
|
21
21
|
"@types/node": "20.11.20",
|
|
22
|
+
"cross-env": "7.0.3",
|
|
22
23
|
"tsup": "8.0.1",
|
|
23
24
|
"typescript": "5.3.3"
|
|
24
25
|
},
|
|
25
26
|
"scripts": {
|
|
26
27
|
"build": "tsup",
|
|
28
|
+
"build:publish": "cross-env HBX_PUBLISH_BUILD=1 tsup",
|
|
27
29
|
"lint": "biome check .",
|
|
28
|
-
"format": "biome format --write ."
|
|
30
|
+
"format": "biome format --write .",
|
|
31
|
+
"publish:package": "pnpm lint && pnpm build:publish && node scripts/publish.js"
|
|
29
32
|
}
|
|
30
33
|
}
|