Skip to content

Commit

Permalink
refactor: switched from gray-matter to @yankeeinlondon/gray-matter wh…
Browse files Browse the repository at this point in the history
…ich is ESM and with much newer deps
  • Loading branch information
yankeeinlondon committed Dec 15, 2022
1 parent 75a0779 commit 0500f50
Show file tree
Hide file tree
Showing 16 changed files with 690 additions and 301 deletions.
8 changes: 6 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
{
"extends": "@antfu"
}
"extends": "@antfu",
"rules": {
"jsonc/sort-keys": "off",
"eol-last": "off"
}
}
4 changes: 2 additions & 2 deletions example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
"unplugin-vue-components": "^0.22.12",
"vite": "^4.0.1",
"vite-plugin-inspect": "^0.7.10",
"vite-plugin-md": "link:..",
"vite-plugin-md": "0.21.0",
"vite-plugin-pages": "^0.28.0",
"vite-plugin-vue-layouts": "^0.7.0",
"vite-ssg": "^0.22.1",
"vue-tsc": "^1.0.13"
}
}
}
44 changes: 25 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
{
"name": "vite-plugin-md",
"type": "module",
"version": "0.21.0",
"packageManager": "[email protected]",
"description": "Markdown for Vite",
"author": "Anthony Fu <[email protected]>",
"license": "MIT",
"funding": "https://github.com/sponsors/antfu",
"homepage": "https://github.com/antfu/vite-plugin-md",
"repository": {
"type": "git",
"url": "https://github.com/antfu/vite-plugin-md"
},
"bugs": "https://github.com/antfu/vite-plugin-md/issues",
"keywords": [
"vite",
"vite-plugin",
"markdown-it"
],
"homepage": "https://github.com/antfu/vite-plugin-md",
"bugs": "https://github.com/antfu/vite-plugin-md/issues",
"repository": {
"type": "git",
"url": "https://github.com/antfu/vite-plugin-md"
},
"funding": "https://github.com/sponsors/antfu",
"license": "MIT",
"author": "Anthony Fu <[email protected]>",
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
Expand Down Expand Up @@ -47,27 +46,34 @@
"test:update": "vitest -u",
"test:component": "npx cypress open-ct -p 4000"
},
"packageManager": "[email protected]",
"dependencies": {
"@vitest/coverage-c8": "^0.25.7",
"@yankeeinlondon/builder-api": "^1.2.0",
"@yankeeinlondon/builder-api": "^1.2.1",
"@yankeeinlondon/gray-matter": "^6.1.0",
"@yankeeinlondon/happy-wrapper": "^2.10.1",
"gray-matter": "^4.0.3",
"markdown-it": "^13.0.1",
"source-map-js": "^1.0.2"
},
"peerDependencies": {
"vite": "^4.0.0"
},
"devDependencies": {
"@antfu/eslint-config": "^0.34.0",
"@antfu/ni": "^0.18.8",
"@antfu/utils": "^0.7.2",
"@type-challenges/utils": "^0.1.1",
"@types/markdown-it": "^12.2.3",
"@types/node": "^16.18.8",
"@types/node": "^16.18.9",
"@typescript-eslint/eslint-plugin": "^5.46.1",
"@typescript-eslint/parser": "^5.46.1",
"@vitejs/plugin-vue": "^4.0.0",
"@vitest/ui": "^0.25.7",
"@vitest/coverage-c8": "^0.25.8",
"@vitest/ui": "^0.25.8",
"@vue/test-utils": "^2.2.6",
"@vueuse/core": "^9.6.0",
"@yankeeinlondon/code-builder": "^1.2.0",
"@yankeeinlondon/link-builder": "^1.2.0",
"@yankeeinlondon/meta-builder": "^1.2.0",
"bumpp": "^8.2.1",
"c8": "^7.12.0",
"callsites": "^4.0.0",
Expand All @@ -77,12 +83,12 @@
"happy-dom": "^8.1.0",
"npm-run-all": "^4.1.5",
"pathe": "^1.0.0",
"rollup": "^3.7.3",
"rollup": "^3.7.4",
"tsup": "^6.5.0",
"typescript": "^4.9.4",
"vite": "^4.0.1",
"vitest": "^0.25.7",
"vitest": "^0.25.8",
"vue": "^3.2.45",
"vue-router": "^4.1.6"
}
}
}
Loading

0 comments on commit 0500f50

Please sign in to comment.