-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0.11.0 #144
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…prerender.enabled
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New Features
sveltin.json
file: to simplify settings across parts of the project;deploy
command takes into account if adapter-static has been configured to output pages and assets in different folders. In this case, make sure to reflect them tosveltin.json
;migrate
command: added to easily upgrade/migrate existing sveltin project to the latest sveltin release;completion
command: added to generate the autocompletion script for the specified shell (bash, zsh, fish, powershell);TAB
after the command name shows a message about params or flags;mdsvex.config.js
: set a layout component for pages created by runningsveltin new page
command;Bug Fixes
mdsvex.config.js
: missed comma after rehypeSlug usage;Footer.svelte
whensveltin
theme not properly loaded;ScrollToTopButton
component on+layout.svelte
whensveltin
theme;Breakings
add content command: consistent usage compared to others by introducing the
--to
flag. The new way it works is:sveltin add content <title> --to <resource>
new page command: set the language for the page content:
--svelte
or--markdown
. The new way it works is:sveltin new page about --markdown
Code Refactoring
gopkg.in/yaml.v3
and make use of viper capabilities;gopkg.in/github.com/vbauerster/mpb/v8
;sveltin
theme: simplified components structure and styles. Lint style files with stylelint;Dependencies Updated
charmbracelet/bubbles
tov0.15.0
charmbracelet/bubbletea
tov0.23.2
spf13/viper
tov1.15.0
golang.org/x/text
tov0.7.0
Chores
@sveltejs/kit
updated tov1.8.3
;@sveltejs/adapter-static
updated tov2.0.1
;vite
updated tov4.1.4
;typescript
,tslib
,eslint
,vite-plugin-svelte
etc.);OL
;remark-preview
removed;remark-slug
removed;mdast-util-to-string
removed;unist-util-visit
removed;remark-external-links
replaced byrehype-external-links
;Documentation
migrate
added;add content
flags.Pull Requests