vize 0.606.0 → 0.608.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 +21 -6
- package/dist/cli.mjs +1 -72
- package/dist/cli.mjs.map +1 -1
- package/dist/{config-P57ML6UM.d.mts → config-JBucgVM2.d.mts} +2 -2
- package/dist/{config-P57ML6UM.d.mts.map → config-JBucgVM2.d.mts.map} +1 -1
- package/dist/config.d.mts +1 -1
- package/dist/index.d.mts +1 -1
- package/generated/content-mapper-types.d.ts +114 -114
- package/package.json +22 -10
- package/src/cli.ts +0 -2
- package/src/types/rules.ts +1 -0
- package/virtual-ts.d.cts +522 -0
- package/virtual-ts.d.mts +522 -0
- package/virtual-ts.d.ts +522 -0
|
@@ -848,7 +848,7 @@ interface VizeConfigEntry {
|
|
|
848
848
|
}
|
|
849
849
|
//#endregion
|
|
850
850
|
//#region src/types/rules.d.ts
|
|
851
|
-
declare const LINT_RULE_NAMES: readonly ["a11y/alt-text", "a11y/anchor-has-content", "a11y/anchor-is-valid", "a11y/aria-props", "a11y/aria-role", "a11y/aria-unsupported-elements", "a11y/click-events-have-key-events", "a11y/form-control-has-label", "a11y/heading-has-content", "a11y/heading-levels", "a11y/iframe-has-title", "a11y/img-alt", "a11y/interactive-supports-focus", "a11y/label-has-for", "a11y/landmark-roles", "a11y/media-has-caption", "a11y/mouse-events-have-key-events", "a11y/no-access-key", "a11y/no-aria-hidden-on-focusable", "a11y/no-autofocus", "a11y/no-distracting-elements", "a11y/no-i-for-icon", "a11y/no-redundant-roles", "a11y/no-refer-to-non-existent-id", "a11y/no-role-presentation-on-focusable", "a11y/no-static-element-interactions", "a11y/placeholder-label-option", "a11y/role-has-required-aria-props", "a11y/tabindex-no-positive", "a11y/use-list", "css/no-display-none", "css/no-hardcoded-values", "css/no-id-selectors", "css/no-important", "css/no-utility-classes", "css/no-v-bind-performance", "css/prefer-logical-properties", "css/prefer-nested-selectors", "css/prefer-slotted", "css/require-font-display", "ecosystem/nuxt-prefer-nuxt-link", "ecosystem/pinia-prefer-store-to-refs", "ecosystem/router-link-require-to", "ecosystem/void-link-require-href", "ecosystem/void-link-valid-method", "ecosystem/vue-i18n-no-missing-key", "ecosystem/vue-router-prefer-named-link", "ecosystem/vue-router-prefer-named-push", "ecosystem/vue-test-utils-no-html-snapshot", "html/deprecated-attr", "html/deprecated-element", "html/id-duplication", "html/no-consecutive-br", "html/no-dupe-style-properties", "html/no-duplicate-class", "html/no-duplicate-dt", "html/no-empty-palpable-content", "html/require-datetime", "musea/no-empty-variant", "musea/prefer-design-tokens", "musea/require-component", "musea/require-title", "musea/unique-variant-names", "musea/valid-variant", "nuxt/no-nuxt-config-test-key", "nuxt/no-page-meta-runtime-values", "nuxt/nuxt-config-keys-order", "nuxt/prefer-import-meta", "petite-vue/no-unsupported-directive", "petite-vue/valid-v-effect", "petite-vue/valid-v-scope", "script/component-options-name-casing", "script/custom-event-name-casing", "script/define-emits-declaration", "script/define-macros-order", "script/define-props-declaration", "script/define-props-destructuring", "script/no-arrow-functions-in-watch", "script/no-async-in-computed", "script/no-boolean-default", "script/no-computed-properties-in-data", "script/no-deep-destructure-in-props", "script/no-deprecated-data-object-declaration", "script/no-deprecated-delete-set", "script/no-deprecated-destroyed-lifecycle", "script/no-deprecated-dollar-listeners-api", "script/no-deprecated-dollar-scopedslots-api", "script/no-deprecated-events-api", "script/no-deprecated-model-definition", "script/no-deprecated-props-default-this", "script/no-deprecated-vue-config-keycodes", "script/no-dupe-keys", "script/no-duplicate-attr-inheritance", "script/no-export-in-script-setup", "script/no-expose-after-await", "script/no-get-current-instance", "script/no-import-compiler-macros", "script/no-internal-imports", "script/no-lifecycle-after-await", "script/no-multiple-slot-args", "script/no-next-tick", "script/no-options-api", "script/no-potential-component-option-typo", "script/no-reactive-destructure", "script/no-ref-as-operand", "script/no-required-prop-with-default", "script/no-reserved-identifiers", "script/no-reserved-keys", "script/no-reserved-props", "script/no-restricted-globals", "script/no-restricted-members", "script/no-side-effects-in-computed-properties", "script/no-top-level-ref-in-script", "script/no-unstable-nested-components", "script/no-unused-emit-declarations", "script/no-use-computed-property-like-method", "script/no-watch-after-await", "script/no-with-defaults", "script/one-component-per-file", "script/order-in-components", "script/prefer-computed", "script/prefer-define-options", "script/prefer-import-from-vue", "script/prefer-ref-over-reactive", "script/prefer-use-attrs", "script/prefer-use-id", "script/prefer-use-slots", "script/prefer-use-template-ref", "script/require-default-prop", "script/require-explicit-emits", "script/require-explicit-slots", "script/require-function-return-type", "script/require-prop-type-constructor", "script/require-prop-types", "script/require-render-return", "script/require-slots-as-functions", "script/require-symbol-provide", "script/require-typed-object-prop", "script/require-typed-ref", "script/require-valid-default-prop", "script/return-in-computed-property", "script/return-in-emits-validator", "script/valid-define-emits", "script/valid-define-options", "script/valid-define-props", "script/valid-next-tick", "ssr/no-browser-globals-in-ssr", "ssr/no-hydration-mismatch", "type/no-floating-promises", "type/no-reactivity-loss", "type/no-unsafe-template-binding", "type/require-typed-emits", "type/require-typed-props", "type/strict-boolean-expressions", "vapor/no-inline-template", "vapor/no-vue-lifecycle-events", "vapor/prefer-static-class", "vapor/require-vapor-attribute", "vue/a11y-img-alt", "vue/attribute-hyphenation", "vue/attribute-order", "vue/component-definition-name-casing", "vue/component-name-in-template-casing", "vue/html-button-has-type", "vue/html-quotes", "vue/html-self-closing", "vue/max-template-complexity", "vue/multi-word-component-names", "vue/mustache-interpolation-spacing", "vue/no-array-index-key", "vue/no-bare-strings-in-template", "vue/no-boolean-attr-value", "vue/no-child-content", "vue/no-deprecated-filter", "vue/no-deprecated-functional-template", "vue/no-deprecated-html-element-is", "vue/no-deprecated-inline-template", "vue/no-deprecated-router-link-tag-prop", "vue/no-deprecated-scope-attribute", "vue/no-deprecated-slot-attribute", "vue/no-deprecated-slot-scope-attribute", "vue/no-deprecated-v-bind-sync", "vue/no-deprecated-v-is", "vue/no-deprecated-v-on-native-modifier", "vue/no-deprecated-v-on-number-modifiers", "vue/no-dupe-v-else-if", "vue/no-duplicate-attributes", "vue/no-empty-component-block", "vue/no-inline-style", "vue/no-invalid-html-attribute", "vue/no-lone-template", "vue/no-multi-spaces", "vue/no-multiple-objects-in-class", "vue/no-multiple-template-root", "vue/no-mutating-props", "vue/no-negated-v-if-condition", "vue/no-non-component-keep-alive-child", "vue/no-preprocessor-lang", "vue/no-reserved-component-names", "vue/no-root-v-if", "vue/no-script-non-standard-lang", "vue/no-src-attribute", "vue/no-static-inline-styles", "vue/no-template-key", "vue/no-template-lang", "vue/no-template-shadow", "vue/no-template-target-blank", "vue/no-textarea-mustache", "vue/no-undefined-refs", "vue/no-unsafe-url", "vue/no-unsandboxed-iframe", "vue/no-unused-components", "vue/no-unused-properties", "vue/no-unused-refs", "vue/no-unused-setup-bindings", "vue/no-unused-vars", "vue/no-use-v-else-with-v-for", "vue/no-use-v-if-with-v-for", "vue/no-useless-mustaches", "vue/no-useless-template-attributes", "vue/no-useless-v-bind", "vue/no-v-for-template-key-on-child", "vue/no-v-html", "vue/no-v-text", "vue/no-v-text-v-html-on-component", "vue/permitted-contents", "vue/prefer-props-shorthand", "vue/prefer-true-attribute-shorthand", "vue/prop-name-casing", "vue/require-component-is", "vue/require-component-registration", "vue/require-scoped-style", "vue/require-toggle-inside-transition", "vue/require-v-for-key", "vue/scoped-event-names", "vue/sfc-element-order", "vue/single-style-block", "vue/slot-name-casing", "vue/this-in-template", "vue/use-unique-element-ids", "vue/use-v-on-exact", "vue/v-bind-style", "vue/v-on-event-hyphenation", "vue/v-on-handler-style", "vue/v-on-style", "vue/v-slot-style", "vue/valid-attribute-name", "vue/valid-template-root", "vue/valid-v-bind", "vue/valid-v-cloak", "vue/valid-v-else", "vue/valid-v-else-if", "vue/valid-v-for", "vue/valid-v-html", "vue/valid-v-if", "vue/valid-v-is", "vue/valid-v-memo", "vue/valid-v-model", "vue/valid-v-on", "vue/valid-v-once", "vue/valid-v-pre", "vue/valid-v-show", "vue/valid-v-slot", "vue/valid-v-text", "vue/warn-custom-block", "vue/warn-custom-directive"];
|
|
851
|
+
declare const LINT_RULE_NAMES: readonly ["a11y/alt-text", "a11y/anchor-has-content", "a11y/anchor-is-valid", "a11y/aria-props", "a11y/aria-role", "a11y/aria-unsupported-elements", "a11y/click-events-have-key-events", "a11y/form-control-has-label", "a11y/heading-has-content", "a11y/heading-levels", "a11y/iframe-has-title", "a11y/img-alt", "a11y/interactive-supports-focus", "a11y/label-has-for", "a11y/landmark-roles", "a11y/media-has-caption", "a11y/mouse-events-have-key-events", "a11y/no-access-key", "a11y/no-aria-hidden-on-focusable", "a11y/no-autofocus", "a11y/no-distracting-elements", "a11y/no-i-for-icon", "a11y/no-redundant-roles", "a11y/no-refer-to-non-existent-id", "a11y/no-role-presentation-on-focusable", "a11y/no-static-element-interactions", "a11y/placeholder-label-option", "a11y/role-has-required-aria-props", "a11y/tabindex-no-positive", "a11y/use-list", "css/no-display-none", "css/no-hardcoded-values", "css/no-id-selectors", "css/no-important", "css/no-utility-classes", "css/no-v-bind-performance", "css/prefer-logical-properties", "css/prefer-nested-selectors", "css/prefer-slotted", "css/require-font-display", "ecosystem/nuxt-prefer-nuxt-link", "ecosystem/pinia-prefer-store-to-refs", "ecosystem/router-link-require-to", "ecosystem/void-link-require-href", "ecosystem/void-link-valid-method", "ecosystem/vue-i18n-no-missing-key", "ecosystem/vue-router-prefer-named-link", "ecosystem/vue-router-prefer-named-push", "ecosystem/vue-test-utils-no-html-snapshot", "html/deprecated-attr", "html/deprecated-element", "html/id-duplication", "html/no-consecutive-br", "html/no-dupe-style-properties", "html/no-duplicate-class", "html/no-duplicate-dt", "html/no-empty-palpable-content", "html/require-datetime", "musea/no-empty-variant", "musea/prefer-design-tokens", "musea/require-component", "musea/require-title", "musea/unique-variant-names", "musea/valid-variant", "nuxt/no-nuxt-config-test-key", "nuxt/no-page-meta-runtime-values", "nuxt/nuxt-config-keys-order", "nuxt/prefer-import-meta", "petite-vue/no-unsupported-directive", "petite-vue/valid-v-effect", "petite-vue/valid-v-scope", "script/component-options-name-casing", "script/custom-event-name-casing", "script/define-emits-declaration", "script/define-macros-order", "script/define-props-declaration", "script/define-props-destructuring", "script/no-arrow-functions-in-watch", "script/no-async-in-computed", "script/no-boolean-default", "script/no-computed-properties-in-data", "script/no-deep-destructure-in-props", "script/no-deprecated-data-object-declaration", "script/no-deprecated-delete-set", "script/no-deprecated-destroyed-lifecycle", "script/no-deprecated-dollar-listeners-api", "script/no-deprecated-dollar-scopedslots-api", "script/no-deprecated-events-api", "script/no-deprecated-model-definition", "script/no-deprecated-props-default-this", "script/no-deprecated-vue-config-keycodes", "script/no-dupe-keys", "script/no-duplicate-attr-inheritance", "script/no-export-in-script-setup", "script/no-expose-after-await", "script/no-get-current-instance", "script/no-import-compiler-macros", "script/no-internal-imports", "script/no-lifecycle-after-await", "script/no-multiple-slot-args", "script/no-next-tick", "script/no-options-api", "script/no-potential-component-option-typo", "script/no-reactive-destructure", "script/no-ref-as-operand", "script/no-required-prop-with-default", "script/no-reserved-identifiers", "script/no-reserved-keys", "script/no-reserved-props", "script/no-restricted-globals", "script/no-restricted-members", "script/no-side-effects-in-computed-properties", "script/no-top-level-ref-in-script", "script/no-unstable-nested-components", "script/no-unused-emit-declarations", "script/no-use-computed-property-like-method", "script/no-watch-after-await", "script/no-with-defaults", "script/one-component-per-file", "script/order-in-components", "script/prefer-computed", "script/prefer-define-emits-binding", "script/prefer-define-options", "script/prefer-import-from-vue", "script/prefer-ref-over-reactive", "script/prefer-use-attrs", "script/prefer-use-id", "script/prefer-use-slots", "script/prefer-use-template-ref", "script/require-default-prop", "script/require-explicit-emits", "script/require-explicit-slots", "script/require-function-return-type", "script/require-prop-type-constructor", "script/require-prop-types", "script/require-render-return", "script/require-slots-as-functions", "script/require-symbol-provide", "script/require-typed-object-prop", "script/require-typed-ref", "script/require-valid-default-prop", "script/return-in-computed-property", "script/return-in-emits-validator", "script/valid-define-emits", "script/valid-define-options", "script/valid-define-props", "script/valid-next-tick", "ssr/no-browser-globals-in-ssr", "ssr/no-hydration-mismatch", "type/no-floating-promises", "type/no-reactivity-loss", "type/no-unsafe-template-binding", "type/require-typed-emits", "type/require-typed-props", "type/strict-boolean-expressions", "vapor/no-inline-template", "vapor/no-vue-lifecycle-events", "vapor/prefer-static-class", "vapor/require-vapor-attribute", "vue/a11y-img-alt", "vue/attribute-hyphenation", "vue/attribute-order", "vue/component-definition-name-casing", "vue/component-name-in-template-casing", "vue/html-button-has-type", "vue/html-quotes", "vue/html-self-closing", "vue/max-template-complexity", "vue/multi-word-component-names", "vue/mustache-interpolation-spacing", "vue/no-array-index-key", "vue/no-bare-strings-in-template", "vue/no-boolean-attr-value", "vue/no-child-content", "vue/no-deprecated-filter", "vue/no-deprecated-functional-template", "vue/no-deprecated-html-element-is", "vue/no-deprecated-inline-template", "vue/no-deprecated-router-link-tag-prop", "vue/no-deprecated-scope-attribute", "vue/no-deprecated-slot-attribute", "vue/no-deprecated-slot-scope-attribute", "vue/no-deprecated-v-bind-sync", "vue/no-deprecated-v-is", "vue/no-deprecated-v-on-native-modifier", "vue/no-deprecated-v-on-number-modifiers", "vue/no-dupe-v-else-if", "vue/no-duplicate-attributes", "vue/no-empty-component-block", "vue/no-inline-style", "vue/no-invalid-html-attribute", "vue/no-lone-template", "vue/no-multi-spaces", "vue/no-multiple-objects-in-class", "vue/no-multiple-template-root", "vue/no-mutating-props", "vue/no-negated-v-if-condition", "vue/no-non-component-keep-alive-child", "vue/no-preprocessor-lang", "vue/no-reserved-component-names", "vue/no-root-v-if", "vue/no-script-non-standard-lang", "vue/no-src-attribute", "vue/no-static-inline-styles", "vue/no-template-key", "vue/no-template-lang", "vue/no-template-shadow", "vue/no-template-target-blank", "vue/no-textarea-mustache", "vue/no-undefined-refs", "vue/no-unsafe-url", "vue/no-unsandboxed-iframe", "vue/no-unused-components", "vue/no-unused-properties", "vue/no-unused-refs", "vue/no-unused-setup-bindings", "vue/no-unused-vars", "vue/no-use-v-else-with-v-for", "vue/no-use-v-if-with-v-for", "vue/no-useless-mustaches", "vue/no-useless-template-attributes", "vue/no-useless-v-bind", "vue/no-v-for-template-key-on-child", "vue/no-v-html", "vue/no-v-text", "vue/no-v-text-v-html-on-component", "vue/permitted-contents", "vue/prefer-props-shorthand", "vue/prefer-true-attribute-shorthand", "vue/prop-name-casing", "vue/require-component-is", "vue/require-component-registration", "vue/require-scoped-style", "vue/require-toggle-inside-transition", "vue/require-v-for-key", "vue/scoped-event-names", "vue/sfc-element-order", "vue/single-style-block", "vue/slot-name-casing", "vue/this-in-template", "vue/use-unique-element-ids", "vue/use-v-on-exact", "vue/v-bind-style", "vue/v-on-event-hyphenation", "vue/v-on-handler-style", "vue/v-on-style", "vue/v-slot-style", "vue/valid-attribute-name", "vue/valid-template-root", "vue/valid-v-bind", "vue/valid-v-cloak", "vue/valid-v-else", "vue/valid-v-else-if", "vue/valid-v-for", "vue/valid-v-html", "vue/valid-v-if", "vue/valid-v-is", "vue/valid-v-memo", "vue/valid-v-model", "vue/valid-v-on", "vue/valid-v-once", "vue/valid-v-pre", "vue/valid-v-show", "vue/valid-v-slot", "vue/valid-v-text", "vue/warn-custom-block", "vue/warn-custom-directive"];
|
|
852
852
|
type LintRuleName = (typeof LINT_RULE_NAMES)[number];
|
|
853
853
|
type LintRulesConfig = Partial<Record<LintRuleName, RuleSeverity>>;
|
|
854
854
|
//#endregion
|
|
@@ -981,4 +981,4 @@ declare function resolveConfigExport(exported: UserConfigExport, env?: ConfigEnv
|
|
|
981
981
|
declare function normalizeGlobalTypes(config: GlobalTypesConfig): Record<string, GlobalTypeDeclaration>;
|
|
982
982
|
//#endregion
|
|
983
983
|
export { LibConfig as A, VitePluginConfig as B, LintRulesConfig as C, GlobalTypeDeclaration as D, FormatterConfig as E, MuseaConfig as F, VizeConfigEntry as H, MuseaVrtConfig as I, RuleCategory as L, LinterConfig as M, MuseaA11yConfig as N, GlobalTypesConfig as O, MuseaAutogenConfig as P, RuleSeverity as R, LintRuleName as S, CompilerConfig as T, VueVersion as U, VizeConfig as V, UserConfigExport as _, loadConfig as a, VueOptions as b, resolveViteConfigExport as c, ConfigEnv as d, LoadConfigOptions as f, UserConfigEntry as g, UserConfig as h, defineConfig as i, LintPreset as j, LanguageServerConfig as k, VITE_CONFIG_FILE_NAMES as l, ResolvedVizeConfig as m, VIZE_CONFIG_JSON_SCHEMA_PATH as n, normalizeGlobalTypes as o, MaybePromise as p, VIZE_CONFIG_PKL_SCHEMA_PATH as r, resolveConfigExport as s, CONFIG_FILE_NAMES as t, LspConfig as u, UserConfigInput as v, CompilerCompatibilityConfig as w, VueOptionsEntry as x, VueConfig as y, TypeCheckerConfig as z };
|
|
984
|
-
//# sourceMappingURL=config-
|
|
984
|
+
//# sourceMappingURL=config-JBucgVM2.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config-
|
|
1
|
+
{"version":3,"file":"config-JBucgVM2.d.mts","names":["mode","command","isSsrBuild","isPreview","filePath","typeChecker","jsxTypecheck","T","vue","source","base","own","ConfigEnv","env","configDir","Promise","exported"],"sources":["../src/types/generated.ts","../src/types/rules.ts","../src/types/runtime.ts","../src/types/index.ts","../../../crates/vize_carton/src/config/loader/vite-runtime.d.mts","../src/config.ts"],"mappings":";;AAOA;;;;KAAY,UAAA,GAAa,WAAW,CAAC,YAAA;AAAA,KAEzB,YAAA;AAAA,KAEA,YAAA;;;AAFY;KAOZ,UAAA;;;;UAKK,UAAA;EALL;;;EASV,IAAA;EAToB;AAKtB;;EAQE,QAAA;EAaW;;;EATX,KAAA;EAqBY;;;EAjBZ,OAAA;EAqBc;;;EAjBd,OAAA;EACA,QAAA,GAAW,cAAA;EACX,aAAA;IAAA,CACG,CAAA;MAAA,CAGM,CAAA;IAAA;EAAA;EAIT,IAAA,GAAO,gBAAA;EACP,MAAA,GAAS,YAAA;EACT,WAAA,GAAc,iBAAA;EACd,SAAA,GAAY,eAAA;EACZ,cAAA,GAAiB,oBAAA;EACjB,GAAA,GAAM,oBAAA;EACN,KAAA,GAAQ,WAAA;EACR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3C,GAAA,GAAM,SAAS;AAAA;;;;;;KC7GL,SAAA,GAAS,oBAAgD;;;cC9BxD,sBAAA;;;cC4BA,iBAAA;AAAA,cAYA,4BAAA;AAAA,cAMA,2BAAA;ALxCoC;AAEjD;;;AAFiD,iBK8CjC,YAAA,CAAa,MAAA,EAAQ,gBAAA,GAAmB,gBAAgB;AL5ChD;AAAA,iBKiDF,uBAAA,CACpB,QAAA,WACA,GAAA,GAAM,SAAA,EACN,SAAA,YACC,OAAA,CAAQ,kBAAA;;;;iBAOW,UAAA,CACpB,IAAA,UACA,OAAA,GAAS,iBAAA,GACR,OAAA,CAAQ,kBAAA;AAAA,iBAwHW,mBAAA,CACpB,QAAA,EAAU,gBAAA,EACV,GAAA,GAAM,SAAA,GACL,OAAA,CAAQ,kBAAA;;;;iBAoHK,oBAAA,CACd,MAAA,EAAQ,iBAAA,GACP,MAAA,SAAe,qBAAA"}
|
package/dist/config.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as loadConfig, c as resolveViteConfigExport, i as defineConfig, l as VITE_CONFIG_FILE_NAMES, n as VIZE_CONFIG_JSON_SCHEMA_PATH, o as normalizeGlobalTypes, r as VIZE_CONFIG_PKL_SCHEMA_PATH, s as resolveConfigExport, t as CONFIG_FILE_NAMES } from "./config-
|
|
1
|
+
import { a as loadConfig, c as resolveViteConfigExport, i as defineConfig, l as VITE_CONFIG_FILE_NAMES, n as VIZE_CONFIG_JSON_SCHEMA_PATH, o as normalizeGlobalTypes, r as VIZE_CONFIG_PKL_SCHEMA_PATH, s as resolveConfigExport, t as CONFIG_FILE_NAMES } from "./config-JBucgVM2.mjs";
|
|
2
2
|
export { CONFIG_FILE_NAMES, VITE_CONFIG_FILE_NAMES, VIZE_CONFIG_JSON_SCHEMA_PATH, VIZE_CONFIG_PKL_SCHEMA_PATH, defineConfig, loadConfig, normalizeGlobalTypes, resolveConfigExport, resolveViteConfigExport };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as LibConfig, B as VitePluginConfig, C as LintRulesConfig, D as GlobalTypeDeclaration, E as FormatterConfig, F as MuseaConfig, H as VizeConfigEntry, I as MuseaVrtConfig, L as RuleCategory, M as LinterConfig, N as MuseaA11yConfig, O as GlobalTypesConfig, P as MuseaAutogenConfig, R as RuleSeverity, S as LintRuleName, T as CompilerConfig, U as VueVersion, V as VizeConfig, _ as UserConfigExport, a as loadConfig, b as VueOptions, c as resolveViteConfigExport, d as ConfigEnv, f as LoadConfigOptions, g as UserConfigEntry, h as UserConfig, i as defineConfig, j as LintPreset, k as LanguageServerConfig, l as VITE_CONFIG_FILE_NAMES, m as ResolvedVizeConfig, n as VIZE_CONFIG_JSON_SCHEMA_PATH, o as normalizeGlobalTypes, p as MaybePromise, r as VIZE_CONFIG_PKL_SCHEMA_PATH, s as resolveConfigExport, t as CONFIG_FILE_NAMES, u as LspConfig, v as UserConfigInput, w as CompilerCompatibilityConfig, x as VueOptionsEntry, y as VueConfig, z as TypeCheckerConfig } from "./config-
|
|
1
|
+
import { A as LibConfig, B as VitePluginConfig, C as LintRulesConfig, D as GlobalTypeDeclaration, E as FormatterConfig, F as MuseaConfig, H as VizeConfigEntry, I as MuseaVrtConfig, L as RuleCategory, M as LinterConfig, N as MuseaA11yConfig, O as GlobalTypesConfig, P as MuseaAutogenConfig, R as RuleSeverity, S as LintRuleName, T as CompilerConfig, U as VueVersion, V as VizeConfig, _ as UserConfigExport, a as loadConfig, b as VueOptions, c as resolveViteConfigExport, d as ConfigEnv, f as LoadConfigOptions, g as UserConfigEntry, h as UserConfig, i as defineConfig, j as LintPreset, k as LanguageServerConfig, l as VITE_CONFIG_FILE_NAMES, m as ResolvedVizeConfig, n as VIZE_CONFIG_JSON_SCHEMA_PATH, o as normalizeGlobalTypes, p as MaybePromise, r as VIZE_CONFIG_PKL_SCHEMA_PATH, s as resolveConfigExport, t as CONFIG_FILE_NAMES, u as LspConfig, v as UserConfigInput, w as CompilerCompatibilityConfig, x as VueOptionsEntry, y as VueConfig, z as TypeCheckerConfig } from "./config-JBucgVM2.mjs";
|
|
2
2
|
export { CONFIG_FILE_NAMES, type CompilerCompatibilityConfig, type CompilerConfig, type ConfigEnv, type FormatterConfig, type GlobalTypeDeclaration, type GlobalTypesConfig, type LanguageServerConfig, type LibConfig, type LintPreset, type LintRuleName, type LintRulesConfig, type LinterConfig, type LoadConfigOptions, type LspConfig, type MaybePromise, type MuseaA11yConfig, type MuseaAutogenConfig, type MuseaConfig, type MuseaVrtConfig, type ResolvedVizeConfig, type RuleCategory, type RuleSeverity, type TypeCheckerConfig, type UserConfig, type UserConfigEntry, type UserConfigExport, type UserConfigInput, VITE_CONFIG_FILE_NAMES, VIZE_CONFIG_JSON_SCHEMA_PATH, VIZE_CONFIG_PKL_SCHEMA_PATH, type VitePluginConfig, type VizeConfig, type VizeConfigEntry, type VueConfig, type VueOptions, type VueOptionsEntry, type VueVersion, defineConfig, loadConfig, normalizeGlobalTypes, resolveConfigExport, resolveViteConfigExport };
|
|
@@ -70,33 +70,33 @@ type __RuntimePropShape<T extends Record<string, any>> = {
|
|
|
70
70
|
? __RuntimePropCtor<T[K]>
|
|
71
71
|
: __RuntimePropCtor<T[K]> | undefined;
|
|
72
72
|
};
|
|
73
|
-
type
|
|
73
|
+
type $IsAny<T> = 0 extends 1 & T ? true : false;
|
|
74
74
|
|
|
75
75
|
type __LooseRequired<T> = { [P in keyof (T & Required<T>)]: T[P] };
|
|
76
|
-
type
|
|
76
|
+
type $BooleanKey<T, K extends keyof T = keyof T> = K extends any
|
|
77
77
|
? [Exclude<T[K], undefined>] extends [never]
|
|
78
78
|
? never
|
|
79
79
|
: [Exclude<T[K], undefined>] extends [boolean]
|
|
80
80
|
? K
|
|
81
81
|
: never
|
|
82
82
|
: never;
|
|
83
|
-
type __DefineProps<T, __BKeys extends keyof T =
|
|
83
|
+
type __DefineProps<T, __BKeys extends keyof T = $BooleanKey<T>> = Readonly<T> & {
|
|
84
84
|
readonly [K in __BKeys]-?: boolean;
|
|
85
85
|
};
|
|
86
|
-
type
|
|
87
|
-
type
|
|
88
|
-
type
|
|
89
|
-
type
|
|
90
|
-
type
|
|
86
|
+
type $IfAny<T, Y, N> = 0 extends 1 & T ? Y : N;
|
|
87
|
+
type $NotUndefined<T> = T extends undefined ? never : T;
|
|
88
|
+
type $MappedOmit<T, K extends keyof any> = { [P in keyof T as P extends K ? never : P]: T[P] };
|
|
89
|
+
type $DefaultNativeType = null | number | string | boolean | symbol | Function;
|
|
90
|
+
type $InferDefault<P, T> =
|
|
91
91
|
| ((props: P) => T & {})
|
|
92
|
-
| (T extends
|
|
93
|
-
type __WithDefaultsArgs<T> = { [K in keyof T]?:
|
|
92
|
+
| (T extends $DefaultNativeType ? T : never);
|
|
93
|
+
type __WithDefaultsArgs<T> = { [K in keyof T]?: $InferDefault<T, T[K]> };
|
|
94
94
|
type __WithDefaultsResult<T, D, __BKeys extends keyof T = never> = T extends unknown
|
|
95
|
-
? Readonly<
|
|
95
|
+
? Readonly<$MappedOmit<T, keyof D>> & {
|
|
96
96
|
readonly [K in keyof D as K extends keyof T ? K : never]-?: K extends keyof T
|
|
97
97
|
? D[K] extends undefined
|
|
98
|
-
?
|
|
99
|
-
:
|
|
98
|
+
? $IfAny<D[K], $NotUndefined<T[K]>, T[K]>
|
|
99
|
+
: $NotUndefined<T[K]>
|
|
100
100
|
: never;
|
|
101
101
|
} & {
|
|
102
102
|
readonly [K in __BKeys]-?: K extends keyof D
|
|
@@ -109,51 +109,51 @@ type __WithDefaultsResult<T, D, __BKeys extends keyof T = never> = T extends unk
|
|
|
109
109
|
type __Ref<T> = import("vue").Ref<T>;
|
|
110
110
|
type __ShallowRef<T> = import("vue").ShallowRef<T>;
|
|
111
111
|
|
|
112
|
-
type
|
|
112
|
+
type $KebabCase<
|
|
113
113
|
S extends string,
|
|
114
114
|
Acc extends string = "",
|
|
115
115
|
> = S extends `${infer Head}${infer Tail}`
|
|
116
116
|
? Head extends Lowercase<Head>
|
|
117
|
-
?
|
|
118
|
-
:
|
|
117
|
+
? $KebabCase<Tail, `${Acc}${Head}`>
|
|
118
|
+
: $KebabCase<Tail, `${Acc}-${Lowercase<Head>}`>
|
|
119
119
|
: `${Acc}${S}`;
|
|
120
|
-
type
|
|
121
|
-
type
|
|
122
|
-
type
|
|
120
|
+
type $KebabProps<T> = { [K in keyof T & string as $KebabCase<K>]: T[K] };
|
|
121
|
+
type $RequiredKeys<T> = { [K in keyof T]-?: {} extends Pick<T, K> ? never : K }[keyof T];
|
|
122
|
+
type $DomListenerProps = {
|
|
123
123
|
[K in keyof GlobalEventHandlersEventMap as K extends string ? `on${Capitalize<K>}` : never]?: (
|
|
124
124
|
event: GlobalEventHandlersEventMap[K],
|
|
125
125
|
) => void;
|
|
126
126
|
};
|
|
127
|
-
type
|
|
127
|
+
type $FallthroughAttrs<Owned = {}> = { class?: unknown; style?: unknown } & {
|
|
128
128
|
[K in `data-${string}` | `data${Capitalize<string>}`]?: unknown;
|
|
129
129
|
} & { [K in `aria-${string}` | `aria${Capitalize<string>}`]?: unknown } & Omit<
|
|
130
|
-
|
|
130
|
+
$DomListenerProps,
|
|
131
131
|
keyof Owned
|
|
132
132
|
>;
|
|
133
133
|
// Match Vue's public prop contract, including runtime-core module augmentations.
|
|
134
|
-
type
|
|
134
|
+
type $PublicComponentInputProps = import("vue").VNodeProps &
|
|
135
135
|
import("vue").AllowedComponentProps &
|
|
136
136
|
import("vue").ComponentCustomProps;
|
|
137
|
-
type
|
|
138
|
-
|
|
139
|
-
type
|
|
140
|
-
| keyof
|
|
141
|
-
|
|
|
142
|
-
|
|
|
143
|
-
type
|
|
144
|
-
|
|
137
|
+
type $ComponentMetadataKeys<T> =
|
|
138
|
+
$IsAny<T> extends true ? never : T extends unknown ? keyof NonNullable<T> : never;
|
|
139
|
+
type $ComponentOwnKeys<P = {}, E = {}> =
|
|
140
|
+
| keyof $PublicComponentInputProps
|
|
141
|
+
| $ComponentMetadataKeys<P>
|
|
142
|
+
| $ComponentMetadataKeys<E>;
|
|
143
|
+
type $UnownedComponentAttrs<F, P = {}, E = {}> =
|
|
144
|
+
$IsAny<F> extends true
|
|
145
145
|
? F
|
|
146
146
|
: unknown extends F
|
|
147
147
|
? F
|
|
148
148
|
: F extends unknown
|
|
149
149
|
? F extends null | undefined
|
|
150
150
|
? F
|
|
151
|
-
: { [K in keyof F as K extends
|
|
151
|
+
: { [K in keyof F as K extends $ComponentOwnKeys<P, E> ? never : K]: F[K] }
|
|
152
152
|
: never;
|
|
153
|
-
type
|
|
153
|
+
type $Prettify<T> = (T extends any
|
|
154
154
|
? { [K in keyof T]: T[K] }
|
|
155
155
|
: { [K in keyof T as K]: T[K] }) & {};
|
|
156
|
-
type
|
|
156
|
+
type $ComponentFallthroughSurface<C> = (C extends {
|
|
157
157
|
new (...args: any[]): { $props: infer __P };
|
|
158
158
|
}
|
|
159
159
|
? __P
|
|
@@ -161,41 +161,41 @@ type __VizeComponentFallthroughSurface<C> = (C extends {
|
|
|
161
161
|
? __P
|
|
162
162
|
: Record<string, unknown>) &
|
|
163
163
|
(C extends { readonly __vizeFallthroughProps?: infer __F }
|
|
164
|
-
?
|
|
164
|
+
? $IsAny<__F> extends true
|
|
165
165
|
? {}
|
|
166
166
|
: NonNullable<__F>
|
|
167
167
|
: {});
|
|
168
|
-
type
|
|
169
|
-
[K in keyof
|
|
168
|
+
type $ComponentFallthroughProps<C> = {
|
|
169
|
+
[K in keyof $ComponentFallthroughSurface<C>]: $ComponentFallthroughSurface<C>[K];
|
|
170
170
|
};
|
|
171
|
-
type
|
|
171
|
+
type $ComponentInputProps<T, Declared = {}> = T extends unknown
|
|
172
172
|
? Partial<T> &
|
|
173
|
-
Partial<
|
|
173
|
+
Partial<$KebabProps<T>> &
|
|
174
174
|
Declared &
|
|
175
|
-
|
|
176
|
-
|
|
175
|
+
$FallthroughAttrs<T & Declared> &
|
|
176
|
+
$PublicComponentInputProps
|
|
177
177
|
: never;
|
|
178
|
-
type
|
|
178
|
+
type $MissingRequiredInputKeys<
|
|
179
179
|
T,
|
|
180
180
|
Authored,
|
|
181
|
-
K extends
|
|
181
|
+
K extends $RequiredKeys<T> & string = $RequiredKeys<T> & string,
|
|
182
182
|
> = K extends unknown
|
|
183
183
|
? K extends keyof Authored
|
|
184
184
|
? never
|
|
185
|
-
:
|
|
185
|
+
: $KebabCase<K> extends keyof Authored
|
|
186
186
|
? never
|
|
187
187
|
: K
|
|
188
188
|
: never;
|
|
189
|
-
type
|
|
190
|
-
type
|
|
189
|
+
type $IsPropKeyUnion<T, U = T> = T extends unknown ? ([U] extends [T] ? false : true) : false;
|
|
190
|
+
type $IsSinglePropKey<T> = [T] extends [never]
|
|
191
191
|
? false
|
|
192
|
-
:
|
|
192
|
+
: $IsPropKeyUnion<T> extends true
|
|
193
193
|
? false
|
|
194
194
|
: true;
|
|
195
|
-
type
|
|
195
|
+
type $RelaxedDynamicUnionExtra<T, Declared, Authored, K extends keyof Authored> = [
|
|
196
196
|
keyof Declared,
|
|
197
197
|
] extends [never]
|
|
198
|
-
?
|
|
198
|
+
? $IsSinglePropKey<$RequiredKeys<T>> extends true
|
|
199
199
|
? K extends string
|
|
200
200
|
? K extends `on${string}`
|
|
201
201
|
? false
|
|
@@ -205,56 +205,56 @@ type __VizeRelaxedDynamicUnionExtra<T, Declared, Authored, K extends keyof Autho
|
|
|
205
205
|
: false
|
|
206
206
|
: false
|
|
207
207
|
: false;
|
|
208
|
-
type
|
|
208
|
+
type $ExtraInputKeys<
|
|
209
209
|
T,
|
|
210
210
|
Declared,
|
|
211
211
|
Authored,
|
|
212
212
|
Allowed,
|
|
213
213
|
K extends keyof Authored = Exclude<keyof Authored, keyof Allowed>,
|
|
214
214
|
> = K extends unknown
|
|
215
|
-
?
|
|
215
|
+
? $RelaxedDynamicUnionExtra<T, Declared, Authored, K> extends true
|
|
216
216
|
? never
|
|
217
217
|
: K
|
|
218
218
|
: never;
|
|
219
|
-
type
|
|
220
|
-
? [
|
|
219
|
+
type $ComponentMissingInputGuard<T, Authored> = T extends unknown
|
|
220
|
+
? [$MissingRequiredInputKeys<T, Authored>] extends [never]
|
|
221
221
|
? {}
|
|
222
222
|
: {
|
|
223
223
|
readonly __vizeInvalidComponentProps: {
|
|
224
|
-
readonly missing:
|
|
224
|
+
readonly missing: $MissingRequiredInputKeys<T, Authored>;
|
|
225
225
|
readonly extra: never;
|
|
226
226
|
};
|
|
227
227
|
}
|
|
228
228
|
: never;
|
|
229
|
-
type
|
|
230
|
-
|
|
|
231
|
-
|
|
|
229
|
+
type $ComponentInputGuardFor<T, Declared, Authored, Allowed> = [
|
|
230
|
+
| $MissingRequiredInputKeys<T, Authored>
|
|
231
|
+
| $ExtraInputKeys<T, Declared, Authored, Allowed>,
|
|
232
232
|
] extends [never]
|
|
233
233
|
? {}
|
|
234
234
|
: {
|
|
235
235
|
readonly __vizeInvalidComponentProps: {
|
|
236
|
-
readonly missing:
|
|
237
|
-
readonly extra:
|
|
236
|
+
readonly missing: $MissingRequiredInputKeys<T, Authored>;
|
|
237
|
+
readonly extra: $ExtraInputKeys<T, Declared, Authored, Allowed>;
|
|
238
238
|
};
|
|
239
239
|
};
|
|
240
|
-
type
|
|
241
|
-
|
|
240
|
+
type $ComponentInputGuard<T, Declared, Authored> =
|
|
241
|
+
$UsePublicInstance<Authored> extends true
|
|
242
242
|
? {}
|
|
243
243
|
: T extends unknown
|
|
244
|
-
?
|
|
244
|
+
? $ComponentInputGuardFor<T, Declared, Authored, $ComponentInputProps<T, Declared>>
|
|
245
245
|
: never;
|
|
246
|
-
type
|
|
247
|
-
|
|
248
|
-
type
|
|
249
|
-
|
|
250
|
-
?
|
|
246
|
+
type $ComponentInputFor<T, Declared, Authored, Allowed> = Allowed &
|
|
247
|
+
$ComponentInputGuardFor<T, Declared, Authored, Allowed>;
|
|
248
|
+
type $ComponentInput<T, Declared, Authored> =
|
|
249
|
+
$UsePublicInstance<Authored> extends true
|
|
250
|
+
? $ComponentInputProps<T, Declared>
|
|
251
251
|
: T extends unknown
|
|
252
|
-
?
|
|
252
|
+
? $ComponentInputFor<T, Declared, Authored, $ComponentInputProps<T, Declared>>
|
|
253
253
|
: never;
|
|
254
|
-
type
|
|
255
|
-
type
|
|
256
|
-
type
|
|
257
|
-
type
|
|
254
|
+
type $AuthoredKeyWitness<T> = { [K in keyof T]: unknown };
|
|
255
|
+
type $IsUnknown<T> = unknown extends T ? ([keyof T] extends [never] ? true : false) : false;
|
|
256
|
+
type $UsePublicInstance<T> = $IsAny<T> extends true ? true : $IsUnknown<T>;
|
|
257
|
+
type $LiteralKeys<T> = keyof {
|
|
258
258
|
[
|
|
259
259
|
K in keyof T as K extends string
|
|
260
260
|
? string extends K
|
|
@@ -271,9 +271,9 @@ type __VizeLiteralKeys<T> = keyof {
|
|
|
271
271
|
: K
|
|
272
272
|
]: unknown;
|
|
273
273
|
};
|
|
274
|
-
type
|
|
275
|
-
Pick<T, Exclude<
|
|
276
|
-
type
|
|
274
|
+
type $ReplaceComponentProps<T, P> = Omit<T, "$props"> &
|
|
275
|
+
Pick<T, Exclude<$LiteralKeys<T>, "$props">> & { $props: P };
|
|
276
|
+
type $PublicEmit<
|
|
277
277
|
T,
|
|
278
278
|
S = __EmitShape<T>,
|
|
279
279
|
K extends keyof S & string = keyof S & string,
|
|
@@ -282,11 +282,11 @@ type __VizePublicEmit<
|
|
|
282
282
|
: [K] extends [never]
|
|
283
283
|
? (event: string, ...args: any[]) => void
|
|
284
284
|
: __EmitFn<T>;
|
|
285
|
-
type
|
|
285
|
+
type $PublicSlots<T> = [keyof T] extends [never]
|
|
286
286
|
? import("vue").ComponentPublicInstance["$slots"]
|
|
287
287
|
: T;
|
|
288
288
|
// @ts-ignore TS2694/TS2307: a `vue` without `ComponentPublicInstance` must degrade component public extras to unchecked, never error.
|
|
289
|
-
type
|
|
289
|
+
type $ComponentPublicBase = Omit<
|
|
290
290
|
import("vue").ComponentPublicInstance,
|
|
291
291
|
"$props" | "$emit" | "$slots"
|
|
292
292
|
>;
|
|
@@ -301,48 +301,48 @@ export type {
|
|
|
301
301
|
__RuntimePropHasBoolean,
|
|
302
302
|
__RuntimePropResolved,
|
|
303
303
|
__RuntimePropShape,
|
|
304
|
-
|
|
304
|
+
$IsAny,
|
|
305
305
|
__LooseRequired,
|
|
306
|
-
|
|
306
|
+
$BooleanKey,
|
|
307
307
|
__DefineProps,
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
308
|
+
$IfAny,
|
|
309
|
+
$NotUndefined,
|
|
310
|
+
$MappedOmit,
|
|
311
|
+
$DefaultNativeType,
|
|
312
|
+
$InferDefault,
|
|
313
313
|
__WithDefaultsArgs,
|
|
314
314
|
__WithDefaultsResult,
|
|
315
315
|
__Ref,
|
|
316
316
|
__ShallowRef,
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
317
|
+
$KebabCase,
|
|
318
|
+
$KebabProps,
|
|
319
|
+
$RequiredKeys,
|
|
320
|
+
$DomListenerProps,
|
|
321
|
+
$FallthroughAttrs,
|
|
322
|
+
$PublicComponentInputProps,
|
|
323
|
+
$ComponentMetadataKeys,
|
|
324
|
+
$ComponentOwnKeys,
|
|
325
|
+
$UnownedComponentAttrs,
|
|
326
|
+
$Prettify,
|
|
327
|
+
$ComponentFallthroughSurface,
|
|
328
|
+
$ComponentFallthroughProps,
|
|
329
|
+
$ComponentInputProps,
|
|
330
|
+
$MissingRequiredInputKeys,
|
|
331
|
+
$IsPropKeyUnion,
|
|
332
|
+
$IsSinglePropKey,
|
|
333
|
+
$RelaxedDynamicUnionExtra,
|
|
334
|
+
$ExtraInputKeys,
|
|
335
|
+
$ComponentMissingInputGuard,
|
|
336
|
+
$ComponentInputGuardFor,
|
|
337
|
+
$ComponentInputGuard,
|
|
338
|
+
$ComponentInputFor,
|
|
339
|
+
$ComponentInput,
|
|
340
|
+
$AuthoredKeyWitness,
|
|
341
|
+
$IsUnknown,
|
|
342
|
+
$UsePublicInstance,
|
|
343
|
+
$LiteralKeys,
|
|
344
|
+
$ReplaceComponentProps,
|
|
345
|
+
$PublicEmit,
|
|
346
|
+
$PublicSlots,
|
|
347
|
+
$ComponentPublicBase,
|
|
348
348
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vize",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.608.0",
|
|
4
4
|
"description": "Vize - High-performance Vue.js toolchain in Rust",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cli",
|
|
@@ -31,6 +31,9 @@
|
|
|
31
31
|
"content-mapper-helpers.d.mts",
|
|
32
32
|
"content-mapper-helpers.d.ts",
|
|
33
33
|
"generated/content-mapper-types.d.ts",
|
|
34
|
+
"virtual-ts.d.ts",
|
|
35
|
+
"virtual-ts.d.mts",
|
|
36
|
+
"virtual-ts.d.cts",
|
|
34
37
|
"dist",
|
|
35
38
|
"src",
|
|
36
39
|
"schemas",
|
|
@@ -50,6 +53,15 @@
|
|
|
50
53
|
"default": "./dist/config.mjs",
|
|
51
54
|
"types": "./dist/config.d.mts"
|
|
52
55
|
},
|
|
56
|
+
"./virtual-ts": {
|
|
57
|
+
"import": {
|
|
58
|
+
"types": "./virtual-ts.d.mts"
|
|
59
|
+
},
|
|
60
|
+
"require": {
|
|
61
|
+
"types": "./virtual-ts.d.cts"
|
|
62
|
+
},
|
|
63
|
+
"types": "./virtual-ts.d.ts"
|
|
64
|
+
},
|
|
53
65
|
"./content-mapper-helpers": {
|
|
54
66
|
"import": {
|
|
55
67
|
"types": "./content-mapper-helpers.d.mts"
|
|
@@ -66,7 +78,7 @@
|
|
|
66
78
|
"access": "public"
|
|
67
79
|
},
|
|
68
80
|
"dependencies": {
|
|
69
|
-
"@vizejs/native": "0.
|
|
81
|
+
"@vizejs/native": "0.608.0",
|
|
70
82
|
"oxc-transform": "0.144.0"
|
|
71
83
|
},
|
|
72
84
|
"devDependencies": {
|
|
@@ -91,14 +103,6 @@
|
|
|
91
103
|
"optional": true
|
|
92
104
|
}
|
|
93
105
|
},
|
|
94
|
-
"optionalDependencies": {
|
|
95
|
-
"@typescript/typescript-darwin-arm64": "7.0.2",
|
|
96
|
-
"@typescript/typescript-darwin-x64": "7.0.2",
|
|
97
|
-
"@typescript/typescript-linux-arm64": "7.0.2",
|
|
98
|
-
"@typescript/typescript-linux-x64": "7.0.2",
|
|
99
|
-
"@typescript/typescript-win32-arm64": "7.0.2",
|
|
100
|
-
"@typescript/typescript-win32-x64": "7.0.2"
|
|
101
|
-
},
|
|
102
106
|
"typescript": {
|
|
103
107
|
"contentMapper": {
|
|
104
108
|
"compilerOptions": [
|
|
@@ -123,6 +127,14 @@
|
|
|
123
127
|
"stabilityDocs": "https://github.com/ubugeeei-prod/vize/blob/main/docs/content/stability.md#package-support-tiers"
|
|
124
128
|
}
|
|
125
129
|
},
|
|
130
|
+
"optionalDependencies": {
|
|
131
|
+
"@typescript/typescript-darwin-arm64": "7.0.2",
|
|
132
|
+
"@typescript/typescript-darwin-x64": "7.0.2",
|
|
133
|
+
"@typescript/typescript-linux-arm64": "7.0.2",
|
|
134
|
+
"@typescript/typescript-linux-x64": "7.0.2",
|
|
135
|
+
"@typescript/typescript-win32-arm64": "7.0.2",
|
|
136
|
+
"@typescript/typescript-win32-x64": "7.0.2"
|
|
137
|
+
},
|
|
126
138
|
"scripts": {
|
|
127
139
|
"build": "vp run --workspace-root generate:rule-types && vp pack",
|
|
128
140
|
"check": "vp check src tests vite.config.ts",
|
package/src/cli.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { createRequire } from "node:module";
|
|
2
2
|
|
|
3
|
-
import { configureBundledCorsaRuntime } from "./corsa-runtime.js";
|
|
4
3
|
import { runInitCli } from "./init.js";
|
|
5
4
|
import { runSetupCli } from "./setup.js";
|
|
6
5
|
|
|
@@ -21,7 +20,6 @@ try {
|
|
|
21
20
|
// land in the same reporter as the synchronous commands.
|
|
22
21
|
runInitCli(args.slice(1)).catch(fail);
|
|
23
22
|
} else {
|
|
24
|
-
configureBundledCorsaRuntime();
|
|
25
23
|
const native = require("@vizejs/native") as typeof import("@vizejs/native");
|
|
26
24
|
native.runCli(args);
|
|
27
25
|
}
|
package/src/types/rules.ts
CHANGED
|
@@ -125,6 +125,7 @@ export const LINT_RULE_NAMES = [
|
|
|
125
125
|
"script/one-component-per-file",
|
|
126
126
|
"script/order-in-components",
|
|
127
127
|
"script/prefer-computed",
|
|
128
|
+
"script/prefer-define-emits-binding",
|
|
128
129
|
"script/prefer-define-options",
|
|
129
130
|
"script/prefer-import-from-vue",
|
|
130
131
|
"script/prefer-ref-over-reactive",
|