@shopware-ag/dive 1.16.12 → 1.16.13

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopware-ag/dive",
3
- "version": "1.16.12",
3
+ "version": "1.16.13",
4
4
  "description": "Shopware Spatial Framework",
5
5
  "type": "module",
6
6
  "main": "./build/dive.cjs",
@@ -55,8 +55,8 @@
55
55
  "typescript-eslint": "^7.7.1"
56
56
  },
57
57
  "scripts": {
58
- "build": "tsup",
59
- "dev": "tsup --watch",
58
+ "build": "tsup --env.DIVE_NODE_ENV production",
59
+ "dev": "tsup --watch --env.DIVE_NODE_ENV development",
60
60
  "lint": "eslint",
61
61
  "lint:actions": "yarn lint:actions:transpile && yarn lint:actions:check && yarn lint:actions:cleanup",
62
62
  "lint:actions:transpile": "yarn tsc --resolveJsonModule --esModuleInterop ci/lint/lint-actions.ts && mv ci/lint/lint-actions.js ci/lint/lint-actions.cjs",
package/src/dive.ts CHANGED
@@ -278,7 +278,7 @@ export default class DIVE {
278
278
  };
279
279
 
280
280
  console.log(
281
- `DIVE ${pkgjson.version} initialized ${process.env.NODE_ENV === 'development' ? 'in development mode' : ''}`,
281
+ `DIVE ${pkgjson.version} initialized ${process.env.DIVE_NODE_ENV === 'development' ? 'in development mode' : ''}`,
282
282
  );
283
283
  }
284
284