Compare commits
No commits in common. "master" and "v0.0.4" have entirely different histories.
18
.github/eslint-compact.json
vendored
Normal file
18
.github/eslint-compact.json
vendored
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
{
|
||||||
|
"problemMatcher": [
|
||||||
|
{
|
||||||
|
"owner": "eslint-compact",
|
||||||
|
"pattern": [
|
||||||
|
{
|
||||||
|
"regexp": "^(.+):\\sline\\s(\\d+),\\scol\\s(\\d+),\\s(Error|Warning|Info)\\s-\\s(.+)\\s\\((.+)\\)$",
|
||||||
|
"file": 1,
|
||||||
|
"line": 2,
|
||||||
|
"column": 3,
|
||||||
|
"severity": 4,
|
||||||
|
"message": 5,
|
||||||
|
"code": 6
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
22
.github/eslint-stylish.json
vendored
Normal file
22
.github/eslint-stylish.json
vendored
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
{
|
||||||
|
"problemMatcher": [
|
||||||
|
{
|
||||||
|
"owner": "eslint-stylish",
|
||||||
|
"pattern": [
|
||||||
|
{
|
||||||
|
"regexp": "^([^\\s].*)$",
|
||||||
|
"file": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"regexp": "^\\s+(\\d+):(\\d+)\\s+(error|warning|info)\\s+(.*)\\s\\s+(.*)$",
|
||||||
|
"line": 1,
|
||||||
|
"column": 2,
|
||||||
|
"severity": 3,
|
||||||
|
"message": 4,
|
||||||
|
"code": 5,
|
||||||
|
"loop": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
17
.github/tsc.json
vendored
Normal file
17
.github/tsc.json
vendored
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
"problemMatcher": [
|
||||||
|
{
|
||||||
|
"owner": "tsc",
|
||||||
|
"pattern": [
|
||||||
|
{
|
||||||
|
"regexp": "^(?:\\s+\\d+\\>)?([^\\s].*)\\((\\d+|\\d+,\\d+|\\d+,\\d+,\\d+,\\d+)\\)\\s*:\\s+(error|warning|info)\\s+(\\w{1,2}\\d+)\\s*:\\s*(.*)$",
|
||||||
|
"file": 1,
|
||||||
|
"location": 2,
|
||||||
|
"severity": 3,
|
||||||
|
"code": 4,
|
||||||
|
"message": 5
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
13
.github/workflows/eslint.yml
vendored
Normal file
13
.github/workflows/eslint.yml
vendored
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
name: Linter
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
eslint:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: actions/setup-node@v2-beta
|
||||||
|
with:
|
||||||
|
node-version: '12'
|
||||||
|
- run: npm ci
|
||||||
|
- run: ./node_modules/.bin/eslint -c ./.eslintrc.json -f compact *.js
|
||||||
@ -64,16 +64,12 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Send message to test channel
|
- name: Send message to test channel
|
||||||
id: matrix-chat-message
|
id: matrix-chat-message
|
||||||
uses: fadenb/matrix-chat-message@v0.0.6
|
uses: fadenb/matrix-chat-message@v0.0.2
|
||||||
with:
|
with:
|
||||||
homeserver: 'matrix.org'
|
homeserver: 'matrix.org'
|
||||||
token: ${{ secrets.MATRIX_TOKEN }}
|
token: ${{ secrets.MATRIX_TOKEN }}
|
||||||
channel: '<INSERT YOUR ROOM ID HERE>'
|
channel: '<INSERT YOUR ROOM ID HERE>'
|
||||||
message: |
|
message: 'This is an example message. It even supports the use of variables like ${{ github.sha }}'
|
||||||
This is an *example message* using **markdown** for formatting.\
|
|
||||||
Use a `\` character at the end of a line to cause a linebreak (the whole message is treated as markdown).\
|
|
||||||
You can use variables like ${{ github.sha }} anywhere.
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
* Replace matrix.org with the address of your server.
|
* Replace matrix.org with the address of your server.
|
||||||
|
|||||||
@ -17,10 +17,9 @@ inputs:
|
|||||||
message:
|
message:
|
||||||
description: 'The message you want to send'
|
description: 'The message you want to send'
|
||||||
required: true
|
required: true
|
||||||
status:
|
messagetype:
|
||||||
description: "Job status. Should be bound to job.status. Default to success."
|
description: 'Type of Matrix message (e.g. `m.text` or `m.notice`)'
|
||||||
required: false
|
default: 'm.notice'
|
||||||
default: ${{ job.status }}
|
|
||||||
runs:
|
runs:
|
||||||
using: 'node12'
|
using: 'node12'
|
||||||
main: 'dist/index.js'
|
main: 'dist/index.js'
|
||||||
|
|||||||
286173
dist/index.js
vendored
286173
dist/index.js
vendored
File diff suppressed because one or more lines are too long
140
dist/licenses.txt
vendored
140
dist/licenses.txt
vendored
@ -624,21 +624,6 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
SOFTWARE.
|
SOFTWARE.
|
||||||
|
|
||||||
entities
|
|
||||||
BSD-2-Clause
|
|
||||||
Copyright (c) Felix Böhm
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
|
||||||
|
|
||||||
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
|
||||||
|
|
||||||
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
|
||||||
|
|
||||||
THIS IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS,
|
|
||||||
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
|
|
||||||
|
|
||||||
extend
|
extend
|
||||||
MIT
|
MIT
|
||||||
The MIT License (MIT)
|
The MIT License (MIT)
|
||||||
@ -1022,32 +1007,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|||||||
THE SOFTWARE
|
THE SOFTWARE
|
||||||
|
|
||||||
|
|
||||||
linkify-it
|
|
||||||
MIT
|
|
||||||
Copyright (c) 2015 Vitaly Puzrin.
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person
|
|
||||||
obtaining a copy of this software and associated documentation
|
|
||||||
files (the "Software"), to deal in the Software without
|
|
||||||
restriction, including without limitation the rights to use,
|
|
||||||
copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the
|
|
||||||
Software is furnished to do so, subject to the following
|
|
||||||
conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be
|
|
||||||
included in all copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|
||||||
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
||||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|
||||||
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
||||||
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
||||||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
||||||
OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
|
|
||||||
|
|
||||||
loglevel
|
loglevel
|
||||||
MIT
|
MIT
|
||||||
Copyright (c) 2013 Tim Perry
|
Copyright (c) 2013 Tim Perry
|
||||||
@ -1074,32 +1033,6 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|||||||
OTHER DEALINGS IN THE SOFTWARE.
|
OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
|
|
||||||
markdown-it
|
|
||||||
MIT
|
|
||||||
Copyright (c) 2014 Vitaly Puzrin, Alex Kocharin.
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person
|
|
||||||
obtaining a copy of this software and associated documentation
|
|
||||||
files (the "Software"), to deal in the Software without
|
|
||||||
restriction, including without limitation the rights to use,
|
|
||||||
copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the
|
|
||||||
Software is furnished to do so, subject to the following
|
|
||||||
conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be
|
|
||||||
included in all copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|
||||||
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
||||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|
||||||
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
||||||
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
||||||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
||||||
OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
|
|
||||||
|
|
||||||
matrix-js-sdk
|
matrix-js-sdk
|
||||||
Apache-2.0
|
Apache-2.0
|
||||||
|
|
||||||
@ -1281,55 +1214,6 @@ Apache-2.0
|
|||||||
END OF TERMS AND CONDITIONS
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
|
||||||
mdurl
|
|
||||||
MIT
|
|
||||||
Copyright (c) 2015 Vitaly Puzrin, Alex Kocharin.
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person
|
|
||||||
obtaining a copy of this software and associated documentation
|
|
||||||
files (the "Software"), to deal in the Software without
|
|
||||||
restriction, including without limitation the rights to use,
|
|
||||||
copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the
|
|
||||||
Software is furnished to do so, subject to the following
|
|
||||||
conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be
|
|
||||||
included in all copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|
||||||
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
||||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|
||||||
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
||||||
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
||||||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
||||||
OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
.parse() is based on Joyent's node.js `url` code:
|
|
||||||
|
|
||||||
Copyright Joyent, Inc. and other Node contributors. All rights reserved.
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to
|
|
||||||
deal in the Software without restriction, including without limitation the
|
|
||||||
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
||||||
sell copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in
|
|
||||||
all copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
||||||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|
||||||
IN THE SOFTWARE.
|
|
||||||
|
|
||||||
|
|
||||||
mime-db
|
mime-db
|
||||||
MIT
|
MIT
|
||||||
|
|
||||||
@ -1728,30 +1612,6 @@ OTHER DEALINGS IN THE SOFTWARE.
|
|||||||
For more information, please refer to <http://unlicense.org>
|
For more information, please refer to <http://unlicense.org>
|
||||||
|
|
||||||
|
|
||||||
uc.micro
|
|
||||||
MIT
|
|
||||||
Copyright Mathias Bynens <https://mathiasbynens.be/>
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining
|
|
||||||
a copy of this software and associated documentation files (the
|
|
||||||
"Software"), to deal in the Software without restriction, including
|
|
||||||
without limitation the rights to use, copy, modify, merge, publish,
|
|
||||||
distribute, sublicense, and/or sell copies of the Software, and to
|
|
||||||
permit persons to whom the Software is furnished to do so, subject to
|
|
||||||
the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be
|
|
||||||
included in all copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
||||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
||||||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
||||||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
||||||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
|
|
||||||
|
|
||||||
unhomoglyph
|
unhomoglyph
|
||||||
MIT
|
MIT
|
||||||
Copyright (c) 2016 Vitaly Puzrin.
|
Copyright (c) 2016 Vitaly Puzrin.
|
||||||
|
|||||||
57
index.js
57
index.js
@ -1,31 +1,20 @@
|
|||||||
const core = require('@actions/core');
|
const core = require('@actions/core');
|
||||||
const github = require('@actions/github');
|
|
||||||
const sdk = require('matrix-js-sdk');
|
const sdk = require('matrix-js-sdk');
|
||||||
const md = require('markdown-it')();
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const homeserver = core.getInput('homeserver');
|
const homeserver = core.getInput('homeserver');
|
||||||
const channel = core.getInput('channel');
|
const channel = core.getInput('channel');
|
||||||
const token = core.getInput('token');
|
const token = core.getInput('token');
|
||||||
const message = core.getInput('message');
|
const message = core.getInput('message');
|
||||||
const status = core.getInput('status');
|
const messagetype = core.getInput('messagetype');
|
||||||
|
|
||||||
// Debug output
|
// Debug output
|
||||||
core.info(`homeserver: ${homeserver}`);
|
core.info(`homeserver: ${homeserver}`);
|
||||||
core.info(`channel: ${channel}`);
|
core.info(`channel: ${channel}`);
|
||||||
core.info(`token: ${token}`);
|
core.info(`token: ${token}`);
|
||||||
core.info(`message: ${message}`);
|
core.info(`message: ${message}`);
|
||||||
core.info(`status: ${status}`);
|
core.info(`messagetype: ${messagetype}`);
|
||||||
|
|
||||||
const ctx = github.context;
|
|
||||||
|
|
||||||
const { owner, repo } = ctx.repo;
|
|
||||||
const {
|
|
||||||
ref, workflow, actor, payload, serverUrl, runNumber,
|
|
||||||
} = ctx;
|
|
||||||
|
|
||||||
const repoURL = `${serverUrl}/${owner}/${repo}`;
|
|
||||||
const runURL = `${repoURL}/actions/runs/${runNumber}`;
|
|
||||||
|
|
||||||
// Create client object
|
// Create client object
|
||||||
const client = sdk.createClient({
|
const client = sdk.createClient({
|
||||||
@ -35,49 +24,19 @@ try {
|
|||||||
|
|
||||||
// Join channel (if we are already in the channel this does nothing)
|
// Join channel (if we are already in the channel this does nothing)
|
||||||
client.joinRoom(channel).then(() => {
|
client.joinRoom(channel).then(() => {
|
||||||
core.info('Joined channel');
|
console.log('Joined channel');
|
||||||
});
|
});
|
||||||
|
|
||||||
const statusOpts = {
|
|
||||||
success: {
|
|
||||||
status: '🟢 Success',
|
|
||||||
color: 0x28A745,
|
|
||||||
},
|
|
||||||
failure: {
|
|
||||||
status: '🔴 Failure',
|
|
||||||
color: 0xCB2431,
|
|
||||||
},
|
|
||||||
cancelled: {
|
|
||||||
status: 'Cancelled',
|
|
||||||
color: 0xDBAB09,
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
const userMention = status === 'success' ? actor : `<a href="https://matrix.to/#/@${actor}:${homeserver}">${actor}</a>`;
|
|
||||||
|
|
||||||
const formattedMessage = `
|
|
||||||
<h4 data-mx-color="${statusOpts[status].color}">${statusOpts[status].status} ${workflow}</h4>
|
|
||||||
<p><strong>Repository</strong> <a href="${repoURL}">${owner}/${repo}</a><br>
|
|
||||||
<strong>Commit</strong> <a href="${payload.head_commit.url}">${payload.head_commit.id.substring(0, 7)}</a> ${payload.head_commit.message}<br>
|
|
||||||
<strong>Ref</strong> ${ref}<br>
|
|
||||||
<strong>Triggered by</strong> ${userMention}<br>
|
|
||||||
<strong>Run</strong> <a href="${runURL}">#${runNumber}</a>
|
|
||||||
${md.render(message)}`;
|
|
||||||
|
|
||||||
// Send message
|
// Send message
|
||||||
const content = {
|
const content = {
|
||||||
msgtype: (status === 'success') ? 'm.notice' : 'm.text',
|
msgtype: messagetype,
|
||||||
format: 'org.matrix.custom.html',
|
body: message,
|
||||||
body: `${statusOpts[status].status} ${workflow} @${actor}`,
|
|
||||||
formatted_body: formattedMessage,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
if (status !== 'success') content['m.mentions'] = { user_ids: [`@${actor}:${homeserver}`] };
|
|
||||||
|
|
||||||
client.sendEvent(channel, 'm.room.message', content, '').then(() => {
|
client.sendEvent(channel, 'm.room.message', content, '').then(() => {
|
||||||
// message sent successfully
|
// message sent successfully
|
||||||
}).catch((err) => {
|
}).catch((err) => {
|
||||||
core.error(err);
|
console.log(err);
|
||||||
});
|
});
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
core.setFailed(error.message);
|
core.setFailed(error.message);
|
||||||
|
|||||||
5039
package-lock.json
generated
5039
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
15
package.json
15
package.json
@ -17,15 +17,14 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://github.com/fadenb/Matrix-Chat-Message#readme",
|
"homepage": "https://github.com/fadenb/Matrix-Chat-Message#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@actions/core": "^1.10.1",
|
"@actions/core": "^1.2.6",
|
||||||
"@actions/github": "^6.0.0",
|
"@actions/github": "^4.0.0",
|
||||||
"@vercel/ncc": "^0.38.1",
|
"@vercel/ncc": "^0.24.1",
|
||||||
"markdown-it": "^14.1.0",
|
"matrix-js-sdk": "^8.4.1"
|
||||||
"matrix-js-sdk": "^32.2.0"
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"eslint": "^8.57.0",
|
"eslint": "^7.10.0",
|
||||||
"eslint-config-airbnb-base": "^15.0.0",
|
"eslint-config-airbnb-base": "^14.2.0",
|
||||||
"eslint-plugin-import": "^2.29.1"
|
"eslint-plugin-import": "^2.22.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user