-
Notifications
You must be signed in to change notification settings - Fork 5
Migration to astro #265
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
Draft
tnagorra
wants to merge
52
commits into
main
Choose a base branch
from
feat/astro-migration
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.
Draft
Migration to astro #265
Changes from all commits
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
adc8681
feat(astro): scaffold app
tnagorra 2fd437b
feat(astro): port pages, components, i18n
tnagorra 0e196c1
feat(astro): remote-image pipeline + hydration dedup
tnagorra ae5bb30
feat(blogs): co-locate images with content
tnagorra 8f591e1
chore(locales): drop stale *_old.json
tnagorra 43e21b9
feat(data): incremental fetch-data
tnagorra 51f1561
feat(astro): restore incremental layer; fix activation + sitemap bugs
tnagorra 51ef370
docs(upstream): issue refs in shim headers
tnagorra 6d986d6
feat(packages): astro-hydration-dedup
tnagorra 42e040b
feat(packages): astro-remote-images
tnagorra 646db34
feat(packages): astro-incremental-static
tnagorra d6d2904
docs(packages): index + backlinks
tnagorra 78676a4
docs(astro): app README
tnagorra 4eca1d1
style: comments explain why, not what
tnagorra f1ea592
style: reword to activation/checklist
tnagorra 3811f14
refactor: move Astro app to repo root, remove Next app
tnagorra 6255e43
fix: add favicon.ico
tnagorra b4cadfc
chore: restore docker dev setup
tnagorra e5805eb
chore(lint): eslint + stylelint + pre-commit for the Astro app
tnagorra ff59ce1
chore: switch to pnpm; drop workspaces
tnagorra 46c38f5
fix(types): pass astro check; add typecheck script + hook
tnagorra 717d3af
feat(scripts): verify-dist post-build checks
tnagorra 5edb997
feat(data): fail-fast validation + translation-gap report
tnagorra 046663a
chore: pin node >=22.18; docs for the new checks
tnagorra 3d50bc1
test(e2e): playwright island smoke tests
tnagorra f06412e
docs: make readme + package references self-contained
tnagorra 9778406
chore: rename docker service to astro; add editorconfig
tnagorra 5b9d7af
feat(styles): restore the CSS Modules design system from main
tnagorra 9cc5e44
perf(css): short hashed module class names in production
tnagorra faef028
feat(data): generate types from the backend submodule schema
tnagorra fa76706
feat(types): tsconfig path aliases; slim generated types
tnagorra fe1f124
chore: knip replaces unimported; drop dead exports it found
tnagorra ef9b363
chore(css): concentric ordering + indentation via modern stylelint
tnagorra 2cf5bcd
style: 4-space indentation everywhere, enforced
tnagorra 0208fdc
docs: rebuild README on main's skeleton
tnagorra d1940fe
perf(css): externalize all stylesheets
tnagorra 2a0838e
perf(css): 4-char collision-checked module class names
tnagorra 9b80318
refactor: restore reusable presentational components
tnagorra 4f6f698
refactor: Link + ImageWrapper components
tnagorra 34f044a
refactor: React twins of shared primitives for the islands
tnagorra 3ada92f
refactor: main's component directory convention
tnagorra 2f3d040
style: one attribute per line on multi-attribute tags
tnagorra 28ac356
feat(incremental): sweep unreferenced _astro assets after merge
tnagorra 2a0cdbc
refactor: extract asset sweep into astro-dist-sweep package
tnagorra 87eb96c
perf(build): render pages with concurrency 4
tnagorra bcf8a34
chore: consolidate build artifacts under build/, rename fullData
tnagorra 43207fb
chore: move full-data under build/
tnagorra e0164ee
chore: ignore core dumps
tnagorra e10eeda
fix(i18n): locale-prefixed project links + remembered-locale redirects
tnagorra 7f9aabe
fix(data): last-updated from the data file's mtime
tnagorra 8d7d9ef
fix(ui): restore ImageWrapper around store buttons + uptime logo
tnagorra 38de6d5
fix(ui): visual parity with the live Next site
tnagorra File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,38 +1,7 @@ | ||
| # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
|
||
| # dependencies | ||
| /node_modules | ||
| /.pnp | ||
| .pnp.js | ||
|
|
||
| # testing | ||
| /coverage | ||
|
|
||
| # next.js | ||
| /.next/ | ||
| /out/ | ||
|
|
||
| # production | ||
| /build | ||
|
|
||
| # misc/sensitive | ||
| .DS_Store | ||
| .env | ||
| .env.local | ||
| secrets | ||
|
|
||
| # debug | ||
| npm-debug.log* | ||
| yarn-debug.log* | ||
| yarn-error.log* | ||
| pnpm-debug.log* | ||
|
|
||
| # typescript | ||
| *.tsbuildinfo | ||
|
|
||
| # editor config | ||
| .vscode/ | ||
|
|
||
| # generated types | ||
| src/generated/ | ||
| cache/ | ||
| node_modules | ||
| dist | ||
| dist-cache | ||
| .astro | ||
| .astro-incremental | ||
| .image-cache | ||
| .git |
This file contains hidden or 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 | ||
|
|
||
| [*] | ||
| charset = utf-8 | ||
| end_of_line = lf | ||
| insert_final_newline = true | ||
| indent_style = space | ||
| indent_size = 4 | ||
|
|
||
| [*.{yml,yaml}] | ||
| indent_size = 2 |
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 @@ | ||
| 22 |
This file contains hidden or 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,26 +1,21 @@ | ||
| repos: | ||
| - repo: local | ||
| hooks: | ||
| - id: check-unused | ||
| name: check-unused | ||
| language: system | ||
| pass_filenames: false | ||
| entry: yarn check-unused | ||
|
|
||
| - id: lint | ||
| name: lint | ||
| name: eslint | ||
| entry: pnpm --silent lint | ||
| language: system | ||
| types_or: [ts, tsx, javascript] | ||
| pass_filenames: false | ||
| entry: yarn lint | ||
|
|
||
| - id: css-lint | ||
| name: CSS Lint | ||
| name: stylelint | ||
| entry: pnpm --silent css-lint | ||
| language: system | ||
| types: [css] | ||
| pass_filenames: false | ||
| entry: yarn css-lint | ||
|
|
||
| - id: type-check | ||
| name: Typecheck | ||
| - id: typecheck | ||
| name: astro check | ||
| entry: pnpm --silent typecheck | ||
| language: system | ||
| types_or: [ts, tsx, astro] | ||
| pass_filenames: false | ||
| entry: yarn typecheck |
This file contains hidden or 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 was deleted.
Oops, something went wrong.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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,11 +1,7 @@ | ||
| FROM node:18-buster-slim | ||
| # Dev-only image; the app is mounted by docker-compose and built there. | ||
| FROM node:22-bookworm-slim | ||
|
|
||
| RUN apt-get update -y \ | ||
| && apt-get install -y --no-install-recommends \ | ||
| git bash g++ make \ | ||
| # Clean-up | ||
| && rm -rf /var/lib/apt/lists/* \ | ||
| # Add /code as safe directory | ||
| && git config --global --add safe.directory /code | ||
| RUN apt-get update && apt-get install -y --no-install-recommends git \ | ||
| && rm -rf /var/lib/apt/lists/* | ||
|
|
||
| WORKDIR /code |
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.
Why remove "git config --global --add safe.directory /code"