@lukoweb/apitogo 0.2.34 → 0.2.35

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/dist/cli/cli.js CHANGED
@@ -10075,7 +10075,7 @@ import {
10075
10075
  // package.json
10076
10076
  var package_default = {
10077
10077
  name: "@lukoweb/apitogo",
10078
- version: "0.2.34",
10078
+ version: "0.2.35",
10079
10079
  type: "module",
10080
10080
  sideEffects: [
10081
10081
  "**/*.css",
@@ -15026,11 +15026,15 @@ function portalBuildStep(context, options = {}, build2 = runBuild) {
15026
15026
  ),
15027
15027
  run: async () => {
15028
15028
  const originalCwd = process.cwd();
15029
+ const originalNodeEnv = process.env.NODE_ENV;
15030
+ process.env.NODE_ENV = "production";
15029
15031
  process.chdir(root);
15030
15032
  try {
15031
15033
  await build2({ dir: root, jsonOnly: options.jsonOnly });
15032
15034
  } finally {
15033
15035
  process.chdir(originalCwd);
15036
+ if (originalNodeEnv === void 0) delete process.env.NODE_ENV;
15037
+ else process.env.NODE_ENV = originalNodeEnv;
15034
15038
  }
15035
15039
  await rm8(buildDir, { recursive: true, force: true });
15036
15040
  await mkdir12(path48.dirname(buildDir), { recursive: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lukoweb/apitogo",
3
- "version": "0.2.34",
3
+ "version": "0.2.35",
4
4
  "type": "module",
5
5
  "sideEffects": [
6
6
  "**/*.css",
Binary file