weapp-tailwindcss 5.2.14 → 5.3.0
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/README.md +55 -8
- package/README.zh-CN.md +64 -0
- package/dist/bundlers/rspack/rule-match.d.ts +13 -0
- package/dist/bundlers/vite/generate-bundle/root-style-output.d.ts +7 -0
- package/dist/bundlers/vite/shared/create-framework-plugins.d.ts +1 -0
- package/dist/bundlers/vite/shared/framework-plugin-order.d.ts +2 -0
- package/dist/{transform-BiHG42Rp.cjs → component-local-style-BirkN5f8.cjs} +33 -168
- package/dist/{transform-52FLRu-0.js → component-local-style-CFL4ClhS.js} +22 -174
- package/dist/generator/index.d.ts +2 -2
- package/dist/generator.cjs +7 -0
- package/dist/generator.js +2 -2
- package/dist/{gulp-DzIR7eO3.cjs → gulp-B0qcNiuP.cjs} +2 -2
- package/dist/{gulp-DG6cWPF4.js → gulp-D1vDx4H1.js} +1 -1
- package/dist/gulp.cjs +1 -1
- package/dist/gulp.js +1 -1
- package/dist/{hmr-timing-CoyM6Dg2.js → hmr-timing-Dq1_msos.js} +5 -7
- package/dist/{hmr-timing-BIPr9t9m.cjs → hmr-timing-pF6k35pP.cjs} +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.js +3 -3
- package/dist/{pipeline-helpers-Bp343-ik.cjs → pipeline-helpers-DA5-EzbO.cjs} +1 -1
- package/dist/rspack.cjs +124 -7
- package/dist/rspack.js +124 -7
- package/dist/{source-candidate-scan-signature-J9EW91KX.cjs → source-candidate-scan-signature-DGQufJk3.cjs} +1 -1
- package/dist/{source-candidate-scan-signature-BLXoEZN5.js → source-candidate-scan-signature-DSsjYtlq.js} +1 -1
- package/dist/tailwindcss/candidates.d.ts +2 -2
- package/dist/transform-BYhgJszj.cjs +200 -0
- package/dist/transform-Ck31voUU.js +201 -0
- package/dist/uni-app-x/component-local-style.d.ts +3 -1
- package/dist/uni-app-x/transform.d.ts +2 -0
- package/dist/uni-app-x/vite/style-request.d.ts +1 -0
- package/dist/uni-app-x/vite/web-local-style.d.ts +6 -0
- package/dist/{v4-generation-core-CCnEsAgV.cjs → v4-generation-core-BEYGV4eB.cjs} +5 -7
- package/dist/{vite-DNTQV3gN.js → vite-DBgbFsei.js} +184 -64
- package/dist/{vite-RJpkDte7.cjs → vite-jftHIupF.cjs} +184 -64
- package/dist/vite.cjs +1 -1
- package/dist/vite.js +1 -1
- package/dist/weapp-tw-css-import-rewrite-loader.cjs +2 -2
- package/dist/{webpack-DYoIysDo.js → webpack-BSIWFzAA.js} +3 -3
- package/dist/{webpack-BY5y7f0X.cjs → webpack-DhwW2cva.cjs} +4 -4
- package/dist/webpack.cjs +1 -1
- package/dist/webpack.js +1 -1
- package/package.json +9 -14
- package/README.en.md +0 -17
- package/bin/weapp-tailwindcss.cjs +0 -8
- package/dist/cli/context.d.ts +0 -3
- package/dist/cli/doctor/constants.d.ts +0 -7
- package/dist/cli/doctor/types.d.ts +0 -31
- package/dist/cli/doctor.d.ts +0 -4
- package/dist/cli/helpers/options/format.d.ts +0 -2
- package/dist/cli/helpers/options/parse.d.ts +0 -3
- package/dist/cli/helpers/options/resolve.d.ts +0 -1
- package/dist/cli/helpers/options.d.ts +0 -3
- package/dist/cli/helpers.d.ts +0 -4
- package/dist/cli/mount-options.d.ts +0 -4
- package/dist/cli/types.d.ts +0 -15
- package/dist/cli/vscode-entry.d.ts +0 -14
- package/dist/cli.cjs +0 -37065
- package/dist/cli.d.ts +0 -1
- package/dist/cli.js +0 -2298
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function resolveCliCwd(value: unknown): string | undefined;
|
package/dist/cli/helpers.d.ts
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { normalizeExtractFormat, normalizeTokenFormat, readStringArrayOption, readStringOption, resolveCliCwd, toBoolean } from './helpers/options.js';
|
|
2
|
-
export declare function ensureDir(dir: string): Promise<void>;
|
|
3
|
-
export declare function commandAction<T extends unknown[]>(handler: (...args: T) => Promise<void>): (...args: T) => Promise<void>;
|
|
4
|
-
export { normalizeExtractFormat, normalizeTokenFormat, readStringArrayOption, readStringOption, resolveCliCwd, toBoolean, };
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export declare const PATCH_COMMAND_OBSOLETE_NOTICE = "\u63D0\u793A\uFF1Aweapp-tailwindcss@5 \u5DF2\u7531\u6784\u5EFA\u8FD0\u884C\u65F6\u63A5\u7BA1 Tailwind CSS \u5904\u7406\uFF0Cweapp-tw patch \u5DF2\u65E0\u9700\u6267\u884C\uFF1B\u8BF7\u79FB\u9664 package.json \u4E2D\u7684 postinstall \u94A9\u5B50\u3002";
|
|
2
|
-
export declare const obsoletePatchCommands: readonly ["extract", "tokens", "init", "migrate", "restore", "validate"];
|
|
3
|
-
export declare function logPatchCommandObsoleteNotice(): void;
|
|
4
|
-
export declare function logObsoletePatchCommand(command: string): void;
|
package/dist/cli/types.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export interface CommonCommandOptions {
|
|
2
|
-
cwd?: string | boolean;
|
|
3
|
-
}
|
|
4
|
-
export interface ExtractCommandOptions extends CommonCommandOptions {
|
|
5
|
-
output?: string | boolean;
|
|
6
|
-
format?: string | boolean;
|
|
7
|
-
css?: string | boolean;
|
|
8
|
-
write?: boolean | string;
|
|
9
|
-
}
|
|
10
|
-
export interface TokensCommandOptions extends CommonCommandOptions {
|
|
11
|
-
output?: string | boolean;
|
|
12
|
-
format?: string | boolean;
|
|
13
|
-
groupKey?: string | boolean;
|
|
14
|
-
write?: boolean | string;
|
|
15
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export declare const DEFAULT_VSCODE_ENTRY_OUTPUT = ".vscode/weapp-tailwindcss.intellisense.css";
|
|
2
|
-
export declare const DEFAULT_VSCODE_SOURCES: string[];
|
|
3
|
-
export interface GenerateVscodeEntryOptions {
|
|
4
|
-
baseDir: string;
|
|
5
|
-
cssEntry: string;
|
|
6
|
-
output?: string | undefined;
|
|
7
|
-
sources?: string[] | undefined;
|
|
8
|
-
force?: boolean | undefined;
|
|
9
|
-
}
|
|
10
|
-
export interface GenerateVscodeEntryResult {
|
|
11
|
-
outputPath: string;
|
|
12
|
-
cssEntryPath: string;
|
|
13
|
-
}
|
|
14
|
-
export declare function generateVscodeIntellisenseEntry(options: GenerateVscodeEntryOptions): Promise<GenerateVscodeEntryResult>;
|