-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1309 from kufu/astro
Gatsby -> Astro 移行
- Loading branch information
Showing
1,850 changed files
with
23,270 additions
and
26,929 deletions.
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 |
---|---|---|
@@ -1,14 +1,7 @@ | ||
# コピーしてファイル名を.envにして各値を指定してください | ||
|
||
## Algoliaの設定(指定しなくてもビルドはできますが、検索は動作しません。) | ||
GATSBY_ALGOLIA_APP_ID=1Passwordを参照してください | ||
PUBLIC_ALGOLIA_APP_ID=1Passwordを参照してください | ||
ALGOLIA_ADMIN_API_KEY=1Passwordを参照してください | ||
GATSBY_ALGOLIA_SEARCH_API_KEY=1Passwordを参照してください | ||
GATSBY_ALGOLIA_INDEX_NAME=content | ||
|
||
## Airtableの設定(指定しない場合はモックデータでビルドします) | ||
AIRTABLE_BASE_ID=1Passwordを参照してください | ||
AIRTABLE_PERSONAL_ACCESS_TOKEN=1Passwordを参照してください | ||
|
||
## smarthr-uiのデータ取得設定(指定しない場合は全バージョンを取得しますが、キャッシュがない状態でのビルド時間は長くなります) | ||
SHR_UI_MAX_VERSIONS=10 #10などの数値を指定してください | ||
PUBLIC_ALGOLIA_SEARCH_API_KEY=1Passwordを参照してください | ||
PUBLIC_ALGOLIA_INDEX_NAME=content |
This file was deleted.
Oops, something went wrong.
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
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
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,78 +1,27 @@ | ||
# Storybook static build files | ||
storybook-static/ | ||
# build output | ||
dist/ | ||
|
||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# Runtime data | ||
pids | ||
*.pid | ||
*.seed | ||
*.pid.lock | ||
|
||
# Directory for instrumented libs generated by jscoverage/JSCover | ||
lib-cov | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage | ||
|
||
# nyc test coverage | ||
.nyc_output | ||
|
||
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) | ||
.grunt | ||
|
||
# Bower dependency directory (https://bower.io/) | ||
bower_components | ||
|
||
# node-waf configuration | ||
.lock-wscript | ||
# generated types | ||
.astro/ | ||
|
||
# Compiled binary addons (http://nodejs.org/api/addons.html) | ||
build/Release | ||
|
||
# Dependency directories | ||
# dependencies | ||
node_modules/ | ||
jspm_packages/ | ||
|
||
# Typescript v1 declaration files | ||
typings/ | ||
|
||
# Optional npm cache directory | ||
.npm | ||
|
||
# Optional eslint cache | ||
.eslintcache | ||
|
||
# Optional REPL history | ||
.node_repl_history | ||
|
||
# Output of 'npm pack' | ||
*.tgz | ||
# logs | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
|
||
# dotenv environment variable files | ||
# environment variables | ||
.env | ||
.env.production | ||
|
||
# gatsby files | ||
.cache/ | ||
public | ||
|
||
# Mac files | ||
# macOS-specific files | ||
.DS_Store | ||
|
||
# Yarn | ||
yarn-error.log | ||
.pnp/ | ||
.pnp.js | ||
# Yarn Integrity file | ||
.yarn-integrity | ||
|
||
# Local Netlify folder | ||
.netlify | ||
# jetbrains setting folder | ||
.idea/ | ||
|
||
# Gatsby GraphQL Typegen generated code (https://www.gatsbyjs.com/docs/how-to/local-development/graphql-typegen/#tips) | ||
src/gatsby-types.d.ts | ||
# ページ生成用のデータの一時キャッシュ | ||
src/cache/ |
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,15 +1,12 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
# 画像・アイコンまたはreadme.txtに変更がった場合はzipファイルを作り直し、コミットに含める | ||
files_diff=`git diff --cached --name-only` | ||
readme_file=`echo "$files_diff" | sed -n '/scripts\/downloads\/readme\.txt/p'` | ||
img_files=`echo "$files_diff" | sed -n '/content\/articles\/basics\/illustration\/images\//p'` | ||
icon_files=`echo "$files_diff" | sed -n '/content\/articles\/basics\/icons\/images\//p'` | ||
img_files=`echo "$files_diff" | sed -n '/src\/content\/articles\/basics\/illustration\/images\//p'` | ||
icon_files=`echo "$files_diff" | sed -n '/src\/content\/articles\/basics\/icons\/images\//p'` | ||
|
||
if [ -n "$img_files" ] || [ -n "$icon_files" ] || [ -n "$readme_file" ]; then | ||
yarn export:zip-images | ||
git add 'static/downloads/*' | ||
pnpm export:zip-images | ||
git add 'public/downloads/*' | ||
fi | ||
|
||
yarn lint-staged | ||
pnpm lint-staged |
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 @@ | ||
astro check |
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 +1 @@ | ||
18.17.1 | ||
22.9.0 |
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,3 +1,6 @@ | ||
## Ignore files | ||
*.md | ||
*.mdx | ||
public/ | ||
dist/ | ||
pnpm-lock.yaml | ||
|
This file was deleted.
Oops, something went wrong.
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,14 @@ | ||
/** | ||
* @see https://prettier.io/docs/en/configuration.html | ||
* @type {import("prettier").Config} | ||
*/ | ||
const config = { | ||
// eslint-disable-next-line @typescript-eslint/no-require-imports | ||
...require('prettier-config-smarthr'), | ||
singleQuote: true, | ||
trailingComma: 'all', | ||
semi: true, | ||
plugins: ['prettier-plugin-astro'], | ||
}; | ||
|
||
module.exports = config; |
Oops, something went wrong.