@unimelb/pattern-lib-vue 16.4.0-alpha.1 → 17.0.0-alpha.1

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 (2) hide show
  1. package/.out/vue.js +4842 -4804
  2. package/package.json +48 -119
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unimelb/pattern-lib-vue",
3
3
  "description": "A complete design system for the University of Melbourne.",
4
- "version": "16.4.0-alpha.1",
4
+ "version": "17.0.0-alpha.1",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/unimelb/pattern-lib.git"
@@ -21,9 +21,9 @@
21
21
  "prebuild": "rimraf .out/docs",
22
22
  "prebuild:lib": "rimraf .out/lib",
23
23
  "build": "storybook build -o .out/docs",
24
- "build:lib": "run-p build:lib:standard build:lib:minify",
24
+ "build:lib": "vite build --config targets/lib/vite.config.js",
25
25
  "build:lib:standard": "vite build --config targets/lib/vite.config.js",
26
- "build:lib:minify": "vite build --config targets/lib/vite.minify.config.js",
26
+ "build:lib:minify": "vite build --config targets/lib/vite.config.js",
27
27
  "build:vue": "vite build --config targets/vue/vite.config.js",
28
28
  "prebuild:test": "rimraf _site-docker",
29
29
  "build:test": "cross-env MOCK=true npm-run-all storybook-build:docker",
@@ -32,10 +32,11 @@
32
32
  "start": "vite preview --port 7003 --outDir .out/docs",
33
33
  "start:lib": "vite preview --port 7003 --config targets/lib/vite.config.js",
34
34
  "start:test": "http-server ./_site-docker -c-1 --port 7003",
35
+ "format": "prettier --write .",
35
36
  "lint": "run-s lint:js lint:css",
36
37
  "lint:css": "stylelint **/*.{css,vue} --fix",
37
38
  "lint:js": "eslint . --ext .js,.vue --fix",
38
- "test": "jest",
39
+ "test": "vitest run",
39
40
  "test:e2e": "cross-env EXCLUDE=regression run-s docker",
40
41
  "test:regression": "cross-env TYPE=regression run-s docker",
41
42
  "test:snapshots": "cross-env TYPE=snapshot run-s docker",
@@ -54,120 +55,82 @@
54
55
  "storybook-build:docker": "storybook build -o _site-docker"
55
56
  },
56
57
  "dependencies": {
57
- "@fontsource-variable/fraunces": "5.0.21",
58
- "@fontsource/source-sans-pro": "5.0.8",
58
+ "@fontsource-variable/fraunces": "5.2.9",
59
+ "@fontsource/source-sans-pro": "5.2.5",
59
60
  "@splidejs/vue-splide": "0.6.12",
60
- "@vueuse/integrations": "^14.2.0",
61
- "babel-polyfill": "6.26.0",
62
- "change-case": "3.1.0",
63
- "core-js": "3",
64
- "focus-trap": "^8.0.0",
61
+ "@vueuse/core": "14.2.1",
62
+ "@vueuse/integrations": "14.2.1",
63
+ "core-js": "3.48.0",
64
+ "focus-trap": "8.0.0",
65
65
  "gumshoejs": "5.1.2",
66
66
  "jump.js": "1.0.2",
67
67
  "lodash.debounce": "4.0.8",
68
68
  "lodash.escaperegexp": "4.1.2",
69
69
  "lodash.isplainobject": "4.0.6",
70
- "modern-normalize": "1.1.0",
71
- "prop-types": "15.8.1",
72
- "semver": "5.7.2",
73
- "serve-handler": "6.1.6",
74
- "smoothscroll-polyfill": "0.4.4",
75
- "swiper": "^12.0.3",
76
- "throttle-debounce": "2.1.0",
77
- "v-scroll-lock": "1.3.1",
78
- "vue": "^3.5.27",
70
+ "modern-normalize": "3.0.1",
71
+ "semver": "7.7.4",
72
+ "swiper": "12.1.2",
73
+ "throttle-debounce": "5.0.2",
74
+ "vue": "3.5.28",
79
75
  "xss": "1.0.15"
80
76
  },
81
77
  "devDependencies": {
82
- "@axe-core/playwright": "4.10.2",
83
- "@babel/core": "7.24.8",
84
- "@babel/eslint-parser": "7.24.7",
85
- "@babel/polyfill": "7.12.1",
86
- "@babel/preset-env": "7.24.8",
87
- "@babel/preset-react": "7.24.7",
78
+ "@axe-core/playwright": "^4.11.1",
79
+ "@eslint/compat": "^2.0.2",
80
+ "@eslint/js": "^10.0.1",
88
81
  "@playwright/test": "1.54.0",
89
- "@storybook/addon-a11y": "^10.2.1",
90
- "@storybook/addon-docs": "^10.2.1",
91
- "@storybook/vue3-vite": "^10.2.1",
92
- "@vitejs/plugin-vue": "^6.0.3",
93
- "@vue/babel-helper-vue-jsx-merge-props": "1.4.0",
94
- "@vue/babel-plugin-transform-vue-jsx": "1.4.0",
82
+ "@storybook/addon-a11y": "^10.2.10",
83
+ "@storybook/addon-docs": "^10.2.10",
84
+ "@storybook/vue3-vite": "^10.2.10",
85
+ "@testing-library/dom": "^10.4.1",
86
+ "@types/react": "^19.2.14",
87
+ "@vitejs/plugin-vue": "^6.0.4",
95
88
  "@vue/test-utils": "^2.4.6",
96
- "@vue/vue3-jest": "29.2.6",
97
- "babel-core": "6.26.3",
98
- "babel-helper-vue-jsx-merge-props": "2.0.3",
99
- "babel-jest": "29.7.0",
100
- "babel-loader": "9.1.3",
101
- "babel-plugin-syntax-jsx": "6.18.0",
102
- "babel-plugin-transform-vue-jsx": "3.7.0",
103
- "babel-preset-env": "1.7.0",
104
- "babel-preset-es2015": "6.24.1",
105
- "babel-preset-stage-3": "6.24.1",
106
- "caniuse-db": "~1.0.30001638",
107
- "cross-env": "5.2.0",
108
- "css-loader": "7.1.2",
109
- "css-mqpacker": "7.0.0",
110
- "cssnano": "4.1.10",
111
- "cssnano-preset-lite": "1.0.1",
112
- "dotenv": "6.0.0",
113
- "eslint": "7.32.0",
114
- "eslint-config-airbnb-base": "15.0.0",
115
- "eslint-config-prettier": "9.1.0",
116
- "eslint-loader": "4.0.2",
117
- "eslint-plugin-import": "2.29.1",
118
- "eslint-plugin-storybook": "0.8.0",
119
- "eslint-plugin-vue": "9.20.1",
120
- "eslint-plugin-you-dont-need-lodash-underscore": "6.14.0",
121
- "file-loader": "6.2.0",
122
- "highlight.js": "11.10.0",
89
+ "caniuse-db": "^1.0.30001770",
90
+ "cross-env": "^10.1.0",
91
+ "dotenv": "^17.3.1",
92
+ "eslint": "^9",
93
+ "eslint-config-prettier": "^10.1.8",
94
+ "eslint-plugin-import": "^2.32.0",
95
+ "eslint-plugin-prettier": "^5.5.5",
96
+ "eslint-plugin-storybook": "^10.2.8",
97
+ "eslint-plugin-vue": "^10.7.0",
98
+ "globals": "^17.3.0",
123
99
  "http-server": "14.1.1",
124
100
  "husky": "4.2.3",
125
101
  "inquirer-directory": "2.2.0",
126
- "jest": "29.7.0",
127
- "jest-axe": "3.1.1",
128
- "jest-environment-jsdom": "29.7.0",
129
- "jest-transform-stub": "2.0.0",
102
+ "jsdom": "^28.1.0",
130
103
  "lint-staged": "^16.2.7",
131
- "marked": "14.1.2",
132
- "mini-css-extract-plugin": "2.9.0",
133
104
  "npm-run-all": "4.1.5",
134
- "plop": "4.0.3",
105
+ "playwright-core": "1.54.0",
106
+ "plop": "^4.0.5",
135
107
  "postcss": "^8.5.6",
136
- "postcss-assets": "^6.0.0",
137
108
  "postcss-calc": "^10.1.1",
138
109
  "postcss-html": "^1.8.1",
139
110
  "postcss-import": "^16.1.1",
140
- "postcss-loader": "8.1.1",
141
111
  "postcss-mixins": "^12.1.2",
142
112
  "postcss-nested": "^7.0.2",
143
- "postcss-preset-env": "^11.1.2",
113
+ "postcss-preset-env": "^11.1.3",
144
114
  "postcss-reporter": "^7.1.0",
145
115
  "postcss-svgo": "^7.1.0",
146
116
  "postcss-url": "^10.1.3",
147
- "prettier": "3.3.2",
148
- "raw-loader": "0.5.1",
149
- "react": "18",
150
- "react-dom": "18",
151
- "rimraf": "3.0.2",
152
- "serve": "11.3.0",
153
- "start-server-and-test": "1.10.11",
154
- "storybook": "^10.2.1",
155
- "strip-html-comments": "1.0.0",
156
- "style-loader": "0.21.0",
117
+ "prettier": "^3.8.1",
118
+ "react": "^19.2.4",
119
+ "react-dom": "^19.2.4",
120
+ "rimraf": "^6.1.3",
121
+ "storybook": "^10.2.10",
157
122
  "stylelint": "14.16.1",
158
123
  "stylelint-config-prettier": "9.0.5",
159
124
  "stylelint-config-property-sort-order-smacss": "9.1.0",
160
125
  "stylelint-config-recommended-vue": "1.5.0",
161
126
  "stylelint-config-standard": "29.0.0",
162
127
  "stylelint-order": "5.0.0",
163
- "svg-sprite-loader": "6.0.11",
164
- "svg-url-loader": "7.1.1",
165
- "svgo": "3.3.2",
166
- "svgo-loader": "4.0.0",
128
+ "typescript": "^5.9.3",
167
129
  "vite": "^7.3.1",
168
130
  "vite-plugin-svg-icons": "^2.0.1",
169
- "vue-axe": "1.0.7",
170
- "vue-loader": "17.3.1"
131
+ "vitest": "^4.0.18",
132
+ "vitest-axe": "^0.1.0",
133
+ "vue-eslint-parser": "^10.2.0"
171
134
  },
172
135
  "resolutions": {
173
136
  "stylelint-config-recommended-vue/stylelint-config-recommended": "^9.0.0"
@@ -175,40 +138,6 @@
175
138
  "cacheDirectories": [
176
139
  "node_modules"
177
140
  ],
178
- "jest": {
179
- "moduleFileExtensions": [
180
- "js",
181
- "json",
182
- "vue"
183
- ],
184
- "moduleNameMapper": {
185
- "^\\.storybook/(.*)$": "<rootDir>/.storybook/$1",
186
- "^icons/(.*)$": "<rootDir>/components/icons/$1",
187
- "^~images/(.*)$": "<rootDir>/components/shared/images/$1",
188
- "^components(.*)$": "<rootDir>/components$1",
189
- "^utils/(.*)$": "<rootDir>/utils/$1",
190
- "^static/(.*?)(\\?no-inline)?$": "<rootDir>/static/$1"
191
- },
192
- "transform": {
193
- ".*\\.(vue)$": "@vue/vue3-jest",
194
- "^.+\\.js$": "<rootDir>/node_modules/babel-jest",
195
- ".+\\.(css|styl|less|sass|scss|svg|png|jpg|ttf|woff|woff2)$": "jest-transform-stub"
196
- },
197
- "transformIgnorePatterns": [],
198
- "testPathIgnorePatterns": [
199
- "<rootDir>/e2e/"
200
- ],
201
- "testEnvironmentOptions": {
202
- "customExportConditions": [
203
- "node",
204
- "node-addons"
205
- ]
206
- },
207
- "testEnvironment": "jsdom",
208
- "setupFiles": [
209
- "<rootDir>/jest-setup.js"
210
- ]
211
- },
212
141
  "husky": {
213
142
  "hooks": {
214
143
  "pre-commit": "cross-env lint-staged"