@kithinji/pod 1.0.4 → 1.0.5
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/main.js +3 -3
- package/dist/main.js.map +2 -2
- package/package.json +1 -1
- package/src/add/new/index.ts +2 -2
- package/src/main.ts +1 -1
package/dist/main.js
CHANGED
|
@@ -3931,7 +3931,7 @@ function addNew(name) {
|
|
|
3931
3931
|
name: "client",
|
|
3932
3932
|
files: [
|
|
3933
3933
|
{ name: "index.html", content: genIndexHtml(name) },
|
|
3934
|
-
{ name: "client.
|
|
3934
|
+
{ name: "client.tsx", content: genClientTsx() }
|
|
3935
3935
|
]
|
|
3936
3936
|
}
|
|
3937
3937
|
]
|
|
@@ -4037,7 +4037,7 @@ function genIndexHtml(name) {
|
|
|
4037
4037
|
</html>
|
|
4038
4038
|
`;
|
|
4039
4039
|
}
|
|
4040
|
-
function
|
|
4040
|
+
function genClientTsx() {
|
|
4041
4041
|
return `"use interactive";
|
|
4042
4042
|
|
|
4043
4043
|
import {
|
|
@@ -4468,7 +4468,7 @@ function printNextSteps(projectName, env, services) {
|
|
|
4468
4468
|
|
|
4469
4469
|
// src/main.ts
|
|
4470
4470
|
var program = new Command();
|
|
4471
|
-
program.name("pod").description("Pod cli tool").version("1.0.
|
|
4471
|
+
program.name("pod").description("Pod cli tool").version("1.0.5");
|
|
4472
4472
|
program.command("new <name>").description("Start a new Pod Project").action(async (name) => {
|
|
4473
4473
|
await addNew(name);
|
|
4474
4474
|
const appDir = path13.resolve(process.cwd(), name);
|