@thinhnguyencth1204/nextcli 0.4.1 → 0.4.2
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.js +4 -4
- package/package.json +1 -2
package/dist/cli.js
CHANGED
|
@@ -560,7 +560,7 @@ import { readdir as readdir3, readFile as readFile4, writeFile as writeFile4 } f
|
|
|
560
560
|
import path4 from "path";
|
|
561
561
|
import { readdir as readdir2, readFile as readFile3, writeFile as writeFile3 } from "fs/promises";
|
|
562
562
|
var defaultManifest = {
|
|
563
|
-
cli: "0.4.
|
|
563
|
+
cli: "0.4.2",
|
|
564
564
|
defaultLocale: "vi",
|
|
565
565
|
locales: ["vi"],
|
|
566
566
|
namespaces: ["common", "auth", "example"],
|
|
@@ -1894,7 +1894,7 @@ function registerCreateCommand(program2) {
|
|
|
1894
1894
|
__PROJECT_NAME__: projectSlug,
|
|
1895
1895
|
__ENABLE_CHAT__: selectedModules.includes("chat") ? "true" : "false",
|
|
1896
1896
|
__BETTER_AUTH_SECRET__: betterAuthSecret,
|
|
1897
|
-
__NEXTCLI_VERSION__: "0.4.
|
|
1897
|
+
__NEXTCLI_VERSION__: "0.4.2"
|
|
1898
1898
|
});
|
|
1899
1899
|
await mergeModuleSetupSections(
|
|
1900
1900
|
targetPath,
|
|
@@ -1905,7 +1905,7 @@ function registerCreateCommand(program2) {
|
|
|
1905
1905
|
if (manifest) {
|
|
1906
1906
|
await writeManifest(targetPath, {
|
|
1907
1907
|
...manifest,
|
|
1908
|
-
cli: "0.4.
|
|
1908
|
+
cli: "0.4.2",
|
|
1909
1909
|
modules: selectedModules
|
|
1910
1910
|
});
|
|
1911
1911
|
}
|
|
@@ -2147,7 +2147,7 @@ var NexTCLICommand = class _NexTCLICommand extends Command {
|
|
|
2147
2147
|
|
|
2148
2148
|
// src/cli.ts
|
|
2149
2149
|
var program = new NexTCLICommand();
|
|
2150
|
-
program.name("nextcli").description("Scaffold outsource-ready Next.js projects").version("0.4.
|
|
2150
|
+
program.name("nextcli").description("Scaffold outsource-ready Next.js projects").version("0.4.2");
|
|
2151
2151
|
registerCreateCommand(program);
|
|
2152
2152
|
registerAddCommand(program);
|
|
2153
2153
|
registerMigrateCommand(program);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thinhnguyencth1204/nextcli",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.2",
|
|
4
4
|
"description": "CLI scaffolder for outsourced Next.js projects",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -33,7 +33,6 @@
|
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@clack/prompts": "^0.7.0",
|
|
36
|
-
"@thinhnguyencth1204/nextcli": "^0.4.1",
|
|
37
36
|
"commander": "^12.1.0"
|
|
38
37
|
},
|
|
39
38
|
"devDependencies": {
|