-
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
base: main
Are you sure you want to change the base?
Migration to astro #265
Changes from 37 commits
adc8681
2fd437b
0e196c1
ae5bb30
8f591e1
43e21b9
51f1561
51ef370
6d986d6
42e040b
646db34
d6d2904
78676a4
4eca1d1
f1ea592
3811f14
6255e43
b4cadfc
e5805eb
ff59ce1
46c38f5
717d3af
5edb997
046663a
3d50bc1
f06412e
9778406
5b9d7af
9cc5e44
faef028
fa76706
fe1f124
ef9b363
2cf5bcd
0208fdc
d1940fe
2a0838e
9b80318
4f6f698
34f044a
3ada92f
2f3d040
28ac356
2a0cdbc
87eb96c
bcf8a34
43207fb
e0164ee
e10eeda
7f9aabe
8d7d9ef
38de6d5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| 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 |
| 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.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| 22 |
| 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 |
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why remove unimported? |
This file was deleted.
This file was deleted.
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why remove "git config --global --add safe.directory /code" |
| 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 |
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 do we need a eslint.config.mjs?