phpxui 0.1.0 → 0.1.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.
@@ -15,9 +15,9 @@ const path_1 = __importDefault(require("path"));
15
15
  */
16
16
  function copyTailwindCss(force = false) {
17
17
  // Path to the CSS bundled with the CLI
18
- const source = path_1.default.resolve(__dirname, "../css/global.css");
18
+ const source = path_1.default.resolve(__dirname, "../css/globals.css");
19
19
  // Path inside the user’s project
20
- const target = path_1.default.resolve(process.cwd(), "src/app/global.css");
20
+ const target = path_1.default.resolve(process.cwd(), "src/app/globals.css");
21
21
  if (!force && fs_extra_1.default.existsSync(target)) {
22
22
  return false; // skip quietly
23
23
  }
package/dist/index.js CHANGED
@@ -63,7 +63,7 @@ const CORE_COMPONENTS = ["Slot", "Portal"];
63
63
  const cssUpdated = (0, copy_tailwind_1.copyTailwindCss)(isFirstRun /* ignore flags.force here */);
64
64
  if (cssUpdated) {
65
65
  const relCss = path_1.default
66
- .relative(process.cwd(), "src/app/css/tailwind.css")
66
+ .relative(process.cwd(), "src/app/globals.css")
67
67
  .replace(/\\/g, "/");
68
68
  console.log(chalk_1.default.green(isFirstRun
69
69
  ? `✔ Installed base Tailwind CSS → ${relCss}`
@@ -13,7 +13,7 @@ const defaultConfig = {
13
13
  outputDir: "src/Lib/PHPXUI",
14
14
  iconsInstalled: false,
15
15
  tailwind: {
16
- css: "src/app/css/tailwind.css",
16
+ css: "src/app/globals.css",
17
17
  baseColor: "neutral",
18
18
  cssVariables: true,
19
19
  prefix: "",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "phpxui",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "A package for generating Prisma PHP components with a CLI interface.",
5
5
  "main": "index.js",
6
6
  "scripts": {
File without changes