@akanjs/cli 0.0.41 → 0.0.42
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/index.d.ts +1 -0
- package/index.js +4 -3
- package/package.json +1 -1
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
1
2
|
(() => {
|
|
2
3
|
var __create = Object.create;
|
|
3
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1232,11 +1233,11 @@ CMD ["npm", "start"]`,
|
|
|
1232
1233
|
this.logger.verbose(`File ${writePath} is unchanged`);
|
|
1233
1234
|
else {
|
|
1234
1235
|
import_fs7.default.writeFileSync(writePath, contentStr, "utf8");
|
|
1235
|
-
this.logger.
|
|
1236
|
+
this.logger.verbose(`File ${writePath} is changed`);
|
|
1236
1237
|
}
|
|
1237
1238
|
} else {
|
|
1238
1239
|
import_fs7.default.writeFileSync(writePath, contentStr, "utf8");
|
|
1239
|
-
this.logger.
|
|
1240
|
+
this.logger.verbose(`File ${writePath} is created`);
|
|
1240
1241
|
}
|
|
1241
1242
|
return this;
|
|
1242
1243
|
}
|
|
@@ -4189,7 +4190,7 @@ page.tsx_end
|
|
|
4189
4190
|
logLevel: "warning",
|
|
4190
4191
|
plugins: [(0, import_esbuild_plugin_d.dtsPlugin)({ tsconfig: `${pkg.cwdPath}/tsconfig.json` })]
|
|
4191
4192
|
});
|
|
4192
|
-
await pkg.workspace.exec(`rsync -
|
|
4193
|
+
await pkg.workspace.exec(`rsync -aq ${pkg.cwdPath}/src/ ${distPkg.cwdPath}/src/`);
|
|
4193
4194
|
} else {
|
|
4194
4195
|
await esbuild2.build({
|
|
4195
4196
|
write: true,
|