@kithinji/pod 1.0.8 → 1.0.9

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 CHANGED
@@ -2881,9 +2881,7 @@ function stylePlugin(store) {
2881
2881
  const allRules = styleRules.flat();
2882
2882
  const uniqueRules = [...new Set(allRules)];
2883
2883
  const cssOutput = uniqueRules.join("\n");
2884
- fs4.writeFileSync(
2885
- "public/index.css",
2886
- `html {
2884
+ let output = `html {
2887
2885
  box-sizing: border-box;
2888
2886
  }
2889
2887
 
@@ -2891,9 +2889,16 @@ function stylePlugin(store) {
2891
2889
  box-sizing: inherit;
2892
2890
  }
2893
2891
 
2894
- ${cssOutput}
2895
- `
2896
- );
2892
+ body {
2893
+ margin: 0;
2894
+ display: flex;
2895
+ place-items: center;
2896
+ min-width: 320px;
2897
+ min-height: 100vh;
2898
+ }
2899
+
2900
+ ${cssOutput}`;
2901
+ fs4.writeFileSync("public/index.css", output);
2897
2902
  });
2898
2903
  }
2899
2904
  };
@@ -4503,7 +4508,7 @@ function printNextSteps(projectName, env, services) {
4503
4508
 
4504
4509
  // src/main.ts
4505
4510
  var program = new Command();
4506
- program.name("pod").description("Pod cli tool").version("1.0.8");
4511
+ program.name("pod").description("Pod cli tool").version("1.0.9");
4507
4512
  program.command("new <name>").description("Start a new Pod Project").action(async (name) => {
4508
4513
  await addNew(name);
4509
4514
  const appDir = path13.resolve(process.cwd(), name);