@webto-id/variant-check 0.1.2 → 0.1.3
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/cli.js +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1758,10 +1758,10 @@ function deriveSchema(fields, props, base2) {
|
|
|
1758
1758
|
__name(deriveSchema, "deriveSchema");
|
|
1759
1759
|
|
|
1760
1760
|
// ../variant-compiler/src/index.ts
|
|
1761
|
-
var COMPILER_VERSION = "0.1.
|
|
1761
|
+
var COMPILER_VERSION = "0.1.3";
|
|
1762
1762
|
var IR_MAX_BYTES = 256 * 1024;
|
|
1763
1763
|
var CSS_MAX_BYTES = 64 * 1024;
|
|
1764
|
-
var STRICT_CODES = /* @__PURE__ */ new Set(["dead-text", "hardcoded-color", "hardcoded-radius", "hardcoded-font", "hardcoded-image", "img-alt", "props-optional"]);
|
|
1764
|
+
var STRICT_CODES = /* @__PURE__ */ new Set(["dead-text", "hardcoded-color", "hardcoded-radius", "hardcoded-font", "hardcoded-image", "img-alt", "props-optional", "tailwind-skipped"]);
|
|
1765
1765
|
var BUILTIN_IDS = /* @__PURE__ */ new Set(["t", "img", "url", "editChrome", "Math", "String", "Number", "Boolean", "Array", "undefined"]);
|
|
1766
1766
|
async function compile2(source2, opts) {
|
|
1767
1767
|
const lint = [];
|
package/dist/index.js
CHANGED
|
@@ -1755,10 +1755,10 @@ function deriveSchema(fields, props, base) {
|
|
|
1755
1755
|
__name(deriveSchema, "deriveSchema");
|
|
1756
1756
|
|
|
1757
1757
|
// ../variant-compiler/src/index.ts
|
|
1758
|
-
var COMPILER_VERSION = "0.1.
|
|
1758
|
+
var COMPILER_VERSION = "0.1.3";
|
|
1759
1759
|
var IR_MAX_BYTES = 256 * 1024;
|
|
1760
1760
|
var CSS_MAX_BYTES = 64 * 1024;
|
|
1761
|
-
var STRICT_CODES = /* @__PURE__ */ new Set(["dead-text", "hardcoded-color", "hardcoded-radius", "hardcoded-font", "hardcoded-image", "img-alt", "props-optional"]);
|
|
1761
|
+
var STRICT_CODES = /* @__PURE__ */ new Set(["dead-text", "hardcoded-color", "hardcoded-radius", "hardcoded-font", "hardcoded-image", "img-alt", "props-optional", "tailwind-skipped"]);
|
|
1762
1762
|
var BUILTIN_IDS = /* @__PURE__ */ new Set(["t", "img", "url", "editChrome", "Math", "String", "Number", "Boolean", "Array", "undefined"]);
|
|
1763
1763
|
async function compile2(source, opts) {
|
|
1764
1764
|
const lint = [];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webto-id/variant-check",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Lint, compile and preview a Webto Variant Format (.astro subset) section variant with the exact compiler the webto.id marketplace uses.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|