@stackable-labs/cli-app-extension 1.7.0 → 1.7.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.
Files changed (2) hide show
  1. package/dist/index.js +3 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1799,14 +1799,15 @@ var readDevContext = async (projectRoot) => {
1799
1799
  previewPort
1800
1800
  };
1801
1801
  };
1802
+ var DEV_LOCAL_ENV = ".env.development.local";
1802
1803
  var patchProjectEnv = async (projectRoot, key, value) => {
1803
- const envPath = join3(projectRoot, ".env");
1804
+ const envPath = join3(projectRoot, DEV_LOCAL_ENV);
1804
1805
  const existing = await readEnvFile(envPath);
1805
1806
  existing[key] = value;
1806
1807
  await writeEnvFile2(envPath, existing);
1807
1808
  };
1808
1809
  var removeProjectEnvKey = async (projectRoot, key) => {
1809
- const envPath = join3(projectRoot, ".env");
1810
+ const envPath = join3(projectRoot, DEV_LOCAL_ENV);
1810
1811
  const existing = await readEnvFile(envPath);
1811
1812
  delete existing[key];
1812
1813
  await writeEnvFile2(envPath, existing);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stackable-labs/cli-app-extension",
3
- "version": "1.7.0",
3
+ "version": "1.7.1",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "bin": {