Skip to content
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

ドキュメントの修正 #45

Merged
merged 1 commit into from
Jan 22, 2024
Merged

ドキュメントの修正 #45

merged 1 commit into from
Jan 22, 2024

Conversation

maekawataiki
Copy link
Contributor

  • デプロイコマンドのドキュメントの修正
  • cdk:watch コマンドの修正とドキュメントのアップデート

Copy link
Collaborator

@icoxfog417 icoxfog417 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ちょいと確認のコメントをしました!

環境を指定する際は、`-c` で `stage` を使用してください。

```bash
npm run cdk:watch -- -c stage=<stage>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

package.jsoin で cdk:watchnpm -w packages/cdk run cdk watch -- まで登録されていますが、その状態でも -- 必要そうでしょうか? (-c stage=<stage> だけでよいかなと)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ややこしいですが、
最初のコマンドにある --npm run ではなく package.json に登録されている scripts の cdk:watch に渡すための引数であること示しています。
scripts の cdk:watch にある --npm -w packages/cdk run ... の引数ではなく cdk watch に渡すための引数であることを示しています。
両方指定しないと最後の cdk watch に引数が渡されません。

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

了解しました!マージします。

Copy link
Collaborator

@icoxfog417 icoxfog417 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

マージします。

@icoxfog417 icoxfog417 merged commit c98b546 into main Jan 22, 2024
1 check passed
@icoxfog417 icoxfog417 deleted the issue-38/readme branch January 22, 2024 04:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants