diff --git a/docs/content/en/themes/docs.md b/docs/content/en/themes/docs.md index 4f6ace562..11850866b 100644 --- a/docs/content/en/themes/docs.md +++ b/docs/content/en/themes/docs.md @@ -6,7 +6,7 @@ description: 'Create your documentation with @nuxt/content docs theme in seconds category: Themes position: 8 version: 1.2 -badge: 'v0.7.1' +badge: 'v0.8.1' showcases: - https://strapi.nuxtjs.org - https://tailwindcss.nuxtjs.org diff --git a/docs/package.json b/docs/package.json index 398b5ba82..fb0931aa5 100644 --- a/docs/package.json +++ b/docs/package.json @@ -11,7 +11,7 @@ "generate": "nuxt generate" }, "dependencies": { - "@nuxt/content-theme-docs": "^0.7.2", + "@nuxt/content-theme-docs": "^0.8.1", "nuxt": "^2.14.7", "nuxt-ackee": "^2.0.0", "vue-multiselect": "^2.1.6" diff --git a/packages/content/CHANGELOG.md b/packages/content/CHANGELOG.md index 52be80a9c..7b3ae1176 100644 --- a/packages/content/CHANGELOG.md +++ b/packages/content/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.11.1](https://github.com/nuxt/content/compare/@nuxt/content@1.11.0...@nuxt/content@1.11.1) (2020-11-25) + + +### Bug Fixes + +* [#653](https://github.com/nuxt/content/issues/653) - remark-gfm dependency added to manage markdown tables ([#654](https://github.com/nuxt/content/issues/654)) ([5a5c6ac](https://github.com/nuxt/content/commit/5a5c6ac06698c98972fa3053a1a66ca7202af144)) + + + + + # [1.11.0](https://github.com/nuxt/content/compare/@nuxt/content@1.10.0...@nuxt/content@1.11.0) (2020-11-19) diff --git a/packages/content/lib/utils.js b/packages/content/lib/utils.js index c6253d280..ed0200b97 100644 --- a/packages/content/lib/utils.js +++ b/packages/content/lib/utils.js @@ -16,7 +16,8 @@ const getDefaults = ({ dev = false } = {}) => ({ 'remark-slug', 'remark-autolink-headings', 'remark-external-links', - 'remark-footnotes' + 'remark-footnotes', + 'remark-gfm' ], rehypePlugins: [ 'rehype-sort-attribute-values', diff --git a/packages/content/package.json b/packages/content/package.json index 4911ac639..51ca8ed3a 100644 --- a/packages/content/package.json +++ b/packages/content/package.json @@ -1,6 +1,6 @@ { "name": "@nuxt/content", - "version": "1.11.0", + "version": "1.11.1", "repository": "nuxt/content", "license": "MIT", "types": "types/index.d.ts", @@ -43,6 +43,7 @@ "remark-autolink-headings": "^6.0.1", "remark-external-links": "^8.0.0", "remark-footnotes": "^3.0.0", + "remark-gfm": "^1.0.0", "remark-parse": "^9.0.0", "remark-rehype": "^8.0.0", "remark-slug": "^6.0.0", diff --git a/packages/create-nuxt-content-docs/CHANGELOG.md b/packages/create-nuxt-content-docs/CHANGELOG.md index 29046fbb5..f116b62a6 100644 --- a/packages/create-nuxt-content-docs/CHANGELOG.md +++ b/packages/create-nuxt-content-docs/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.3](https://github.com/nuxt/content/compare/create-nuxt-content-docs@0.4.2...create-nuxt-content-docs@0.4.3) (2020-11-19) + +**Note:** Version bump only for package create-nuxt-content-docs + + + + + ## [0.4.2](https://github.com/nuxt/content/compare/create-nuxt-content-docs@0.4.1...create-nuxt-content-docs@0.4.2) (2020-11-19) **Note:** Version bump only for package create-nuxt-content-docs diff --git a/packages/create-nuxt-content-docs/package.json b/packages/create-nuxt-content-docs/package.json index dfe40db6b..20e937b4d 100644 --- a/packages/create-nuxt-content-docs/package.json +++ b/packages/create-nuxt-content-docs/package.json @@ -1,6 +1,6 @@ { "name": "create-nuxt-content-docs", - "version": "0.4.2", + "version": "0.4.3", "license": "MIT", "files": [ "src", diff --git a/packages/create-nuxt-content-docs/template/package.json b/packages/create-nuxt-content-docs/template/package.json index 57be6fa73..d0e0787c6 100644 --- a/packages/create-nuxt-content-docs/template/package.json +++ b/packages/create-nuxt-content-docs/template/package.json @@ -9,7 +9,7 @@ "generate": "nuxt generate" }, "dependencies": { - "@nuxt/content-theme-docs": "^0.7.2", + "@nuxt/content-theme-docs": "^0.8.0", "nuxt": "^2.14.7" } } \ No newline at end of file diff --git a/packages/theme-docs/CHANGELOG.md b/packages/theme-docs/CHANGELOG.md index 269880beb..3804bc438 100644 --- a/packages/theme-docs/CHANGELOG.md +++ b/packages/theme-docs/CHANGELOG.md @@ -3,6 +3,25 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.8.2](https://github.com/nuxt/content/compare/@nuxt/content-theme-docs@0.8.1...@nuxt/content-theme-docs@0.8.2) (2020-11-25) + +**Note:** Version bump only for package @nuxt/content-theme-docs + + + + + +## [0.8.1](https://github.com/nuxt/content/compare/@nuxt/content-theme-docs@0.8.0...@nuxt/content-theme-docs@0.8.1) (2020-11-19) + + +### Bug Fixes + +* **theme-docs:** pin @tailwindcss/typography to 0.2.0 ([a8f57f3](https://github.com/nuxt/content/commit/a8f57f37d093a1c3e473c656af383417c1093578)) + + + + + # [0.8.0](https://github.com/nuxt/content/compare/@nuxt/content-theme-docs@0.7.2...@nuxt/content-theme-docs@0.8.0) (2020-11-19) diff --git a/packages/theme-docs/package.json b/packages/theme-docs/package.json index a7d379550..015696b96 100644 --- a/packages/theme-docs/package.json +++ b/packages/theme-docs/package.json @@ -1,6 +1,6 @@ { "name": "@nuxt/content-theme-docs", - "version": "0.8.0", + "version": "0.8.2", "repository": "nuxt/content", "license": "MIT", "files": [ @@ -10,13 +10,13 @@ "dependencies": { "@docsearch/css": "^1.0.0-alpha.28", "@docsearch/js": "^1.0.0-alpha.28", - "@nuxt/content": "^1.11.0", + "@nuxt/content": "^1.11.1", "@nuxt/types": "^2.14.7", "@nuxtjs/color-mode": "^2.0.0", "@nuxtjs/google-fonts": "1.2.0", "@nuxtjs/pwa": "^3.2.2", "@nuxtjs/tailwindcss": "^3.2.0", - "@tailwindcss/typography": "^0.3.1", + "@tailwindcss/typography": "0.2.0", "clipboard": "^2.0.6", "defu": "^3.2.2", "lodash.groupby": "^4.6.0", diff --git a/yarn.lock b/yarn.lock index d4d567a04..81dea05c4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2829,10 +2829,10 @@ dependencies: defer-to-connect "^2.0.0" -"@tailwindcss/typography@^0.3.1": - version "0.3.1" - resolved "https://registry.yarnpkg.com/@tailwindcss/typography/-/typography-0.3.1.tgz#253ce580c8e06b6163d9a288edd24f25e1d0dfee" - integrity sha512-HyZ+3Eay8SGaPq7kcFoANZLr4EjeXQ19yjjb9fp6B0PHHpvZoe00jdsnpnooMEbx9J5rQ93nxPUG3MQmXVxGMQ== +"@tailwindcss/typography@0.2.0": + version "0.2.0" + resolved "https://registry.yarnpkg.com/@tailwindcss/typography/-/typography-0.2.0.tgz#b597c83502e3c3c6641a8aaabda223cd494ab349" + integrity sha512-aPgMH+CjQiScLZculoDNOQUrrK2ktkbl3D6uCLYp1jgYRlNDrMONu9nMu8LfwAeetYNpVNeIGx7WzHSu0kvECg== "@tootallnate/once@1": version "1.1.2" @@ -10154,6 +10154,13 @@ map-visit@^1.0.0: dependencies: object-visit "^1.0.0" +markdown-table@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/markdown-table/-/markdown-table-2.0.0.tgz#194a90ced26d31fe753d8b9434430214c011865b" + integrity sha512-Ezda85ToJUBhM6WGaG6veasyym+Tbs3cMAw/ZhOPqXiYsr0jgocBV3j3nx+4lk47plLlIqjwuTm/ywVI+zjJ/A== + dependencies: + repeat-string "^1.0.0" + marked@^1.2.4: version "1.2.4" resolved "https://registry.yarnpkg.com/marked/-/marked-1.2.4.tgz#94e99230b03496c9383b1322ac51bc17dd388a1d" @@ -10200,6 +10207,43 @@ mdast-util-from-markdown@^0.8.0: micromark "~2.10.0" parse-entities "^2.0.0" +mdast-util-gfm-autolink-literal@^0.1.0: + version "0.1.1" + resolved "https://registry.yarnpkg.com/mdast-util-gfm-autolink-literal/-/mdast-util-gfm-autolink-literal-0.1.1.tgz#94675074d725ed7254b3172fa7e7c3252960de39" + integrity sha512-gJ2xSpqKCetSr22GEWpZH3f5ffb4pPn/72m4piY0v7T/S+O7n7rw+sfoPLhb2b4O7WdnERoYdALRcmD68FMtlw== + +mdast-util-gfm-strikethrough@^0.2.0: + version "0.2.2" + resolved "https://registry.yarnpkg.com/mdast-util-gfm-strikethrough/-/mdast-util-gfm-strikethrough-0.2.2.tgz#6e9ddd33ce41b06a60463e817f6ef4cf7bfa0655" + integrity sha512-T37ZbaokJcRbHROXmoVAieWnesPD5N21tv2ifYzaGRLbkh1gknItUGhZzHefUn5Zc/eaO/iTDSAFOBrn/E8kWw== + dependencies: + mdast-util-to-markdown "^0.5.0" + +mdast-util-gfm-table@^0.1.0: + version "0.1.4" + resolved "https://registry.yarnpkg.com/mdast-util-gfm-table/-/mdast-util-gfm-table-0.1.4.tgz#5b3d71d16294c6fae1c2c424d3a081ffc7407b83" + integrity sha512-T4xFSON9kUb/IpYA5N+KGWcsdGczAvILvKiXQwUGind6V9fvjPCR9yhZnIeaLdBWXaz3m/Gq77ZtuLMjtFR4IQ== + dependencies: + markdown-table "^2.0.0" + mdast-util-to-markdown "^0.5.0" + +mdast-util-gfm-task-list-item@^0.1.0: + version "0.1.5" + resolved "https://registry.yarnpkg.com/mdast-util-gfm-task-list-item/-/mdast-util-gfm-task-list-item-0.1.5.tgz#3179e77f1c881370818302e7b93537d7c281401d" + integrity sha512-6O0bt34r+e7kYjeSwedhjDPYraspKIYKbhvhQEEioL7gSmXDxhN7WQW2KoxhVMpNzjNc03yC7K5KH6NHlz2jOA== + dependencies: + mdast-util-to-markdown "^0.5.0" + +mdast-util-gfm@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/mdast-util-gfm/-/mdast-util-gfm-0.1.0.tgz#bac0efe703670d1b40474e6be13dbdd887273a04" + integrity sha512-HLfygQL6HdhJhFbLta4Ki9hClrzyAxRjyRvpm5caN65QZL+NyHPmqFlnF9vm1Rn58JT2+AbLwNcEDY4MEvkk8Q== + dependencies: + mdast-util-gfm-autolink-literal "^0.1.0" + mdast-util-gfm-strikethrough "^0.2.0" + mdast-util-gfm-table "^0.1.0" + mdast-util-gfm-task-list-item "^0.1.0" + mdast-util-to-hast@^10.0.0: version "10.0.0" resolved "https://registry.yarnpkg.com/mdast-util-to-hast/-/mdast-util-to-hast-10.0.0.tgz#744dfe7907bac0263398a68af5aba16d104a9a08" @@ -10240,6 +10284,18 @@ mdast-util-to-markdown@^0.4.0: stringify-entities "^3.0.0" zwitch "^1.0.0" +mdast-util-to-markdown@^0.5.0: + version "0.5.3" + resolved "https://registry.yarnpkg.com/mdast-util-to-markdown/-/mdast-util-to-markdown-0.5.3.tgz#e05c54a3ccd239bab63c48a1e5b5747f0dcd5aca" + integrity sha512-sr8q7fQJ1xoCqZSXW6dO/MYu2Md+a4Hfk9uO+XHCfiBhVM0EgWtfAV7BuN+ff6otUeu2xDyt1o7vhZGwOG3+BA== + dependencies: + "@types/unist" "^2.0.0" + longest-streak "^2.0.0" + mdast-util-to-string "^1.0.0" + parse-entities "^2.0.0" + repeat-string "^1.0.0" + zwitch "^1.0.0" + mdast-util-to-string@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/mdast-util-to-string/-/mdast-util-to-string-1.1.0.tgz#27055500103f51637bd07d01da01eb1967a43527" @@ -10378,6 +10434,51 @@ micromark-extension-footnote@^0.3.0: dependencies: micromark "~2.9.0" +micromark-extension-gfm-autolink-literal@~0.5.0: + version "0.5.1" + resolved "https://registry.yarnpkg.com/micromark-extension-gfm-autolink-literal/-/micromark-extension-gfm-autolink-literal-0.5.1.tgz#5326fc86f3ae0fbba57bb0bfc2f158c9456528ce" + integrity sha512-j30923tDp0faCNDjwqe4cMi+slegbGfc3VEAExEU8d54Q/F6pR6YxCVH+6xV0ItRoj3lCn1XkUWcy6FC3S9BOw== + dependencies: + micromark "~2.10.0" + +micromark-extension-gfm-strikethrough@~0.6.0: + version "0.6.2" + resolved "https://registry.yarnpkg.com/micromark-extension-gfm-strikethrough/-/micromark-extension-gfm-strikethrough-0.6.2.tgz#754788bdd13046e7f69edaa0d3f3d555d23128d6" + integrity sha512-aehEEqtTn3JekJNwZZxa7ZJVfzmuaWp4ew6x6sl3VAKIwdDZdqYeYSQIrNKwNgH7hX0g56fAwnSDLusJggjlCQ== + dependencies: + micromark "~2.10.0" + +micromark-extension-gfm-table@~0.4.0: + version "0.4.1" + resolved "https://registry.yarnpkg.com/micromark-extension-gfm-table/-/micromark-extension-gfm-table-0.4.1.tgz#79cc37da82d6ae0cc3901c1c6264b97a72372fbd" + integrity sha512-xVpqOnfFaa2OtC/Y7rlt4tdVFlUHdoLH3RXAZgb/KP3DDyKsAOx6BRS3UxiiyvmD/p2l6VUpD4bMIniuP4o4JA== + dependencies: + micromark "~2.10.0" + +micromark-extension-gfm-tagfilter@~0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/micromark-extension-gfm-tagfilter/-/micromark-extension-gfm-tagfilter-0.3.0.tgz#d9f26a65adee984c9ccdd7e182220493562841ad" + integrity sha512-9GU0xBatryXifL//FJH+tAZ6i240xQuFrSL7mYi8f4oZSbc+NvXjkrHemeYP0+L4ZUT+Ptz3b95zhUZnMtoi/Q== + +micromark-extension-gfm-task-list-item@~0.3.0: + version "0.3.2" + resolved "https://registry.yarnpkg.com/micromark-extension-gfm-task-list-item/-/micromark-extension-gfm-task-list-item-0.3.2.tgz#74dbcf473276e762d2062baa0764b53c19205797" + integrity sha512-cm8lYS10YAqeXE9B27TK3u1Ihumo3H9p/3XumT+jp8vSuSbSpFIJe0bDi2kq4YAAIxtcTzUOxhEH4ko2/NYDkQ== + dependencies: + micromark "~2.10.0" + +micromark-extension-gfm@^0.3.0: + version "0.3.1" + resolved "https://registry.yarnpkg.com/micromark-extension-gfm/-/micromark-extension-gfm-0.3.1.tgz#30b8706bd2a3f7fd31aa37873d743946a9e856c3" + integrity sha512-lJlhcOqzoJdjQg+LMumVHdUQ61LjtqGdmZtrAdfvatRUnJTqZlRwXXHdLQgNDYlFw4mycZ4NSTKlya5QcQXl1A== + dependencies: + micromark "~2.10.0" + micromark-extension-gfm-autolink-literal "~0.5.0" + micromark-extension-gfm-strikethrough "~0.6.0" + micromark-extension-gfm-table "~0.4.0" + micromark-extension-gfm-tagfilter "~0.3.0" + micromark-extension-gfm-task-list-item "~0.3.0" + micromark@~2.10.0: version "2.10.1" resolved "https://registry.yarnpkg.com/micromark/-/micromark-2.10.1.tgz#cd73f54e0656f10e633073db26b663a221a442a7" @@ -13203,6 +13304,14 @@ remark-footnotes@^3.0.0: mdast-util-footnote "^0.1.0" micromark-extension-footnote "^0.3.0" +remark-gfm@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/remark-gfm/-/remark-gfm-1.0.0.tgz#9213643001be3f277da6256464d56fd28c3b3c0d" + integrity sha512-KfexHJCiqvrdBZVbQ6RopMZGwaXz6wFJEfByIuEwGf0arvITHjiKKZ1dpXujjH9KZdm1//XJQwgfnJ3lmXaDPA== + dependencies: + mdast-util-gfm "^0.1.0" + micromark-extension-gfm "^0.3.0" + remark-parse@^9.0.0: version "9.0.0" resolved "https://registry.yarnpkg.com/remark-parse/-/remark-parse-9.0.0.tgz#4d20a299665880e4f4af5d90b7c7b8a935853640"