Skip to content

Commit

Permalink
chore(release): vite-plugin-minissg 4.0.0 [skip ci]
Browse files Browse the repository at this point in the history
# [vite-plugin-minissg 4.0.0](vite-plugin-minissg-v3.0.0...vite-plugin-minissg-v4.0.0) (2024-07-20)

* ignore empty module rather than regarding it as `{ default: undefined }` ([dad49c3](dad49c3))
* introduce `Context` and replace `EntriesArg` with it ([c5ab9fe](c5ab9fe))
* make loaded set public and replace peek with getContext ([82bd608](82bd608))
* provide entries functions with ModuleName instead of string ([851fcf7](851fcf7))
* remove virtual:minissg/control ([6b762b3](6b762b3))
* rename MINISSG-MARK to MINISSG-COPY ([4dcc4a8](4dcc4a8))
* rename the `entries` function to `main` ([33737e5](33737e5))

### Bug Fixes

* include path in type error messages ([dfb239b](dfb239b))
* interpret queries combined with `?client` ([a9bb95d](a9bb95d))
* keep the name of middleware functions ([b753573](b753573))
* make a descriptive error message if a value is thrown but uncaught ([e46eb65](e46eb65))
* prepend `site.projectRoot` to the resolved id of Head module ([d2d2030](d2d2030))
* prevent unexpected repetation of this.emitFile ([178597c](178597c))
* support cyclic module graph ([f89b4c5](f89b4c5))
* tell pnpm that Vite 5 is preffered through peerDependencies ([1cb910f](1cb910f))

### Features

* add `virtual:minissg/control` module and its `peek` function ([8a109e7](8a109e7))
* make 404 response if the requested page is not found ([fb35909](fb35909))
* print how the current module is obtained when an error occurred ([33766cb](33766cb))

### Reverts

* Revert "move ModuleName to a separate file" ([2a9d9d7](2a9d9d7))

### BREAKING CHANGES

* `virtual:minissg/control` has been removed.
* `peek` in `virtual:minissg/control` has been removed.
* MINISSG-MARK has been renamed to MINISSG-COPY.
* Empty modules are now simply ignored.
* The `entries` function has been renamed to `main`.
  Users must rename their `entries` functions by your hands.
* The `ancestors` property in the argument of `entries`
  function has been replaced with the `parent` property.
* the type of the argument of `entries` function has
  been changed.
  • Loading branch information
semantic-release-bot committed Jul 20, 2024
1 parent e0e8fbd commit 7a3fb46
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion example/benchmark/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
"remark-smartypants": "^3.0.2",
"tiged": "^2.12.7",
"vite": "^5.3.4",
"vite-plugin-minissg": "^3.0.0"
"vite-plugin-minissg": "^4.0.0"
}
}
2 changes: 1 addition & 1 deletion example/markdown-it/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"markdown-it": "^14.1.0",
"tiged": "^2.12.7",
"vite": "^5.3.4",
"vite-plugin-minissg": "^3.0.0"
"vite-plugin-minissg": "^4.0.0"
}
}
2 changes: 1 addition & 1 deletion example/multilib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"solid-js": "^1.8.18",
"svelte": "^4.2.18",
"vite": "^5.3.4",
"vite-plugin-minissg": "^3.0.0",
"vite-plugin-minissg": "^4.0.0",
"vite-plugin-solid": "^2.10.2",
"vue": "^3.4.32"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/render-preact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@
"preact": "^10",
"preact-render-to-string": "^6",
"preact-ssr-prepass": "^1",
"vite-plugin-minissg": "^1 || ^3"
"vite-plugin-minissg": "^1 || ^3 || ^4"
}
}
2 changes: 1 addition & 1 deletion packages/render-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@
"peerDependencies": {
"react": "^18",
"react-dom": "^18",
"vite-plugin-minissg": "^1 || ^3"
"vite-plugin-minissg": "^1 || ^3 || ^4"
}
}
2 changes: 1 addition & 1 deletion packages/render-solid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@
],
"peerDependencies": {
"solid-js": "^1",
"vite-plugin-minissg": "^1 || ^3"
"vite-plugin-minissg": "^1 || ^3 || ^4"
}
}
2 changes: 1 addition & 1 deletion packages/render-svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@
],
"peerDependencies": {
"svelte": "^4",
"vite-plugin-minissg": "^1 || ^3"
"vite-plugin-minissg": "^1 || ^3 || ^4"
}
}
2 changes: 1 addition & 1 deletion packages/render-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"vue"
],
"peerDependencies": {
"vite-plugin-minissg": "^1 || ^3",
"vite-plugin-minissg": "^1 || ^3 || ^4",
"vue": "^3"
}
}
2 changes: 1 addition & 1 deletion packages/vite-plugin-minissg/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vite-plugin-minissg",
"version": "4.0.0-next.1",
"version": "4.0.0",
"description": "Minimum-sized static site generator as a Vite plugin",
"homepage": "https://github.com/uenoB/minissg/tree/main/packages/vite-plugin-minissg/#readme",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion template/mdx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"remark-frontmatter": "^5.0.0",
"remark-mdx-frontmatter": "^5.0.0",
"vite": "^5.3.4",
"vite-plugin-minissg": "^3.0.0"
"vite-plugin-minissg": "^4.0.0"
}
}
2 changes: 1 addition & 1 deletion template/page/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
"remark-frontmatter": "^5.0.0",
"remark-mdx-frontmatter": "^5.0.0",
"vite": "^5.3.4",
"vite-plugin-minissg": "^3.0.0"
"vite-plugin-minissg": "^4.0.0"
}
}
2 changes: 1 addition & 1 deletion template/preact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
"preact-render-to-string": "^6.5.6",
"preact-ssr-prepass": "^1.2.2",
"vite": "^5.3.4",
"vite-plugin-minissg": "^3.0.0"
"vite-plugin-minissg": "^4.0.0"
}
}
2 changes: 1 addition & 1 deletion template/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
"react": "^18.3.1",
"react-dom": "^18.3.1",
"vite": "^5.3.4",
"vite-plugin-minissg": "^3.0.0"
"vite-plugin-minissg": "^4.0.0"
}
}
2 changes: 1 addition & 1 deletion template/solid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"@minissg/render-solid": "^3.0.0",
"solid-js": "^1.8.18",
"vite": "^5.3.4",
"vite-plugin-minissg": "^3.0.0",
"vite-plugin-minissg": "^4.0.0",
"vite-plugin-solid": "^2.10.2"
}
}
2 changes: 1 addition & 1 deletion template/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"@sveltejs/vite-plugin-svelte": "^3.1.1",
"svelte": "^4.2.18",
"vite": "^5.3.4",
"vite-plugin-minissg": "^3.0.0"
"vite-plugin-minissg": "^4.0.0"
}
}
2 changes: 1 addition & 1 deletion template/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"@minissg/render-vue": "^3.0.0",
"@vitejs/plugin-vue": "^5.0.5",
"vite": "^5.3.4",
"vite-plugin-minissg": "^3.0.0",
"vite-plugin-minissg": "^4.0.0",
"vue": "^3.4.32"
}
}

0 comments on commit 7a3fb46

Please sign in to comment.