@akanjs/devkit 0.0.41 → 0.0.43

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/index.js +4 -2
  2. package/package.json +2 -1
package/index.js CHANGED
@@ -1021,11 +1021,11 @@ CMD ["npm", "start"]`,
1021
1021
  this.logger.verbose(`File ${writePath} is unchanged`);
1022
1022
  else {
1023
1023
  import_fs7.default.writeFileSync(writePath, contentStr, "utf8");
1024
- this.logger.debug(`File ${writePath} is changed`);
1024
+ this.logger.verbose(`File ${writePath} is changed`);
1025
1025
  }
1026
1026
  } else {
1027
1027
  import_fs7.default.writeFileSync(writePath, contentStr, "utf8");
1028
- this.logger.debug(`File ${writePath} is created`);
1028
+ this.logger.verbose(`File ${writePath} is created`);
1029
1029
  }
1030
1030
  return this;
1031
1031
  }
@@ -1805,6 +1805,7 @@ CMD ["npm", "start"]`,
1805
1805
  // pkgs/@akanjs/devkit/src/commandDecorators/command.ts
1806
1806
  var import_prompts3 = __require("@inquirer/prompts");
1807
1807
  var import_commander = __require("commander");
1808
+ var import_dotenv = __toESM(__require("dotenv"));
1808
1809
  var camelToKebabCase = (str) => str.replace(/([A-Z])/g, "-$1").toLowerCase();
1809
1810
  var handleOption = (programCommand, argMeta) => {
1810
1811
  const {
@@ -1894,6 +1895,7 @@ CMD ["npm", "start"]`,
1894
1895
  throw new Error(`Invalid system type: ${argMeta.type}`);
1895
1896
  };
1896
1897
  var runCommands = async (...commands) => {
1898
+ import_dotenv.default.config();
1897
1899
  import_commander.program.version("0.0.1").description("An example CLI for managing a directory");
1898
1900
  for (const command of commands) {
1899
1901
  const targetMetas = getTargetMetas(command);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akanjs/devkit",
3
- "version": "0.0.41",
3
+ "version": "0.0.43",
4
4
  "type": "commonjs",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -24,6 +24,7 @@
24
24
  "axios": "^1.7.9",
25
25
  "commander": "^13.1.0",
26
26
  "dayjs": "^1.11.13",
27
+ "dotenv": "^16.4.7",
27
28
  "form-data": "^4.0.1",
28
29
  "js-yaml": "^4.1.0",
29
30
  "next-pwa": "^5.6.0",