Skip to content

Commit

Permalink
refactor: upgrade rollup
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Jul 16, 2024
1 parent 31b5fa4 commit 612613b
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 136 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"joycon": "^3.0.1",
"postcss-load-config": "^4.0.1",
"resolve-from": "^5.0.0",
"rollup": "^4.0.2",
"rollup": "^4.18.1",
"source-map": "0.8.0-beta.0",
"sucrase": "^3.35.0",
"tree-kill": "^1.2.2"
Expand Down
141 changes: 12 additions & 129 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions test/dts.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ test('should emit dts chunks per format', async () => {
'input2.d.ts',
'input2.js',
'input2.mjs',
'shared-qBqaX8Tr.d.mts',
'shared-qBqaX8Tr.d.ts',
'shared-jWa9aNVo.d.mts',
'shared-jWa9aNVo.d.ts',
])
})

Expand Down Expand Up @@ -192,8 +192,8 @@ test('should emit dts chunks per format (type: module)', async () => {
'input2.d.cts',
'input2.d.ts',
'input2.js',
'shared-qBqaX8Tr.d.cts',
'shared-qBqaX8Tr.d.ts',
'shared-jWa9aNVo.d.cts',
'shared-jWa9aNVo.d.ts',
])
})

Expand Down
4 changes: 2 additions & 2 deletions test/example.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { test } from 'vitest'
import { getTestName, run } from './utils'

test.concurrent('bundle vue and ts-essentials with --dts --dts-resolve flag', async () => {
test('bundle vue and ts-essentials with --dts --dts-resolve flag', async () => {
await run(
getTestName(),
{
Expand All @@ -15,7 +15,7 @@ test.concurrent('bundle vue and ts-essentials with --dts --dts-resolve flag', as
)
})

test.concurrent('bundle @egoist/path-parser with --dts --dts-resolve flag', async () => {
test('bundle @egoist/path-parser with --dts --dts-resolve flag', async () => {
await run(
getTestName(),
{
Expand Down

0 comments on commit 612613b

Please sign in to comment.