Use vercel/ncc

`nc build index.js --license licenses.txt` compiles our code and all the
modules into a single file (`dist/index.js``). This has to be done and
the resulting files updated before any release.
This commit is contained in:
Tristan Helmich 2020-10-06 12:54:10 +00:00
parent 9d39bdb5fa
commit 56f73bc02d
5 changed files with 80897 additions and 1 deletions

View File

@ -22,4 +22,4 @@ inputs:
default: 'm.notice'
runs:
using: 'node12'
main: 'index.js'
main: 'dist/index.js'

79189
dist/index.js vendored Normal file

File diff suppressed because one or more lines are too long

1701
dist/licenses.txt vendored Normal file

File diff suppressed because it is too large Load Diff

5
package-lock.json generated
View File

@ -195,6 +195,11 @@
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.11.2.tgz",
"integrity": "sha512-jiE3QIxJ8JLNcb1Ps6rDbysDhN4xa8DJJvuC9prr6w+1tIh+QAbYyNF3tyiZNLDBIuBCf4KEcV2UvQm/V60xfA=="
},
"@vercel/ncc": {
"version": "0.24.1",
"resolved": "https://registry.npmjs.org/@vercel/ncc/-/ncc-0.24.1.tgz",
"integrity": "sha512-r9m7brz2hNmq5TF3sxrK4qR/FhXn44XIMglQUir4sT7Sh5GOaYXlMYikHFwJStf8rmQGTlvOoBXt4yHVonRG8A=="
},
"acorn": {
"version": "7.4.1",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz",

View File

@ -19,6 +19,7 @@
"dependencies": {
"@actions/core": "^1.2.6",
"@actions/github": "^4.0.0",
"@vercel/ncc": "^0.24.1",
"matrix-js-sdk": "^8.4.1"
},
"devDependencies": {