@weapp-tailwindcss/cli 5.7.0 → 5.7.1

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/bin.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- const require_src = require("./src-BTR_jS9-.cjs");
2
+ const require_src = require("./src-DRBGt80-.cjs");
3
3
  let node_process = require("node:process");
4
4
  node_process = require_src.__toESM(node_process, 1);
5
5
  // src/bin.ts
package/dist/bin.d.cts ADDED
@@ -0,0 +1 @@
1
+ export {}
package/dist/bin.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { t as runCli } from "./src-BkFkHtC-.js";
2
+ import { t as runCli } from "./src-BJ39lfDU.js";
3
3
  import process from "node:process";
4
4
  // src/bin.ts
5
5
  process.title = "node (@weapp-tailwindcss/cli)";
package/dist/index.cjs CHANGED
@@ -1,3 +1,3 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_src = require("./src-BTR_jS9-.cjs");
2
+ const require_src = require("./src-DRBGt80-.cjs");
3
3
  exports.runCli = require_src.runCli;
@@ -0,0 +1 @@
1
+ export declare function runCli(argv?: string[]): Promise<string | number>;
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- export { t as runCli } from "./src-BkFkHtC-.js";
1
+ export { t as runCli } from "./src-BJ39lfDU.js";
@@ -508,7 +508,7 @@ async function runTailwindCli(rawArgv) {
508
508
  return runBuild(rawArgv[0] === "build" ? rawArgv.slice(1) : rawArgv);
509
509
  }
510
510
  // package.json
511
- var version = "5.7.0";
511
+ var version = "5.7.1";
512
512
  // src/constants.ts
513
513
  const WEAPP_TW_REQUIRED_NODE_VERSION_RANGE = "^22.18.0 || >=24.11.0";
514
514
  const WEAPP_TW_VERSION = version;
@@ -536,7 +536,7 @@ async function runTailwindCli(rawArgv) {
536
536
  return runBuild(rawArgv[0] === "build" ? rawArgv.slice(1) : rawArgv);
537
537
  }
538
538
  // package.json
539
- var version = "5.7.0";
539
+ var version = "5.7.1";
540
540
  // src/constants.ts
541
541
  const WEAPP_TW_REQUIRED_NODE_VERSION_RANGE = "^22.18.0 || >=24.11.0";
542
542
  const WEAPP_TW_VERSION = version;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@weapp-tailwindcss/cli",
3
3
  "type": "module",
4
- "version": "5.7.0",
4
+ "version": "5.7.1",
5
5
  "description": "Cross-platform Tailwind CSS CLI for Web and mini-program builds. 面向 Web 与小程序构建的跨端 Tailwind CSS CLI。",
6
6
  "author": "ice breaker <1324318532@qq.com>",
7
7
  "license": "MIT",
@@ -23,9 +23,14 @@
23
23
  "sideEffects": false,
24
24
  "exports": {
25
25
  ".": {
26
- "types": "./dist/index.d.ts",
27
- "import": "./dist/index.js",
28
- "require": "./dist/index.cjs"
26
+ "import": {
27
+ "types": "./dist/index.d.ts",
28
+ "default": "./dist/index.js"
29
+ },
30
+ "require": {
31
+ "types": "./dist/index.d.cts",
32
+ "default": "./dist/index.cjs"
33
+ }
29
34
  }
30
35
  },
31
36
  "main": "./dist/index.cjs",
@@ -51,11 +56,11 @@
51
56
  "dependencies": {
52
57
  "@parcel/watcher": "^2.6.0",
53
58
  "@weapp-tailwindcss/engine": "0.1.7",
54
- "@weapp-tailwindcss/logger": "2.0.4",
59
+ "@weapp-tailwindcss/logger": "2.0.5",
55
60
  "fast-glob": "^3.3.3",
56
61
  "lightningcss": "^1.33.0",
57
62
  "semver": "~7.8.6",
58
- "weapp-tailwindcss": "5.7.0"
63
+ "weapp-tailwindcss": "5.7.1"
59
64
  },
60
65
  "scripts": {
61
66
  "build": "tsdown",