@weapp-tailwindcss/shared 0.0.0 → 1.0.0-alpha.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/chunk-E6Q3SKVK.mjs +41 -0
- package/dist/chunk-U5LP74X5.js +41 -0
- package/dist/extractors.d.mts +5 -0
- package/dist/extractors.d.ts +5 -0
- package/dist/extractors.js +22 -0
- package/dist/extractors.mjs +22 -0
- package/dist/index.js +42 -91
- package/dist/index.mjs +5 -35
- package/package.json +10 -5
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __esm = (fn, res) => function __init() {
|
|
8
|
+
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
|
9
|
+
};
|
|
10
|
+
var __commonJS = (cb, mod) => function __require() {
|
|
11
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
12
|
+
};
|
|
13
|
+
var __copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
15
|
+
for (let key of __getOwnPropNames(from))
|
|
16
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
17
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
18
|
+
}
|
|
19
|
+
return to;
|
|
20
|
+
};
|
|
21
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
22
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
23
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
24
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
25
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
26
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
27
|
+
mod
|
|
28
|
+
));
|
|
29
|
+
|
|
30
|
+
// ../../node_modules/.pnpm/tsup@8.3.5_jiti@2.4.2_postcss@8.4.49_tsx@4.19.2_typescript@5.7.3_yaml@2.7.0/node_modules/tsup/assets/esm_shims.js
|
|
31
|
+
var init_esm_shims = __esm({
|
|
32
|
+
"../../node_modules/.pnpm/tsup@8.3.5_jiti@2.4.2_postcss@8.4.49_tsx@4.19.2_typescript@5.7.3_yaml@2.7.0/node_modules/tsup/assets/esm_shims.js"() {
|
|
33
|
+
"use strict";
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
export {
|
|
38
|
+
__commonJS,
|
|
39
|
+
__toESM,
|
|
40
|
+
init_esm_shims
|
|
41
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __esm = (fn, res) => function __init() {
|
|
8
|
+
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
|
9
|
+
};
|
|
10
|
+
var __commonJS = (cb, mod) => function __require() {
|
|
11
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
12
|
+
};
|
|
13
|
+
var __copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
15
|
+
for (let key of __getOwnPropNames(from))
|
|
16
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
17
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
18
|
+
}
|
|
19
|
+
return to;
|
|
20
|
+
};
|
|
21
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
22
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
23
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
24
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
25
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
26
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
27
|
+
mod
|
|
28
|
+
));
|
|
29
|
+
|
|
30
|
+
// ../../node_modules/.pnpm/tsup@8.3.5_jiti@2.4.2_postcss@8.4.49_tsx@4.19.2_typescript@5.7.3_yaml@2.7.0/node_modules/tsup/assets/cjs_shims.js
|
|
31
|
+
var init_cjs_shims = __esm({
|
|
32
|
+
"../../node_modules/.pnpm/tsup@8.3.5_jiti@2.4.2_postcss@8.4.49_tsx@4.19.2_typescript@5.7.3_yaml@2.7.0/node_modules/tsup/assets/cjs_shims.js"() {
|
|
33
|
+
"use strict";
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
exports.__commonJS = __commonJS; exports.__toESM = __toESM; exports.init_cjs_shims = init_cjs_shims;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
var _chunkU5LP74X5js = require('./chunk-U5LP74X5.js');
|
|
4
|
+
|
|
5
|
+
// src/extractors/index.ts
|
|
6
|
+
_chunkU5LP74X5js.init_cjs_shims.call(void 0, );
|
|
7
|
+
|
|
8
|
+
// src/extractors/split.ts
|
|
9
|
+
_chunkU5LP74X5js.init_cjs_shims.call(void 0, );
|
|
10
|
+
var validateFilterRE = /[\w\u00A0-\uFFFF%-?]/;
|
|
11
|
+
function isValidSelector(selector = "") {
|
|
12
|
+
return validateFilterRE.test(selector);
|
|
13
|
+
}
|
|
14
|
+
function splitCode(code, allowDoubleQuotes = false) {
|
|
15
|
+
const splitter = allowDoubleQuotes ? /\s+/ : /\s+|"/;
|
|
16
|
+
return code.split(splitter).filter((element) => isValidSelector(element));
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
exports.isValidSelector = isValidSelector; exports.splitCode = splitCode; exports.validateFilterRE = validateFilterRE;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import {
|
|
2
|
+
init_esm_shims
|
|
3
|
+
} from "./chunk-E6Q3SKVK.mjs";
|
|
4
|
+
|
|
5
|
+
// src/extractors/index.ts
|
|
6
|
+
init_esm_shims();
|
|
7
|
+
|
|
8
|
+
// src/extractors/split.ts
|
|
9
|
+
init_esm_shims();
|
|
10
|
+
var validateFilterRE = /[\w\u00A0-\uFFFF%-?]/;
|
|
11
|
+
function isValidSelector(selector = "") {
|
|
12
|
+
return validateFilterRE.test(selector);
|
|
13
|
+
}
|
|
14
|
+
function splitCode(code, allowDoubleQuotes = false) {
|
|
15
|
+
const splitter = allowDoubleQuotes ? /\s+/ : /\s+|"/;
|
|
16
|
+
return code.split(splitter).filter((element) => isValidSelector(element));
|
|
17
|
+
}
|
|
18
|
+
export {
|
|
19
|
+
isValidSelector,
|
|
20
|
+
splitCode,
|
|
21
|
+
validateFilterRE
|
|
22
|
+
};
|
package/dist/index.js
CHANGED
|
@@ -1,63 +1,27 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __esm = (fn, res) => function __init() {
|
|
9
|
-
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
|
10
|
-
};
|
|
11
|
-
var __commonJS = (cb, mod) => function __require() {
|
|
12
|
-
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
13
|
-
};
|
|
14
|
-
var __export = (target, all) => {
|
|
15
|
-
for (var name in all)
|
|
16
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
17
|
-
};
|
|
18
|
-
var __copyProps = (to, from, except, desc) => {
|
|
19
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
20
|
-
for (let key of __getOwnPropNames(from))
|
|
21
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
22
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
23
|
-
}
|
|
24
|
-
return to;
|
|
25
|
-
};
|
|
26
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
27
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
28
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
29
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
30
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
31
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
32
|
-
mod
|
|
33
|
-
));
|
|
34
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
35
3
|
|
|
36
|
-
|
|
37
|
-
var
|
|
38
|
-
"../../node_modules/.pnpm/tsup@8.3.5_jiti@2.4.2_postcss@8.4.49_tsx@4.19.2_typescript@5.7.2_yaml@2.7.0/node_modules/tsup/assets/cjs_shims.js"() {
|
|
39
|
-
"use strict";
|
|
40
|
-
}
|
|
41
|
-
});
|
|
4
|
+
|
|
5
|
+
var _chunkU5LP74X5js = require('./chunk-U5LP74X5.js');
|
|
42
6
|
|
|
43
7
|
// ../../node_modules/.pnpm/isobject@3.0.1/node_modules/isobject/index.js
|
|
44
|
-
var require_isobject = __commonJS({
|
|
45
|
-
"../../node_modules/.pnpm/isobject@3.0.1/node_modules/isobject/index.js"(
|
|
8
|
+
var require_isobject = _chunkU5LP74X5js.__commonJS.call(void 0, {
|
|
9
|
+
"../../node_modules/.pnpm/isobject@3.0.1/node_modules/isobject/index.js"(exports, module) {
|
|
46
10
|
"use strict";
|
|
47
|
-
init_cjs_shims();
|
|
48
|
-
|
|
11
|
+
_chunkU5LP74X5js.init_cjs_shims.call(void 0, );
|
|
12
|
+
module.exports = function isObject(val) {
|
|
49
13
|
return val != null && typeof val === "object" && Array.isArray(val) === false;
|
|
50
14
|
};
|
|
51
15
|
}
|
|
52
16
|
});
|
|
53
17
|
|
|
54
18
|
// ../../node_modules/.pnpm/get-value@3.0.1/node_modules/get-value/index.js
|
|
55
|
-
var require_get_value = __commonJS({
|
|
56
|
-
"../../node_modules/.pnpm/get-value@3.0.1/node_modules/get-value/index.js"(
|
|
19
|
+
var require_get_value = _chunkU5LP74X5js.__commonJS.call(void 0, {
|
|
20
|
+
"../../node_modules/.pnpm/get-value@3.0.1/node_modules/get-value/index.js"(exports, module) {
|
|
57
21
|
"use strict";
|
|
58
|
-
init_cjs_shims();
|
|
22
|
+
_chunkU5LP74X5js.init_cjs_shims.call(void 0, );
|
|
59
23
|
var isObject = require_isobject();
|
|
60
|
-
|
|
24
|
+
module.exports = function(target, path, options) {
|
|
61
25
|
if (!isObject(options)) {
|
|
62
26
|
options = { default: options };
|
|
63
27
|
}
|
|
@@ -142,11 +106,11 @@ var require_get_value = __commonJS({
|
|
|
142
106
|
});
|
|
143
107
|
|
|
144
108
|
// ../../node_modules/.pnpm/is-primitive@3.0.1/node_modules/is-primitive/index.js
|
|
145
|
-
var require_is_primitive = __commonJS({
|
|
146
|
-
"../../node_modules/.pnpm/is-primitive@3.0.1/node_modules/is-primitive/index.js"(
|
|
109
|
+
var require_is_primitive = _chunkU5LP74X5js.__commonJS.call(void 0, {
|
|
110
|
+
"../../node_modules/.pnpm/is-primitive@3.0.1/node_modules/is-primitive/index.js"(exports, module) {
|
|
147
111
|
"use strict";
|
|
148
|
-
init_cjs_shims();
|
|
149
|
-
|
|
112
|
+
_chunkU5LP74X5js.init_cjs_shims.call(void 0, );
|
|
113
|
+
module.exports = function isPrimitive(val) {
|
|
150
114
|
if (typeof val === "object") {
|
|
151
115
|
return val === null;
|
|
152
116
|
}
|
|
@@ -156,15 +120,15 @@ var require_is_primitive = __commonJS({
|
|
|
156
120
|
});
|
|
157
121
|
|
|
158
122
|
// ../../node_modules/.pnpm/is-plain-object@2.0.4/node_modules/is-plain-object/index.js
|
|
159
|
-
var require_is_plain_object = __commonJS({
|
|
160
|
-
"../../node_modules/.pnpm/is-plain-object@2.0.4/node_modules/is-plain-object/index.js"(
|
|
123
|
+
var require_is_plain_object = _chunkU5LP74X5js.__commonJS.call(void 0, {
|
|
124
|
+
"../../node_modules/.pnpm/is-plain-object@2.0.4/node_modules/is-plain-object/index.js"(exports, module) {
|
|
161
125
|
"use strict";
|
|
162
|
-
init_cjs_shims();
|
|
126
|
+
_chunkU5LP74X5js.init_cjs_shims.call(void 0, );
|
|
163
127
|
var isObject = require_isobject();
|
|
164
128
|
function isObjectObject(o) {
|
|
165
129
|
return isObject(o) === true && Object.prototype.toString.call(o) === "[object Object]";
|
|
166
130
|
}
|
|
167
|
-
|
|
131
|
+
module.exports = function isPlainObject2(o) {
|
|
168
132
|
var ctor, prot;
|
|
169
133
|
if (isObjectObject(o) === false) return false;
|
|
170
134
|
ctor = o.constructor;
|
|
@@ -180,10 +144,10 @@ var require_is_plain_object = __commonJS({
|
|
|
180
144
|
});
|
|
181
145
|
|
|
182
146
|
// ../../node_modules/.pnpm/set-value@4.1.0/node_modules/set-value/index.js
|
|
183
|
-
var require_set_value = __commonJS({
|
|
184
|
-
"../../node_modules/.pnpm/set-value@4.1.0/node_modules/set-value/index.js"(
|
|
147
|
+
var require_set_value = _chunkU5LP74X5js.__commonJS.call(void 0, {
|
|
148
|
+
"../../node_modules/.pnpm/set-value@4.1.0/node_modules/set-value/index.js"(exports, module) {
|
|
185
149
|
"use strict";
|
|
186
|
-
init_cjs_shims();
|
|
150
|
+
_chunkU5LP74X5js.init_cjs_shims.call(void 0, );
|
|
187
151
|
var { deleteProperty } = Reflect;
|
|
188
152
|
var isPrimitive = require_is_primitive();
|
|
189
153
|
var isPlainObject2 = require_is_plain_object();
|
|
@@ -305,29 +269,15 @@ var require_set_value = __commonJS({
|
|
|
305
269
|
setValue2.clear = () => {
|
|
306
270
|
setValue2.cache = /* @__PURE__ */ new Map();
|
|
307
271
|
};
|
|
308
|
-
|
|
272
|
+
module.exports = setValue2;
|
|
309
273
|
}
|
|
310
274
|
});
|
|
311
275
|
|
|
312
276
|
// src/index.ts
|
|
313
|
-
|
|
314
|
-
__export(src_exports, {
|
|
315
|
-
defu: () => defu,
|
|
316
|
-
defuOverrideArray: () => defuOverrideArray,
|
|
317
|
-
getValue: () => import_get_value.default,
|
|
318
|
-
groupBy: () => groupBy,
|
|
319
|
-
isMap: () => isMap,
|
|
320
|
-
isRegexp: () => isRegexp,
|
|
321
|
-
noop: () => noop,
|
|
322
|
-
regExpTest: () => regExpTest,
|
|
323
|
-
removeExt: () => removeExt,
|
|
324
|
-
setValue: () => import_set_value.default
|
|
325
|
-
});
|
|
326
|
-
module.exports = __toCommonJS(src_exports);
|
|
327
|
-
init_cjs_shims();
|
|
277
|
+
_chunkU5LP74X5js.init_cjs_shims.call(void 0, );
|
|
328
278
|
|
|
329
279
|
// ../../node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs
|
|
330
|
-
init_cjs_shims();
|
|
280
|
+
_chunkU5LP74X5js.init_cjs_shims.call(void 0, );
|
|
331
281
|
function isPlainObject(value) {
|
|
332
282
|
if (value === null || typeof value !== "object") {
|
|
333
283
|
return false;
|
|
@@ -396,8 +346,8 @@ var defuArrayFn = createDefu((object, key, currentValue) => {
|
|
|
396
346
|
});
|
|
397
347
|
|
|
398
348
|
// src/index.ts
|
|
399
|
-
var import_get_value = __toESM(require_get_value());
|
|
400
|
-
var import_set_value = __toESM(require_set_value());
|
|
349
|
+
var import_get_value = _chunkU5LP74X5js.__toESM.call(void 0, require_get_value());
|
|
350
|
+
var import_set_value = _chunkU5LP74X5js.__toESM.call(void 0, require_set_value());
|
|
401
351
|
function isRegexp(value) {
|
|
402
352
|
return Object.prototype.toString.call(value) === "[object RegExp]";
|
|
403
353
|
}
|
|
@@ -455,19 +405,20 @@ var defuOverrideArray = createDefu((obj, key, value) => {
|
|
|
455
405
|
return true;
|
|
456
406
|
}
|
|
457
407
|
});
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
408
|
+
var export_getValue = import_get_value.default;
|
|
409
|
+
var export_setValue = import_set_value.default;
|
|
410
|
+
|
|
411
|
+
|
|
412
|
+
|
|
413
|
+
|
|
414
|
+
|
|
415
|
+
|
|
416
|
+
|
|
417
|
+
|
|
418
|
+
|
|
419
|
+
|
|
420
|
+
|
|
421
|
+
exports.defu = defu; exports.defuOverrideArray = defuOverrideArray; exports.getValue = export_getValue; exports.groupBy = groupBy; exports.isMap = isMap; exports.isRegexp = isRegexp; exports.noop = noop; exports.regExpTest = regExpTest; exports.removeExt = removeExt; exports.setValue = export_setValue;
|
|
471
422
|
/*! Bundled license information:
|
|
472
423
|
|
|
473
424
|
isobject/index.js:
|
package/dist/index.mjs
CHANGED
|
@@ -1,38 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __esm = (fn, res) => function __init() {
|
|
8
|
-
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
|
9
|
-
};
|
|
10
|
-
var __commonJS = (cb, mod) => function __require() {
|
|
11
|
-
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
12
|
-
};
|
|
13
|
-
var __copyProps = (to, from, except, desc) => {
|
|
14
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
15
|
-
for (let key of __getOwnPropNames(from))
|
|
16
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
17
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
18
|
-
}
|
|
19
|
-
return to;
|
|
20
|
-
};
|
|
21
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
22
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
23
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
24
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
25
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
26
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
27
|
-
mod
|
|
28
|
-
));
|
|
29
|
-
|
|
30
|
-
// ../../node_modules/.pnpm/tsup@8.3.5_jiti@2.4.2_postcss@8.4.49_tsx@4.19.2_typescript@5.7.2_yaml@2.7.0/node_modules/tsup/assets/esm_shims.js
|
|
31
|
-
var init_esm_shims = __esm({
|
|
32
|
-
"../../node_modules/.pnpm/tsup@8.3.5_jiti@2.4.2_postcss@8.4.49_tsx@4.19.2_typescript@5.7.2_yaml@2.7.0/node_modules/tsup/assets/esm_shims.js"() {
|
|
33
|
-
"use strict";
|
|
34
|
-
}
|
|
35
|
-
});
|
|
1
|
+
import {
|
|
2
|
+
__commonJS,
|
|
3
|
+
__toESM,
|
|
4
|
+
init_esm_shims
|
|
5
|
+
} from "./chunk-E6Q3SKVK.mjs";
|
|
36
6
|
|
|
37
7
|
// ../../node_modules/.pnpm/isobject@3.0.1/node_modules/isobject/index.js
|
|
38
8
|
var require_isobject = __commonJS({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@weapp-tailwindcss/shared",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "1.0.0-alpha.1",
|
|
4
4
|
"description": "@weapp-tailwindcss/shared",
|
|
5
5
|
"author": "ice breaker <1324318532@qq.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -19,8 +19,16 @@
|
|
|
19
19
|
"types": "./dist/index.d.ts",
|
|
20
20
|
"import": "./dist/index.mjs",
|
|
21
21
|
"require": "./dist/index.js"
|
|
22
|
+
},
|
|
23
|
+
"./extractors": {
|
|
24
|
+
"types": "./dist/extractors.d.ts",
|
|
25
|
+
"import": "./dist/extractors.mjs",
|
|
26
|
+
"require": "./dist/extractors.js"
|
|
22
27
|
}
|
|
23
28
|
},
|
|
29
|
+
"main": "./dist/index.js",
|
|
30
|
+
"module": "./dist/index.mjs",
|
|
31
|
+
"types": "./dist/index.d.ts",
|
|
24
32
|
"files": [
|
|
25
33
|
"dist"
|
|
26
34
|
],
|
|
@@ -33,8 +41,5 @@
|
|
|
33
41
|
"release": "pnpm publish",
|
|
34
42
|
"lint": "eslint .",
|
|
35
43
|
"lint:fix": "eslint . --fix"
|
|
36
|
-
}
|
|
37
|
-
"main": "./dist/index.js",
|
|
38
|
-
"module": "./dist/index.mjs",
|
|
39
|
-
"types": "./dist/index.d.ts"
|
|
44
|
+
}
|
|
40
45
|
}
|