@visitscotland/component-library 2.0.2 → 2.0.3

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/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [2.0.3](https://github.com/visitscotland/vs-component-library/compare/v2.0.2...v2.0.3) (2024-04-30)
6
+
7
+
8
+ ### 🔖 Others
9
+
10
+ * **eslint:** run eslint only on staged files ([a818cf1](https://github.com/visitscotland/vs-component-library/commit/a818cf154f10b594f6e1c74dddecd6d23e49311f))
11
+ * **prettier:** adding prettier to tidy files ([52ff314](https://github.com/visitscotland/vs-component-library/commit/52ff314bf9c40b86e7582847b455445793f41372))
12
+
5
13
  ### [2.0.2](https://github.com/visitscotland/vs-component-library/compare/v2.0.1...v2.0.2) (2024-04-29)
6
14
 
7
15
 
@@ -4779,7 +4779,7 @@
4779
4779
  "scripts/d93128ef1720d30567fc.js",
4780
4780
  "scripts/cf79e849d95740b7b263.js",
4781
4781
  "scripts/7341ce3fb2773153dd4b.js",
4782
- "scripts/7f44706e46500bf35bcd.js",
4782
+ "scripts/81cf3bd84297446c023c.js",
4783
4783
  "scripts/8318bb8942e7e6cc517c.js"
4784
4784
  ],
4785
4785
  "styles": [
@@ -4793,7 +4793,7 @@
4793
4793
  "styles/d93128ef1720d30567fc.css",
4794
4794
  "styles/cf79e849d95740b7b263.css",
4795
4795
  "styles/7341ce3fb2773153dd4b.css",
4796
- "styles/7f44706e46500bf35bcd.css"
4796
+ "styles/81cf3bd84297446c023c.css"
4797
4797
  ]
4798
4798
  },
4799
4799
  "VsProductSearch": {
@@ -4852,7 +4852,7 @@
4852
4852
  "scripts/d93128ef1720d30567fc.js",
4853
4853
  "scripts/cf79e849d95740b7b263.js",
4854
4854
  "scripts/7341ce3fb2773153dd4b.js",
4855
- "scripts/7f44706e46500bf35bcd.js",
4855
+ "scripts/81cf3bd84297446c023c.js",
4856
4856
  "scripts/698dde4829adcdfa3b00.js"
4857
4857
  ],
4858
4858
  "styles": [
@@ -4869,7 +4869,7 @@
4869
4869
  "styles/d93128ef1720d30567fc.css",
4870
4870
  "styles/cf79e849d95740b7b263.css",
4871
4871
  "styles/7341ce3fb2773153dd4b.css",
4872
- "styles/7f44706e46500bf35bcd.css",
4872
+ "styles/81cf3bd84297446c023c.css",
4873
4873
  "styles/698dde4829adcdfa3b00.css"
4874
4874
  ]
4875
4875
  },
@@ -20,7 +20,7 @@
20
20
  "index.js"
21
21
  ],
22
22
  "styles": [
23
- "styles/877f3d3bcdafa9ea1308.css"
23
+ "styles/fef117e9d140ffc46778.css"
24
24
  ]
25
25
  }
26
26
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visitscotland/component-library",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "description": "VisitScotland Component Library",
5
5
  "author": "VisitScotland",
6
6
  "main": "dist/ssr/index.js",
@@ -26,8 +26,7 @@
26
26
  "lint:build": "yarn lint \"build/*.{js,vue,ts}\"",
27
27
  "lint:stories": "yarn lint \"stories/**/*.{js,vue,ts}\"",
28
28
  "lint:fix": "yarn lint \"src/**/*.{js,vue,ts}\" \"stories/**/*.js\" --fix",
29
- "lint:style": "stylelint",
30
- "lint:style:all": "lint:style \"src/**/*.{vue,scss}\"",
29
+ "prettier": "prettier . --list-different",
31
30
  "theo": "theo ./src/tokens/tokens.yml --transform web --format map.scss,scss,raw.json,json --dest ./src/assets/tokens",
32
31
  "third-party": "webpack --config ./build/third-party.webpack.conf.js",
33
32
  "commit": "cz",
@@ -37,6 +36,9 @@
37
36
  "release:minor": "standard-version --release-as minor",
38
37
  "release:major": "standard-version --release-as major"
39
38
  },
39
+ "lint-staged": {
40
+ "*.{js,vue,ts}": "eslint"
41
+ },
40
42
  "repository": {
41
43
  "type": "git",
42
44
  "url": "https://github.com/visitscotland/vs-component-library.git"
@@ -97,12 +99,14 @@
97
99
  "jest-axe": "^8.0.0",
98
100
  "jest-environment-jsdom": "^29.5.0",
99
101
  "jest-serializer-vue": "^3.1.0",
102
+ "lint-staged": "^15.2.2",
100
103
  "mini-css-extract-plugin": "^2.7.5",
101
104
  "moxios": "^0.4.0",
102
105
  "node-polyfill-webpack-plugin": "^2.0.1",
103
106
  "node-sass": "^8.0.0",
104
107
  "path": "^0.12.7",
105
108
  "postcss-safe-parser": "^6.0.0",
109
+ "prettier": "^3.2.5",
106
110
  "react": "^18.2.0",
107
111
  "react-dom": "^18.2.0",
108
112
  "sass": "^1.62.1",