Skip to content

Commit cec1ed7

Browse files
committed
chore: fix ci
1 parent f0e79f4 commit cec1ed7

3 files changed

Lines changed: 8 additions & 13 deletions

File tree

example/sls.js

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,16 @@ on('disconnect', async (data, socket) => {
1616
return 'closed'
1717
})
1818

19-
2019
/**
2120
* Message
2221
*/
2322
on('message', async (data, socket) => {
2423
console.log('message', socket, data)
2524
console.log('sending to: ', socket.id)
26-
await socket.send(JSON.stringify({status: 'sending data', data: data || 'hello websocket'}), socket.id)
25+
await socket.send(
26+
JSON.stringify({ status: 'sending data', data: data || 'hello websocket' }),
27+
socket.id
28+
)
2729
})
2830

2931
/**
@@ -32,5 +34,8 @@ on('message', async (data, socket) => {
3234
on('default', async (data, socket) => {
3335
console.log('message', socket, data)
3436
console.log('sending to: ', socket.id)
35-
await socket.send(JSON.stringify({status: 'sending default data', data: data || 'hello websocket'}), socket.id)
37+
await socket.send(
38+
JSON.stringify({ status: 'sending default data', data: data || 'hello websocket' }),
39+
socket.id
40+
)
3641
})

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
"@semantic-release/changelog": "^5.0.0",
4343
"@semantic-release/commit-analyzer": "^8.0.1",
4444
"@semantic-release/git": "^9.0.0",
45-
"@semantic-release/npm": "^7.0.4",
4645
"@semantic-release/release-notes-generator": "^9.0.1",
4746
"@serverless/platform-client-china": "^2.0.7",
4847
"@ygkit/secure": "^0.0.3",

release.config.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
module.exports = {
22
verifyConditions: [
33
'@semantic-release/changelog',
4-
'@semantic-release/npm',
54
'@semantic-release/git',
65
'@semantic-release/github'
76
],
@@ -33,14 +32,6 @@ module.exports = {
3332
changelogFile: 'CHANGELOG.md'
3433
}
3534
],
36-
[
37-
'@semantic-release/npm',
38-
{
39-
pkgRoot: '.',
40-
npmPublish: false,
41-
tarballDir: false
42-
}
43-
],
4435
[
4536
'@semantic-release/git',
4637
{

0 commit comments

Comments
 (0)