@weapp-tailwindcss/cli 0.0.0-alpha.4 → 0.0.0-alpha.5
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/index.cjs +36 -30
- package/dist/index.d.cts +4 -2
- package/dist/index.d.mts +4 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.mjs +32 -29
- package/package.json +9 -2
package/dist/index.cjs
CHANGED
|
@@ -1,19 +1,25 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const commander = require('commander');
|
|
4
|
-
const loadPostcssConfig = require('postcss-load-config');
|
|
5
4
|
const path = require('node:path');
|
|
6
5
|
const fs = require('fs-extra');
|
|
7
6
|
const gulp$1 = require('gulp');
|
|
7
|
+
const loadPostcssConfig = require('postcss-load-config');
|
|
8
8
|
const gulp = require('weapp-tailwindcss/gulp');
|
|
9
|
+
const postcssrc = require('gulp-postcss');
|
|
10
|
+
const plumber = require('gulp-plumber');
|
|
11
|
+
const gulpif = require('gulp-if');
|
|
9
12
|
const cosmiconfig = require('cosmiconfig');
|
|
10
13
|
|
|
11
14
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; }
|
|
12
15
|
|
|
13
|
-
const loadPostcssConfig__default = /*#__PURE__*/_interopDefaultCompat(loadPostcssConfig);
|
|
14
16
|
const path__default = /*#__PURE__*/_interopDefaultCompat(path);
|
|
15
17
|
const fs__default = /*#__PURE__*/_interopDefaultCompat(fs);
|
|
16
18
|
const gulp__default = /*#__PURE__*/_interopDefaultCompat(gulp$1);
|
|
19
|
+
const loadPostcssConfig__default = /*#__PURE__*/_interopDefaultCompat(loadPostcssConfig);
|
|
20
|
+
const postcssrc__default = /*#__PURE__*/_interopDefaultCompat(postcssrc);
|
|
21
|
+
const plumber__default = /*#__PURE__*/_interopDefaultCompat(plumber);
|
|
22
|
+
const gulpif__default = /*#__PURE__*/_interopDefaultCompat(gulpif);
|
|
17
23
|
|
|
18
24
|
function isPlainObject$2(value) {
|
|
19
25
|
if (value === null || typeof value !== "object") {
|
|
@@ -80,7 +86,7 @@ var AssetType = /* @__PURE__ */ ((AssetType2) => {
|
|
|
80
86
|
})(AssetType || {});
|
|
81
87
|
|
|
82
88
|
function getTasks(options) {
|
|
83
|
-
const { root: cwd, weappTailwindcssOptions, outDir, src: srcBase, extensions, exclude, include } = options;
|
|
89
|
+
const { root: cwd, weappTailwindcssOptions, outDir, src: srcBase, extensions, exclude, include, postcssOptions } = options;
|
|
84
90
|
const globsSet = /* @__PURE__ */ new Set();
|
|
85
91
|
const base = srcBase ? srcBase + "/" : "";
|
|
86
92
|
function globsSetAdd(...value) {
|
|
@@ -116,7 +122,7 @@ function getTasks(options) {
|
|
|
116
122
|
const src = `${base}**/*.${x}`;
|
|
117
123
|
globsSetAdd(src);
|
|
118
124
|
return function JsTask() {
|
|
119
|
-
return gulp__default.src([src, ...globs], { cwd, since: gulp__default.lastRun(JsTask) }).pipe(
|
|
125
|
+
return gulp__default.src([src, ...globs], { cwd, since: gulp__default.lastRun(JsTask) }).pipe(plumber__default()).pipe(
|
|
120
126
|
transformJs({
|
|
121
127
|
babelParserOptions: x === "ts" ? {
|
|
122
128
|
plugins: ["typescript"]
|
|
@@ -138,7 +144,7 @@ function getTasks(options) {
|
|
|
138
144
|
const src = `${base}**/*.${x}`;
|
|
139
145
|
globsSetAdd(src);
|
|
140
146
|
return function JsonTask() {
|
|
141
|
-
return gulp__default.src([src, ...globs], { cwd, since: gulp__default.lastRun(JsonTask) }).pipe(
|
|
147
|
+
return gulp__default.src([src, ...globs], { cwd, since: gulp__default.lastRun(JsonTask) }).pipe(plumber__default()).pipe(
|
|
142
148
|
gulp__default.dest(outDir, {
|
|
143
149
|
cwd
|
|
144
150
|
})
|
|
@@ -154,7 +160,7 @@ function getTasks(options) {
|
|
|
154
160
|
const src = `${base}**/*.${x}`;
|
|
155
161
|
globsSetAdd(src);
|
|
156
162
|
return function CssTask() {
|
|
157
|
-
return gulp__default.src([src, ...globs], { cwd, since: gulp__default.lastRun(CssTask) }).pipe(transformWxss()).pipe(
|
|
163
|
+
return gulp__default.src([src, ...globs], { cwd, since: gulp__default.lastRun(CssTask) }).pipe(plumber__default()).pipe(gulpif__default(Boolean(postcssOptions), postcssrc__default(postcssOptions?.plugins, postcssOptions?.options))).pipe(transformWxss()).pipe(
|
|
158
164
|
gulp__default.dest(outDir, {
|
|
159
165
|
cwd
|
|
160
166
|
})
|
|
@@ -170,7 +176,7 @@ function getTasks(options) {
|
|
|
170
176
|
const src = `${base}**/*.${x}`;
|
|
171
177
|
globsSetAdd(src);
|
|
172
178
|
return function HtmlTask() {
|
|
173
|
-
return gulp__default.src([src, ...globs], { cwd, since: gulp__default.lastRun(HtmlTask) }).pipe(transformWxml()).pipe(
|
|
179
|
+
return gulp__default.src([src, ...globs], { cwd, since: gulp__default.lastRun(HtmlTask) }).pipe(plumber__default()).pipe(transformWxml()).pipe(
|
|
174
180
|
gulp__default.dest(outDir, {
|
|
175
181
|
cwd
|
|
176
182
|
})
|
|
@@ -184,7 +190,7 @@ function getTasks(options) {
|
|
|
184
190
|
return `${base}${x}`;
|
|
185
191
|
});
|
|
186
192
|
globsSetAdd(globs);
|
|
187
|
-
return gulp__default.src(globs, { cwd, since: gulp__default.lastRun(copyOthers) }).pipe(
|
|
193
|
+
return gulp__default.src(globs, { cwd, since: gulp__default.lastRun(copyOthers) }).pipe(plumber__default()).pipe(
|
|
188
194
|
gulp__default.dest(outDir, {
|
|
189
195
|
cwd
|
|
190
196
|
})
|
|
@@ -224,7 +230,8 @@ function createBuilder(options) {
|
|
|
224
230
|
extensions,
|
|
225
231
|
exclude,
|
|
226
232
|
include,
|
|
227
|
-
watchOptions
|
|
233
|
+
watchOptions,
|
|
234
|
+
postcssOptions
|
|
228
235
|
} = defu(options, {
|
|
229
236
|
outDir: "dist",
|
|
230
237
|
weappTailwindcssOptions: {},
|
|
@@ -250,7 +257,8 @@ function createBuilder(options) {
|
|
|
250
257
|
extensions,
|
|
251
258
|
exclude,
|
|
252
259
|
include,
|
|
253
|
-
watchOptions
|
|
260
|
+
watchOptions,
|
|
261
|
+
postcssOptions
|
|
254
262
|
});
|
|
255
263
|
const tasks = [...getJsTasks(), ...getJsonTasks(), ...getCssTasks(), ...getHtmlTasks(), copyOthers];
|
|
256
264
|
async function runTasks() {
|
|
@@ -301,13 +309,23 @@ function createBuilder(options) {
|
|
|
301
309
|
globsSet
|
|
302
310
|
};
|
|
303
311
|
}
|
|
304
|
-
function build(options) {
|
|
305
|
-
|
|
306
|
-
|
|
312
|
+
async function build(options) {
|
|
313
|
+
let postcssOptions;
|
|
314
|
+
try {
|
|
315
|
+
postcssOptions = await loadPostcssConfig__default({ cwd: options?.root });
|
|
316
|
+
} catch {
|
|
317
|
+
}
|
|
318
|
+
const builder = createBuilder(defu(options, { postcssOptions }));
|
|
319
|
+
return await builder.build();
|
|
307
320
|
}
|
|
308
|
-
function watch(options) {
|
|
309
|
-
|
|
310
|
-
|
|
321
|
+
async function watch(options) {
|
|
322
|
+
let postcssOptions;
|
|
323
|
+
try {
|
|
324
|
+
postcssOptions = await loadPostcssConfig__default({ cwd: options?.root });
|
|
325
|
+
} catch {
|
|
326
|
+
}
|
|
327
|
+
const builder = createBuilder(defu(options, { postcssOptions }));
|
|
328
|
+
return await builder.watch();
|
|
311
329
|
}
|
|
312
330
|
|
|
313
331
|
function getDefaultExportFromCjs (x) {
|
|
@@ -773,28 +791,16 @@ function createCli() {
|
|
|
773
791
|
const configLoader = createConfigLoader(cwd);
|
|
774
792
|
const userDefinedConfig = configLoader.search(cwd);
|
|
775
793
|
program.command("dev").alias("serve").action(async () => {
|
|
776
|
-
const postcssOptions = await loadPostcssConfig__default({
|
|
777
|
-
cwd
|
|
778
|
-
});
|
|
779
794
|
await watch(
|
|
780
795
|
defu(userDefinedConfig?.config, {
|
|
781
|
-
root: cwd
|
|
782
|
-
weappTailwindcssOptions: {
|
|
783
|
-
postcssOptions
|
|
784
|
-
}
|
|
796
|
+
root: cwd
|
|
785
797
|
})
|
|
786
798
|
);
|
|
787
799
|
});
|
|
788
800
|
program.command("build").action(async () => {
|
|
789
|
-
const postcssOptions = await loadPostcssConfig__default({
|
|
790
|
-
cwd
|
|
791
|
-
});
|
|
792
801
|
await build(
|
|
793
802
|
defu(userDefinedConfig?.config, {
|
|
794
|
-
root: cwd
|
|
795
|
-
weappTailwindcssOptions: {
|
|
796
|
-
postcssOptions
|
|
797
|
-
}
|
|
803
|
+
root: cwd
|
|
798
804
|
})
|
|
799
805
|
);
|
|
800
806
|
});
|
package/dist/index.d.cts
CHANGED
|
@@ -2,6 +2,7 @@ import { Command } from 'commander';
|
|
|
2
2
|
import { FSWatcher } from 'fs-extra';
|
|
3
3
|
import { UserDefinedOptions } from 'weapp-tailwindcss';
|
|
4
4
|
import { WatchOptions } from 'gulp';
|
|
5
|
+
import { Result } from 'postcss-load-config';
|
|
5
6
|
import * as cosmiconfig from 'cosmiconfig';
|
|
6
7
|
|
|
7
8
|
declare function createCli(): Command;
|
|
@@ -27,6 +28,7 @@ interface BuildOptions {
|
|
|
27
28
|
css: string[];
|
|
28
29
|
json: string[];
|
|
29
30
|
};
|
|
31
|
+
postcssOptions?: Partial<Omit<Result, 'file'>>;
|
|
30
32
|
watchOptions: WatchOptions;
|
|
31
33
|
}
|
|
32
34
|
|
|
@@ -42,12 +44,12 @@ declare function build(options?: Partial<BuildOptions>): Promise<{
|
|
|
42
44
|
watch(): any;
|
|
43
45
|
globsSet: Set<string>;
|
|
44
46
|
}>;
|
|
45
|
-
declare function watch(options?: Partial<BuildOptions>): {
|
|
47
|
+
declare function watch(options?: Partial<BuildOptions>): Promise<{
|
|
46
48
|
watcher: FSWatcher | undefined;
|
|
47
49
|
build(): Promise<any>;
|
|
48
50
|
watch(): any;
|
|
49
51
|
globsSet: Set<string>;
|
|
50
|
-
}
|
|
52
|
+
}>;
|
|
51
53
|
|
|
52
54
|
type WeappTwCosmiconfigResult = {
|
|
53
55
|
config: UserConfig;
|
package/dist/index.d.mts
CHANGED
|
@@ -2,6 +2,7 @@ import { Command } from 'commander';
|
|
|
2
2
|
import { FSWatcher } from 'fs-extra';
|
|
3
3
|
import { UserDefinedOptions } from 'weapp-tailwindcss';
|
|
4
4
|
import { WatchOptions } from 'gulp';
|
|
5
|
+
import { Result } from 'postcss-load-config';
|
|
5
6
|
import * as cosmiconfig from 'cosmiconfig';
|
|
6
7
|
|
|
7
8
|
declare function createCli(): Command;
|
|
@@ -27,6 +28,7 @@ interface BuildOptions {
|
|
|
27
28
|
css: string[];
|
|
28
29
|
json: string[];
|
|
29
30
|
};
|
|
31
|
+
postcssOptions?: Partial<Omit<Result, 'file'>>;
|
|
30
32
|
watchOptions: WatchOptions;
|
|
31
33
|
}
|
|
32
34
|
|
|
@@ -42,12 +44,12 @@ declare function build(options?: Partial<BuildOptions>): Promise<{
|
|
|
42
44
|
watch(): any;
|
|
43
45
|
globsSet: Set<string>;
|
|
44
46
|
}>;
|
|
45
|
-
declare function watch(options?: Partial<BuildOptions>): {
|
|
47
|
+
declare function watch(options?: Partial<BuildOptions>): Promise<{
|
|
46
48
|
watcher: FSWatcher | undefined;
|
|
47
49
|
build(): Promise<any>;
|
|
48
50
|
watch(): any;
|
|
49
51
|
globsSet: Set<string>;
|
|
50
|
-
}
|
|
52
|
+
}>;
|
|
51
53
|
|
|
52
54
|
type WeappTwCosmiconfigResult = {
|
|
53
55
|
config: UserConfig;
|
package/dist/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { Command } from 'commander';
|
|
|
2
2
|
import { FSWatcher } from 'fs-extra';
|
|
3
3
|
import { UserDefinedOptions } from 'weapp-tailwindcss';
|
|
4
4
|
import { WatchOptions } from 'gulp';
|
|
5
|
+
import { Result } from 'postcss-load-config';
|
|
5
6
|
import * as cosmiconfig from 'cosmiconfig';
|
|
6
7
|
|
|
7
8
|
declare function createCli(): Command;
|
|
@@ -27,6 +28,7 @@ interface BuildOptions {
|
|
|
27
28
|
css: string[];
|
|
28
29
|
json: string[];
|
|
29
30
|
};
|
|
31
|
+
postcssOptions?: Partial<Omit<Result, 'file'>>;
|
|
30
32
|
watchOptions: WatchOptions;
|
|
31
33
|
}
|
|
32
34
|
|
|
@@ -42,12 +44,12 @@ declare function build(options?: Partial<BuildOptions>): Promise<{
|
|
|
42
44
|
watch(): any;
|
|
43
45
|
globsSet: Set<string>;
|
|
44
46
|
}>;
|
|
45
|
-
declare function watch(options?: Partial<BuildOptions>): {
|
|
47
|
+
declare function watch(options?: Partial<BuildOptions>): Promise<{
|
|
46
48
|
watcher: FSWatcher | undefined;
|
|
47
49
|
build(): Promise<any>;
|
|
48
50
|
watch(): any;
|
|
49
51
|
globsSet: Set<string>;
|
|
50
|
-
}
|
|
52
|
+
}>;
|
|
51
53
|
|
|
52
54
|
type WeappTwCosmiconfigResult = {
|
|
53
55
|
config: UserConfig;
|
package/dist/index.mjs
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { Command } from 'commander';
|
|
2
|
-
import loadPostcssConfig from 'postcss-load-config';
|
|
3
2
|
import path from 'node:path';
|
|
4
3
|
import fs, { ensureDirSync } from 'fs-extra';
|
|
5
4
|
import gulp from 'gulp';
|
|
5
|
+
import loadPostcssConfig from 'postcss-load-config';
|
|
6
6
|
import { createPlugins } from 'weapp-tailwindcss/gulp';
|
|
7
|
+
import postcssrc from 'gulp-postcss';
|
|
8
|
+
import plumber from 'gulp-plumber';
|
|
9
|
+
import gulpif from 'gulp-if';
|
|
7
10
|
import { cosmiconfigSync } from 'cosmiconfig';
|
|
8
11
|
|
|
9
12
|
function isPlainObject$2(value) {
|
|
@@ -71,7 +74,7 @@ var AssetType = /* @__PURE__ */ ((AssetType2) => {
|
|
|
71
74
|
})(AssetType || {});
|
|
72
75
|
|
|
73
76
|
function getTasks(options) {
|
|
74
|
-
const { root: cwd, weappTailwindcssOptions, outDir, src: srcBase, extensions, exclude, include } = options;
|
|
77
|
+
const { root: cwd, weappTailwindcssOptions, outDir, src: srcBase, extensions, exclude, include, postcssOptions } = options;
|
|
75
78
|
const globsSet = /* @__PURE__ */ new Set();
|
|
76
79
|
const base = srcBase ? srcBase + "/" : "";
|
|
77
80
|
function globsSetAdd(...value) {
|
|
@@ -107,7 +110,7 @@ function getTasks(options) {
|
|
|
107
110
|
const src = `${base}**/*.${x}`;
|
|
108
111
|
globsSetAdd(src);
|
|
109
112
|
return function JsTask() {
|
|
110
|
-
return gulp.src([src, ...globs], { cwd, since: gulp.lastRun(JsTask) }).pipe(
|
|
113
|
+
return gulp.src([src, ...globs], { cwd, since: gulp.lastRun(JsTask) }).pipe(plumber()).pipe(
|
|
111
114
|
transformJs({
|
|
112
115
|
babelParserOptions: x === "ts" ? {
|
|
113
116
|
plugins: ["typescript"]
|
|
@@ -129,7 +132,7 @@ function getTasks(options) {
|
|
|
129
132
|
const src = `${base}**/*.${x}`;
|
|
130
133
|
globsSetAdd(src);
|
|
131
134
|
return function JsonTask() {
|
|
132
|
-
return gulp.src([src, ...globs], { cwd, since: gulp.lastRun(JsonTask) }).pipe(
|
|
135
|
+
return gulp.src([src, ...globs], { cwd, since: gulp.lastRun(JsonTask) }).pipe(plumber()).pipe(
|
|
133
136
|
gulp.dest(outDir, {
|
|
134
137
|
cwd
|
|
135
138
|
})
|
|
@@ -145,7 +148,7 @@ function getTasks(options) {
|
|
|
145
148
|
const src = `${base}**/*.${x}`;
|
|
146
149
|
globsSetAdd(src);
|
|
147
150
|
return function CssTask() {
|
|
148
|
-
return gulp.src([src, ...globs], { cwd, since: gulp.lastRun(CssTask) }).pipe(transformWxss()).pipe(
|
|
151
|
+
return gulp.src([src, ...globs], { cwd, since: gulp.lastRun(CssTask) }).pipe(plumber()).pipe(gulpif(Boolean(postcssOptions), postcssrc(postcssOptions?.plugins, postcssOptions?.options))).pipe(transformWxss()).pipe(
|
|
149
152
|
gulp.dest(outDir, {
|
|
150
153
|
cwd
|
|
151
154
|
})
|
|
@@ -161,7 +164,7 @@ function getTasks(options) {
|
|
|
161
164
|
const src = `${base}**/*.${x}`;
|
|
162
165
|
globsSetAdd(src);
|
|
163
166
|
return function HtmlTask() {
|
|
164
|
-
return gulp.src([src, ...globs], { cwd, since: gulp.lastRun(HtmlTask) }).pipe(transformWxml()).pipe(
|
|
167
|
+
return gulp.src([src, ...globs], { cwd, since: gulp.lastRun(HtmlTask) }).pipe(plumber()).pipe(transformWxml()).pipe(
|
|
165
168
|
gulp.dest(outDir, {
|
|
166
169
|
cwd
|
|
167
170
|
})
|
|
@@ -175,7 +178,7 @@ function getTasks(options) {
|
|
|
175
178
|
return `${base}${x}`;
|
|
176
179
|
});
|
|
177
180
|
globsSetAdd(globs);
|
|
178
|
-
return gulp.src(globs, { cwd, since: gulp.lastRun(copyOthers) }).pipe(
|
|
181
|
+
return gulp.src(globs, { cwd, since: gulp.lastRun(copyOthers) }).pipe(plumber()).pipe(
|
|
179
182
|
gulp.dest(outDir, {
|
|
180
183
|
cwd
|
|
181
184
|
})
|
|
@@ -215,7 +218,8 @@ function createBuilder(options) {
|
|
|
215
218
|
extensions,
|
|
216
219
|
exclude,
|
|
217
220
|
include,
|
|
218
|
-
watchOptions
|
|
221
|
+
watchOptions,
|
|
222
|
+
postcssOptions
|
|
219
223
|
} = defu(options, {
|
|
220
224
|
outDir: "dist",
|
|
221
225
|
weappTailwindcssOptions: {},
|
|
@@ -241,7 +245,8 @@ function createBuilder(options) {
|
|
|
241
245
|
extensions,
|
|
242
246
|
exclude,
|
|
243
247
|
include,
|
|
244
|
-
watchOptions
|
|
248
|
+
watchOptions,
|
|
249
|
+
postcssOptions
|
|
245
250
|
});
|
|
246
251
|
const tasks = [...getJsTasks(), ...getJsonTasks(), ...getCssTasks(), ...getHtmlTasks(), copyOthers];
|
|
247
252
|
async function runTasks() {
|
|
@@ -292,13 +297,23 @@ function createBuilder(options) {
|
|
|
292
297
|
globsSet
|
|
293
298
|
};
|
|
294
299
|
}
|
|
295
|
-
function build(options) {
|
|
296
|
-
|
|
297
|
-
|
|
300
|
+
async function build(options) {
|
|
301
|
+
let postcssOptions;
|
|
302
|
+
try {
|
|
303
|
+
postcssOptions = await loadPostcssConfig({ cwd: options?.root });
|
|
304
|
+
} catch {
|
|
305
|
+
}
|
|
306
|
+
const builder = createBuilder(defu(options, { postcssOptions }));
|
|
307
|
+
return await builder.build();
|
|
298
308
|
}
|
|
299
|
-
function watch(options) {
|
|
300
|
-
|
|
301
|
-
|
|
309
|
+
async function watch(options) {
|
|
310
|
+
let postcssOptions;
|
|
311
|
+
try {
|
|
312
|
+
postcssOptions = await loadPostcssConfig({ cwd: options?.root });
|
|
313
|
+
} catch {
|
|
314
|
+
}
|
|
315
|
+
const builder = createBuilder(defu(options, { postcssOptions }));
|
|
316
|
+
return await builder.watch();
|
|
302
317
|
}
|
|
303
318
|
|
|
304
319
|
function getDefaultExportFromCjs (x) {
|
|
@@ -764,28 +779,16 @@ function createCli() {
|
|
|
764
779
|
const configLoader = createConfigLoader(cwd);
|
|
765
780
|
const userDefinedConfig = configLoader.search(cwd);
|
|
766
781
|
program.command("dev").alias("serve").action(async () => {
|
|
767
|
-
const postcssOptions = await loadPostcssConfig({
|
|
768
|
-
cwd
|
|
769
|
-
});
|
|
770
782
|
await watch(
|
|
771
783
|
defu(userDefinedConfig?.config, {
|
|
772
|
-
root: cwd
|
|
773
|
-
weappTailwindcssOptions: {
|
|
774
|
-
postcssOptions
|
|
775
|
-
}
|
|
784
|
+
root: cwd
|
|
776
785
|
})
|
|
777
786
|
);
|
|
778
787
|
});
|
|
779
788
|
program.command("build").action(async () => {
|
|
780
|
-
const postcssOptions = await loadPostcssConfig({
|
|
781
|
-
cwd
|
|
782
|
-
});
|
|
783
789
|
await build(
|
|
784
790
|
defu(userDefinedConfig?.config, {
|
|
785
|
-
root: cwd
|
|
786
|
-
weappTailwindcssOptions: {
|
|
787
|
-
postcssOptions
|
|
788
|
-
}
|
|
791
|
+
root: cwd
|
|
789
792
|
})
|
|
790
793
|
);
|
|
791
794
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@weapp-tailwindcss/cli",
|
|
3
|
-
"version": "0.0.0-alpha.
|
|
3
|
+
"version": "0.0.0-alpha.5",
|
|
4
4
|
"description": "The cli of weapp-tailwindcss",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "",
|
|
@@ -27,15 +27,22 @@
|
|
|
27
27
|
"fs-extra": "^11.2.0",
|
|
28
28
|
"gulp": "^5.0.0",
|
|
29
29
|
"gulp-less": "^5.0.0",
|
|
30
|
+
"gulp-plumber": "^1.2.1",
|
|
31
|
+
"gulp-postcss": "^10.0.0",
|
|
30
32
|
"gulp-sass": "^5.1.0",
|
|
33
|
+
"gulp-if": "^3.0.0",
|
|
34
|
+
"postcss": "^8.4.38",
|
|
31
35
|
"postcss-load-config": "^5.0.3",
|
|
32
|
-
"weapp-tailwindcss": "3.2.0-alpha.
|
|
36
|
+
"weapp-tailwindcss": "3.2.0-alpha.4"
|
|
33
37
|
},
|
|
34
38
|
"devDependencies": {
|
|
35
39
|
"@types/fs-extra": "^11.0.4",
|
|
36
40
|
"@types/get-value": "^3.0.5",
|
|
37
41
|
"@types/gulp": "^4.0.17",
|
|
42
|
+
"@types/gulp-if": "^3.0.4",
|
|
38
43
|
"@types/gulp-less": "^0.0.36",
|
|
44
|
+
"@types/gulp-plumber": "^0.0.37",
|
|
45
|
+
"@types/gulp-postcss": "^8.0.6",
|
|
39
46
|
"@types/gulp-sass": "^5.0.4",
|
|
40
47
|
"@types/set-value": "^4.0.3",
|
|
41
48
|
"@types/vinyl-fs": "^3.0.5",
|