mirror of
https://github.com/thelounge/thelounge
synced 2024-11-22 12:03:11 +00:00
packaging: Use an include list in package.json
Rather than playing whack a mole with an exclude list, let's use an include list instead.
This commit is contained in:
parent
4831c20804
commit
d471a4c959
2 changed files with 9 additions and 25 deletions
25
.npmignore
25
.npmignore
|
@ -1,25 +0,0 @@
|
|||
# This file must not contain generated assets listed in .gitignore.
|
||||
# npm-debug.log and node_modules/ are ignored by default.
|
||||
# See https://docs.npmjs.com/misc/developers#keeping-files-out-of-your-package
|
||||
|
||||
# Ignore all dot files except for .thelounge_home
|
||||
.*
|
||||
!.thelounge_home
|
||||
|
||||
# Ignore client folder as it's being built into public/ folder
|
||||
# except for the specified files which are used by the server
|
||||
client/**
|
||||
!client/js/constants.ts
|
||||
!client/js/helpers/ircmessageparser/findLinks.ts
|
||||
!client/js/helpers/ircmessageparser/cleanIrcMessage.ts
|
||||
!client/index.html.tpl
|
||||
|
||||
public/js/bundle.vendor.js.map
|
||||
coverage/
|
||||
scripts/
|
||||
test/
|
||||
appveyor.yml
|
||||
webpack.config*.js
|
||||
postcss.config.js
|
||||
renovate.json
|
||||
|
|
@ -42,6 +42,15 @@
|
|||
"engines": {
|
||||
"node": ">=14.0.0"
|
||||
},
|
||||
"files": [
|
||||
"./.thelounge_home",
|
||||
"./index.js",
|
||||
"./yarn.lock",
|
||||
"./client/index.html.tpl",
|
||||
"./dist/package.json",
|
||||
"./dist/**/*.js",
|
||||
"./public/**"
|
||||
],
|
||||
"dependencies": {
|
||||
"@fastify/busboy": "1.0.0",
|
||||
"bcryptjs": "2.4.3",
|
||||
|
|
Loading…
Reference in a new issue