create-hlou-site 0.1.4 → 0.1.6
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/README.md +1 -5
- package/lib/spec.mjs +2 -2
- package/lib/starter.mjs +1 -2
- package/package.json +1 -1
- package/starter.json +1 -1
package/README.md
CHANGED
|
@@ -43,10 +43,6 @@ create-hlou-site [folder] [options]
|
|
|
43
43
|
`npm create hlou-site@latest my-site -- --locale fr --locales en,ar --yes`
|
|
44
44
|
scaffolds without a question. No dependency; Node 24 or later.
|
|
45
45
|
|
|
46
|
-
##
|
|
47
|
-
|
|
48
|
-
The source lives in the Hlou monorepo (`tools/create-hlou-site/`); tests run with
|
|
49
|
-
`node --test` there. `starter.json` pins the starter commit the monorepo pins:
|
|
50
|
-
`node scripts/pin-starter.mjs` before each publish (`--check` to compare).
|
|
46
|
+
## License
|
|
51
47
|
|
|
52
48
|
MIT © EMIKETIC
|
package/lib/spec.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* The empty site spec a new Hlou site starts from (format 1
|
|
2
|
+
* The empty site spec a new Hlou site starts from (format 1):
|
|
3
3
|
* the locales, a neutral theme, the site's name in the `site.name` slot and
|
|
4
4
|
* one home page whose hero shows that name, so the first `pnpm dev` draws
|
|
5
5
|
* something. Pure: options in, files out.
|
|
@@ -158,7 +158,7 @@ export function emptySpec({ name, locales }) {
|
|
|
158
158
|
};
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
/** The Claude Code plugin marketplace the scaffold names
|
|
161
|
+
/** The Claude Code plugin marketplace the scaffold names. */
|
|
162
162
|
export const PLUGIN_MARKETPLACE = {
|
|
163
163
|
name: 'hlou-claude-plugins',
|
|
164
164
|
repo: 'hloudev/hlou-claude-plugins',
|
package/lib/starter.mjs
CHANGED
|
@@ -51,8 +51,7 @@ function isSkippedFile(name) {
|
|
|
51
51
|
|
|
52
52
|
/**
|
|
53
53
|
* Whether a path of the starter (posix, from its root) stays out of a new
|
|
54
|
-
* site. `site/` and `public/media/` hold the starter's sample
|
|
55
|
-
* fixture); a new site compiles `site/` from its spec and starts with no media.
|
|
54
|
+
* site. `site/` and `public/media/` hold the starter's sample; a new site compiles `site/` from its spec and starts with no media.
|
|
56
55
|
*/
|
|
57
56
|
export function isSkipped(path) {
|
|
58
57
|
const parts = path.split('/');
|
package/package.json
CHANGED
package/starter.json
CHANGED