Skip to content

Conversation

@huuyafwww
Copy link
Owner

No description provided.

@vercel
Copy link

vercel bot commented Aug 1, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
trastocker Ready Ready Preview Comment Sep 19, 2025 11:16am

@reg-suit
Copy link

reg-suit bot commented Aug 1, 2025

reg-suit detected visual differences.

Check this report, and review them.

⚪ New
54
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",
Copy link
Owner Author

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.

Comment on lines -32 to -34
"@huuyafwww/eslint-config-common": "^1.1.3",
"@huuyafwww/eslint-config-node": "^1.1.3",
"@huuyafwww/tsconfig-common": "^1.1.1",
Copy link
Owner Author

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"


Copy link
Owner Author

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 {
Copy link
Owner Author

Choose a reason for hiding this comment

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

eslintで縛りたい

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.

2 participants