mf-examples 1.4.3 → 1.4.5

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/LICENSE +1 -1
  2. package/package.json +13 -12
  3. package/vite.config.mts +12 -1
package/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2022-2023 by mf-examples
1
+ Copyright (c) 2022-2024 by mf-examples
2
2
  All rights reserved.
3
3
 
4
4
  Redistribution and use in source and binary forms, with or without
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mf-examples",
3
- "version": "1.4.3",
3
+ "version": "1.4.5",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -20,22 +20,23 @@
20
20
  "scripts": {
21
21
  "prepare": "vite build",
22
22
  "start": "vite",
23
+ "test": "true",
23
24
  "lint": "npm run lint:css",
24
25
  "lint:css": "stylelint ./src/*.css",
25
26
  "preview": "vite preview"
26
27
  },
27
28
  "devDependencies": {
28
- "@semantic-release/commit-analyzer": "^10.0.1",
29
+ "@semantic-release/commit-analyzer": "^11.1.0",
29
30
  "@semantic-release/exec": "^6.0.3",
30
- "@semantic-release/release-notes-generator": "^11.0.4",
31
- "mf-hosting-frontend": "^2.0.0",
32
- "mf-styling": "^3.0.2",
33
- "npm-pkgbuild": "^11.9.0",
34
- "semantic-release": "^21.0.7",
35
- "stylelint": "^15.10.1",
36
- "stylelint-config-standard": "^34.0.0",
37
- "vite": "^4.4.2",
38
- "vite-plugin-compression2": "^0.10.3"
31
+ "@semantic-release/release-notes-generator": "^12.1.0",
32
+ "mf-hosting-frontend": "^2.2.5",
33
+ "mf-styling": "^3.1.2",
34
+ "npm-pkgbuild": "^13.0.18",
35
+ "semantic-release": "^23.0.0",
36
+ "stylelint": "^16.2.1",
37
+ "stylelint-config-standard": "^36.0.0",
38
+ "vite": "^5.0.12",
39
+ "vite-plugin-compression2": "^0.12.0"
39
40
  },
40
41
  "repository": {
41
42
  "type": "git",
@@ -117,7 +118,7 @@
117
118
  "template": {
118
119
  "inheritFrom": [
119
120
  "arlac77/template-arlac77-github",
120
- "arlac77/template-pacman",
121
+ "arlac77/template-npm-pkgbuild",
121
122
  "arlac77/template-vite",
122
123
  "arlac77/template-web-app"
123
124
  ]
package/vite.config.mts CHANGED
@@ -27,7 +27,18 @@ export default defineConfig(async ({ command, mode }) => {
27
27
  plugins: [
28
28
  compression({
29
29
  algorithm: "brotliCompress",
30
- exclude: [/\.(br)$/, /\.(gz)$/, /\.(png)$/, /\.(jpg)$/],
30
+ exclude: [
31
+ /\.(br)$/,
32
+ /\.(gz)$/,
33
+ /\.(png)$/,
34
+ /\.(jpg)$/,
35
+ /\.(gif)$/,
36
+ /\.(webp)$/,
37
+ /\.(heic)$/,
38
+ /\.(avif)$/,
39
+ /\.(jxl)$/,
40
+ /\.(pdf)$/
41
+ ],
31
42
  threshold: 500
32
43
  })
33
44
  ],