@crombolo/cli 0.0.0-stage → 0.9.1
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/LICENSE +21 -0
- package/NOTICE +69 -0
- package/bin/crombolo.ts +2108 -0
- package/package.json +42 -4
- package/src/index.ts +7 -0
- package/src/operations/commands.ts +775 -0
- package/src/operations/sections.ts +423 -0
- package/src/templates.ts +309 -0
- package/templates/basic/bundle/bundle.json +45 -0
- package/templates/basic/bundle/nodes/36955f6e-d110-469e-b280-72096eccd148.json +38 -0
- package/templates/basic/files/components/homePage.tsx +22 -0
- package/templates/basic/files/schema/content-types/home-page.toml +28 -0
- package/templates/basic/files/schema/schema.toml +2 -0
- package/templates/basic/template.json +4 -0
- package/templates/demo/harbourstone/CREDITS.md +42 -0
- package/templates/demo/harbourstone/bundle/blobs/180cc8ef/distillery-from-the-cliff-path.jpg +0 -0
- package/templates/demo/harbourstone/bundle/blobs/68c9cfdf/bottle-brine-and-kiln.jpg +0 -0
- package/templates/demo/harbourstone/bundle/blobs/6be45535/bottle-oloroso-pier.jpg +0 -0
- package/templates/demo/harbourstone/bundle/blobs/6d8d6398/bottle-the-cove.jpg +0 -0
- package/templates/demo/harbourstone/bundle/blobs/7b4713f8/copper-pot-stills.jpg +0 -0
- package/templates/demo/harbourstone/bundle/blobs/c114b7d8/bottle-neap-tide.jpg +0 -0
- package/templates/demo/harbourstone/bundle/blobs/fd337567/casks-in-the-sea-facing-warehouse.jpg +0 -0
- package/templates/demo/harbourstone/bundle/bundle.json +197 -0
- package/templates/demo/harbourstone/bundle/nodes/069cc3c5-c9f5-4792-90c9-e2bfcc4855b6.json +35 -0
- package/templates/demo/harbourstone/bundle/nodes/13788fe7-1a45-4b48-8ae4-f4227e154e1e.json +35 -0
- package/templates/demo/harbourstone/bundle/nodes/180cc8ef-caf1-4316-b6a7-e3b5aee41ffd.json +60 -0
- package/templates/demo/harbourstone/bundle/nodes/22144db2-e214-4006-a0bb-53b5bd121fd6.json +35 -0
- package/templates/demo/harbourstone/bundle/nodes/26e87610-e2d6-4b47-bf92-3967f7186907.json +35 -0
- package/templates/demo/harbourstone/bundle/nodes/2caa099b-3884-472d-9cea-797a0f0c376f.json +35 -0
- package/templates/demo/harbourstone/bundle/nodes/2efbdb5b-7888-4a49-bca5-c0f85b76e472.json +42 -0
- package/templates/demo/harbourstone/bundle/nodes/2fe03891-1294-4344-8e24-47e8b212e5b0.json +35 -0
- package/templates/demo/harbourstone/bundle/nodes/38b009f7-03c0-4fda-b5c7-843ad6044e9c.json +35 -0
- package/templates/demo/harbourstone/bundle/nodes/3d312cc8-2937-40e1-ba14-fd781c9a862d.json +95 -0
- package/templates/demo/harbourstone/bundle/nodes/3dc30fc1-973a-4217-b26f-24902210be17.json +35 -0
- package/templates/demo/harbourstone/bundle/nodes/40107d59-f3e9-4592-aee8-5b03d4586cbd.json +101 -0
- package/templates/demo/harbourstone/bundle/nodes/483a0d3b-a10c-4c9d-8c81-d9607d37e968.json +35 -0
- package/templates/demo/harbourstone/bundle/nodes/4b760c0b-b83a-4eee-aa29-c225cfabf19b.json +35 -0
- package/templates/demo/harbourstone/bundle/nodes/4e5c7f3f-54cb-4328-ad61-bc4c2736b890.json +35 -0
- package/templates/demo/harbourstone/bundle/nodes/62f479ff-0875-453e-99ae-3bf1bec5e3c8.json +35 -0
- package/templates/demo/harbourstone/bundle/nodes/68c9cfdf-6b40-47da-a1d2-17256a6cc6db.json +60 -0
- package/templates/demo/harbourstone/bundle/nodes/6ad8f0f3-9334-47f1-b805-80c4b4b4fa88.json +101 -0
- package/templates/demo/harbourstone/bundle/nodes/6be45535-83e5-4469-acf0-4127016721ae.json +60 -0
- package/templates/demo/harbourstone/bundle/nodes/6d8d6398-738f-4f38-ad3c-e5d6e9a971fe.json +60 -0
- package/templates/demo/harbourstone/bundle/nodes/7b4713f8-d917-457d-a9d8-7dd01a3617b4.json +60 -0
- package/templates/demo/harbourstone/bundle/nodes/88ec1185-53b5-439a-a2ce-3f56603be4ff.json +35 -0
- package/templates/demo/harbourstone/bundle/nodes/97469df2-107c-4010-8c14-4de88f735529.json +35 -0
- package/templates/demo/harbourstone/bundle/nodes/a2eb439f-71d9-4ea6-89d7-c5bc72618281.json +35 -0
- package/templates/demo/harbourstone/bundle/nodes/a562f0a2-cb6e-4ead-a1ce-4d180632419f.json +101 -0
- package/templates/demo/harbourstone/bundle/nodes/a5e36a18-a2ef-4eb5-85b4-7e12b21cca06.json +35 -0
- package/templates/demo/harbourstone/bundle/nodes/b1876d3a-50a7-4358-84bf-a0899932ffa9.json +35 -0
- package/templates/demo/harbourstone/bundle/nodes/b4e38bbd-c1a3-431a-b7a9-5868aa32993a.json +35 -0
- package/templates/demo/harbourstone/bundle/nodes/c114b7d8-0138-404b-9d8f-a39d992577a2.json +60 -0
- package/templates/demo/harbourstone/bundle/nodes/cb4c569e-c28a-43b6-a4d7-d33bb544e973.json +136 -0
- package/templates/demo/harbourstone/bundle/nodes/cd681b4b-9c4e-4624-9c13-450aa6a9c135.json +101 -0
- package/templates/demo/harbourstone/bundle/nodes/d60ef12b-0f0a-4db5-9763-21fa52b8d4da.json +150 -0
- package/templates/demo/harbourstone/bundle/nodes/d7f13222-d060-4496-b86d-bef21da963c1.json +35 -0
- package/templates/demo/harbourstone/bundle/nodes/f36dd4a9-927c-4ca3-a790-c9c859ac7302.json +35 -0
- package/templates/demo/harbourstone/bundle/nodes/fd337567-df67-41ca-ae94-9d84d8d6042f.json +60 -0
- package/templates/demo/harbourstone/files/components/pages/contactPage.tsx +36 -0
- package/templates/demo/harbourstone/files/components/pages/contentPage.tsx +54 -0
- package/templates/demo/harbourstone/files/components/pages/expression.tsx +33 -0
- package/templates/demo/harbourstone/files/components/pages/homePage.tsx +71 -0
- package/templates/demo/harbourstone/files/components/pages/whiskyList.tsx +19 -0
- package/templates/demo/harbourstone/files/components/shared/bottling.tsx +59 -0
- package/templates/demo/harbourstone/files/components/shared/highlights.tsx +39 -0
- package/templates/demo/harbourstone/files/components/shared/layout.tsx +49 -0
- package/templates/demo/harbourstone/files/components/shared/section-intro.tsx +40 -0
- package/templates/demo/harbourstone/files/components/shared/site-footer.tsx +14 -0
- package/templates/demo/harbourstone/files/components/shared/site-header.tsx +57 -0
- package/templates/demo/harbourstone/files/css/site.css +720 -0
- package/templates/demo/harbourstone/files/schema/content-types/contact-page.toml +75 -0
- package/templates/demo/harbourstone/files/schema/content-types/content-page.toml +89 -0
- package/templates/demo/harbourstone/files/schema/content-types/expression.toml +78 -0
- package/templates/demo/harbourstone/files/schema/content-types/highlight.toml +27 -0
- package/templates/demo/harbourstone/files/schema/content-types/home-page.toml +104 -0
- package/templates/demo/harbourstone/files/schema/content-types/tasting-note.toml +26 -0
- package/templates/demo/harbourstone/files/schema/content-types/whisky-list.toml +35 -0
- package/templates/demo/harbourstone/files/schema/data-types/highlight-picker.toml +10 -0
- package/templates/demo/harbourstone/files/schema/data-types/tasting-note-picker.toml +11 -0
- package/templates/demo/harbourstone/files/schema/forms/contact.toml +119 -0
- package/templates/demo/harbourstone/files/schema/schema.toml +2 -0
- package/templates/demo/harbourstone/template.json +10 -0
- package/templates/starter/bundle/bundle.json +49 -0
- package/templates/starter/bundle/nodes/634dd948-cf83-4cad-9b7b-7c938b33da76.json +62 -0
- package/templates/starter/bundle/nodes/64d95359-d91a-4050-b440-3e5124a74999.json +62 -0
- package/templates/starter/bundle/nodes/d2997ebb-36ca-47cb-bbc8-31fefca787c0.json +45 -0
- package/templates/starter/files/components/pages/contentPage.tsx +25 -0
- package/templates/starter/files/components/shared/layout.tsx +24 -0
- package/templates/starter/files/components/shared/site-footer.tsx +9 -0
- package/templates/starter/files/components/shared/site-header.tsx +40 -0
- package/templates/starter/files/css/site.css +117 -0
- package/templates/starter/files/schema/content-types/content-page.toml +51 -0
- package/templates/starter/files/schema/schema.toml +2 -0
- package/templates/starter/template.json +4 -0
- package/README.md +0 -3
package/package.json
CHANGED
|
@@ -1,6 +1,44 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crombolo/cli",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.9.1",
|
|
4
|
+
"description": "The crombolo command line: scaffolding a site, schema, views, domains, content transfer and upgrades.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": "Crombolo",
|
|
7
|
+
"homepage": "https://github.com/kineco-au/crombolo-cms#readme",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/kineco-au/crombolo-cms.git",
|
|
11
|
+
"directory": "packages/cli"
|
|
12
|
+
},
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/kineco-au/crombolo-cms/issues"
|
|
15
|
+
},
|
|
16
|
+
"engines": {
|
|
17
|
+
"bun": ">=1.3.0"
|
|
18
|
+
},
|
|
19
|
+
"type": "module",
|
|
20
|
+
"exports": {
|
|
21
|
+
".": "./src/index.ts",
|
|
22
|
+
"./bin": "./bin/crombolo.ts"
|
|
23
|
+
},
|
|
24
|
+
"bin": {
|
|
25
|
+
"crombolo": "./bin/crombolo.ts"
|
|
26
|
+
},
|
|
27
|
+
"files": [
|
|
28
|
+
"src",
|
|
29
|
+
"bin",
|
|
30
|
+
"templates",
|
|
31
|
+
"NOTICE"
|
|
32
|
+
],
|
|
33
|
+
"publishConfig": {
|
|
34
|
+
"access": "public"
|
|
35
|
+
},
|
|
36
|
+
"dependencies": {
|
|
37
|
+
"@crombolo/auth": "0.9.1",
|
|
38
|
+
"@crombolo/core": "0.9.1",
|
|
39
|
+
"@crombolo/data": "0.9.1",
|
|
40
|
+
"@crombolo/schema": "0.9.1",
|
|
41
|
+
"@crombolo/server": "0.9.1",
|
|
42
|
+
"@crombolo/transfer": "0.9.1"
|
|
43
|
+
}
|
|
44
|
+
}
|
package/src/index.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The command line's public surface: the starter-template catalogue, and the
|
|
3
|
+
* commands themselves as functions — the same ones the `crombolo` binary runs —
|
|
4
|
+
* for tooling that drives an environment without a terminal.
|
|
5
|
+
*/
|
|
6
|
+
export * from './operations/commands.ts'
|
|
7
|
+
export * from './templates.ts'
|