Skip to content

Conversation

karlhorky
Copy link
Contributor

@karlhorky karlhorky commented Feb 6, 2024

Hey @lukeed 👋 hope you're well.

Quick PR to add a --ts option to ley new to add a .ts extension and use ESM in migrations:

$ ley new todos --ts
#=> migrations/004-todos.ts

$ cat migrations/004-todos.ts
#=> export async function up(client) {
#=> }
#=> 
#=> export async function down(client) {
#=> }

@codecov-commenter
Copy link

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (0cf486e) 48.82% compared to head (1105a67) 48.82%.

Files Patch % Lines
index.js 0.00% 2 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##           master      #38   +/-   ##
=======================================
  Coverage   48.82%   48.82%           
=======================================
  Files           2        2           
  Lines         213      213           
=======================================
  Hits          104      104           
  Misses        109      109           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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