-
Notifications
You must be signed in to change notification settings - Fork 1
Refactor/2025 08 02 #99
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: develop
Are you sure you want to change the base?
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
reg-suit detected visual differences. Check this report, and review them.
How can I change the check status?If reviewers approve this PR, the reg context status will be green automatically. |
| "version": "0.1.0", | ||
| "private": true, | ||
| "description": "", | ||
| "type": "module", |
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.
以下のエラーが発生するようになったので対応
>>> Error: Must use import to load ES Module: /Users/huuya/Documents/git/trastocker/turbo/generators/config.ts
require() of ES modules is not supported.
require() of /Users/huuya/Documents/git/trastocker/turbo/generators/config.ts from /Users/huuya/.npm/_npx/111d46748c4e70c7/node_modules/node-plop/lib/node-plop.js is an ES module file as it is a .ts file whose nearest parent package.json contains "type": "module" which defines all .ts files in that package scope as ES modules.
Instead change the requiring code to use import(), or remove "type": "module" from /Users/huuya/Documents/git/trastocker/turbo/generators/package.json.
| "@huuyafwww/eslint-config-common": "^1.1.3", | ||
| "@huuyafwww/eslint-config-node": "^1.1.3", | ||
| "@huuyafwww/tsconfig-common": "^1.1.1", |
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.
template fileだがpnpm updateに追従して更新漏れが無いようにしたい
| stage_fixed: true | ||
| root: "apps/app-backend-server" | ||
|
|
||
|
|
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.
formatなのでeslintで縛りたい
|
|
||
| type PackageType = keyof typeof PACKAGE_TYPES; | ||
|
|
||
| export default function generator(plop: PlopTypes.NodePlopAPI): void { |
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.
eslintで縛りたい
No description provided.