Skip to content

Commit

Permalink
Bumper major versjoner debug (#82)
Browse files Browse the repository at this point in the history
* Bumper uuid, msw med mswjs/interceprtor, jsdom og oppgrader til node 18

* Bumper ts, prettier, eslint

* Disabler lint ts any feilmeldinger, ignore anonymus arrow function for next isalive og isready

* Bumper lint-staged, husky

* Tester lint-staged prettier

* Bumper @navikt-ds pakker

* Oppdater til riktig søknadsdialog url i dev

* Bumper prettier og next-intl

* Bumper graphql

* Fikser ReadableStream (#81)

* Prøver en annen måte å fikse streams på via ArrayBuffer og Buffer
* Legger til kommentarer på ArrayBuffer -> Buffer -> Readable på PDF forhåndsvisning

---------

Co-authored-by: Hanne Olsen <hanne.eilertsen.olsen@nav.no>
  • Loading branch information
nattaphongklinjan and hanneolsen authored Aug 10, 2023
1 parent 339fa02 commit 2dff73e
Show file tree
Hide file tree
Showing 21 changed files with 12,884 additions and 8,649 deletions.
2 changes: 1 addition & 1 deletion .env.development
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ DEKORATOR_ENV=dev
SELF_URL=http://localhost:3000
AMPLITUDE_API_KEY=

NEXT_PUBLIC_SOKNADSDIALOG=https://arbeid.dev.nav.no/dagpenger/dialog/
NEXT_PUBLIC_SOKNADSDIALOG=https://arbeid.intern.dev.nav.no/dagpenger/dialog/
NEXT_PUBLIC_LOCALHOST=true
2 changes: 1 addition & 1 deletion .env.test
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
IDPORTEN_WELL_KNOWN_URL=http://idporten.test
SAF_SELVBETJENING_INGRESS=http://saf.test
NEXT_PUBLIC_SOKNADSDIALOG=https://arbeid.dev.nav.no/dagpenger/dialog/
NEXT_PUBLIC_SOKNADSDIALOG=https://arbeid.intern.dev.nav.no/dagpenger/dialog/
1 change: 0 additions & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install pretty-quick --staged
npx --no-install lint-staged
npm test
2 changes: 1 addition & 1 deletion .nais/dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ saf:
url: https://safselvbetjening-q1.dev-fss-pub.nais.io
scope: safselvbetjening-q1
soknadsdialog:
ingress: https://arbeid.dev.nav.no/dagpenger/dialog/
ingress: https://arbeid.intern.dev.nav.no/dagpenger/dialog/
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v16.13.0
v18.12.0
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:16 AS builder
FROM node:18 AS builder

WORKDIR /usr/src/app

Expand All @@ -15,7 +15,7 @@ RUN --mount=type=secret,id=SENTRY_AUTH_TOKEN \
SENTRY_AUTH_TOKEN=$(cat /run/secrets/SENTRY_AUTH_TOKEN) \
npm run build && npm prune --production

FROM node:16-alpine AS runtime
FROM node:18-alpine AS runtime

WORKDIR /usr/src/app

Expand Down
Loading

0 comments on commit 2dff73e

Please sign in to comment.