Skip to content

Commit 045b95f

Browse files
fengmk2claude
andcommitted
fix(core): fix lib export path and add babel dependencies
- Change ./lib export from index.mjs to index.js (matches actual file) - Add @babel/generator, @babel/parser, @babel/types as dependencies (required at runtime by rolldown-plugin-dts bundled in tsdown) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 252c8b6 commit 045b95f

4 files changed

Lines changed: 17 additions & 5 deletions

File tree

.github/workflows/e2e-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ on:
77
push:
88
branches:
99
- main
10-
# For testing the e2e test workflow, will be deleted after testing
11-
- 12-22-test_e2e_add_vite_migration_e2e
1210
paths-ignore:
1311
- '**/*.md'
1412

@@ -61,7 +59,7 @@ jobs:
6159
command: |
6260
vite install --no-frozen-lockfile
6361
vite run -r build
64-
vite run lint || true
62+
vite run lint
6563
vite run -r typecheck
6664
vite run format
6765
vite run @rollipop/common#test
@@ -115,6 +113,8 @@ jobs:
115113
- name: Install vite-plus from tgz in ${{ matrix.project.name }}
116114
working-directory: ecosystem-ci/${{ matrix.project.name }}
117115
run: |
116+
# avoid the vite migration using the wrong ignore file
117+
rm -f ../.gitignore
118118
node ../patch-project.ts ${{ matrix.project.name }}
119119
if [ -n "${{ matrix.project.skip-install }}" ]; then
120120
exit 0

ecosystem-ci/repo.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
"rollipop": {
1313
"repository": "https://github.com/leegeunhyeok/rollipop.git",
1414
"branch": "main",
15-
"hash": "37095bfa36fa4c8bdf5e48f050aff39b3ffe8cc1"
15+
"hash": "9beb8dd8fb70ef298b3a18703a831d6d4d3c01a1"
1616
}
1717
}

packages/core/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"types": "./dist/pluginutils/index.d.ts"
5050
},
5151
"./lib": {
52-
"default": "./dist/tsdown/index.mjs",
52+
"default": "./dist/tsdown/index.js",
5353
"types": "./dist/tsdown/index-types.d.ts"
5454
},
5555
"./types/*": {
@@ -82,6 +82,9 @@
8282
"dist"
8383
],
8484
"dependencies": {
85+
"@babel/generator": "^7.28.5",
86+
"@babel/parser": "^7.28.5",
87+
"@babel/types": "^7.28.5",
8588
"@oxc-project/runtime": "catalog:",
8689
"lightningcss": "^1.30.2",
8790
"postcss": "^8.5.6",

pnpm-lock.yaml

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)