23
1
Fork 0

Revert "More dependency cleanups"

This reverts commit e1d6224570.
This commit is contained in:
timvisee 2022-09-04 12:26:09 +02:00
parent 1da317bcc1
commit 6306a433e8
No known key found for this signature in database
GPG Key ID: B8DB720BC383E172
3 changed files with 8 additions and 1 deletions

View File

@ -63,6 +63,7 @@ COPY --chown=app:app server server
COPY --chown=app:app --from=builder /app/dist dist
RUN npm ci --production && npm cache clean --force
RUN mkdir -p /app/.config/configstore
RUN ln -s dist/version.json version.json
ENV PORT=1443

View File

@ -134,6 +134,7 @@
"body-parser": "^1.20.0",
"choo": "^7.0.0",
"cldr-core": "^35.1.0",
"configstore": "github:dannycoates/configstore#master",
"convict": "^6.2.3",
"convict-format-with-validator": "^6.2.0",
"double-ended-queue": "^2.1.0-0",

View File

@ -111,6 +111,10 @@ const web = {
path.resolve(__dirname, 'common'),
// some dependencies need to get re-babeled because we
// have different targets than their default configs
path.resolve(
__dirname,
'node_modules/@dannycoates/webcrypto-liner'
),
path.resolve(__dirname, 'node_modules/@fluent'),
path.resolve(__dirname, 'node_modules/intl-pluralrules')
],
@ -123,7 +127,8 @@ const web = {
path.resolve(__dirname, 'node_modules/crc'),
path.resolve(__dirname, 'node_modules/@fluent'),
path.resolve(__dirname, 'node_modules/@sentry'),
path.resolve(__dirname, 'node_modules/tslib')
path.resolve(__dirname, 'node_modules/tslib'),
path.resolve(__dirname, 'node_modules/webcrypto-core')
],
loader: 'webpack-unassert-loader'
}