@cheese-grinder/stencil-custom-readme
Advanced tools
Comparing version 0.1.5 to 0.1.6
@@ -238,2 +238,5 @@ 'use strict'; | ||
const propDefault = prop.default === undefined ? (defaultFromTag === undefined ? undefined : defaultFromTag) : prop.default; | ||
if (propDefault.includes('`')) { | ||
return `<code>${propDefault.replace(/`/g, '\\`')}</code>`; | ||
} | ||
return `\`${propDefault}\``; | ||
@@ -240,0 +243,0 @@ } |
{ | ||
"name": "@cheese-grinder/stencil-custom-readme", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"description": "Generate dustom readme docs for StencilJS", | ||
@@ -33,21 +33,17 @@ "main": "dist/index.js", | ||
"build": "tsc -p . && rollup -c rollup.config.mjs", | ||
"format": "prettier ./src/**/*.ts --check", | ||
"format:fix": "prettier ./src/**/*.ts --write", | ||
"lint": "eslint \"src/**/*.ts\"", | ||
"lint:fix": "eslint \"src/**/*.ts\" --fix", | ||
"prepare": "husky" | ||
"format": "biome format", | ||
"format:fix": "biome format --write", | ||
"lint": "biome lint", | ||
"lint:fix": "biome lint --write", | ||
"prepare": "git config core.hooksPath .githooks" | ||
}, | ||
"devDependencies": { | ||
"@commitlint/cli": "^19.3.0", | ||
"@biomejs/biome": "^1.8.3", | ||
"@commitlint/cli": "^19.4.0", | ||
"@commitlint/config-conventional": "^19.2.2", | ||
"@stencil/core": "~4.18.3", | ||
"@types/node": "^20.14.8", | ||
"@typescript-eslint/eslint-plugin": "~7.13.1", | ||
"@typescript-eslint/parser": "~7.13.1", | ||
"eslint": "~8.57.0", | ||
"husky": "^9.1.4", | ||
"prettier": "~3.3.2", | ||
"rimraf": "~5.0.7", | ||
"rollup": "~4.18.0", | ||
"typescript": "~5.4.5" | ||
"@types/node": "^22.3.0", | ||
"rimraf": "~6.0.1", | ||
"rollup": "~4.20.0", | ||
"typescript": "~5.5.4" | ||
}, | ||
@@ -54,0 +50,0 @@ "peerDependencies": { |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
25793
8
639
0