Skip to content

Commit

Permalink
fix: published files for svelte-migrate (#9085)
Browse files Browse the repository at this point in the history
* include utils in published files

* changeset

* ignore tests

* ignore samples
  • Loading branch information
gtm-nayan authored Feb 17, 2023
1 parent 2ab2020 commit 6993234
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/fast-mugs-cover.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'svelte-migrate': patch
---

fix: include utils in migrate's published files
5 changes: 4 additions & 1 deletion packages/migrate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@
},
"files": [
"bin.js",
"migrations"
"migrations",
"utils.js",
"!migrations/**/*.spec.js",
"!migrations/**/samples.md"
],
"dependencies": {
"kleur": "^4.1.5",
Expand Down
4 changes: 2 additions & 2 deletions packages/migrate/utils.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import fs from 'fs';
import path from 'path';
import fs from 'node:fs';
import path from 'node:path';
import colors from 'kleur';
import ts from 'typescript';
import MagicString from 'magic-string';
Expand Down

0 comments on commit 6993234

Please sign in to comment.