Skip to content

chore: update script for prod seeding#257

Merged
cherylli merged 2 commits intodevfrom
chore/update-seed-script
Oct 6, 2025
Merged

chore: update script for prod seeding#257
cherylli merged 2 commits intodevfrom
chore/update-seed-script

Conversation

@cherylli
Copy link
Copy Markdown
Contributor

Description

ts-node doesn't work anymore. It cannot read imports with @/
Error: Cannot find module '@/global/auth/utils'

Replacing ts-node with tsx works

Issue link

Fixes # (issue)

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • Feature updates / changes
  • Tests
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Ran the script

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

@cherylli cherylli requested review from Ajen07 and timDeHof September 29, 2025 13:50
@cherylli cherylli self-assigned this Sep 29, 2025
Copy link
Copy Markdown
Contributor

@timDeHof timDeHof left a comment

Choose a reason for hiding this comment

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

Looks good! All the tests passed and was able to run the script after installing tsx

Comment thread package.json
@cherylli cherylli merged commit 61604d4 into dev Oct 6, 2025
1 check passed
@cherylli cherylli deleted the chore/update-seed-script branch October 6, 2025 08:35
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.

3 participants