@madebyseed/seed-cli-tools 1.2.1 → 1.2.2

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/utils.js CHANGED
@@ -150,7 +150,7 @@ function getThemeID(themeRoot, environment) {
150
150
 
151
151
 
152
152
  function getDevThemeID(themeRoot) {
153
- return getSeedConfig(themeRoot).developmentThemeId;
153
+ return getSeedConfig(themeRoot).__developmentThemeId;
154
154
  }
155
155
  /**
156
156
  * Given a string, finds the first themeID and returns it, if no themeID found
@@ -190,6 +190,6 @@ function setDevThemeID(themeID) {
190
190
  encoding: "utf8"
191
191
  });
192
192
  data = data.split(_config["default"].seedConfigDelimiter);
193
- data[1] = "\n developmentThemeId: '".concat(themeID, "'") + "\n};";
193
+ data[1] = "\n __developmentThemeId: '".concat(themeID, "'") + "\n};";
194
194
  (0, _fs.writeFileSync)(_config["default"].seedConfig, data.join(_config["default"].seedConfigDelimiter));
195
195
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@madebyseed/seed-cli-tools",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "Seed CLI Tools",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -53,5 +53,5 @@
53
53
  "vinyl-paths": "^3.0.1",
54
54
  "yargs": "^17.0.1"
55
55
  },
56
- "gitHead": "fc7df55c50463311a7eadbf0131e68c448064337"
56
+ "gitHead": "b822518c36b3de1a53e3b16bc693a078a3c084e6"
57
57
  }
package/src/utils.js CHANGED
@@ -120,7 +120,7 @@ export function getThemeID(themeRoot, environment) {
120
120
  * @returns {string} - development store theme ID
121
121
  */
122
122
  export function getDevThemeID(themeRoot) {
123
- return getSeedConfig(themeRoot).developmentThemeId;
123
+ return getSeedConfig(themeRoot).__developmentThemeId;
124
124
  }
125
125
 
126
126
  /**
@@ -155,6 +155,6 @@ export function logChildProcessOutput(process) {
155
155
  export function setDevThemeID(themeID) {
156
156
  let data = readFileSync(config.seedConfig, { encoding: "utf8" });
157
157
  data = data.split(config.seedConfigDelimiter);
158
- data[1] = `\n developmentThemeId: '${themeID}'` + "\n};";
158
+ data[1] = `\n __developmentThemeId: '${themeID}'` + "\n};";
159
159
  writeFileSync(config.seedConfig, data.join(config.seedConfigDelimiter));
160
160
  }