-
Notifications
You must be signed in to change notification settings - Fork 82
chore: use rollup #311
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Tecvan-fe
wants to merge
2
commits into
main
Choose a base branch
from
chore/use-rollup
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
chore: use rollup #311
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -173,3 +173,5 @@ examples/coze-js-node/src/config/config.ts | |
| packages/chat-sdk/.env.development | ||
|
|
||
| /tmp | ||
|
|
||
| .rollup-cache | ||
11 changes: 11 additions & 0 deletions
11
common/changes/@coze/api/chore-use-rollup_2025-10-30-07-24.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| { | ||
| "changes": [ | ||
| { | ||
| "packageName": "@coze/api", | ||
| "comment": "upgrade rslib version", | ||
| "type": "patch" | ||
| } | ||
| ], | ||
| "packageName": "@coze/api", | ||
| "email": "[email protected]" | ||
| } |
11 changes: 11 additions & 0 deletions
11
common/changes/@coze/api/chore-use-rollup_2025-10-30-07-25.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| { | ||
| "changes": [ | ||
| { | ||
| "packageName": "@coze/api", | ||
| "comment": "update version", | ||
| "type": "patch" | ||
| } | ||
| ], | ||
| "packageName": "@coze/api", | ||
| "email": "[email protected]" | ||
| } |
11 changes: 11 additions & 0 deletions
11
common/changes/@coze/api/chore-use-rollup_2025-10-30-08-17.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| { | ||
| "changes": [ | ||
| { | ||
| "packageName": "@coze/api", | ||
| "comment": "reset", | ||
| "type": "patch" | ||
| } | ||
| ], | ||
| "packageName": "@coze/api", | ||
| "email": "[email protected]" | ||
| } | ||
11 changes: 11 additions & 0 deletions
11
common/changes/@coze/api/chore-use-rollup_2025-10-30-08-44.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| { | ||
| "changes": [ | ||
| { | ||
| "packageName": "@coze/api", | ||
| "comment": "fix build error", | ||
| "type": "patch" | ||
| } | ||
| ], | ||
| "packageName": "@coze/api", | ||
| "email": "[email protected]" | ||
| } |
11 changes: 11 additions & 0 deletions
11
common/changes/@coze/api/chore-use-rollup_2025-11-03-03-12.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| { | ||
| "changes": [ | ||
| { | ||
| "packageName": "@coze/api", | ||
| "comment": "fix build warning", | ||
| "type": "patch" | ||
| } | ||
| ], | ||
| "packageName": "@coze/api", | ||
| "email": "[email protected]" | ||
| } |
11 changes: 11 additions & 0 deletions
11
common/changes/@coze/realtime-api/chore-use-rollup_2025-10-30-07-24.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| { | ||
| "changes": [ | ||
| { | ||
| "packageName": "@coze/realtime-api", | ||
| "comment": "upgrade rslib version", | ||
| "type": "patch" | ||
| } | ||
| ], | ||
| "packageName": "@coze/realtime-api", | ||
| "email": "[email protected]" | ||
| } |
11 changes: 11 additions & 0 deletions
11
common/changes/@coze/realtime-api/chore-use-rollup_2025-10-30-08-44.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| { | ||
| "changes": [ | ||
| { | ||
| "packageName": "@coze/realtime-api", | ||
| "comment": "fix build error", | ||
| "type": "patch" | ||
| } | ||
| ], | ||
| "packageName": "@coze/realtime-api", | ||
| "email": "[email protected]" | ||
| } |
2,799 changes: 1,757 additions & 1,042 deletions
2,799
common/config/subspaces/default/pnpm-lock.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -23,7 +23,8 @@ | |
| "author": "Leeight <[email protected]>", | ||
| "exports": { | ||
| ".": "./src/index.ts", | ||
| "./ws-tools": "./src/ws-tools/index.ts" | ||
| "./ws-tools": "./src/ws-tools/index.ts", | ||
| "./speech": "./src/ws-tools/speech/index.ts" | ||
| }, | ||
| "main": "src/index.ts", | ||
| "unpkg": "dist/umd/index.js", | ||
|
|
@@ -41,7 +42,10 @@ | |
| "dist/types/index.d.ts" | ||
| ], | ||
| "ws-tools": [ | ||
| "dist/types/ws-tools/ws-tools/index.d.ts" | ||
| "dist/types/ws-tools/index.d.ts" | ||
| ], | ||
| "speech": [ | ||
| "dist/types/ws-tools/speech/index.d.ts" | ||
| ] | ||
Tecvan-fe marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| } | ||
| }, | ||
|
|
@@ -55,7 +59,8 @@ | |
| "build": "rslib build", | ||
| "format": "prettier --write .", | ||
| "lint": "eslint ./ --cache --quiet", | ||
| "start": "rslib build -w", | ||
| "start": "rollup -c -w", | ||
| "start:rslib": "rslib build -w", | ||
| "test": "vitest", | ||
| "test:cov": "vitest --coverage --run" | ||
| }, | ||
|
|
@@ -74,7 +79,12 @@ | |
| "@coze-infra/eslint-config": "workspace:*", | ||
| "@coze-infra/ts-config": "workspace:*", | ||
| "@coze-infra/vitest-config": "workspace:*", | ||
| "@rslib/core": "0.0.18", | ||
| "@rollup/plugin-commonjs": "^28.0.2", | ||
| "@rollup/plugin-json": "^6.1.0", | ||
| "@rollup/plugin-node-resolve": "^15.3.0", | ||
| "@rollup/plugin-replace": "^6.0.2", | ||
| "@rollup/plugin-typescript": "^12.1.2", | ||
| "@rslib/core": "^0.16.0", | ||
| "@swc/core": "^1.3.14", | ||
| "@types/jsonwebtoken": "^9.0.0", | ||
| "@types/node": "^20", | ||
|
|
@@ -84,6 +94,10 @@ | |
| "@types/ws": "^8.5.1", | ||
| "@vitest/coverage-v8": "~2.1.9", | ||
| "axios": "^1.7.7", | ||
| "rollup": "^4.31.0", | ||
| "rollup-plugin-dts": "^6.1.1", | ||
| "rollup-plugin-node-externals": "^7.1.3", | ||
| "tslib": "^2.8.1", | ||
| "typescript": "^5.5.3", | ||
| "vitest": "~2.1.9" | ||
| }, | ||
|
|
@@ -104,7 +118,12 @@ | |
| "./ws-tools": { | ||
| "require": "./dist/cjs/ws-tools/index.js", | ||
| "import": "./dist/esm/ws-tools/index.mjs", | ||
| "types": "./dist/types/ws-tools/ws-tools/index.d.ts" | ||
| "types": "./dist/types/ws-tools/index.d.ts" | ||
| }, | ||
| "./speech": { | ||
| "require": "./dist/cjs/ws-tools/speech/index.js", | ||
| "import": "./dist/esm/ws-tools/speech/index.mjs", | ||
| "types": "./dist/types/ws-tools/speech/index.d.ts" | ||
| } | ||
| }, | ||
| "main": "dist/cjs/index.js", | ||
|
|
||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changelog comment "reset" is too vague.
Changelog entries should clearly communicate what changed to users. The comment "reset" provides no context about the impact of this patch-level change. Consider updating it to reflect the actual changes, e.g., "Build tooling migration from rslib to Rollup" or similar.
🤖 Prompt for AI Agents