Skip to content

Commit 436ae4b

Browse files
chore(deps): update swc monorepo (#6682)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: caohuilin <[email protected]>
1 parent ac8c3ae commit 436ae4b

File tree

6 files changed

+915
-411
lines changed

6 files changed

+915
-411
lines changed

.github/workflows/release-nightly.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Release Nightly
22

33
on:
44
workflow_dispatch:
5-
schedule:
6-
# 01:00 AM Beijing Time.
7-
- cron: "0 17 * * *"
5+
# schedule:
6+
# # 01:00 AM Beijing Time.
7+
# - cron: "0 17 * * *"
88

99
permissions:
1010
id-token: write

packages/server/bff-core/tests/client/__snapshots__/generateClient.test.ts.snap

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
exports[`client generateClient should support operator 1`] = `
44
"import { createRequest } from '@modern-js/create-request';
55
6-
export default createRequest('/normal/origin', 'GET', 3000, 'functionName' );
7-
export var DELETE = createRequest('/normal/origin', 'DELETE', 3000, 'functionName' );
6+
export var DELETE = createRequest('/normal/origin', 'DELETE', 3000, 'functionName' );
7+
export default createRequest('/normal/origin', 'GET', 3000, 'functionName' );
88
export var putRepo = createRequest('/put-repo', 'PUT', 3000, 'functionName' );
99
"
1010
`;

packages/server/bff-core/tests/router.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ describe('test api router', () => {
100100
const handlerInfos = await apiRouter.getSingleModuleHandlers(apiFile);
101101
const methods = handlerInfos?.map(handlerInfo => handlerInfo.httpMethod);
102102
expect(methods?.length).toBe(3);
103-
expect(methods).toEqual(['GET', 'DELETE', 'PUT']);
103+
expect(methods).toEqual(['DELETE', 'GET', 'PUT']);
104104
});
105105

106106
test('getAllAPIFiles', () => {

0 commit comments

Comments
 (0)