@kithinji/pod 1.0.8 → 1.0.10
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 +9 -7
- package/dist/main.js.map +2 -2
- package/dist/types/plugins/css/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/main.ts +1 -1
- package/src/plugins/css/index.ts +9 -6
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
|
-
|
|
2885
|
-
"public/index.css",
|
|
2886
|
-
`html {
|
|
2884
|
+
let output = `html {
|
|
2887
2885
|
box-sizing: border-box;
|
|
2888
2886
|
}
|
|
2889
2887
|
|
|
@@ -2891,9 +2889,13 @@ function stylePlugin(store) {
|
|
|
2891
2889
|
box-sizing: inherit;
|
|
2892
2890
|
}
|
|
2893
2891
|
|
|
2894
|
-
|
|
2895
|
-
|
|
2896
|
-
|
|
2892
|
+
body {
|
|
2893
|
+
margin: 0;
|
|
2894
|
+
padding: 0;
|
|
2895
|
+
}
|
|
2896
|
+
|
|
2897
|
+
${cssOutput}`;
|
|
2898
|
+
fs4.writeFileSync("public/index.css", output);
|
|
2897
2899
|
});
|
|
2898
2900
|
}
|
|
2899
2901
|
};
|
|
@@ -4503,7 +4505,7 @@ function printNextSteps(projectName, env, services) {
|
|
|
4503
4505
|
|
|
4504
4506
|
// src/main.ts
|
|
4505
4507
|
var program = new Command();
|
|
4506
|
-
program.name("pod").description("Pod cli tool").version("1.0.
|
|
4508
|
+
program.name("pod").description("Pod cli tool").version("1.0.10");
|
|
4507
4509
|
program.command("new <name>").description("Start a new Pod Project").action(async (name) => {
|
|
4508
4510
|
await addNew(name);
|
|
4509
4511
|
const appDir = path13.resolve(process.cwd(), name);
|