Skip to content

Commit

Permalink
Div cleanup (#2243)
Browse files Browse the repository at this point in the history
  • Loading branch information
frodehansen2 committed Sep 23, 2024
1 parent c4fbe88 commit 114368e
Show file tree
Hide file tree
Showing 15 changed files with 31 additions and 30 deletions.
12 changes: 6 additions & 6 deletions apps/dine-pleiepenger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@
"dependencies": {
"@grafana/faro-web-sdk": "1.10.0",
"@grafana/faro-web-tracing": "1.10.0",
"@navikt/appstatus-react-ds": "workspace: *",
"@navikt/appstatus-react-ds": "*",
"@navikt/nav-dekoratoren-moduler": "2.1.6",
"@navikt/next-logger": "1.32.0",
"@navikt/oasis": "3.4.0",
"@navikt/sif-app-register": "workspace: *",
"@navikt/sif-common-amplitude": "workspace: *",
"@navikt/sif-common-core-ds": "workspace: *",
"@navikt/sif-common-sentry": "workspace: *",
"@navikt/sif-common-utils": "workspace: *",
"@navikt/sif-app-register": "*",
"@navikt/sif-common-amplitude": "*",
"@navikt/sif-common-core-ds": "*",
"@navikt/sif-common-sentry": "*",
"@navikt/sif-common-utils": "*",
"axios": "1.7.7",
"date-fns": "4.1.0",
"jsdom": "25.0.1",
Expand Down
1 change: 1 addition & 0 deletions apps/dine-pleiepenger/src/utils/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ export const publicEnvSchema = z.object({
});

export type ServerEnv = z.infer<typeof serverEnvSchema>;

export const serverEnvSchema = z.object({
NEXT_PUBLIC_INNSYN_BACKEND_SCOPE: z.string(),
NEXT_PUBLIC_BRUKERDIALOG_BACKEND_SCOPE: z.string(),
Expand Down
2 changes: 1 addition & 1 deletion apps/dine-pleiepenger/vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { defineConfig } from 'vitest/config';

export default defineConfig({
test: {
exclude: ['./e2e/**/*', './build/**/*', './dist/**/*', '**/*.spec.tsx'],
exclude: ['./e2e/**/*', './build/**/*', './dist/**/*', '**/*.spec.tsx', 'node_modules'],
globals: true,
environment: 'jsdom',
css: false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { defineConfig } from 'vitest/config';

export default defineConfig({
test: {
exclude: ['./e2e/**/*', './build/**/*', './dist/**/*', '**/*.spec.tsx'],
exclude: ['./e2e/**/*', './build/**/*', './dist/**/*', '**/*.spec.tsx', 'node_modules'],
globals: true,
environment: 'jsdom',
css: false,
Expand Down
2 changes: 1 addition & 1 deletion apps/endringsmelding-pleiepenger/vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { defineConfig } from 'vitest/config';

export default defineConfig({
test: {
exclude: ['./e2e/**/*', './build/**/*', './dist/**/*', '**/*.spec.tsx'],
exclude: ['./e2e/**/*', './build/**/*', './dist/**/*', '**/*.spec.tsx', 'node_modules'],
globals: true,
environment: 'jsdom',
css: false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { defineConfig } from 'vitest/config';

export default defineConfig({
test: {
exclude: ['./e2e/**/*', './build/**/*', './dist/**/*', '**/*.spec.tsx'],
exclude: ['./e2e/**/*', './build/**/*', './dist/**/*', '**/*.spec.tsx', 'node_modules'],
globals: true,
environment: 'jsdom',
css: false,
Expand Down
2 changes: 1 addition & 1 deletion apps/omsorgspengesoknad/vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { defineConfig } from 'vitest/config';

export default defineConfig({
test: {
exclude: ['./e2e/**/*', './build/**/*', './dist/**/*', '**/*.spec.tsx'],
exclude: ['./e2e/**/*', './build/**/*', './dist/**/*', '**/*.spec.tsx', 'node_modules'],
globals: true,
environment: 'jsdom',
css: false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { defineConfig } from 'vitest/config';

export default defineConfig({
test: {
exclude: ['./e2e/**/*', './build/**/*', './dist/**/*', '**/*.spec.tsx'],
exclude: ['./e2e/**/*', './build/**/*', './dist/**/*', '**/*.spec.tsx', 'node_modules'],
globals: true,
environment: 'jsdom',
css: false,
Expand Down
2 changes: 1 addition & 1 deletion apps/pleiepenger-sykt-barn/vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import * as path from 'path';

export default defineConfig({
test: {
exclude: ['./e2e/**/*', './build/**/*', './dist/**/*', '**/*.spec.tsx'],
exclude: ['./e2e/**/*', './build/**/*', './dist/**/*', '**/*.spec.tsx', 'node_modules'],
globals: true,
environment: 'jsdom',
css: false,
Expand Down
2 changes: 1 addition & 1 deletion apps/sif-ettersending/vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { defineConfig } from 'vitest/config';

export default defineConfig({
test: {
exclude: ['./e2e/**/*', './build/**/*', './dist/**/*', '**/*.spec.tsx'],
exclude: ['./e2e/**/*', './build/**/*', './dist/**/*', '**/*.spec.tsx', 'node_modules'],
globals: true,
environment: 'jsdom',
css: false,
Expand Down
2 changes: 1 addition & 1 deletion packages/sif-common-core-ds/vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { defineConfig } from 'vitest/config';

export default defineConfig({
test: {
exclude: ['./e2e/**/*', './build/**/*', './dist/**/*', '**/*.spec.tsx'],
exclude: ['./e2e/**/*', './build/**/*', './dist/**/*', '**/*.spec.tsx', 'node_modules'],
globals: true,
environment: 'jsdom',
css: false,
Expand Down
2 changes: 1 addition & 1 deletion packages/sif-common-formik-ds/vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { defineConfig } from 'vitest/config';

export default defineConfig({
test: {
exclude: ['./e2e/**/*', './build/**/*', './dist/**/*', '**/*.spec.tsx'],
exclude: ['./e2e/**/*', './build/**/*', './dist/**/*', '**/*.spec.tsx', 'node_modules'],
globals: true,
environment: 'jsdom',
css: false,
Expand Down
2 changes: 1 addition & 1 deletion packages/sif-common-forms-ds/vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { defineConfig } from 'vitest/config';

export default defineConfig({
test: {
exclude: ['./e2e/**/*', './build/**/*', './dist/**/*', '**/*.spec.tsx'],
exclude: ['./e2e/**/*', './build/**/*', './dist/**/*', '**/*.spec.tsx', 'node_modules'],
globals: true,
environment: 'jsdom',
css: false,
Expand Down
2 changes: 1 addition & 1 deletion packages/sif-common-utils/vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { defineConfig } from 'vitest/config';

export default defineConfig({
test: {
exclude: ['./e2e/**/*', './build/**/*', './dist/**/*', '**/*.spec.tsx'],
exclude: ['./e2e/**/*', './build/**/*', './dist/**/*', '**/*.spec.tsx', 'node_modules'],
globals: true,
environment: 'jsdom',
css: false,
Expand Down
24 changes: 12 additions & 12 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4088,7 +4088,7 @@ __metadata:
languageName: node
linkType: hard

"@navikt/appstatus-react-ds@npm:*, @navikt/appstatus-react-ds@workspace: *, @navikt/appstatus-react-ds@workspace:packages/appstatus-react-ds":
"@navikt/appstatus-react-ds@npm:*, @navikt/appstatus-react-ds@workspace:packages/appstatus-react-ds":
version: 0.0.0-use.local
resolution: "@navikt/appstatus-react-ds@workspace:packages/appstatus-react-ds"
dependencies:
Expand Down Expand Up @@ -4119,19 +4119,19 @@ __metadata:
"@axe-core/playwright": "npm:4.10.0"
"@grafana/faro-web-sdk": "npm:1.10.0"
"@grafana/faro-web-tracing": "npm:1.10.0"
"@navikt/appstatus-react-ds": "workspace: *"
"@navikt/appstatus-react-ds": "npm:*"
"@navikt/ds-css": "npm:7.0.1"
"@navikt/ds-icons": "npm:3.4.3"
"@navikt/ds-react": "npm:7.0.1"
"@navikt/ds-tailwind": "npm:7.0.1"
"@navikt/nav-dekoratoren-moduler": "npm:2.1.6"
"@navikt/next-logger": "npm:1.32.0"
"@navikt/oasis": "npm:3.4.0"
"@navikt/sif-app-register": "workspace: *"
"@navikt/sif-common-amplitude": "workspace: *"
"@navikt/sif-common-core-ds": "workspace: *"
"@navikt/sif-common-sentry": "workspace: *"
"@navikt/sif-common-utils": "workspace: *"
"@navikt/sif-app-register": "npm:*"
"@navikt/sif-common-amplitude": "npm:*"
"@navikt/sif-common-core-ds": "npm:*"
"@navikt/sif-common-sentry": "npm:*"
"@navikt/sif-common-utils": "npm:*"
"@playwright/test": "npm:1.47.2"
"@sif/eslint-config": "npm:*"
"@storybook/addon-essentials": "npm:8.3.2"
Expand Down Expand Up @@ -4933,7 +4933,7 @@ __metadata:
languageName: unknown
linkType: soft

"@navikt/sif-app-register@npm:*, @navikt/sif-app-register@workspace: *, @navikt/sif-app-register@workspace:packages/sif-app-register":
"@navikt/sif-app-register@npm:*, @navikt/sif-app-register@workspace:packages/sif-app-register":
version: 0.0.0-use.local
resolution: "@navikt/sif-app-register@workspace:packages/sif-app-register"
dependencies:
Expand All @@ -4960,7 +4960,7 @@ __metadata:
languageName: unknown
linkType: soft

"@navikt/sif-common-amplitude@npm:*, @navikt/sif-common-amplitude@workspace: *, @navikt/sif-common-amplitude@workspace:packages/sif-common-amplitude":
"@navikt/sif-common-amplitude@npm:*, @navikt/sif-common-amplitude@workspace:packages/sif-common-amplitude":
version: 0.0.0-use.local
resolution: "@navikt/sif-common-amplitude@workspace:packages/sif-common-amplitude"
dependencies:
Expand All @@ -4980,7 +4980,7 @@ __metadata:
languageName: unknown
linkType: soft

"@navikt/sif-common-core-ds@npm:*, @navikt/sif-common-core-ds@workspace: *, @navikt/sif-common-core-ds@workspace:packages/sif-common-core-ds":
"@navikt/sif-common-core-ds@npm:*, @navikt/sif-common-core-ds@workspace:packages/sif-common-core-ds":
version: 0.0.0-use.local
resolution: "@navikt/sif-common-core-ds@workspace:packages/sif-common-core-ds"
dependencies:
Expand Down Expand Up @@ -5203,7 +5203,7 @@ __metadata:
languageName: unknown
linkType: soft

"@navikt/sif-common-sentry@npm:*, @navikt/sif-common-sentry@workspace: *, @navikt/sif-common-sentry@workspace:packages/sif-common-sentry":
"@navikt/sif-common-sentry@npm:*, @navikt/sif-common-sentry@workspace:packages/sif-common-sentry":
version: 0.0.0-use.local
resolution: "@navikt/sif-common-sentry@workspace:packages/sif-common-sentry"
dependencies:
Expand Down Expand Up @@ -5350,7 +5350,7 @@ __metadata:
languageName: unknown
linkType: soft

"@navikt/sif-common-utils@npm:*, @navikt/sif-common-utils@workspace: *, @navikt/sif-common-utils@workspace:packages/sif-common-utils":
"@navikt/sif-common-utils@npm:*, @navikt/sif-common-utils@workspace:packages/sif-common-utils":
version: 0.0.0-use.local
resolution: "@navikt/sif-common-utils@workspace:packages/sif-common-utils"
dependencies:
Expand Down

0 comments on commit 114368e

Please sign in to comment.