@madebyseed/seed-cli-tools 2.1.1 → 2.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/lib/tasks/build-utils.js
CHANGED
|
@@ -17,7 +17,7 @@ var utils = require("./includes/utilities.js");
|
|
|
17
17
|
var messages = require("./includes/messages.js");
|
|
18
18
|
|
|
19
19
|
var assetsPaths = [config.src.assets, config.src.templates, config.src.sections, config.src.snippets, config.src.blocks, config.src.locales, config.src.config, config.src.layout];
|
|
20
|
-
var themeSettingsAssets = [config.tmp.templates, config.tmp.config];
|
|
20
|
+
var themeSettingsAssets = [config.tmp.templates, config.tmp.config, config.tmp.sectionsJson, config.tmp.blocksJson, config.tmp.locales];
|
|
21
21
|
/**
|
|
22
22
|
* Copies files from one fold to another, creating a new dir if doesn't exists and
|
|
23
23
|
* overwriting if it does exist
|
|
@@ -95,7 +95,9 @@ var config = {
|
|
|
95
95
|
templates: "tmp/templates/**/*",
|
|
96
96
|
snippets: "tmp/snippets/*",
|
|
97
97
|
sections: "tmp/sections/*",
|
|
98
|
+
sectionsJson: "tmp/sections/*.json",
|
|
98
99
|
blocks: "tmp/blocks/*",
|
|
100
|
+
blocksJson: "tmp/blocks/*.json",
|
|
99
101
|
locales: "tmp/locales/*",
|
|
100
102
|
config: "tmp/config/*",
|
|
101
103
|
layout: "tmp/layout/*",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@madebyseed/seed-cli-tools",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"description": "Seed CLI Tools",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"webpack-stream": "^7.0.0",
|
|
57
57
|
"yargs": "^17.0.1"
|
|
58
58
|
},
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "533a09375f52663debed2398bb22cac2788eb790"
|
|
60
60
|
}
|
package/src/tasks/build-utils.js
CHANGED
|
@@ -19,7 +19,13 @@ const assetsPaths = [
|
|
|
19
19
|
config.src.layout,
|
|
20
20
|
];
|
|
21
21
|
|
|
22
|
-
const themeSettingsAssets = [
|
|
22
|
+
const themeSettingsAssets = [
|
|
23
|
+
config.tmp.templates,
|
|
24
|
+
config.tmp.config,
|
|
25
|
+
config.tmp.sectionsJson,
|
|
26
|
+
config.tmp.blocksJson,
|
|
27
|
+
config.tmp.locales
|
|
28
|
+
];
|
|
23
29
|
|
|
24
30
|
/**
|
|
25
31
|
* Copies files from one fold to another, creating a new dir if doesn't exists and
|
|
@@ -90,7 +90,9 @@ const config = {
|
|
|
90
90
|
templates: "tmp/templates/**/*",
|
|
91
91
|
snippets: "tmp/snippets/*",
|
|
92
92
|
sections: "tmp/sections/*",
|
|
93
|
+
sectionsJson: "tmp/sections/*.json",
|
|
93
94
|
blocks: "tmp/blocks/*",
|
|
95
|
+
blocksJson: "tmp/blocks/*.json",
|
|
94
96
|
locales: "tmp/locales/*",
|
|
95
97
|
config: "tmp/config/*",
|
|
96
98
|
layout: "tmp/layout/*",
|