Giter VIP home page Giter VIP logo

gatsby-ja's Issues

Bug: PullRequest時のlabelWhenCreatedがエラーにより落ちる

現在の動作

PR時に走るlabelWhenCreatedがエラーにより落ちる

##[error]Invalid value for parameter 'issue_number': {"owner":"gatsbyjs","repo":"gatsby-ja","number":87} is NaN
##[error]Node run failed with exit code 1

期待する動作

issue_numberにオブジェクトが渡されNaNとなっているので、Numberが渡され適切にlabelWhenCreatedが走ること

備考

エラー分から察するに、
https://github.com/gatsbyjs/gatsby-ja/blob/master/.github/workflows/label-when-created.yml
const issue_number = context.issue;const issue_number = context.issue.number;にすれば直るのかと思いますが、いかがでしょうか?
それで良ければPR書かせていただきます。よろしくお願いします:bow:

failed github actions because add-path command had disabled

Due to this information

https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/

add-path had disabled.

so need to change lint.yml

https://github.com/gatsbyjs/gatsby-ja/blob/master/.github/workflows/lint.yml#L46-L47

echo ::add-path::$HOME/bin
echo ::add-path::$(go env GOPATH)/bin # for Go projects

change to following

echo "$HOME/bin" >> $GITHUB_PATH
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH # for Go projects

Improve README

Improve README to show how to properly set up so that contributors can easily make a contribution

Eコマースのチュートリアルで英語版チュートリアルの指示通りにgatsby-config.jsを設定するとエラーが発生する

#89

概要

現在、eコマースのチュートリアルの翻訳を進めています。
Installing the StripeJS plugin
というセクションについてなのですが指示通りにgatsby-config.jsを設定するとエラーが発生します。
この場合はgatsby-config.jsをはどちらにすればいいでしょうか?

詳細

英語版チュートリアルのgatsby-config.js

module.exports = {
  siteMetadata: {
    title: "Gatsby E-Commerce Starter",
  },
  plugins: ["gatsby-plugin-react-helmet", "gatsby-plugin-stripe"],
}

この通りにgatsby-config.jsを設定してnpm run developを実行すると以下のエラーが発生します
image

しかし、このように設定すると動作します。

module.exports = {
  siteMetadata: {
    title: `Gatsby E-Commerce Starter`,
    description: `Kick off your next, great Gatsby project with this default starter. This barebones starter ships with the main Gatsby configuration files you might need.`,
    author: `@gatsbyjs`,
  },
  plugins: [
    `gatsby-plugin-react-helmet`,
    {
      resolve: `gatsby-source-filesystem`,
      options: {
        name: `images`,
        path: `${__dirname}/src/images`,
      },
    },
    `gatsby-transformer-sharp`,
    `gatsby-plugin-sharp`,
    {
      resolve: `gatsby-plugin-manifest`,
      options: {
        name: `gatsby-starter-default`,
        short_name: `starter`,
        start_url: `/`,
        background_color: `#663399`,
        theme_color: `#663399`,
        display: `minimal-ui`,
        icon: `src/images/gatsby-icon.png`, // This path is relative to the root of the site.
      },
    },
    `gatsby-plugin-stripe`
    // this (optional) plugin enables Progressive Web App + Offline functionality
    // To learn more, visit: https://gatsby.dev/offline
    // `gatsby-plugin-offline`,
  ],
}

image

資料

私のeコマースチュートリアルのレポジトリ
私の翻訳プロジェクトのプルリクエスト

☂️ Japanese Translation Progress (Core / Docs / Tutorials)

翻訳者へ

ページを翻訳するために:

  1. あなたが翻訳したいページについて、以下のチェックリストとコメント欄を見て、他の誰も翻訳することを宣言していないことを確認してください。
  2. この Issue に、翻訳したいページ名をコメントしてください。1 ページづつでお願いします
  3. gatsby-jaリポジトリを Clone して、該当するページを翻訳しましょう!
    1. 困ったら翻訳スタイルガイドに目を通してください。
    2. 翻訳した文章を音読してみましょう。明らかに不自然な表現を見つけやすくなります。
    3. 表現で迷ったら Discord で相談してみましょう!
  4. 翻訳と校正を終えたら、Pull Request を送りましょう!
    1. Allow edits from maintainerにチェックを入れるのを忘れずに。
    2. しばらく待ってもレビューが終わらなかったり、必要なレビュー数が足りない状態が続いた場合は、メンテナーの誰かに@を付けてメンションを飛ばしてください。

貢献する前に、Translation Guideを一読して、Gatsby の翻訳プロセスへの理解を深めてください。また、翻訳スタイルガイドにも目を通してください。

自分で宣言したページは早めに翻訳してください!:もし、時間の都合が取れなくなったり、進めなくなったりしたら、他の人に振れるようにするために、メンテナーの誰かにお知らせください。

その他わからないことがあれば、Gatsby Discord#translation-ja チャンネルで質問してください!

メンテナー

メンテナーへ

誰かがこの Issue に翻訳したいページをコメントしたら、その人の username をこの Issue の該当ページに追記してください。例:

- [ ] #1 Home Page (@gatsbybot)

以下の様なアイコンを入れると、状況が見やすいです。
🏃‍♂️ : In Progress

Pull Request が作られたら、#番号を追記してください。マージしたら、完了のチェックをつけましょう!

レビューは 2 approval 体制で行います。 レビュー数が足りない Issue を見つけたら、積極的にレビューを行ってください。

Core Pages(コアページ)

先に Core Pages の翻訳をお願いします。 Gatsby の公式ローカライゼーションとして承認されるには、これらのページの翻訳が必要となります。

Core Pages の翻訳は完了しました:tada:

Translated Core Pages

Community

Tutorial

Docs

翻訳済みのページ

翻訳済みのページを開く

Docs

Tutorials

  • #90 tutorial/theme-tutorials (@tkd708)
  • #89 tutorial/ecommerce-tutorial (@naoya7076)
  • #67 tutorial/using-a-theme (@YopiNoji)
  • #65 tutorial/using-multiple-themes-together (@kazu7o)
  • #51 tutorial/wordpress-image-tutorial (@2ur1)
  • #39 tutorial/blog-netlify-cms-tutorial (@yukisato)
  • #34 tutorial/authentication-tutorial (@hiramatsutaku)
  • #30 tutorial/additional-tutorials (@n-harada)
  • #126 tutorial/wordpress-source-plugin-tutorial (@yukisato)
  • #113 tutorial/writing-documentation-with-docz (@YopiNoji)
  • #216 tutorial/gatsby-image-tutorial (@YouheiNozaki)

翻訳中のページ

Docs

  • 🏃 docs/recipes/pages-layouts (@dowdiness) 1/15
  • 🏃 docs/using-graphql-fragments (@uenitty) 1/15
  • 🏃 docs/winning-over-engineering-leaders (@r-kgy) 1/16
  • 🏃 docs/winning-over-marketers (@Takumon) 1/16
  • 🏃 docs/scaling-issues (@sottar) 1/17
  • 🏃 docs/theme-ui (@yahooshiken) 1/17
  • 🏃 docs/winning-over-executives (@Linus-MK) 1/18
  • 🏃 docs/schema-input-gql (@toshi1127) 1/20
  • 🏃 docs/sourcing-from-netlify-cms (@YopiNoji) 1/22
  • 🏃 docs/add-custom-webpack-config (@hoshikitsunoda) 1/29
  • 🏃 docs/mdx/getting-started (@kkrnme) 2020-01-30
  • 🏃 docs/caching (@yukapomeranian) 2020-01-31
  • 🏃 docs/css-modules (@mqtsuo02) 2020-02-12
  • 🏃 docs/gatsby-on-windows (@osamumu21) 2020-02-12
  • 🏃 docs/ssr-apis (@grgr-dkrk)
  • 🏃‍♀️ docs/gatsby-config (@gentksb)
  • 🏃‍♀️ docs/gatsby-lifecycle-apis (@kenmikanmi)
  • #259 docs/themes/theme-composition (@tacrew)
  • #260 docs/debugging (@70-10)
  • #270 docs/debugging-cache-issues (@70-10)
  • 🏃‍♀️ docs/images-and-files (@akthrms)
  • docs/recipes/querying-data (@tacrew)
  • docs/linking-between-pages (@gentksb)
  • docs/configuring-ca-certificates (@dragoneena12)
  • docs/tailwind-css (@miily8310s)
  • #275 docs/local-https (@koji)
  • #278 docs/guides (@70-10)

Tutorials

  • 🏃 tutorial/seo-and-social-sharing-cards-tutorial (@newt0)
  • 🏃 tutorial/building-a-theme (@sakito21) 1/15
  • 🏃 tutorial/prismic-source-graphql-tutorial (@hirotaka) 2/26

未翻訳のページ

Docs

  • docs/themes/shadowing
  • docs/adding-app-and-website-functionality
  • docs/adding-page-transitions
  • docs/adding-search-with-elasticlunr
  • docs/adding-search-with-js-search
  • docs/api-files-gatsby-config
  • docs/api-proxy
  • docs/api-reference
  • docs/api-specification
  • docs/asset-prefix
  • docs/awesome-gatsby-resources
  • docs/babel-plugin-macros
  • docs/browser-apis
  • docs/build-caching
  • #279 docs/building-a-blog (@koji)
  • docs/building-a-portfolio
  • docs/building-a-site-with-asynchronous-data
  • docs/building-a-site-with-authentication (@YouheiNozaki)
  • docs/building-an-e-commerce-site
  • docs/building-an-ecommerce-site-with-shopify
  • docs/building-an-image-heavy-site
  • docs/building-with-components
  • docs/client-only-routes-and-user-authentication
  • docs/coming-from-react-to-gatsby
  • docs/component-libraries
  • docs/conceptual-guide
  • docs/content-and-data
  • docs/convincing-others
  • docs/creating-a-source-plugin
  • docs/creating-a-starter
  • docs/creating-a-transformer-plugin
  • docs/creating-and-modifying-pages
  • docs/creating-dynamic-navigation
  • docs/creating-plugins
  • docs/creating-prefixed-404-pages-for-different-languages
  • docs/customization
  • docs/data-fetching
  • docs/data-storage-redux
  • docs/debugging-async-lifecycles
  • docs/debugging-html-builds
  • docs/debugging-replace-renderer-api
  • docs/debugging-the-build-process
  • docs/deploying-to-aerobatic
  • docs/deploying-to-gitlab-pages
  • docs/deploying-to-iis
  • docs/deploying-to-kintohub
  • docs/deploying-to-render
  • docs/deploying-to-surge
  • docs/different-organization-types
  • docs/end-to-end-testing
  • docs/environment-variables
  • docs/faster-recruiting
  • docs/files-gatsby-looks-for-in-a-plugin
  • docs/first-professional-project
  • docs/gatsby-agency-partnership
  • docs/gatsby-core-philosophy
  • docs/gatsby-for-agencies
  • docs/gatsby-for-companies
  • docs/gatsby-for-freelancers
  • docs/gatsby-in-the-enterprise
  • docs/gatsby-internals
  • docs/gatsby-internals-terminology
  • docs/gatsby-link
  • docs/gatsby-magic
  • docs/gatsby-on-linux
  • docs/gatsby-repl
  • docs/gatsby-source-filesystem-programmatic-import
  • docs/gatsby-vendor-partnership
  • docs/glossary/headless-cms
  • docs/glossary/headless-wordpress
  • docs/glossary/static-site-generator
  • docs/going-gatsby-only
  • docs/graphql-reference
  • #302 docs/headless-cms (@laprn)
  • docs/how-code-splitting-works
  • docs/how-gatsby-boosts-career
  • docs/how-gatsby-works-with-github-pages
  • docs/how-plugins-apis-are-run
  • docs/how-shadowing-worksx
  • docs/how-to-add-a-list-of-markdown-blog-posts
  • docs/html-generation
  • docs/importing-assets-into-files
  • docs/importing-media-content
  • docs/interactive-pages
  • docs/internal-data-bridge
  • docs/layout-components
  • docs/loading-plugins-from-your-local-plugins-folder
  • docs/location-data-from-props
  • docs/lower-bids-more-profit
  • docs/maintaining-a-plugin
  • docs/making-components-discoverable
  • docs/mdx/plugins
  • docs/mdx/programmatically-creating-pages
  • docs/mdx/writing-pages
  • docs/migrating-from-v0-to-v1
  • docs/migrating-from-v1-to-v2
  • docs/modifying-a-starter
  • docs/multi-core-builds
  • docs/naming-a-plugin
  • docs/node-api-helpers
  • docs/node-apis
  • docs/node-creation
  • docs/node-interface
  • docs/node-model
  • docs/node-tracking
  • docs/optimizing-site-performance-with-guessjs
  • docs/overview
  • docs/overview-of-the-gatsby-build-process
  • docs/page-creation
  • docs/page-node-dependencies
  • docs/page-query
  • docs/partnering-with-gatsby
  • docs/performance-tracing
  • docs/pixabay-source-plugin-tutorial
  • docs/plugins
  • docs/plugins-themes-and-starters
  • docs/porting-an-html-site-to-gatsby
  • docs/porting-from-create-react-app-to-gatsby
  • docs/porting-to-gatsby
  • docs/preoptimizing-images
  • docs/preparing-for-site-launch
  • docs/preparing-your-environment
  • docs/preprocessing-external-images
  • docs/processing-payments-with-stripe.
  • docs/production-app
  • docs/programmatically-create-pages-from-data
  • docs/progressive-web-app
  • docs/prpl-pattern
  • docs/query-behind-the-scenes
  • docs/query-execution
  • docs/query-extraction
  • docs/reach-router-and-gatsby
  • docs/react-hydration
  • docs/remark-plugin-tutorial
  • docs/resource-handling-and-service-workers
  • docs/schema-connections
  • docs/schema-customization
  • docs/schema-generation
  • docs/schema-gql-type
  • docs/schema-sift
  • docs/sourcing-from-agilitycms
  • docs/sourcing-from-buttercms
  • docs/sourcing-from-contentful
  • docs/sourcing-from-contentstack
  • docs/sourcing-from-drupal
  • docs/sourcing-from-forestry
  • docs/sourcing-from-gentics-mesh
  • docs/sourcing-from-ghost
  • docs/sourcing-from-kentico-kontent
  • docs/sourcing-from-prismic
  • docs/sourcing-from-prose
  • docs/sourcing-from-sanity
  • docs/sourcing-from-seams-cms
  • docs/sourcing-from-wordpress
  • docs/winning-over-content-creators
  • docs/write-pages

Translate updated contents

#193 で英語の原文が更新されたものが Master にマージされました。
原文の変更によって、和訳されていた以下の Document に英文がすこし追加されたので、その部分の和訳をお願いしたいです。

  • transforming-data
  • visual-testing-with-storybook

☂️ Japanese Translation Progress (Contributing)

Contributing下のファイルの翻訳 Issue です。

翻訳者へ

ページを翻訳するために:

  1. あなたが翻訳したいページについて、以下のチェックリストとコメント欄を見て、他の誰も翻訳することを宣言していないことを確認してください。
  2. この Issue に、翻訳したいページ名をコメントしてください。1 ページづつでお願いします
  3. gatsby-jaリポジトリを Clone して、該当するページを翻訳しましょう!
    1. 困ったら翻訳スタイルガイドに目を通してください。
    2. 翻訳した文章を音読してみましょう。明らかに不自然な表現を見つけやすくなります。
    3. 表現で迷ったら Discord で相談してみましょう!
  4. 翻訳と校正を終えたら、Pull Request を送りましょう!
    1. Allow edits from maintainerにチェックを入れるのを忘れずに。
    2. しばらく待ってもレビューが終わらなかったり、必要なレビュー数が足りない状態が続いた場合は、メンテナーの誰かに@を付けてメンションを飛ばしてください。

貢献する前に、Translation Guideを一読して、Gatsby の翻訳プロセスへの理解を深めてください。また、翻訳スタイルガイドにも目を通してください。

自分で宣言したページは早めに翻訳してください!:もし、時間の都合が取れなくなったり、進めなくなったりしたら、他の人に振れるようにするために、メンテナーの誰かにお知らせください。

その他わからないことがあれば、Gatsby Discord#translation-ja チャンネルで質問してください!

メンテナー

翻訳済みページ

翻訳中のページ

  • 🏃 contributing/blog-and-website-contributions (@moksahero) 2020-01-25
  • 🏃 contributing/code-contributions (@codyNog) 2020-01-26
  • contributing/where-to-participate (@konekato)
  • 🏃 contributing/setting-up-your-local-dev-environment (@mottox2)
  • 🏃‍♀️ contributing/submit-to-starter-library (@akthrms)
  • 🏃 contributing/index (@shirarin)

未翻訳ページ

  • contributing/code-of-conduct
  • contributing/docs-and-website-components
  • contributing/docs-contributions
  • contributing/docs-templates
  • contributing/gatsby-governance-model
  • contributing/gatsby-style-guide
  • contributing/how-to-make-a-reproducible-test-case
  • contributing/how-to-pitch-gatsby
  • contributing/how-to-run-a-gatsby-workshop
  • contributing/how-to-write-a-stub
  • contributing/managing-pull-requests
  • contributing/organize-a-gatsby-event
  • contributing/pair-programming
  • contributing/rfc-process
  • contributing/site-showcase-submissions
  • contributing/submit-to-creator-showcase
  • contributing/triaging-github-issues/index
  • contributing/using-an-online-dev-environment
  • contributing/how-to-file-an-issue

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.