@unimelb/pattern-lib-vue 14.4.2 → 14.5.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.
- package/.out/vue.js +1 -1
- package/README.md +6 -0
- package/package.json +8 -6
package/README.md
CHANGED
|
@@ -186,6 +186,12 @@ Pre-release builds can be created like this (using the git pre-push hook behind
|
|
|
186
186
|
|
|
187
187
|
## Testing
|
|
188
188
|
|
|
189
|
+
### Testing Pull-requests
|
|
190
|
+
|
|
191
|
+
You can test `pull-requests` on live sites by using `?preview=test-xxx` where `xxx` is the pull-request `number`.
|
|
192
|
+
|
|
193
|
+
For example: https://study.unimelb.edu.au/?preview=test-2203 will load https://github.com/unimelb/pattern-lib/pull/2203
|
|
194
|
+
|
|
189
195
|
### How could you test before going live?
|
|
190
196
|
|
|
191
197
|
> Code changes to the remote `dev` branch triggers a `Github Actions` deploy into the AWS S3 Bucket in a folder called `latest` where the `CMS` team can appoint to `latest` and test it out before go to `production`.
|
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": "14.
|
|
4
|
+
"version": "14.5.1",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/unimelb/pattern-lib.git"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"docker": "docker compose --profile dev up --abort-on-container-exit --remove-orphans",
|
|
32
32
|
"docker:build": "cross-env MODE=build docker compose run --rm storybook",
|
|
33
33
|
"lint": "run-s lint:js lint:css",
|
|
34
|
-
"lint:css": "stylelint \".storybook/**/*.css\" \"components/**/*.css\" \"targets/**/*.css\" --fix",
|
|
34
|
+
"lint:css": "stylelint \".storybook/**/*.{css,vue}\" \"components/**/*.{css,vue}\" \"targets/**/*.css\" --fix",
|
|
35
35
|
"lint:js": "eslint \"*.js\" \".storybook/**/*.{js,vue}\" \"components/**/*.{js,vue}\" \"targets/**/*.js\" --fix",
|
|
36
36
|
"start:snapshots": "server-test serve:test :5000 'jest -w=4 -c snapshots/jest.config.js'",
|
|
37
37
|
"start:updatesnapshots": "server-test serve:test :5000 'jest -w=4 -c snapshots/jest.config.js -u'",
|
|
@@ -81,6 +81,7 @@
|
|
|
81
81
|
"babel-preset-es2015": "^6.24.1",
|
|
82
82
|
"babel-preset-stage-3": "^6.24.1",
|
|
83
83
|
"caniuse-db": "~1.0.30000978",
|
|
84
|
+
"create-file-webpack": "^1.0.2",
|
|
84
85
|
"cross-env": "^5.2.0",
|
|
85
86
|
"css-loader": "^1.0.0",
|
|
86
87
|
"css-mqpacker": "^7.0.0",
|
|
@@ -109,6 +110,7 @@
|
|
|
109
110
|
"plop": "^2.4.0",
|
|
110
111
|
"postcss-assets": "^5.0.0",
|
|
111
112
|
"postcss-calc": "^7.0.1",
|
|
113
|
+
"postcss-html": "^1.6.0",
|
|
112
114
|
"postcss-import": "^12.0.1",
|
|
113
115
|
"postcss-inline-svg": "^4.1.0",
|
|
114
116
|
"postcss-loader": "^2.1.6",
|
|
@@ -127,10 +129,10 @@
|
|
|
127
129
|
"storybook-readme": "3.1.1",
|
|
128
130
|
"strip-html-comments": "^1.0.0",
|
|
129
131
|
"style-loader": "^0.21.0",
|
|
130
|
-
"stylelint": "^
|
|
131
|
-
"stylelint-config-property-sort-order-smacss": "^
|
|
132
|
-
"stylelint-config-standard": "^
|
|
133
|
-
"stylelint-order": "^
|
|
132
|
+
"stylelint": "^14.16.1",
|
|
133
|
+
"stylelint-config-property-sort-order-smacss": "^9.1.0",
|
|
134
|
+
"stylelint-config-standard": "^29.0.0",
|
|
135
|
+
"stylelint-order": "^5.0.0",
|
|
134
136
|
"svg-sprite-loader": "^4.3.0",
|
|
135
137
|
"svg-url-loader": "^2.3.3",
|
|
136
138
|
"svgo-loader": "^2.1.0",
|