Skip to content

Commit 3508354

Browse files
committed
Flytt vekk fra workspaces
1 parent 9461b29 commit 3508354

File tree

89 files changed

+59
-81
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+59
-81
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

package.json

+58-7
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,47 @@
11
{
2-
"name": "internarbeidsflate-decorator",
3-
"private": "true",
2+
"name": "internarbeidsflate-decorator-v3",
3+
"private": true,
4+
"version": "0.0.0",
5+
"types": "./dist/index.d.ts",
46
"type": "module",
5-
"workspaces": [
6-
"packages/dev-server",
7-
"packages/internarbeidsflate-decorator-v3"
8-
],
7+
"exports": {
8+
".": {
9+
"import": {
10+
"types": "./dist/index.d.ts",
11+
"default": "./dist/internarbeidsflate-decorator-v3.es.js"
12+
},
13+
"require": {
14+
"types": "./dist/index.d.ts",
15+
"default": "./dist/internarbeidsflate-decorator-v3.umd.js"
16+
}
17+
}
18+
},
919
"scripts": {
10-
"clean": "rm -rf node_modules packages/dev-server/node_modules packages/internarbeidsflate-decorator-v3/node_modules bun.lockb packages/dev-server/bun.lockb packages/internarbeidsflate-decorator-v3/bun.lockb",
20+
"dev": "bunx --bun vite",
21+
"dev:fullscreen": "VITE_DECORATOR_MODE=fullscreen bunx --bun vite",
22+
"build": "vite build",
23+
"build:watch": "bunx --bun vite build --watch",
24+
"build-and-preview": "bunx --bun vite build && bunx --bun vite preview",
25+
"preview": "bunx --bun vite preview",
26+
"build:preview": "bunx --bun vite build --config preview.vite.config.ts",
27+
"test": "vitest",
1128
"lint": "eslint",
1229
"format": "prettier . --write"
1330
},
1431
"devDependencies": {
32+
"@tailwindcss/vite": "^4.0.1",
33+
"@types/react": "^18.3.12",
34+
"@types/react-dom": "^18.3.1",
35+
"@vitejs/plugin-react": "^4.3.4",
36+
"concurrently": "^9.1.2",
37+
"msw": "^2.7.0",
38+
"react": "^18.3.1",
39+
"react-dom": "^18.3.1",
40+
"tailwindcss": "^4.0.1",
41+
"typescript": "^5.7.3",
42+
"vite": "^6.0.11",
43+
"vitest": "^3.0.4",
44+
"vitest-websocket-mock": "^0.4.0",
1545
"@eslint/js": "^9.19.0",
1646
"eslint": "^9.19.0",
1747
"eslint-config-prettier": "^10.0.1",
@@ -20,5 +50,26 @@
2050
"eslint-plugin-react-refresh": "^0.4.18",
2151
"prettier": "^3.4.2",
2252
"typescript-eslint": "^8.22.0"
53+
},
54+
"peerDependencies": {
55+
"react": "^18.2.0",
56+
"react-dom": "^18.2.0"
57+
},
58+
"dependencies": {
59+
"@navikt/aksel-icons": "^7.10.0",
60+
"@navikt/ds-css": "^7.10.0",
61+
"@navikt/ds-react": "^7.10.0",
62+
"@navikt/ds-tailwind": "^7.10.0",
63+
"@navikt/ds-tokens": "^7.10.0",
64+
"@navikt/navspa": "^6.2.0",
65+
"@tanstack/query-core": "^5.65.0",
66+
"classnames": "^2.5.1",
67+
"use-sync-external-store": "^1.4.0",
68+
"zustand": "^5.0.3"
69+
},
70+
"msw": {
71+
"workerDirectory": [
72+
"public"
73+
]
2374
}
2475
}

packages/internarbeidsflate-decorator-v3/package.json

-65
This file was deleted.

packages/internarbeidsflate-decorator-v3/tsconfig.json

-7
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

tsconfig.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
"noUnusedLocals": true,
1818
"noUnusedParameters": true,
1919
"noFallthroughCasesInSwitch": true,
20-
"esModuleInterop": true,
21-
"types": ["vite/client"]
20+
"esModuleInterop": true
2221
},
2322
"include": [
2423
"packages/internarbeidsflate-decorator-v3/src",
File renamed without changes.

0 commit comments

Comments
 (0)