@lightspeed/crane 3.4.5-rc.0 → 3.5.0-rc.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/CHANGELOG.md +3 -6
- package/dist/cli.mjs +67 -45
- package/package.json +2 -2
- package/template/page-templates/example-template/configuration.ts +50 -0
- package/template/reference/templates/reference-template-apparel/configuration.ts +50 -0
- package/template/reference/templates/reference-template-bike/configuration.ts +50 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lightspeed/crane",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.5.0-rc.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": "bin/crane.js",
|
|
6
6
|
"main": "./dist/app.mjs",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
},
|
|
66
66
|
"dependencies": {
|
|
67
67
|
"@jridgewell/sourcemap-codec": "^1.5.4",
|
|
68
|
-
"@lightspeed/crane-api": "2.
|
|
68
|
+
"@lightspeed/crane-api": "2.5.0-rc.0",
|
|
69
69
|
"@lightspeed/eslint-config-crane": "1.1.3",
|
|
70
70
|
"@types/micromatch": "^4.0.8",
|
|
71
71
|
"@types/prompts": "^2.4.2",
|
|
@@ -20,4 +20,54 @@ export default template.configuration({
|
|
|
20
20
|
footer: section.default({
|
|
21
21
|
id: 'footer',
|
|
22
22
|
}),
|
|
23
|
+
styleId: 'customName-001',
|
|
24
|
+
globalSettings: {
|
|
25
|
+
colorPalette: {
|
|
26
|
+
colorA: '#FFFFFF',
|
|
27
|
+
colorB: '#F3F5F7',
|
|
28
|
+
colorC: '#E7EAEE',
|
|
29
|
+
colorD: '#C7352E',
|
|
30
|
+
colorE: '#2D3136',
|
|
31
|
+
colorF: '#0E0F11',
|
|
32
|
+
},
|
|
33
|
+
fonts: {
|
|
34
|
+
fontPair: {
|
|
35
|
+
headingFont: 'dm_sans',
|
|
36
|
+
headingFontStyle: 'bold',
|
|
37
|
+
bodyFont: 'dm_sans',
|
|
38
|
+
bodyFontStyle: 'regular',
|
|
39
|
+
},
|
|
40
|
+
general: {
|
|
41
|
+
heading1: {
|
|
42
|
+
fontSize: 64,
|
|
43
|
+
},
|
|
44
|
+
heading2: {
|
|
45
|
+
fontSize: 48,
|
|
46
|
+
},
|
|
47
|
+
heading3: {
|
|
48
|
+
fontSize: 32,
|
|
49
|
+
},
|
|
50
|
+
heading4: {
|
|
51
|
+
fontSize: 18,
|
|
52
|
+
},
|
|
53
|
+
body1: {
|
|
54
|
+
fontSize: 24,
|
|
55
|
+
},
|
|
56
|
+
body2: {
|
|
57
|
+
fontSize: 18,
|
|
58
|
+
},
|
|
59
|
+
body3: {
|
|
60
|
+
fontSize: 16,
|
|
61
|
+
},
|
|
62
|
+
body4: {
|
|
63
|
+
fontSize: 14,
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
alignment: 'center',
|
|
68
|
+
pageLayout: {
|
|
69
|
+
contentWidth: 1128,
|
|
70
|
+
},
|
|
71
|
+
cornerRadius: 'sharp',
|
|
72
|
+
},
|
|
23
73
|
});
|
|
@@ -19,4 +19,54 @@ export default template.configuration({
|
|
|
19
19
|
footer: section.default({
|
|
20
20
|
id: 'footer',
|
|
21
21
|
}),
|
|
22
|
+
styleId: 'customName-001',
|
|
23
|
+
globalSettings: {
|
|
24
|
+
colorPalette: {
|
|
25
|
+
colorA: '#FFFFFF',
|
|
26
|
+
colorB: '#F3F5F7',
|
|
27
|
+
colorC: '#E7EAEE',
|
|
28
|
+
colorD: '#C7352E',
|
|
29
|
+
colorE: '#2D3136',
|
|
30
|
+
colorF: '#0E0F11',
|
|
31
|
+
},
|
|
32
|
+
fonts: {
|
|
33
|
+
fontPair: {
|
|
34
|
+
headingFont: 'dm_sans',
|
|
35
|
+
headingFontStyle: 'bold',
|
|
36
|
+
bodyFont: 'dm_sans',
|
|
37
|
+
bodyFontStyle: 'regular',
|
|
38
|
+
},
|
|
39
|
+
general: {
|
|
40
|
+
heading1: {
|
|
41
|
+
fontSize: 64,
|
|
42
|
+
},
|
|
43
|
+
heading2: {
|
|
44
|
+
fontSize: 48,
|
|
45
|
+
},
|
|
46
|
+
heading3: {
|
|
47
|
+
fontSize: 32,
|
|
48
|
+
},
|
|
49
|
+
heading4: {
|
|
50
|
+
fontSize: 18,
|
|
51
|
+
},
|
|
52
|
+
body1: {
|
|
53
|
+
fontSize: 24,
|
|
54
|
+
},
|
|
55
|
+
body2: {
|
|
56
|
+
fontSize: 18,
|
|
57
|
+
},
|
|
58
|
+
body3: {
|
|
59
|
+
fontSize: 16,
|
|
60
|
+
},
|
|
61
|
+
body4: {
|
|
62
|
+
fontSize: 14,
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
alignment: 'center',
|
|
67
|
+
pageLayout: {
|
|
68
|
+
contentWidth: 1128,
|
|
69
|
+
},
|
|
70
|
+
cornerRadius: 'sharp',
|
|
71
|
+
},
|
|
22
72
|
});
|
|
@@ -19,4 +19,54 @@ export default template.configuration({
|
|
|
19
19
|
footer: section.default({
|
|
20
20
|
id: 'footer',
|
|
21
21
|
}),
|
|
22
|
+
styleId: 'customName-001',
|
|
23
|
+
globalSettings: {
|
|
24
|
+
colorPalette: {
|
|
25
|
+
colorA: '#FFFFFF',
|
|
26
|
+
colorB: '#F3F5F7',
|
|
27
|
+
colorC: '#E7EAEE',
|
|
28
|
+
colorD: '#C7352E',
|
|
29
|
+
colorE: '#2D3136',
|
|
30
|
+
colorF: '#0E0F11',
|
|
31
|
+
},
|
|
32
|
+
fonts: {
|
|
33
|
+
fontPair: {
|
|
34
|
+
headingFont: 'dm_sans',
|
|
35
|
+
headingFontStyle: 'bold',
|
|
36
|
+
bodyFont: 'dm_sans',
|
|
37
|
+
bodyFontStyle: 'regular',
|
|
38
|
+
},
|
|
39
|
+
general: {
|
|
40
|
+
heading1: {
|
|
41
|
+
fontSize: 64,
|
|
42
|
+
},
|
|
43
|
+
heading2: {
|
|
44
|
+
fontSize: 48,
|
|
45
|
+
},
|
|
46
|
+
heading3: {
|
|
47
|
+
fontSize: 32,
|
|
48
|
+
},
|
|
49
|
+
heading4: {
|
|
50
|
+
fontSize: 18,
|
|
51
|
+
},
|
|
52
|
+
body1: {
|
|
53
|
+
fontSize: 24,
|
|
54
|
+
},
|
|
55
|
+
body2: {
|
|
56
|
+
fontSize: 18,
|
|
57
|
+
},
|
|
58
|
+
body3: {
|
|
59
|
+
fontSize: 16,
|
|
60
|
+
},
|
|
61
|
+
body4: {
|
|
62
|
+
fontSize: 14,
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
alignment: 'center',
|
|
67
|
+
pageLayout: {
|
|
68
|
+
contentWidth: 1128,
|
|
69
|
+
},
|
|
70
|
+
cornerRadius: 'sharp',
|
|
71
|
+
},
|
|
22
72
|
});
|