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

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 (3) hide show
  1. package/.out/vue.js +4929 -4867
  2. package/README.md +1 -1
  3. package/package.json +51 -126
package/README.md CHANGED
@@ -39,7 +39,7 @@ yarn dev
39
39
  ## Developer documentation
40
40
 
41
41
  - [How to use the library](docs/how-to-use.md) - how this library externally
42
- - [Documenting stories](docs/docs.md) - how to customise the content of the README panel for each story
42
+ - [Documenting stories](docs/docs.md) - how to document the component in Storybook
43
43
  - [Icons](docs/icons.md) - how to add new icons, and how to use icons in CSS and Vue components
44
44
  - [Contributing](docs/contributing.md) - how to get involved and contribute code
45
45
  - [Testing](docs/testing.md) - how to test your changes to the design system
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.2",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/unimelb/pattern-lib.git"
@@ -18,12 +18,13 @@
18
18
  ".out/vue.js"
19
19
  ],
20
20
  "scripts": {
21
+ "prepare": "husky",
21
22
  "prebuild": "rimraf .out/docs",
22
23
  "prebuild:lib": "rimraf .out/lib",
23
24
  "build": "storybook build -o .out/docs",
24
- "build:lib": "run-p build:lib:standard build:lib:minify",
25
+ "build:lib": "vite build --config targets/lib/vite.config.js",
25
26
  "build:lib:standard": "vite build --config targets/lib/vite.config.js",
26
- "build:lib:minify": "vite build --config targets/lib/vite.minify.config.js",
27
+ "build:lib:minify": "vite build --config targets/lib/vite.config.js",
27
28
  "build:vue": "vite build --config targets/vue/vite.config.js",
28
29
  "prebuild:test": "rimraf _site-docker",
29
30
  "build:test": "cross-env MOCK=true npm-run-all storybook-build:docker",
@@ -32,10 +33,11 @@
32
33
  "start": "vite preview --port 7003 --outDir .out/docs",
33
34
  "start:lib": "vite preview --port 7003 --config targets/lib/vite.config.js",
34
35
  "start:test": "http-server ./_site-docker -c-1 --port 7003",
36
+ "format": "prettier --write .",
35
37
  "lint": "run-s lint:js lint:css",
36
38
  "lint:css": "stylelint **/*.{css,vue} --fix",
37
39
  "lint:js": "eslint . --ext .js,.vue --fix",
38
- "test": "jest",
40
+ "test": "vitest run",
39
41
  "test:e2e": "cross-env EXCLUDE=regression run-s docker",
40
42
  "test:regression": "cross-env TYPE=regression run-s docker",
41
43
  "test:snapshots": "cross-env TYPE=snapshot run-s docker",
@@ -54,164 +56,87 @@
54
56
  "storybook-build:docker": "storybook build -o _site-docker"
55
57
  },
56
58
  "dependencies": {
57
- "@fontsource-variable/fraunces": "5.0.21",
58
- "@fontsource/source-sans-pro": "5.0.8",
59
+ "@fontsource-variable/fraunces": "5.2.9",
60
+ "@fontsource/source-sans-pro": "5.2.5",
59
61
  "@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",
62
+ "@vueuse/core": "14.2.1",
63
+ "@vueuse/integrations": "14.2.1",
64
+ "core-js": "3.48.0",
65
+ "focus-trap": "8.0.0",
65
66
  "gumshoejs": "5.1.2",
66
67
  "jump.js": "1.0.2",
67
68
  "lodash.debounce": "4.0.8",
68
69
  "lodash.escaperegexp": "4.1.2",
69
70
  "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",
71
+ "modern-normalize": "3.0.1",
72
+ "semver": "7.7.4",
73
+ "swiper": "12.1.2",
74
+ "throttle-debounce": "5.0.2",
75
+ "vue": "3.5.28",
79
76
  "xss": "1.0.15"
80
77
  },
81
78
  "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",
79
+ "@axe-core/playwright": "^4.11.1",
80
+ "@eslint/compat": "^2.0.2",
81
+ "@eslint/js": "^10.0.1",
88
82
  "@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",
83
+ "@storybook/addon-a11y": "^10.2.10",
84
+ "@storybook/addon-docs": "^10.2.10",
85
+ "@storybook/vue3-vite": "^10.2.10",
86
+ "@testing-library/dom": "^10.4.1",
87
+ "@types/react": "^19.2.14",
88
+ "@vitejs/plugin-vue": "^6.0.4",
95
89
  "@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",
90
+ "caniuse-db": "^1.0.30001770",
91
+ "cross-env": "^10.1.0",
92
+ "dotenv": "^17.3.1",
93
+ "eslint": "^9",
94
+ "eslint-config-prettier": "^10.1.8",
95
+ "eslint-plugin-import": "^2.32.0",
96
+ "eslint-plugin-prettier": "^5.5.5",
97
+ "eslint-plugin-storybook": "^10.2.8",
98
+ "eslint-plugin-vue": "^10.7.0",
99
+ "globals": "^17.3.0",
123
100
  "http-server": "14.1.1",
124
- "husky": "4.2.3",
101
+ "husky": "^9.1.7",
125
102
  "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",
103
+ "jsdom": "^28.1.0",
130
104
  "lint-staged": "^16.2.7",
131
- "marked": "14.1.2",
132
- "mini-css-extract-plugin": "2.9.0",
133
105
  "npm-run-all": "4.1.5",
134
- "plop": "4.0.3",
106
+ "playwright-core": "1.54.0",
107
+ "plop": "^4.0.5",
135
108
  "postcss": "^8.5.6",
136
- "postcss-assets": "^6.0.0",
137
109
  "postcss-calc": "^10.1.1",
138
110
  "postcss-html": "^1.8.1",
139
111
  "postcss-import": "^16.1.1",
140
- "postcss-loader": "8.1.1",
141
112
  "postcss-mixins": "^12.1.2",
142
113
  "postcss-nested": "^7.0.2",
143
- "postcss-preset-env": "^11.1.2",
114
+ "postcss-preset-env": "^11.1.3",
144
115
  "postcss-reporter": "^7.1.0",
145
116
  "postcss-svgo": "^7.1.0",
146
117
  "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",
118
+ "prettier": "^3.8.1",
119
+ "react": "^19.2.4",
120
+ "react-dom": "^19.2.4",
121
+ "rimraf": "^6.1.3",
122
+ "storybook": "^10.2.10",
157
123
  "stylelint": "14.16.1",
158
124
  "stylelint-config-prettier": "9.0.5",
159
125
  "stylelint-config-property-sort-order-smacss": "9.1.0",
160
126
  "stylelint-config-recommended-vue": "1.5.0",
161
127
  "stylelint-config-standard": "29.0.0",
162
128
  "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",
129
+ "typescript": "^5.9.3",
167
130
  "vite": "^7.3.1",
168
131
  "vite-plugin-svg-icons": "^2.0.1",
169
- "vue-axe": "1.0.7",
170
- "vue-loader": "17.3.1"
132
+ "vitest": "^4.0.18",
133
+ "vitest-axe": "^0.1.0",
134
+ "vue-eslint-parser": "^10.2.0"
171
135
  },
172
136
  "resolutions": {
173
137
  "stylelint-config-recommended-vue/stylelint-config-recommended": "^9.0.0"
174
138
  },
175
139
  "cacheDirectories": [
176
140
  "node_modules"
177
- ],
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
- "husky": {
213
- "hooks": {
214
- "pre-commit": "cross-env lint-staged"
215
- }
216
- }
141
+ ]
217
142
  }