-
Notifications
You must be signed in to change notification settings - Fork 0
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
Renewal v1 #44
Open
staticWagomU
wants to merge
38
commits into
main
Choose a base branch
from
renewal-v1
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Renewal v1 #44
Changes from 25 commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
a4e4378
chore(deps): update dependencies (#37)
staticWagomU dcaed86
chore(deps): 不要なパッケージを削除 (#41)
staticWagomU d9f3276
@astro/checkを導入 (#42)
staticWagomU 57570aa
tailwindを導入したよ (#43)
staticWagomU 11afdaa
feat: majimeはなし。
staticWagomU 5b905b1
chore(ogp): update
staticWagomU 371052a
chore(depends): upgrade
staticWagomU f2eee84
feat: add .editorconfig
staticWagomU fbcb925
feat: コードブロックにタイトルをつけられるようにした
staticWagomU 966558f
feat: style削除
staticWagomU 8917231
feat: format関連のスクリプトを追加
staticWagomU 39cad0f
refactor: prettier
staticWagomU c86549f
feat: h2含む中身をsectionで囲うrehypeプラグイン書いたよ
staticWagomU 0d6ed5f
feat: update astro config
staticWagomU 7bd5f89
feat: update astro config
staticWagomU 9f680a8
feat: 最終更新日を自動的に挿入するremarkプラグインを追加
staticWagomU d09690d
chore(prettier): migrate .prettierrc to .prettierrc.json
staticWagomU 834db36
chore(prettier): ignore *.md and *.mdx
staticWagomU c19d982
chore: update packages
staticWagomU e96bcc6
feat(astro.config): Never match URLs that include a trailing slash
staticWagomU ae2ec1b
feat(astro.config): remove tailwindcss
staticWagomU d1813c5
perf: Google Fontsのパフォーマンスを改善
staticWagomU dda2478
feat: add astro-compress
staticWagomU 43c4241
chore(editorconfig): update
staticWagomU c55b2e8
feat: add @playform/inline
staticWagomU dd5e4fb
feat: CVの外部リンク追加
staticWagomU d2c654c
style: formatされてた
staticWagomU b721584
feat: remarkBudouxを追加
staticWagomU 42e15d0
feat: add pnpm-workspace
staticWagomU 1e4041b
chore: pnpm-workspaceに関連する修正
staticWagomU 72f723a
perf: postを一意に定める
staticWagomU 5793d4c
feat: おしゃれタイムライン形式
staticWagomU a5c38da
feat: 現状のcssファイルにするよ
staticWagomU ad2a12a
feat: いったんこれで!
staticWagomU 955d26e
style: pretiier
staticWagomU 69aed6d
feat: おしゃれヘッダー
staticWagomU 1fc0bed
feat: はずかしい名前だった
staticWagomU ca477a9
あ、これ必要かも
staticWagomU File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
root = true | ||
|
||
[*] | ||
indent_style = tab | ||
tab_width = 2 | ||
|
||
[{src,scripts}/**.{ts,json,js,cjs}] | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
*.mdx | ||
*.md |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,37 @@ | ||
import { defineConfig } from "astro/config"; | ||
import { vanillaExtractPlugin } from "@vanilla-extract/vite-plugin"; | ||
import remarkBreaks from "remark-breaks"; | ||
import mdx from "@astrojs/mdx"; | ||
import sitemap from "@astrojs/sitemap"; | ||
|
||
// https://astro.build/config | ||
import codeBlockPlugin from "./tools/remark-code-quote"; | ||
import wrapH2WithSection from "./tools/rehype-wrap-h2-with-section"; | ||
import { astroLastModifiedAt } from "./tools/remark-astro-last-modified-at"; | ||
|
||
// https://astro.build/config | ||
export default defineConfig({ | ||
// site: 'https://example.com', | ||
site: "https://wagomu.me", | ||
integrations: [mdx(), sitemap()], | ||
integrations: [ | ||
mdx(), | ||
sitemap(), | ||
(await import('@playform/compress')).default({ | ||
CSS: true, | ||
HTML: true, | ||
Image: false, | ||
JavaScript: true, | ||
SVG: true, | ||
Logger: 1, | ||
}), | ||
(await import("@playform/inline")).default() | ||
], | ||
trailingSlash: 'never', | ||
vite: { | ||
plugins: [vanillaExtractPlugin()], | ||
plugins: [] | ||
}, | ||
markdown: { | ||
remarkPlugins: [remarkBreaks], | ||
remarkPlugins: [remarkBreaks, codeBlockPlugin, astroLastModifiedAt], | ||
rehypePlugins: [wrapH2WithSection], | ||
shikiConfig: { | ||
theme: "github-light", | ||
}, | ||
}, | ||
theme: "github-light" | ||
} | ||
} | ||
}); |
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codebase verification
Imported modules are missing in the
tools
directory.The files
remark-code-quote.js
,rehype-wrap-h2-with-section.js
, andremark-astro-last-modified-at.js
referenced inastro.config.mjs
do not exist. This will lead to import errors and potential runtime failures.tools
directory.🔗 Analysis chain
LGTM! Verify the imported modules.
The new imports for custom plugins look good. They follow a consistent naming convention and are appropriately imported from local files.
To ensure the imported modules exist and are correctly implemented, run the following script:
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
Length of output: 923