at-builder 1.1.2 → 1.1.4

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/bin/index.js CHANGED
@@ -103,6 +103,8 @@ const handleBuild = async (prod) => {
103
103
  console.log(`Running command: ${commandArr.join(', ')}`);
104
104
  // Run the build command
105
105
  runCommand(commandArr, productionEnv);
106
+ // TO_DO: verify
107
+ // process.exit(0);
106
108
  }
107
109
  };
108
110
  // Command execution logic
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "at-builder",
3
- "version": "1.1.2",
3
+ "version": "1.1.4",
4
4
  "main": "bin/index.js",
5
5
  "bin": {
6
6
  "atb": "bin/index.js"
@@ -53,15 +53,14 @@
53
53
  "typescript": "^5.7.3",
54
54
  "webpack": "^5.72.0",
55
55
  "webpack-cli": "^6.0.1",
56
- "wrapper-webpack-plugin": "^2.1.0"
56
+ "wrapper-webpack-plugin": "^2.1.0",
57
+ "@babel/core": "^7.26.8"
57
58
  },
58
59
  "description": "[![npm version](https://badge.fury.io/js/at-builder.svg)](https://www.npmjs.com/package/at-builder) [![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)",
59
60
  "directories": {
60
61
  "lib": "lib"
61
62
  },
62
- "devDependencies": {
63
- "@babel/core": "^7.26.8"
64
- },
63
+ "devDependencies": {},
65
64
  "repository": {
66
65
  "type": "git",
67
66
  "url": "git+https://github.com/upesenga/at-builder.git"
package/src/index.ts CHANGED
@@ -107,6 +107,8 @@ const handleBuild = async (prod: boolean): Promise<void> => {
107
107
  console.log(`Running command: ${commandArr.join(', ')}`);
108
108
  // Run the build command
109
109
  runCommand(commandArr, productionEnv);
110
+ // TO_DO: verify
111
+ // process.exit(0);
110
112
  }
111
113
  };
112
114
 
package/webpack.config.js CHANGED
@@ -1,4 +1,4 @@
1
- const { PWD } = process.env;
1
+ const { executionPath: PWD } = process.env;
2
2
  const path = require('path');
3
3
  require('dotenv').config({ path: path.join(PWD,".env") });
4
4
  const fs = require('fs');