@vant/markdown-vetur
Advanced tools
+1
-0
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.formatter = void 0; | ||
| const utils_1 = require("./utils"); | ||
@@ -4,0 +5,0 @@ function getComponentName(artical, tagPrefix) { |
+1
-0
@@ -6,2 +6,3 @@ "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.parseAndWrite = void 0; | ||
| const fast_glob_1 = __importDefault(require("fast-glob")); | ||
@@ -8,0 +9,0 @@ const path_1 = require("path"); |
+2
-1
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.mdParser = void 0; | ||
| /* eslint-disable no-cond-assign */ | ||
| const TITLE_REG = /^(#+)\s+([^\n]*)/; | ||
| const TABLE_REG = /^\|.+\n\|\s*-+/; | ||
| const TABLE_REG = /^\|.+\r?\n\|\s*-+/; | ||
| const TD_REG = /\s*`[^`]+`\s*|([^|`]+)/g; | ||
@@ -7,0 +8,0 @@ const TABLE_SPLIT_LINE_REG = /^\|\s*-/; |
+1
-0
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.normalizePath = exports.formatType = exports.removeVersion = exports.toKebabCase = void 0; | ||
| // myName -> my-name | ||
@@ -4,0 +5,0 @@ function toKebabCase(input) { |
+1
-0
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.genVeturAttributes = exports.genVeturTags = void 0; | ||
| function genVeturTags(tags) { | ||
@@ -4,0 +5,0 @@ const veturTags = {}; |
+1
-0
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.genWebTypes = void 0; | ||
| // create web-types.json to provide autocomplete in JetBrains IDEs | ||
@@ -4,0 +5,0 @@ function genWebTypes(tags, options) { |
+3
-2
| { | ||
| "name": "@vant/markdown-vetur", | ||
| "version": "2.0.1", | ||
| "version": "2.0.2", | ||
| "description": "simple parse markdown to vue component description for vetur auto-completion", | ||
@@ -10,3 +10,4 @@ "main": "lib/index.js", | ||
| "publishConfig": { | ||
| "access": "public" | ||
| "access": "public", | ||
| "registry": "https://registry.npmjs.org/" | ||
| }, | ||
@@ -13,0 +14,0 @@ "files": [ |
17020
1.95%490
1.24%