@up42/up-components 9.2.1 → 10.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1) hide show
  1. package/package.json +29 -37
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@up42/up-components",
3
- "version": "9.2.1",
3
+ "version": "10.0.0",
4
4
  "description": "UP42 Component Library",
5
5
  "author": "Axel Fuhrmann axel.fuhrmann@up42.com",
6
6
  "license": "ISC",
@@ -16,32 +16,13 @@
16
16
  "dist/index.d.ts"
17
17
  ],
18
18
  "types": "dist/index.d.ts",
19
- "scripts": {
20
- "dev": "pnpm run storybook",
21
- "build": "rimraf dist && rollup -c --failAfterWarnings",
22
- "build:watch": "rollup -c -w",
23
- "test": "vitest run --exclude='**/smoke.test.*'",
24
- "test:watch": "vitest",
25
- "test:smoke": "vitest run smoke.test.jsx",
26
- "storybook": "storybook dev -p 6006",
27
- "storybook:build": "storybook build",
28
- "lint": "eslint src/.",
29
- "release": "commit-and-tag-version",
30
- "release:major": "commit-and-tag-version --release-as major",
31
- "release:minor": "commit-and-tag-version --release-as minor",
32
- "release:patch": "commit-and-tag-version --release-as patch",
33
- "prepare": "husky install",
34
- "format": "prettier --write ./**/*.mdx",
35
- "build-icons": "node scripts/icons/generate-icons-index.mjs && pnpm run optimize-icons",
36
- "optimize-icons": "svgo -f src/global/icons"
37
- },
38
19
  "dependencies": {
39
- "@up42/design-system-tokens": "^8.0.5",
20
+ "@up42/design-system-tokens": "^9.0.2",
40
21
  "prismjs": "^1.29.0"
41
22
  },
42
23
  "devDependencies": {
43
- "@commitlint/cli": "^20.3.1",
44
- "@commitlint/config-conventional": "^20.3.1",
24
+ "@commitlint/cli": "^20.5.0",
25
+ "@commitlint/config-conventional": "^20.5.0",
45
26
  "@emotion/react": "^11.7.1",
46
27
  "@emotion/styled": "^11.6.0",
47
28
  "@mui/material": "^5.3.0",
@@ -66,7 +47,7 @@
66
47
  "@types/react": "^18.3.1",
67
48
  "@typescript-eslint/eslint-plugin": "^5.10.0",
68
49
  "@typescript-eslint/parser": "^5.10.0",
69
- "commit-and-tag-version": "^12.4.1",
50
+ "commit-and-tag-version": "^12.7.1",
70
51
  "eslint": "^8.7.0",
71
52
  "eslint-config-prettier": "^8.3.0",
72
53
  "eslint-import-resolver-typescript": "^2.5.0",
@@ -77,7 +58,7 @@
77
58
  "eslint-plugin-react-hooks": "^4.3.0",
78
59
  "eslint-plugin-storybook": "^0.12.0",
79
60
  "husky": "^7.0.4",
80
- "jsdom": "^21.1.1",
61
+ "jsdom": "^25.0.1",
81
62
  "lint-staged": "^12.3.1",
82
63
  "prettier": "^2.5.1",
83
64
  "react": "^18.3.1",
@@ -87,7 +68,6 @@
87
68
  "rollup-plugin-dts": "^6.1.0",
88
69
  "storybook": "^8.6.17",
89
70
  "svgo": "^3.3.3",
90
- "tslib": "^2.8.1",
91
71
  "typescript": "^4.5.4",
92
72
  "vite": "^7.1.12",
93
73
  "vite-plugin-svgr": "^4.2.0",
@@ -120,15 +100,27 @@
120
100
  "tag": true
121
101
  }
122
102
  },
123
- "packageManager": "pnpm@10.10.0+sha512.d615db246fe70f25dcfea6d8d73dee782ce23e2245e3c4f6f888249fb568149318637dca73c2c5c8ef2a4ca0d5657fb9567188bfab47f566d1ee6ce987815c39",
124
- "pnpm": {
125
- "//": "Lodash override should be removed when we upgrade to Storybook 9+",
126
- "overrides": {
127
- "lodash@>=4.0.0 <=4.17.22": ">=4.17.23",
128
- "serialize-javascript@<=7.0.2": ">=7.0.3",
129
- "csstype@>=3.0.0": "3.1.3",
130
- "@tootallnate/once@<3.0.1": ">=3.0.1",
131
- "flatted": "^3.4.2"
132
- }
103
+ "publishConfig": {
104
+ "registry": "https://europe-west3-npm.pkg.dev/up42-artifact-registry/up42-frontend-up-components/"
105
+ },
106
+ "scripts": {
107
+ "dev": "pnpm run storybook",
108
+ "build": "rimraf dist && rollup -c --failAfterWarnings",
109
+ "build:watch": "rollup -c -w",
110
+ "test": "vitest run --exclude='**/smoke.test.*'",
111
+ "test:watch": "vitest",
112
+ "test:smoke": "vitest run smoke.test.jsx",
113
+ "storybook": "storybook dev -p 6006",
114
+ "storybook:build": "storybook build",
115
+ "lint": "eslint src/.",
116
+ "release": "commit-and-tag-version",
117
+ "release:major": "commit-and-tag-version --release-as major",
118
+ "release:minor": "commit-and-tag-version --release-as minor",
119
+ "release:patch": "commit-and-tag-version --release-as patch",
120
+ "format": "prettier --write ./**/*.mdx",
121
+ "build-icons": "node scripts/icons/generate-icons-index.mjs && pnpm run optimize-icons",
122
+ "optimize-icons": "svgo -f src/global/icons",
123
+ "artifactregistry-login": "pnpm dlx google-artifactregistry-auth --repo-config=./.npmrc",
124
+ "artifactregistry-login:publish": "pnpm dlx google-artifactregistry-auth --repo-config=./.npmrc-publish"
133
125
  }
134
- }
126
+ }