@kithinji/pod 1.0.6 → 1.0.8
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 +14 -2
- 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 +13 -1
package/dist/main.js
CHANGED
|
@@ -2881,7 +2881,19 @@ 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(
|
|
2884
|
+
fs4.writeFileSync(
|
|
2885
|
+
"public/index.css",
|
|
2886
|
+
`html {
|
|
2887
|
+
box-sizing: border-box;
|
|
2888
|
+
}
|
|
2889
|
+
|
|
2890
|
+
*, *::before, *::after {
|
|
2891
|
+
box-sizing: inherit;
|
|
2892
|
+
}
|
|
2893
|
+
|
|
2894
|
+
${cssOutput}
|
|
2895
|
+
`
|
|
2896
|
+
);
|
|
2885
2897
|
});
|
|
2886
2898
|
}
|
|
2887
2899
|
};
|
|
@@ -4491,7 +4503,7 @@ function printNextSteps(projectName, env, services) {
|
|
|
4491
4503
|
|
|
4492
4504
|
// src/main.ts
|
|
4493
4505
|
var program = new Command();
|
|
4494
|
-
program.name("pod").description("Pod cli tool").version("1.0.
|
|
4506
|
+
program.name("pod").description("Pod cli tool").version("1.0.8");
|
|
4495
4507
|
program.command("new <name>").description("Start a new Pod Project").action(async (name) => {
|
|
4496
4508
|
await addNew(name);
|
|
4497
4509
|
const appDir = path13.resolve(process.cwd(), name);
|