xplorajs 0.3.7 → 0.3.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.
@@ -13,7 +13,7 @@ export async function buildCSS() {
13
13
  recursive: true
14
14
  });
15
15
  try {
16
- await $`bunx tailwindcss -i ${inputPath} -o ${outputPath} --minify`.quiet();
16
+ await $`bunx @tailwindcss/cli -i ${inputPath} -o ${outputPath} --minify`.quiet();
17
17
  console.log("CSS built successfully");
18
18
  } catch (error) {
19
19
  console.error("CSS build failed:", error);
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/commands/css.ts"],"sourcesContent":["import { join } from \"node:path\";\nimport { mkdir } from \"node:fs/promises\";\nimport { $, file } from \"bun\";\n\n/**\n * Build CSS with Tailwind CSS v4.\n * Reads src/app/styles.css and outputs to dist/assets/style.css\n */\nexport async function buildCSS() {\n const inputPath = join(process.cwd(), \"src/app/styles.css\");\n const outputPath = join(process.cwd(), \"dist/assets/style.css\");\n\n const inputFile = file(inputPath);\n if (!(await inputFile.exists())) {\n console.log(\"No styles.css found, skipping CSS build\");\n return;\n }\n\n await mkdir(join(process.cwd(), \"dist/assets\"), { recursive: true });\n\n try {\n await $`bunx tailwindcss -i ${inputPath} -o ${outputPath} --minify`.quiet();\n console.log(\"CSS built successfully\");\n } catch (error) {\n console.error(\"CSS build failed:\", error);\n throw error;\n }\n}\n"],"names":["join","mkdir","$","file","buildCSS","inputPath","process","cwd","outputPath","inputFile","exists","console","log","recursive","quiet","error"],"mappings":"AAAA,SAASA,IAAI,QAAQ,YAAY;AACjC,SAASC,KAAK,QAAQ,mBAAmB;AACzC,SAASC,CAAC,EAAEC,IAAI,QAAQ,MAAM;AAM9B,OAAO,eAAeC;IACpB,MAAMC,YAAYL,KAAKM,QAAQC,GAAG,IAAI;IACtC,MAAMC,aAAaR,KAAKM,QAAQC,GAAG,IAAI;IAEvC,MAAME,YAAYN,KAAKE;IACvB,IAAI,CAAE,MAAMI,UAAUC,MAAM,IAAK;QAC/BC,QAAQC,GAAG,CAAC;QACZ;IACF;IAEA,MAAMX,MAAMD,KAAKM,QAAQC,GAAG,IAAI,gBAAgB;QAAEM,WAAW;IAAK;IAElE,IAAI;QACF,MAAMX,CAAC,CAAC,oBAAoB,EAAEG,UAAU,IAAI,EAAEG,WAAW,SAAS,CAAC,CAACM,KAAK;QACzEH,QAAQC,GAAG,CAAC;IACd,EAAE,OAAOG,OAAO;QACdJ,QAAQI,KAAK,CAAC,qBAAqBA;QACnC,MAAMA;IACR;AACF"}
1
+ {"version":3,"sources":["../../src/commands/css.ts"],"sourcesContent":["import { join } from \"node:path\";\nimport { mkdir } from \"node:fs/promises\";\nimport { $, file } from \"bun\";\n\n/**\n * Build CSS with Tailwind CSS v4.\n * Reads src/app/styles.css and outputs to dist/assets/style.css\n */\nexport async function buildCSS() {\n const inputPath = join(process.cwd(), \"src/app/styles.css\");\n const outputPath = join(process.cwd(), \"dist/assets/style.css\");\n\n const inputFile = file(inputPath);\n if (!(await inputFile.exists())) {\n console.log(\"No styles.css found, skipping CSS build\");\n return;\n }\n\n await mkdir(join(process.cwd(), \"dist/assets\"), { recursive: true });\n\n try {\n await $`bunx @tailwindcss/cli -i ${inputPath} -o ${outputPath} --minify`.quiet();\n console.log(\"CSS built successfully\");\n } catch (error) {\n console.error(\"CSS build failed:\", error);\n throw error;\n }\n}\n"],"names":["join","mkdir","$","file","buildCSS","inputPath","process","cwd","outputPath","inputFile","exists","console","log","recursive","quiet","error"],"mappings":"AAAA,SAASA,IAAI,QAAQ,YAAY;AACjC,SAASC,KAAK,QAAQ,mBAAmB;AACzC,SAASC,CAAC,EAAEC,IAAI,QAAQ,MAAM;AAM9B,OAAO,eAAeC;IACpB,MAAMC,YAAYL,KAAKM,QAAQC,GAAG,IAAI;IACtC,MAAMC,aAAaR,KAAKM,QAAQC,GAAG,IAAI;IAEvC,MAAME,YAAYN,KAAKE;IACvB,IAAI,CAAE,MAAMI,UAAUC,MAAM,IAAK;QAC/BC,QAAQC,GAAG,CAAC;QACZ;IACF;IAEA,MAAMX,MAAMD,KAAKM,QAAQC,GAAG,IAAI,gBAAgB;QAAEM,WAAW;IAAK;IAElE,IAAI;QACF,MAAMX,CAAC,CAAC,yBAAyB,EAAEG,UAAU,IAAI,EAAEG,WAAW,SAAS,CAAC,CAACM,KAAK;QAC9EH,QAAQC,GAAG,CAAC;IACd,EAAE,OAAOG,OAAO;QACdJ,QAAQI,KAAK,CAAC,qBAAqBA;QACnC,MAAMA;IACR;AACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xplorajs",
3
- "version": "0.3.7",
3
+ "version": "0.3.8",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",