@akanjs/cli 0.0.48 → 0.0.49

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 +5 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -4220,6 +4220,10 @@ page.tsx_end
4220
4220
  const pkgPackageJson = { ...pkgJson, main: "./index.js", engines: { node: ">=22" }, dependencies };
4221
4221
  if (buildResult.outputFiles)
4222
4222
  buildResult.outputFiles.map((file) => distPkg.writeFile(file.path, file.text));
4223
+ if (["@akanjs/next", "@akanjs/common"].includes(pkg.name)) {
4224
+ await import_promises3.default.rm(`${distPkg.cwdPath}/index.js`);
4225
+ await import_promises3.default.cp(`${pkg.cwdPath}/index.ts`, `${distPkg.cwdPath}/index.ts`);
4226
+ }
4223
4227
  distPkg.writeJson("package.json", pkgPackageJson);
4224
4228
  }
4225
4229
  };
@@ -5064,3 +5068,4 @@ ${names.Model}.Unit.Card\uC758 \uB9AC\uC561\uD2B8 \uCEF4\uD3EC\uB10C\uD2B8\uB97C
5064
5068
  //! 2. csr폴더를 현 위치로 복사 후 압축 후 삭제
5065
5069
  //! execSync를 가져오기 싫으니 일단 2번 방법으로 해보자
5066
5070
  //! add path in tsconfig.json
5071
+ //! Temporary fix for barrel library
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "commonjs",
3
3
  "name": "@akanjs/cli",
4
- "version": "0.0.48",
4
+ "version": "0.0.49",
5
5
  "bin": {
6
6
  "akan": "index.js"
7
7
  },