diff --git a/.npmrc b/.npmrc deleted file mode 100644 index 688f6d5..0000000 --- a/.npmrc +++ /dev/null @@ -1,2 +0,0 @@ -save-workspace-protocol=false -prefer-workspace-packages=true diff --git a/packages/playground/package.json b/packages/playground/package.json index 138efcd..d19bf33 100644 --- a/packages/playground/package.json +++ b/packages/playground/package.json @@ -2,18 +2,18 @@ "name": "@bytemd/playground", "private": true, "dependencies": { - "@bytemd/plugin-breaks": "latest", - "@bytemd/plugin-footnotes": "latest", - "@bytemd/plugin-frontmatter": "latest", - "@bytemd/plugin-gemoji": "latest", - "@bytemd/plugin-gfm": "latest", - "@bytemd/plugin-highlight": "latest", - "@bytemd/plugin-highlight-ssr": "latest", - "@bytemd/plugin-math": "latest", - "@bytemd/plugin-math-ssr": "latest", - "@bytemd/plugin-medium-zoom": "latest", - "@bytemd/plugin-mermaid": "latest", - "bytemd": "latest", + "@bytemd/plugin-breaks": "workspace:*", + "@bytemd/plugin-footnotes": "workspace:*", + "@bytemd/plugin-frontmatter": "workspace:*", + "@bytemd/plugin-gemoji": "workspace:*", + "@bytemd/plugin-gfm": "workspace:*", + "@bytemd/plugin-highlight": "workspace:*", + "@bytemd/plugin-highlight-ssr": "workspace:*", + "@bytemd/plugin-math": "workspace:*", + "@bytemd/plugin-math-ssr": "workspace:*", + "@bytemd/plugin-medium-zoom": "workspace:*", + "@bytemd/plugin-mermaid": "workspace:*", + "bytemd": "workspace:*", "github-markdown-css": "^5.1.0", "highlight.js": "^11.4.0", "katex": "^0.15.2" diff --git a/packages/plugin-breaks/package.json b/packages/plugin-breaks/package.json index af4aff8..65411c2 100644 --- a/packages/plugin-breaks/package.json +++ b/packages/plugin-breaks/package.json @@ -22,7 +22,7 @@ "lib" ], "devDependencies": { - "bytemd": "^1.11.0", + "bytemd": "workspace:*", "remark-breaks": "^3.0.2" }, "peerDependencies": { diff --git a/packages/plugin-footnotes/package.json b/packages/plugin-footnotes/package.json index 9a59e3b..8277872 100644 --- a/packages/plugin-footnotes/package.json +++ b/packages/plugin-footnotes/package.json @@ -22,7 +22,7 @@ "lib" ], "devDependencies": { - "bytemd": "^1.11.0", + "bytemd": "workspace:*", "remark-footnotes": "^4.0.1" }, "peerDependencies": { diff --git a/packages/plugin-frontmatter/package.json b/packages/plugin-frontmatter/package.json index 0634ec0..647b3ee 100644 --- a/packages/plugin-frontmatter/package.json +++ b/packages/plugin-frontmatter/package.json @@ -23,7 +23,7 @@ ], "devDependencies": { "@types/js-yaml": "^4.0.5", - "bytemd": "^1.11.0", + "bytemd": "workspace:*", "js-yaml": "^4.1.0", "remark-frontmatter": "^4.0.1", "vfile": "^5.3.0" diff --git a/packages/plugin-gemoji/package.json b/packages/plugin-gemoji/package.json index 4c232de..ea0a911 100644 --- a/packages/plugin-gemoji/package.json +++ b/packages/plugin-gemoji/package.json @@ -22,7 +22,7 @@ "lib" ], "devDependencies": { - "bytemd": "^1.11.0", + "bytemd": "workspace:*", "remark-gemoji": "^7.0.1" }, "peerDependencies": { diff --git a/packages/plugin-gfm/package.json b/packages/plugin-gfm/package.json index bb57648..4c2a9ec 100644 --- a/packages/plugin-gfm/package.json +++ b/packages/plugin-gfm/package.json @@ -22,7 +22,7 @@ "lib" ], "devDependencies": { - "bytemd": "^1.11.0", + "bytemd": "workspace:*", "remark-gfm": "^3.0.1" }, "peerDependencies": { diff --git a/packages/plugin-highlight-ssr/package.json b/packages/plugin-highlight-ssr/package.json index bd626d5..d13cbcf 100644 --- a/packages/plugin-highlight-ssr/package.json +++ b/packages/plugin-highlight-ssr/package.json @@ -25,7 +25,7 @@ "highlight.js": "^11.4.0" }, "devDependencies": { - "bytemd": "^1.11.0", + "bytemd": "workspace:*", "rehype-highlight": "^5.0.2" }, "peerDependencies": { diff --git a/packages/plugin-highlight/package.json b/packages/plugin-highlight/package.json index f2eb079..593cf05 100644 --- a/packages/plugin-highlight/package.json +++ b/packages/plugin-highlight/package.json @@ -25,7 +25,7 @@ "highlight.js": "^11.4.0" }, "devDependencies": { - "bytemd": "^1.11.0" + "bytemd": "workspace:*" }, "peerDependencies": { "bytemd": "^1.5.0" diff --git a/packages/plugin-math-common/package.json b/packages/plugin-math-common/package.json index d71baf8..b767242 100644 --- a/packages/plugin-math-common/package.json +++ b/packages/plugin-math-common/package.json @@ -4,7 +4,7 @@ "private": true, "main": "src/index.ts", "devDependencies": { - "bytemd": "^1.11.0" + "bytemd": "workspace:*" }, "peerDependencies": { "bytemd": "^1.5.0" diff --git a/packages/plugin-math-ssr/package.json b/packages/plugin-math-ssr/package.json index 6226d5f..79fcc1a 100644 --- a/packages/plugin-math-ssr/package.json +++ b/packages/plugin-math-ssr/package.json @@ -23,7 +23,7 @@ ], "devDependencies": { "@bytemd/plugin-math-common": "^1.11.0", - "bytemd": "^1.11.0", + "bytemd": "workspace:*", "rehype-katex": "^6.0.2", "remark-math": "^5.1.1" }, diff --git a/packages/plugin-math/package.json b/packages/plugin-math/package.json index 9fde736..d5a45db 100644 --- a/packages/plugin-math/package.json +++ b/packages/plugin-math/package.json @@ -27,7 +27,7 @@ }, "devDependencies": { "@bytemd/plugin-math-common": "^1.11.0", - "bytemd": "^1.11.0", + "bytemd": "workspace:*", "remark-math": "^5.1.1" }, "peerDependencies": { diff --git a/packages/plugin-medium-zoom/package.json b/packages/plugin-medium-zoom/package.json index daaa7f6..ce21bb6 100644 --- a/packages/plugin-medium-zoom/package.json +++ b/packages/plugin-medium-zoom/package.json @@ -25,7 +25,7 @@ "medium-zoom": "^1.0.6" }, "devDependencies": { - "bytemd": "^1.11.0" + "bytemd": "workspace:*" }, "peerDependencies": { "bytemd": "^1.5.0" diff --git a/packages/plugin-mermaid/package.json b/packages/plugin-mermaid/package.json index 8a49db0..1f928d5 100644 --- a/packages/plugin-mermaid/package.json +++ b/packages/plugin-mermaid/package.json @@ -26,7 +26,7 @@ "mermaid": "^8.13.10" }, "devDependencies": { - "bytemd": "^1.11.0" + "bytemd": "workspace:*" }, "peerDependencies": { "bytemd": "^1.5.0" diff --git a/packages/react/package.json b/packages/react/package.json index 3f3670f..46655f0 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -22,7 +22,7 @@ "lib" ], "dependencies": { - "bytemd": "^1.11.0" + "bytemd": "workspace:*" }, "devDependencies": { "@types/react": "^17.0.38", diff --git a/packages/vue/package.json b/packages/vue/package.json index a10f8a1..b52bce5 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -22,7 +22,7 @@ "lib" ], "dependencies": { - "bytemd": "^1.11.0" + "bytemd": "workspace:*" }, "devDependencies": { "vite-plugin-vue2": "^1.9.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a022efd..65e1345 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -103,18 +103,18 @@ importers: packages/playground: specifiers: - '@bytemd/plugin-breaks': latest - '@bytemd/plugin-footnotes': latest - '@bytemd/plugin-frontmatter': latest - '@bytemd/plugin-gemoji': latest - '@bytemd/plugin-gfm': latest - '@bytemd/plugin-highlight': latest - '@bytemd/plugin-highlight-ssr': latest - '@bytemd/plugin-math': latest - '@bytemd/plugin-math-ssr': latest - '@bytemd/plugin-medium-zoom': latest - '@bytemd/plugin-mermaid': latest - bytemd: latest + '@bytemd/plugin-breaks': workspace:* + '@bytemd/plugin-footnotes': workspace:* + '@bytemd/plugin-frontmatter': workspace:* + '@bytemd/plugin-gemoji': workspace:* + '@bytemd/plugin-gfm': workspace:* + '@bytemd/plugin-highlight': workspace:* + '@bytemd/plugin-highlight-ssr': workspace:* + '@bytemd/plugin-math': workspace:* + '@bytemd/plugin-math-ssr': workspace:* + '@bytemd/plugin-medium-zoom': workspace:* + '@bytemd/plugin-mermaid': workspace:* + bytemd: workspace:* github-markdown-css: ^5.1.0 highlight.js: ^11.4.0 katex: ^0.15.2 @@ -137,7 +137,7 @@ importers: packages/plugin-breaks: specifiers: - bytemd: ^1.11.0 + bytemd: workspace:* remark-breaks: ^3.0.2 devDependencies: bytemd: link:../bytemd @@ -145,7 +145,7 @@ importers: packages/plugin-footnotes: specifiers: - bytemd: ^1.11.0 + bytemd: workspace:* remark-footnotes: ^4.0.1 devDependencies: bytemd: link:../bytemd @@ -154,7 +154,7 @@ importers: packages/plugin-frontmatter: specifiers: '@types/js-yaml': ^4.0.5 - bytemd: ^1.11.0 + bytemd: workspace:* js-yaml: ^4.1.0 remark-frontmatter: ^4.0.1 vfile: ^5.3.0 @@ -167,7 +167,7 @@ importers: packages/plugin-gemoji: specifiers: - bytemd: ^1.11.0 + bytemd: workspace:* remark-gemoji: ^7.0.1 devDependencies: bytemd: link:../bytemd @@ -175,7 +175,7 @@ importers: packages/plugin-gfm: specifiers: - bytemd: ^1.11.0 + bytemd: workspace:* remark-gfm: ^3.0.1 devDependencies: bytemd: link:../bytemd @@ -183,7 +183,7 @@ importers: packages/plugin-highlight: specifiers: - bytemd: ^1.11.0 + bytemd: workspace:* highlight.js: ^11.4.0 dependencies: highlight.js: 11.4.0 @@ -192,7 +192,7 @@ importers: packages/plugin-highlight-ssr: specifiers: - bytemd: ^1.11.0 + bytemd: workspace:* highlight.js: ^11.4.0 rehype-highlight: ^5.0.2 dependencies: @@ -205,7 +205,7 @@ importers: specifiers: '@bytemd/plugin-math-common': ^1.11.0 '@types/katex': ^0.11.1 - bytemd: ^1.11.0 + bytemd: workspace:* katex: ^0.15.2 remark-math: ^5.1.1 dependencies: @@ -218,14 +218,14 @@ importers: packages/plugin-math-common: specifiers: - bytemd: ^1.11.0 + bytemd: workspace:* devDependencies: bytemd: link:../bytemd packages/plugin-math-ssr: specifiers: '@bytemd/plugin-math-common': ^1.11.0 - bytemd: ^1.11.0 + bytemd: workspace:* rehype-katex: ^6.0.2 remark-math: ^5.1.1 devDependencies: @@ -236,7 +236,7 @@ importers: packages/plugin-medium-zoom: specifiers: - bytemd: ^1.11.0 + bytemd: workspace:* medium-zoom: ^1.0.6 dependencies: medium-zoom: 1.0.6 @@ -246,7 +246,7 @@ importers: packages/plugin-mermaid: specifiers: '@types/mermaid': ^8.2.7 - bytemd: ^1.11.0 + bytemd: workspace:* mermaid: ^8.13.10 dependencies: '@types/mermaid': 8.2.7 @@ -257,7 +257,7 @@ importers: packages/react: specifiers: '@types/react': ^17.0.38 - bytemd: ^1.11.0 + bytemd: workspace:* react: ^17.0.2 dependencies: bytemd: link:../bytemd @@ -267,7 +267,7 @@ importers: packages/vue: specifiers: - bytemd: ^1.11.0 + bytemd: workspace:* vite-plugin-vue2: ^1.9.3 vue: ^2.6.14 vue-template-compiler: ^2.6.14