create-payload-canvas 0.1.0 → 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 +4 -0
- package/dist/config.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# create-payload-canvas
|
|
2
2
|
|
|
3
|
+
<p align="center">
|
|
4
|
+
<a href="https://github.com/jon8800/payload-canvas/blob/main/docs/media/drag-and-drop.mp4"><img src="https://raw.githubusercontent.com/jon8800/payload-canvas/main/docs/media/drag-and-drop.gif" width="960" alt="Dragging a section on the canvas while the other sections slide out of the way, reordering it in the Layers tree, and dropping a ready-made section onto the page"></a>
|
|
5
|
+
</p>
|
|
6
|
+
|
|
3
7
|
Creates a new Payload CMS website builder project from the Payload Canvas starter.
|
|
4
8
|
|
|
5
9
|
Requirements: Node.js 20.9 or later, a running PostgreSQL server, and pnpm (npm works too). The starter itself is downloaded from GitHub, so the first run needs network access.
|
package/dist/config.js
CHANGED
|
@@ -9,7 +9,7 @@ export function tarballUrl(ref) {
|
|
|
9
9
|
return `https://codeload.github.com/${GITHUB_OWNER}/${GITHUB_REPO}/tar.gz/${ref}`;
|
|
10
10
|
}
|
|
11
11
|
// Version range for the payload-canvas package when it comes from npm.
|
|
12
|
-
export const PUBLISHED_VERSION = '^0.
|
|
12
|
+
export const PUBLISHED_VERSION = '^0.2.0';
|
|
13
13
|
// The package the starter depends on: its npm name and its folder under `packages/` in the repo.
|
|
14
14
|
export const BUILDER_PACKAGE = { name: 'payload-canvas', dir: 'payload-canvas' };
|
|
15
15
|
// Files and folders of the starter that only make sense inside the repo. The CLI does not copy them.
|
package/package.json
CHANGED