@weapp-tailwindcss/runtime 0.1.9 → 0.1.11-dev.20261117.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/index.cjs +41 -25
- package/dist/index.d.cts +1 -11
- package/dist/index.d.mts +1 -11
- package/dist/index.mjs +35 -24
- package/package.json +15 -6
package/dist/index.cjs
CHANGED
|
@@ -1,16 +1,29 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
let clsx = require("clsx");
|
|
3
|
-
let
|
|
4
|
-
|
|
3
|
+
let _weapp_tailwindcss_escape = require("@weapp-tailwindcss/escape");
|
|
4
|
+
// src/transformer-probes.ts
|
|
5
|
+
const probes = /* @__PURE__ */ new WeakMap();
|
|
6
|
+
const unescapePattern = /u[0-9a-f]{3,}/i;
|
|
7
|
+
const escapeNeedles = Object.keys(_weapp_tailwindcss_escape.MappingChars2String).filter(Boolean);
|
|
8
|
+
/** 仅为已知默认转换器登记可证明安全的跳过条件,不改变公开类型。 */
|
|
9
|
+
function registerTransformProbe(transform, direction) {
|
|
10
|
+
probes.set(transform, direction === "identity" ? () => false : direction === "unescape" ? (value) => value.includes("_") || unescapePattern.test(value) : (value) => escapeNeedles.some((needle) => value.includes(needle)));
|
|
11
|
+
}
|
|
12
|
+
/** 自定义转换器没有探针时必须执行,不能用默认映射推断其行为。 */
|
|
13
|
+
function needsTransform(transform, value) {
|
|
14
|
+
return probes.get(transform)?.(value) ?? true;
|
|
15
|
+
}
|
|
16
|
+
// src/transformers.ts
|
|
5
17
|
const identity = (value) => value;
|
|
18
|
+
registerTransformProbe(identity, "identity");
|
|
6
19
|
function isConfig(value) {
|
|
7
20
|
return typeof value === "object" && value !== null;
|
|
8
21
|
}
|
|
9
22
|
function mergeWithDefaultMap(map) {
|
|
10
23
|
if (!map) return;
|
|
11
|
-
if (map ===
|
|
24
|
+
if (map === _weapp_tailwindcss_escape.MappingChars2String) return _weapp_tailwindcss_escape.MappingChars2String;
|
|
12
25
|
return {
|
|
13
|
-
...
|
|
26
|
+
..._weapp_tailwindcss_escape.MappingChars2String,
|
|
14
27
|
...map
|
|
15
28
|
};
|
|
16
29
|
}
|
|
@@ -18,7 +31,7 @@ function resolveSharedMap(options) {
|
|
|
18
31
|
const { escape, unescape } = options ?? {};
|
|
19
32
|
if (isConfig(escape) && escape.map) return mergeWithDefaultMap(escape.map);
|
|
20
33
|
if (isConfig(unescape) && unescape.map) return mergeWithDefaultMap(unescape.map);
|
|
21
|
-
return
|
|
34
|
+
return _weapp_tailwindcss_escape.MappingChars2String;
|
|
22
35
|
}
|
|
23
36
|
function resolveTransformers(options) {
|
|
24
37
|
const sharedMap = resolveSharedMap(options);
|
|
@@ -42,26 +55,22 @@ function resolveTransformers(options) {
|
|
|
42
55
|
};
|
|
43
56
|
else unescapeOptions = { map: sharedMap };
|
|
44
57
|
}
|
|
58
|
+
const escapeFn = escapeEnabled ? (value) => (0, _weapp_tailwindcss_escape.escape)(value, escapeOptions) : identity;
|
|
59
|
+
const unescapeFn = unescapeEnabled ? (value) => (0, _weapp_tailwindcss_escape.unescape)(value, unescapeOptions) : identity;
|
|
60
|
+
if (sharedMap === _weapp_tailwindcss_escape.MappingChars2String) {
|
|
61
|
+
if (escapeEnabled && !isConfig(escapeConfig)) registerTransformProbe(escapeFn, "escape");
|
|
62
|
+
if (unescapeEnabled && !isConfig(unescapeConfig)) registerTransformProbe(unescapeFn, "unescape");
|
|
63
|
+
}
|
|
45
64
|
return {
|
|
46
|
-
escape:
|
|
47
|
-
unescape:
|
|
65
|
+
escape: escapeFn,
|
|
66
|
+
unescape: unescapeFn
|
|
48
67
|
};
|
|
49
68
|
}
|
|
50
|
-
|
|
51
|
-
//#region src/create-runtime.ts
|
|
69
|
+
// src/create-runtime.ts
|
|
52
70
|
const CACHE_LIMIT = 256;
|
|
53
|
-
const UNESCAPE_RE = /u[0-9a-f]{3,}/i;
|
|
54
|
-
const ESCAPE_NEEDLES = Object.keys(_weapp_core_escape.MappingChars2String).filter(Boolean);
|
|
55
71
|
function hasWhitespace(value) {
|
|
56
72
|
return value.includes(" ") || value.includes(" ") || value.includes("\n") || value.includes("\r") || value.includes("\f") || value.includes("\v");
|
|
57
73
|
}
|
|
58
|
-
function shouldUnescape(value) {
|
|
59
|
-
return value.includes("_") || UNESCAPE_RE.test(value);
|
|
60
|
-
}
|
|
61
|
-
function shouldEscape(value) {
|
|
62
|
-
for (const needle of ESCAPE_NEEDLES) if (value.includes(needle)) return true;
|
|
63
|
-
return false;
|
|
64
|
-
}
|
|
65
74
|
function transformTokens(value, transformFn) {
|
|
66
75
|
if (!value) return value;
|
|
67
76
|
if (!hasWhitespace(value)) return transformFn(value);
|
|
@@ -79,8 +88,12 @@ function wrapRuntimeAggregator(fn, transformers, prepareValue, restoreValue) {
|
|
|
79
88
|
else rawInput = (0, clsx.clsx)(...inputs);
|
|
80
89
|
if (!rawInput) return rawInput;
|
|
81
90
|
const cached = cache.get(rawInput);
|
|
82
|
-
if (cached !== void 0)
|
|
83
|
-
|
|
91
|
+
if (cached !== void 0) {
|
|
92
|
+
cache.delete(rawInput);
|
|
93
|
+
cache.set(rawInput, cached);
|
|
94
|
+
return cached;
|
|
95
|
+
}
|
|
96
|
+
const normalized = needsTransform(transformers.unescape, rawInput) ? transformTokens(rawInput, transformers.unescape) : rawInput;
|
|
84
97
|
let metadata;
|
|
85
98
|
let preparedValue = normalized;
|
|
86
99
|
if (prepareValue) {
|
|
@@ -93,7 +106,7 @@ function wrapRuntimeAggregator(fn, transformers, prepareValue, restoreValue) {
|
|
|
93
106
|
}
|
|
94
107
|
const merged = fn(preparedValue);
|
|
95
108
|
const restored = restoreValue ? restoreValue(merged, metadata) : merged;
|
|
96
|
-
const escaped =
|
|
109
|
+
const escaped = needsTransform(transformers.escape, restored) ? transformTokens(restored, transformers.escape) : restored;
|
|
97
110
|
if (cache.size >= CACHE_LIMIT) {
|
|
98
111
|
const firstEntry = cache.keys().next();
|
|
99
112
|
if (!firstEntry.done) cache.delete(firstEntry.value);
|
|
@@ -124,8 +137,7 @@ function createRuntimeFactory(options) {
|
|
|
124
137
|
};
|
|
125
138
|
};
|
|
126
139
|
}
|
|
127
|
-
|
|
128
|
-
//#region src/rpx-length.ts
|
|
140
|
+
// src/rpx-length.ts
|
|
129
141
|
const DEFAULT_PREFIXES = [
|
|
130
142
|
"text",
|
|
131
143
|
"border",
|
|
@@ -181,8 +193,12 @@ function createRpxLengthTransform(prefixes = DEFAULT_PREFIXES) {
|
|
|
181
193
|
};
|
|
182
194
|
}
|
|
183
195
|
const weappTwIgnore = String.raw;
|
|
184
|
-
|
|
185
|
-
|
|
196
|
+
Object.defineProperty(exports, "clsx", {
|
|
197
|
+
enumerable: true,
|
|
198
|
+
get: function() {
|
|
199
|
+
return clsx.clsx;
|
|
200
|
+
}
|
|
201
|
+
});
|
|
186
202
|
exports.createRpxLengthTransform = createRpxLengthTransform;
|
|
187
203
|
exports.createRuntimeFactory = createRuntimeFactory;
|
|
188
204
|
exports.identity = identity;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ClassValue, ClassValue as ClassValue$1, clsx as clsxFn } from "clsx";
|
|
2
|
-
import { EscapeOptions, UnescapeOptions } from "@weapp-
|
|
3
|
-
//#region src/types.d.ts
|
|
2
|
+
import { EscapeOptions, UnescapeOptions } from "@weapp-tailwindcss/escape";
|
|
4
3
|
type EscapeConfig = boolean | EscapeOptions;
|
|
5
4
|
type UnescapeConfig = boolean | UnescapeOptions;
|
|
6
5
|
interface CreateOptions {
|
|
@@ -15,8 +14,6 @@ type TailwindMergeLibraryFn = (...inputs: any[]) => string;
|
|
|
15
14
|
type TailwindMergeRuntime = (...inputs: ClassValue$1[]) => string;
|
|
16
15
|
type TailwindMergeFactory<TFactory extends (...args: any[]) => TailwindMergeLibraryFn> = (...args: Parameters<TFactory>) => TailwindMergeRuntime;
|
|
17
16
|
type TailwindMergeVersion = 2 | 3;
|
|
18
|
-
//#endregion
|
|
19
|
-
//#region src/create-runtime.d.ts
|
|
20
17
|
type TailwindMergeFactoryFn = (...args: any[]) => TailwindMergeLibraryFn;
|
|
21
18
|
interface TransformResult {
|
|
22
19
|
value: string;
|
|
@@ -49,8 +46,6 @@ export declare function createRuntimeFactory<TTwMerge extends TailwindMergeLibra
|
|
|
49
46
|
extendTailwindMerge: TailwindMergeFactory<TExtendFactory>;
|
|
50
47
|
createTailwindMerge: TailwindMergeFactory<TCreateFactory>;
|
|
51
48
|
};
|
|
52
|
-
//#endregion
|
|
53
|
-
//#region src/rpx-length.d.ts
|
|
54
49
|
type ReplacementCounters = Record<string, number>;
|
|
55
50
|
export declare function createRpxLengthTransform(prefixes?: readonly ["text", "border", "bg", "outline", "ring"]): {
|
|
56
51
|
prepareValue: (value: string) => string | {
|
|
@@ -61,15 +56,10 @@ export declare function createRpxLengthTransform(prefixes?: readonly ["text", "b
|
|
|
61
56
|
};
|
|
62
57
|
restoreValue: (value: string, metadata?: unknown) => string;
|
|
63
58
|
};
|
|
64
|
-
//#endregion
|
|
65
|
-
//#region src/transformers.d.ts
|
|
66
59
|
declare const identity: (value: string) => string;
|
|
67
60
|
export declare function resolveTransformers(options?: CreateOptions): Transformers;
|
|
68
|
-
//#endregion
|
|
69
|
-
//#region src/index.d.ts
|
|
70
61
|
export declare const weappTwIgnore: (template: {
|
|
71
62
|
raw: readonly string[] | ArrayLike<string>;
|
|
72
63
|
}, ...substitutions: any[]) => string;
|
|
73
64
|
export type ClsxFn = typeof clsxFn;
|
|
74
|
-
//#endregion
|
|
75
65
|
export { type ClassValue, type CreateOptions, type EscapeConfig, type TailwindMergeFactory, type TailwindMergeLibraryFn, type TailwindMergeRuntime, type TailwindMergeVersion, type Transformers, type UnescapeConfig, clsxFn as clsx, identity };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ClassValue, ClassValue as ClassValue$1, clsx as clsxFn } from "clsx";
|
|
2
|
-
import { EscapeOptions, UnescapeOptions } from "@weapp-
|
|
3
|
-
//#region src/types.d.ts
|
|
2
|
+
import { EscapeOptions, UnescapeOptions } from "@weapp-tailwindcss/escape";
|
|
4
3
|
type EscapeConfig = boolean | EscapeOptions;
|
|
5
4
|
type UnescapeConfig = boolean | UnescapeOptions;
|
|
6
5
|
interface CreateOptions {
|
|
@@ -15,8 +14,6 @@ type TailwindMergeLibraryFn = (...inputs: any[]) => string;
|
|
|
15
14
|
type TailwindMergeRuntime = (...inputs: ClassValue$1[]) => string;
|
|
16
15
|
type TailwindMergeFactory<TFactory extends (...args: any[]) => TailwindMergeLibraryFn> = (...args: Parameters<TFactory>) => TailwindMergeRuntime;
|
|
17
16
|
type TailwindMergeVersion = 2 | 3;
|
|
18
|
-
//#endregion
|
|
19
|
-
//#region src/create-runtime.d.ts
|
|
20
17
|
type TailwindMergeFactoryFn = (...args: any[]) => TailwindMergeLibraryFn;
|
|
21
18
|
interface TransformResult {
|
|
22
19
|
value: string;
|
|
@@ -49,8 +46,6 @@ export declare function createRuntimeFactory<TTwMerge extends TailwindMergeLibra
|
|
|
49
46
|
extendTailwindMerge: TailwindMergeFactory<TExtendFactory>;
|
|
50
47
|
createTailwindMerge: TailwindMergeFactory<TCreateFactory>;
|
|
51
48
|
};
|
|
52
|
-
//#endregion
|
|
53
|
-
//#region src/rpx-length.d.ts
|
|
54
49
|
type ReplacementCounters = Record<string, number>;
|
|
55
50
|
export declare function createRpxLengthTransform(prefixes?: readonly ["text", "border", "bg", "outline", "ring"]): {
|
|
56
51
|
prepareValue: (value: string) => string | {
|
|
@@ -61,15 +56,10 @@ export declare function createRpxLengthTransform(prefixes?: readonly ["text", "b
|
|
|
61
56
|
};
|
|
62
57
|
restoreValue: (value: string, metadata?: unknown) => string;
|
|
63
58
|
};
|
|
64
|
-
//#endregion
|
|
65
|
-
//#region src/transformers.d.ts
|
|
66
59
|
declare const identity: (value: string) => string;
|
|
67
60
|
export declare function resolveTransformers(options?: CreateOptions): Transformers;
|
|
68
|
-
//#endregion
|
|
69
|
-
//#region src/index.d.ts
|
|
70
61
|
export declare const weappTwIgnore: (template: {
|
|
71
62
|
raw: readonly string[] | ArrayLike<string>;
|
|
72
63
|
}, ...substitutions: any[]) => string;
|
|
73
64
|
export type ClsxFn = typeof clsxFn;
|
|
74
|
-
//#endregion
|
|
75
65
|
export { type ClassValue, type CreateOptions, type EscapeConfig, type TailwindMergeFactory, type TailwindMergeLibraryFn, type TailwindMergeRuntime, type TailwindMergeVersion, type Transformers, type UnescapeConfig, clsxFn as clsx, identity };
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,20 @@
|
|
|
1
|
-
import { clsx, clsx as
|
|
2
|
-
import { MappingChars2String, escape, unescape } from "@weapp-
|
|
3
|
-
|
|
1
|
+
import { clsx, clsx as clsx$1 } from "clsx";
|
|
2
|
+
import { MappingChars2String, escape, unescape } from "@weapp-tailwindcss/escape";
|
|
3
|
+
// src/transformer-probes.ts
|
|
4
|
+
const probes = /* @__PURE__ */ new WeakMap();
|
|
5
|
+
const unescapePattern = /u[0-9a-f]{3,}/i;
|
|
6
|
+
const escapeNeedles = Object.keys(MappingChars2String).filter(Boolean);
|
|
7
|
+
/** 仅为已知默认转换器登记可证明安全的跳过条件,不改变公开类型。 */
|
|
8
|
+
function registerTransformProbe(transform, direction) {
|
|
9
|
+
probes.set(transform, direction === "identity" ? () => false : direction === "unescape" ? (value) => value.includes("_") || unescapePattern.test(value) : (value) => escapeNeedles.some((needle) => value.includes(needle)));
|
|
10
|
+
}
|
|
11
|
+
/** 自定义转换器没有探针时必须执行,不能用默认映射推断其行为。 */
|
|
12
|
+
function needsTransform(transform, value) {
|
|
13
|
+
return probes.get(transform)?.(value) ?? true;
|
|
14
|
+
}
|
|
15
|
+
// src/transformers.ts
|
|
4
16
|
const identity = (value) => value;
|
|
17
|
+
registerTransformProbe(identity, "identity");
|
|
5
18
|
function isConfig(value) {
|
|
6
19
|
return typeof value === "object" && value !== null;
|
|
7
20
|
}
|
|
@@ -41,26 +54,22 @@ function resolveTransformers(options) {
|
|
|
41
54
|
};
|
|
42
55
|
else unescapeOptions = { map: sharedMap };
|
|
43
56
|
}
|
|
57
|
+
const escapeFn = escapeEnabled ? (value) => escape(value, escapeOptions) : identity;
|
|
58
|
+
const unescapeFn = unescapeEnabled ? (value) => unescape(value, unescapeOptions) : identity;
|
|
59
|
+
if (sharedMap === MappingChars2String) {
|
|
60
|
+
if (escapeEnabled && !isConfig(escapeConfig)) registerTransformProbe(escapeFn, "escape");
|
|
61
|
+
if (unescapeEnabled && !isConfig(unescapeConfig)) registerTransformProbe(unescapeFn, "unescape");
|
|
62
|
+
}
|
|
44
63
|
return {
|
|
45
|
-
escape:
|
|
46
|
-
unescape:
|
|
64
|
+
escape: escapeFn,
|
|
65
|
+
unescape: unescapeFn
|
|
47
66
|
};
|
|
48
67
|
}
|
|
49
|
-
|
|
50
|
-
//#region src/create-runtime.ts
|
|
68
|
+
// src/create-runtime.ts
|
|
51
69
|
const CACHE_LIMIT = 256;
|
|
52
|
-
const UNESCAPE_RE = /u[0-9a-f]{3,}/i;
|
|
53
|
-
const ESCAPE_NEEDLES = Object.keys(MappingChars2String).filter(Boolean);
|
|
54
70
|
function hasWhitespace(value) {
|
|
55
71
|
return value.includes(" ") || value.includes(" ") || value.includes("\n") || value.includes("\r") || value.includes("\f") || value.includes("\v");
|
|
56
72
|
}
|
|
57
|
-
function shouldUnescape(value) {
|
|
58
|
-
return value.includes("_") || UNESCAPE_RE.test(value);
|
|
59
|
-
}
|
|
60
|
-
function shouldEscape(value) {
|
|
61
|
-
for (const needle of ESCAPE_NEEDLES) if (value.includes(needle)) return true;
|
|
62
|
-
return false;
|
|
63
|
-
}
|
|
64
73
|
function transformTokens(value, transformFn) {
|
|
65
74
|
if (!value) return value;
|
|
66
75
|
if (!hasWhitespace(value)) return transformFn(value);
|
|
@@ -75,11 +84,15 @@ function wrapRuntimeAggregator(fn, transformers, prepareValue, restoreValue) {
|
|
|
75
84
|
return (...inputs) => {
|
|
76
85
|
let rawInput;
|
|
77
86
|
if (inputs.length === 1 && typeof inputs[0] === "string") rawInput = inputs[0];
|
|
78
|
-
else rawInput = clsx(...inputs);
|
|
87
|
+
else rawInput = clsx$1(...inputs);
|
|
79
88
|
if (!rawInput) return rawInput;
|
|
80
89
|
const cached = cache.get(rawInput);
|
|
81
|
-
if (cached !== void 0)
|
|
82
|
-
|
|
90
|
+
if (cached !== void 0) {
|
|
91
|
+
cache.delete(rawInput);
|
|
92
|
+
cache.set(rawInput, cached);
|
|
93
|
+
return cached;
|
|
94
|
+
}
|
|
95
|
+
const normalized = needsTransform(transformers.unescape, rawInput) ? transformTokens(rawInput, transformers.unescape) : rawInput;
|
|
83
96
|
let metadata;
|
|
84
97
|
let preparedValue = normalized;
|
|
85
98
|
if (prepareValue) {
|
|
@@ -92,7 +105,7 @@ function wrapRuntimeAggregator(fn, transformers, prepareValue, restoreValue) {
|
|
|
92
105
|
}
|
|
93
106
|
const merged = fn(preparedValue);
|
|
94
107
|
const restored = restoreValue ? restoreValue(merged, metadata) : merged;
|
|
95
|
-
const escaped =
|
|
108
|
+
const escaped = needsTransform(transformers.escape, restored) ? transformTokens(restored, transformers.escape) : restored;
|
|
96
109
|
if (cache.size >= CACHE_LIMIT) {
|
|
97
110
|
const firstEntry = cache.keys().next();
|
|
98
111
|
if (!firstEntry.done) cache.delete(firstEntry.value);
|
|
@@ -123,8 +136,7 @@ function createRuntimeFactory(options) {
|
|
|
123
136
|
};
|
|
124
137
|
};
|
|
125
138
|
}
|
|
126
|
-
|
|
127
|
-
//#region src/rpx-length.ts
|
|
139
|
+
// src/rpx-length.ts
|
|
128
140
|
const DEFAULT_PREFIXES = [
|
|
129
141
|
"text",
|
|
130
142
|
"border",
|
|
@@ -180,5 +192,4 @@ function createRpxLengthTransform(prefixes = DEFAULT_PREFIXES) {
|
|
|
180
192
|
};
|
|
181
193
|
}
|
|
182
194
|
const weappTwIgnore = String.raw;
|
|
183
|
-
|
|
184
|
-
export { clsxFn as clsx, createRpxLengthTransform, createRuntimeFactory, identity, resolveTransformers, weappTwIgnore, wrapRuntimeAggregator };
|
|
195
|
+
export { clsx, createRpxLengthTransform, createRuntimeFactory, identity, resolveTransformers, weappTwIgnore, wrapRuntimeAggregator };
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@weapp-tailwindcss/runtime",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.11-dev.20261117.1",
|
|
5
5
|
"description": "Shared runtime adapters for cross-platform Tailwind CSS class utilities. 跨端 Tailwind CSS 类名工具的共享运行时适配层。",
|
|
6
6
|
"author": "ice breaker <1324318532@qq.com>",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"homepage": "https://tw.weapp.dev/docs/community/merge/runtime-api",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
|
-
"url": "git+https://github.com/
|
|
11
|
+
"url": "git+https://github.com/weapp-tailwindcss/weapp-tailwindcss.git",
|
|
12
12
|
"directory": "packages-runtime/runtime"
|
|
13
13
|
},
|
|
14
14
|
"bugs": {
|
|
15
|
-
"url": "https://github.com/
|
|
15
|
+
"url": "https://github.com/weapp-tailwindcss/weapp-tailwindcss/issues"
|
|
16
16
|
},
|
|
17
17
|
"keywords": [
|
|
18
18
|
"tailwindcss",
|
|
@@ -43,12 +43,21 @@
|
|
|
43
43
|
"node": "^20.19.0 || >=22.12.0"
|
|
44
44
|
},
|
|
45
45
|
"publishConfig": {
|
|
46
|
-
"access": "public"
|
|
46
|
+
"access": "public",
|
|
47
|
+
"tag": "snapshot-nightly",
|
|
48
|
+
"registry": "https://registry.npmjs.org/"
|
|
47
49
|
},
|
|
48
50
|
"dependencies": {
|
|
49
|
-
"@weapp-
|
|
51
|
+
"@weapp-tailwindcss/escape": "0.0.2-dev.20261117.1",
|
|
50
52
|
"clsx": "^2.1.1"
|
|
51
53
|
},
|
|
54
|
+
"repoctlSnapshot": {
|
|
55
|
+
"kind": "nightly",
|
|
56
|
+
"commit": "06815a1e532fd96bd3f8a73388c4b8b5788c817d",
|
|
57
|
+
"buildId": "44004731642-1",
|
|
58
|
+
"identityKey": "862d5b2edc889f9f141a37385bdde3217931e28f4fdf9ac0f32d4b4ca814bf1c",
|
|
59
|
+
"tag": "snapshot-nightly"
|
|
60
|
+
},
|
|
52
61
|
"scripts": {
|
|
53
62
|
"dev": "tsdown -w",
|
|
54
63
|
"build": "tsdown",
|
|
@@ -59,4 +68,4 @@
|
|
|
59
68
|
"lint": "eslint .",
|
|
60
69
|
"lint:fix": "eslint . --fix"
|
|
61
70
|
}
|
|
62
|
-
}
|
|
71
|
+
}
|