create-galley 0.1.2 → 0.2.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/README.md +37 -12
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,7 +1,29 @@
|
|
|
1
|
-
|
|
1
|
+
<div align="center">
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
<a href="https://galley.fictiontribe.com">
|
|
4
|
+
<picture>
|
|
5
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/fictiontribe/galley/main/brand/logo/lockup-reverse.svg">
|
|
6
|
+
<img src="https://raw.githubusercontent.com/fictiontribe/galley/main/brand/logo/lockup.svg" alt="Galley" width="200">
|
|
7
|
+
</picture>
|
|
8
|
+
</a>
|
|
9
|
+
|
|
10
|
+
<p><strong>create-galley</strong> · a new site with Galley, the open-source AI CMS for static sites</p>
|
|
11
|
+
|
|
12
|
+
<p>
|
|
13
|
+
<a href="https://www.npmjs.com/package/create-galley"><img alt="create-galley on npm" src="https://img.shields.io/npm/v/create-galley"></a>
|
|
14
|
+
<a href="https://github.com/fictiontribe/galley/actions/workflows/ci.yml"><img alt="CI on main" src="https://github.com/fictiontribe/galley/actions/workflows/ci.yml/badge.svg?branch=main"></a>
|
|
15
|
+
<a href="https://github.com/fictiontribe/galley/blob/main/LICENSE"><img alt="License: Apache-2.0" src="https://img.shields.io/npm/l/create-galley"></a>
|
|
16
|
+
</p>
|
|
17
|
+
|
|
18
|
+
<p>
|
|
19
|
+
<a href="https://galley.fictiontribe.com">Website</a> ·
|
|
20
|
+
<a href="https://galley.fictiontribe.com/starters/">Starters</a> ·
|
|
21
|
+
<a href="https://galley.fictiontribe.com/tour/">Tour</a> ·
|
|
22
|
+
<a href="https://galley.fictiontribe.com/docs/">Docs</a> ·
|
|
23
|
+
<a href="https://github.com/fictiontribe/galley">GitHub</a>
|
|
24
|
+
</p>
|
|
25
|
+
|
|
26
|
+
</div>
|
|
5
27
|
|
|
6
28
|
```sh
|
|
7
29
|
npm create galley@latest
|
|
@@ -9,26 +31,28 @@ npm create galley@latest
|
|
|
9
31
|
|
|
10
32
|
It asks which starter and what to call the site, copies the starter into a
|
|
11
33
|
new folder, records the first version, installs the dependencies and opens
|
|
12
|
-
Galley on it in your browser.
|
|
34
|
+
Galley on it in your browser. It needs Node.js 22.23.4 or newer and git.
|
|
13
35
|
|
|
14
36
|
Without questions:
|
|
15
37
|
|
|
16
38
|
```sh
|
|
17
39
|
npm create galley@latest my-site -- --starter caddow
|
|
18
|
-
pnpm create galley my-site --starter caddow
|
|
19
|
-
yarn create galley my-site --starter caddow
|
|
20
|
-
bun create galley my-site --starter caddow
|
|
21
40
|
```
|
|
22
41
|
|
|
23
|
-
|
|
24
|
-
with
|
|
42
|
+
`pnpm create galley`, `yarn create galley` and `bun create galley` work the
|
|
43
|
+
same way, and the site's dependencies are installed with the package manager
|
|
44
|
+
you ran it with.
|
|
25
45
|
|
|
26
46
|
| Starter | What it is |
|
|
27
47
|
| --- | --- |
|
|
28
48
|
| `lowfield` (the default) | A site for a small studio or local business |
|
|
29
49
|
| `caddow` | A photography-led site for a small fashion label |
|
|
30
50
|
| `ferrow` | A marketing site for a software company |
|
|
31
|
-
| `storefront` | A shop for a small fashion label, with products from Shopify |
|
|
51
|
+
| `storefront` | A shop for a small fashion label, with products from Shopify (in progress) |
|
|
52
|
+
|
|
53
|
+
<p align="center">
|
|
54
|
+
<img src="https://raw.githubusercontent.com/fictiontribe/galley/main/apps/site/public/screens/site-home.webp" width="760" alt="Galley's Site home for Caddow, a site made from the caddow starter: a box to ask for a change, three pages waiting to publish, and cards to put the site online and to move from WordPress.">
|
|
55
|
+
</p>
|
|
32
56
|
|
|
33
57
|
Options: `--starter <name>`, `--look <id>`, `--dir <folder>`,
|
|
34
58
|
`--use npm|pnpm|yarn|bun`, `--no-install`, `--no-open`, `--no-start`,
|
|
@@ -37,5 +61,6 @@ Options: `--starter <name>`, `--look <id>`, `--dir <folder>`,
|
|
|
37
61
|
To open the site again later, run `npx galley-cms` in its folder.
|
|
38
62
|
|
|
39
63
|
create-galley is a small front door: the work is done by
|
|
40
|
-
[`galley-cms`](https://www.npmjs.com/package/galley-cms)'s `galley new`,
|
|
41
|
-
is installed with it. Apache-2.0.
|
|
64
|
+
[`galley-cms`](https://www.npmjs.com/package/galley-cms)'s `galley new`,
|
|
65
|
+
which is installed with it. Apache-2.0. Made by
|
|
66
|
+
[Fiction Tribe](https://www.fictiontribe.com).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-galley",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Make a new site with Galley, the open-source AI CMS for static sites, in one command: npm create galley@latest",
|
|
6
6
|
"keywords": [
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"provenance": true
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"galley-cms": "0.
|
|
39
|
+
"galley-cms": "0.2.0"
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|
|
42
42
|
"typecheck": "tsc --noEmit -p tsconfig.json",
|