Skip to content

Commit f70e284

Browse files
authored
chore: move migrate package to this repository (#274)
1 parent 3435754 commit f70e284

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+6639
-5
lines changed

.changeset/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
"access": "public",
88
"baseBranch": "main",
99
"updateInternalDependencies": "patch",
10-
"ignore": [ "!sv" ]
10+
"ignore": [ "!(sv|svelte-migrate)" ]
1111
}

.changeset/thin-eggs-judge.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'svelte-migrate': patch
3+
---
4+
5+
chore: update repository information

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@ Read the [SvelteKit documentation](https://svelte.dev/docs/kit) for more details
66

77
### Packages
88

9-
| Package | Changelog |
10-
| ------------------ | -------------------------------------- |
11-
| [sv](packages/cli) | [Changelog](packages/cli/CHANGELOG.md) |
9+
| Package | Changelog |
10+
| ---------------------------------- | ------------------------------------------ |
11+
| [sv](packages/cli) | [Changelog](packages/cli/CHANGELOG.md) |
12+
| [svelte-migrate](packages/migrate) | [Changelog](packages/migrate/CHANGELOG.md) |
1213

1314
## Contributing
1415

packages/migrate/CHANGELOG.md

Lines changed: 345 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,345 @@
1+
# svelte-migrate
2+
3+
## 1.6.8
4+
### Patch Changes
5+
6+
7+
- fix: prevent duplicate imports ([#12931](https://github.com/sveltejs/kit/pull/12931))
8+
9+
## 1.6.7
10+
### Patch Changes
11+
12+
13+
- fix: prefer TS in unclear migration situations if `tsconfig.json` found ([#12881](https://github.com/sveltejs/kit/pull/12881))
14+
15+
## 1.6.6
16+
### Patch Changes
17+
18+
19+
- docs: update URLs for new svelte.dev site ([#12857](https://github.com/sveltejs/kit/pull/12857))
20+
21+
## 1.6.5
22+
### Patch Changes
23+
24+
25+
- docs: demonstrate sv migrate over prior commands ([#12840](https://github.com/sveltejs/kit/pull/12840))
26+
27+
28+
- fix: bump enhanced-img version to avoid peer dep warning ([#12852](https://github.com/sveltejs/kit/pull/12852))
29+
30+
## 1.6.4
31+
### Patch Changes
32+
33+
34+
- fix: migrate `svelte` and `vite-plugin-svelte` to latest ([#12838](https://github.com/sveltejs/kit/pull/12838))
35+
36+
## 1.6.3
37+
### Patch Changes
38+
39+
40+
- chore: add `svelte-eslint-parser` to list of migratable dependencies ([#12828](https://github.com/sveltejs/kit/pull/12828))
41+
42+
## 1.6.2
43+
### Patch Changes
44+
45+
46+
- chore: upgrade to ts-morph 24 ([#12781](https://github.com/sveltejs/kit/pull/12781))
47+
48+
## 1.6.1
49+
### Patch Changes
50+
51+
52+
- chore: upgrade to ts-morph 23 ([#12607](https://github.com/sveltejs/kit/pull/12607))
53+
54+
## 1.6.0
55+
### Minor Changes
56+
57+
58+
- feat: pass filename to `migrate` to allow for `svelte:self` migration ([#12749](https://github.com/sveltejs/kit/pull/12749))
59+
60+
61+
### Patch Changes
62+
63+
64+
- fix: prompt SvelteKit 2 migration during Svelte 5 migration if necessary ([#12748](https://github.com/sveltejs/kit/pull/12748))
65+
66+
## 1.5.1
67+
### Patch Changes
68+
69+
70+
- fix: use `next` versions for `svelte` and `vite-plugin-svelte` ([#12729](https://github.com/sveltejs/kit/pull/12729))
71+
72+
## 1.5.0
73+
### Minor Changes
74+
75+
76+
- feat: add Svelte 5 migration ([#12519](https://github.com/sveltejs/kit/pull/12519))
77+
78+
## 1.4.5
79+
### Patch Changes
80+
81+
82+
- chore: configure provenance in a simpler manner ([#12570](https://github.com/sveltejs/kit/pull/12570))
83+
84+
## 1.4.4
85+
### Patch Changes
86+
87+
88+
- chore: package provenance ([#12567](https://github.com/sveltejs/kit/pull/12567))
89+
90+
## 1.4.3
91+
92+
### Patch Changes
93+
94+
- chore: add keywords for discovery in npm search ([#12330](https://github.com/sveltejs/kit/pull/12330))
95+
96+
## 1.4.2
97+
98+
### Patch Changes
99+
100+
- fix: bump import-meta-resolve to remove deprecation warnings ([#12240](https://github.com/sveltejs/kit/pull/12240))
101+
102+
## 1.4.1
103+
104+
### Patch Changes
105+
106+
- fix: continue traversing the children of non-self-closing elements ([#12175](https://github.com/sveltejs/kit/pull/12175))
107+
108+
## 1.4.0
109+
110+
### Minor Changes
111+
112+
- feat: add self-closing-tags migration ([#12128](https://github.com/sveltejs/kit/pull/12128))
113+
114+
## 1.3.8
115+
116+
### Patch Changes
117+
118+
- chore(deps): update dependency ts-morph to v22 ([`4447269e979f2b5be18e0fded0b5843a6258542d`](https://github.com/sveltejs/kit/commit/4447269e979f2b5be18e0fded0b5843a6258542d))
119+
120+
## 1.3.7
121+
122+
### Patch Changes
123+
124+
- fix: don't downgrade versions when bumping dependencies ([#11716](https://github.com/sveltejs/kit/pull/11716))
125+
126+
## 1.3.6
127+
128+
### Patch Changes
129+
130+
- fix: correct link to docs ([#11407](https://github.com/sveltejs/kit/pull/11407))
131+
132+
## 1.3.5
133+
134+
### Patch Changes
135+
136+
- chore: update primary branch from master to main ([`47779436c5f6c4d50011d0ef8b2709a07c0fec5d`](https://github.com/sveltejs/kit/commit/47779436c5f6c4d50011d0ef8b2709a07c0fec5d))
137+
138+
## 1.3.4
139+
140+
### Patch Changes
141+
142+
- suggest running migrate command with latest if migration does not exist ([#11362](https://github.com/sveltejs/kit/pull/11362))
143+
144+
## 1.3.3
145+
146+
### Patch Changes
147+
148+
- chore: insert package at sorted position ([#11332](https://github.com/sveltejs/kit/pull/11332))
149+
150+
- fix: adjust cookie migration logic, note installation ([#11331](https://github.com/sveltejs/kit/pull/11331))
151+
152+
## 1.3.2
153+
154+
### Patch Changes
155+
156+
- fix: handle jsconfig.json ([#11325](https://github.com/sveltejs/kit/pull/11325))
157+
158+
## 1.3.1
159+
160+
### Patch Changes
161+
162+
- chore: fix broken migration links ([#11320](https://github.com/sveltejs/kit/pull/11320))
163+
164+
## 1.3.0
165+
166+
### Minor Changes
167+
168+
- feat: add sveltekit v2 migration ([#11294](https://github.com/sveltejs/kit/pull/11294))
169+
170+
## 1.2.8
171+
172+
### Patch Changes
173+
174+
- chore(deps): update dependency ts-morph to v21 ([#11181](https://github.com/sveltejs/kit/pull/11181))
175+
176+
## 1.2.7
177+
178+
### Patch Changes
179+
180+
- chore(deps): update dependency ts-morph to v20 ([#10766](https://github.com/sveltejs/kit/pull/10766))
181+
182+
## 1.2.6
183+
184+
### Patch Changes
185+
186+
- fix: do not downgrade versions ([#10352](https://github.com/sveltejs/kit/pull/10352))
187+
188+
## 1.2.5
189+
190+
### Patch Changes
191+
192+
- fix: note old eslint plugin deprecation ([#10319](https://github.com/sveltejs/kit/pull/10319))
193+
194+
## 1.2.4
195+
196+
### Patch Changes
197+
198+
- fix: ensure glob finds all files in folders ([#10230](https://github.com/sveltejs/kit/pull/10230))
199+
200+
## 1.2.3
201+
202+
### Patch Changes
203+
204+
- fix: handle missing fields in migrate script ([#10221](https://github.com/sveltejs/kit/pull/10221))
205+
206+
## 1.2.2
207+
208+
### Patch Changes
209+
210+
- fix: finalize svelte-4 migration ([#10195](https://github.com/sveltejs/kit/pull/10195))
211+
212+
- fix: changed `index` to `index.d.ts` in `typesVersions` ([#10180](https://github.com/sveltejs/kit/pull/10180))
213+
214+
## 1.2.1
215+
216+
### Patch Changes
217+
218+
- docs: update readme ([#10066](https://github.com/sveltejs/kit/pull/10066))
219+
220+
## 1.2.0
221+
222+
### Minor Changes
223+
224+
- feat: add Svelte 4 migration ([#9729](https://github.com/sveltejs/kit/pull/9729))
225+
226+
## 1.1.3
227+
228+
### Patch Changes
229+
230+
- fix: include index in typesVersions because it's always matched ([#9147](https://github.com/sveltejs/kit/pull/9147))
231+
232+
## 1.1.2
233+
234+
### Patch Changes
235+
236+
- fix: update existing exports with prepended outdir ([#9133](https://github.com/sveltejs/kit/pull/9133))
237+
238+
- fix: use typesVersions to wire up deep imports ([#9133](https://github.com/sveltejs/kit/pull/9133))
239+
240+
## 1.1.1
241+
242+
### Patch Changes
243+
244+
- fix: include utils in migrate's published files ([#9085](https://github.com/sveltejs/kit/pull/9085))
245+
246+
## 1.1.0
247+
248+
### Minor Changes
249+
250+
- feat: add `@sveltejs/package` migration (v1->v2) ([#8922](https://github.com/sveltejs/kit/pull/8922))
251+
252+
## 1.0.1
253+
254+
### Patch Changes
255+
256+
- fix: correctly check for old load props ([#8537](https://github.com/sveltejs/kit/pull/8537))
257+
258+
## 1.0.0
259+
260+
### Major Changes
261+
262+
First major release, see below for the history of changes that lead up to this.
263+
Starting from now all releases follow semver and changes will be listed as Major/Minor/Patch
264+
265+
## 1.0.0-next.13
266+
267+
### Patch Changes
268+
269+
- fix: more robust uppercase migration ([#7033](https://github.com/sveltejs/kit/pull/7033))
270+
271+
## 1.0.0-next.12
272+
273+
### Patch Changes
274+
275+
- feat: do uppercase http verbs migration on the fly ([#6371](https://github.com/sveltejs/kit/pull/6371))
276+
277+
## 1.0.0-next.11
278+
279+
### Patch Changes
280+
281+
- fix: git mv files correctly when they contain \$ characters ([#6129](https://github.com/sveltejs/kit/pull/6129))
282+
283+
## 1.0.0-next.10
284+
285+
### Patch Changes
286+
287+
- Revert change to suggest props destructuring ([#6099](https://github.com/sveltejs/kit/pull/6099))
288+
289+
## 1.0.0-next.9
290+
291+
### Patch Changes
292+
293+
- Handle Error without message, handle status 200, handle missing body ([#6096](https://github.com/sveltejs/kit/pull/6096))
294+
295+
## 1.0.0-next.8
296+
297+
### Patch Changes
298+
299+
- Suggest props destructuring if possible ([#6069](https://github.com/sveltejs/kit/pull/6069))
300+
- Fix typo in migration task ([#6070](https://github.com/sveltejs/kit/pull/6070))
301+
302+
## 1.0.0-next.7
303+
304+
### Patch Changes
305+
306+
- Migrate type comments on arrow functions ([#5933](https://github.com/sveltejs/kit/pull/5933))
307+
- Use LayoutLoad inside +layout.js files ([#5931](https://github.com/sveltejs/kit/pull/5931))
308+
309+
## 1.0.0-next.6
310+
311+
### Patch Changes
312+
313+
- Create `.ts` files from `<script context="module" lang="ts">` ([#5905](https://github.com/sveltejs/kit/pull/5905))
314+
315+
## 1.0.0-next.5
316+
317+
### Patch Changes
318+
319+
- Rewrite type names ([#5778](https://github.com/sveltejs/kit/pull/5778))
320+
321+
## 1.0.0-next.4
322+
323+
### Patch Changes
324+
325+
- handle lone return statements ([#5831](https://github.com/sveltejs/kit/pull/5831))
326+
- Fix error placement on (arrow) function when checking load input ([#5840](https://github.com/sveltejs/kit/pull/5840))
327+
328+
## 1.0.0-next.3
329+
330+
### Patch Changes
331+
332+
- handle more import cases ([#5828](https://github.com/sveltejs/kit/pull/5828))
333+
- check load function input ([#5838](https://github.com/sveltejs/kit/pull/5838))
334+
335+
## 1.0.0-next.2
336+
337+
### Patch Changes
338+
339+
- Correctly rename files with spaces when migrating ([#5820](https://github.com/sveltejs/kit/pull/5820))
340+
341+
## 1.0.0-next.1
342+
343+
### Patch Changes
344+
345+
- Add a README ([#5817](https://github.com/sveltejs/kit/pull/5817))

0 commit comments

Comments
 (0)