Skip to content

Commit be64520

Browse files
authored
breaking: remove legacy package.json files (#8515)
1 parent f30faa7 commit be64520

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
## Unreleased (4.0)
44

55
* **breaking** Minimum supported Node version is now Node 14
6-
* **breaking** Minimum supported TypeScript version is now 5 (it will likely work with lower versions, but we make no guarantess about that)
6+
* **breaking** Minimum supported webpack version is now webpack 5
7+
* **breaking** Minimum supported TypeScript version is now TypeScript 5 (it will likely work with lower versions, but we make no guarantees about that)
78
* **breaking** Stricter types for `createEventDispatcher` (see PR for migration instructions) ([#7224](https://github.com/sveltejs/svelte/pull/7224))
89
* **breaking** Stricter types for `Action` and `ActionReturn` (see PR for migration instructions) ([#7224](https://github.com/sveltejs/svelte/pull/7224))
910
* **breaking** Stricter types for `onMount` - now throws a type error when returning a function asynchronously to catch potential mistakes around callback functions (see PR for migration instructions) ([#8136](https://github.com/sveltejs/svelte/pull/8136))

rollup.config.mjs

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -89,19 +89,6 @@ export default [
8989
}
9090
}
9191

92-
fs.writeFileSync(
93-
`${dir}/package.json`,
94-
JSON.stringify(
95-
{
96-
main: './index.js',
97-
module: './index.mjs',
98-
types: './index.d.ts',
99-
},
100-
null,
101-
' '
102-
)
103-
);
104-
10592
fs.writeFileSync(
10693
`${dir}/index.d.ts`,
10794
`export * from '../types/runtime/${dir}/index.js';`

0 commit comments

Comments
 (0)