mf-examples 1.5.31 → 1.5.33

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/README.md CHANGED
@@ -4,7 +4,6 @@
4
4
  [![downloads](http://img.shields.io/npm/dm/mf-examples.svg?style=flat-square)](https://npmjs.org/package/mf-examples)
5
5
  [![GitHub Issues](https://img.shields.io/github/issues/arlac77/mf-examples.svg?style=flat-square)](https://github.com/arlac77/mf-examples/issues)
6
6
  [![Build Status](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Farlac77%2Fmf-examples%2Fbadge\&style=flat)](https://actions-badge.atrox.dev/arlac77/mf-examples/goto)
7
- [![Coverage Status](https://coveralls.io/repos/arlac77/mf-examples/badge.svg)](https://coveralls.io/github/arlac77/mf-examples)
8
7
  # mf-examples
9
8
 
10
9
  Examples entry page
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mf-examples",
3
- "version": "1.5.31",
3
+ "version": "1.5.33",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "provenance": true
@@ -33,14 +33,14 @@
33
33
  "@semantic-release/exec": "^7.1.0",
34
34
  "@semantic-release/github": "^12.0.2",
35
35
  "@semantic-release/release-notes-generator": "^14.1.0",
36
- "mf-hosting-frontend": "^3.9.10",
37
- "mf-styling": "^3.2.16",
38
- "npm-pkgbuild": "^19.0.7",
36
+ "mf-hosting-frontend": "^3.9.11",
37
+ "mf-styling": "^3.2.24",
38
+ "npm-pkgbuild": "^19.1.2",
39
39
  "semantic-release": "^25.0.2",
40
40
  "stylelint": "^16.26.1",
41
41
  "stylelint-config-standard": "^39.0.1",
42
- "vite": "^7.2.6",
43
- "vite-plugin-compression2": "^2.3.1"
42
+ "vite": "^7.3.0",
43
+ "vite-plugin-compression2": "^2.4.0"
44
44
  },
45
45
  "repository": {
46
46
  "type": "git",
package/src/index.html CHANGED
@@ -24,7 +24,7 @@
24
24
  <main>
25
25
  <ul>
26
26
  <li>
27
- <a href="mf-styling/index.html"
27
+ <a href="mf-styling/tests/app/index.html"
28
28
  ><b>mf-styling</b> CSS styling for MF apps</a
29
29
  >
30
30
  </li>
package/vite.config.mts DELETED
@@ -1,54 +0,0 @@
1
- import { defineConfig } from "vite";
2
- import { compression } from "vite-plugin-compression2";
3
- import { extractFromPackage } from "npm-pkgbuild";
4
-
5
- export default defineConfig(async ({ command, mode }) => {
6
- const res = extractFromPackage(
7
- {
8
- dir: new URL("./", import.meta.url).pathname,
9
- mode
10
- },
11
- process.env
12
- );
13
- const first = await res.next();
14
- const pkg = first.value;
15
- const properties = pkg.properties;
16
- const base = properties["http.path"];
17
- const production = mode === "production";
18
-
19
- process.env["VITE_NAME"] = properties.name;
20
- process.env["VITE_DESCRIPTION"] = properties.description;
21
- process.env["VITE_VERSION"] = properties.version;
22
-
23
- return {
24
- base,
25
- root: "src",
26
- server: { host: true },
27
- plugins: [
28
- compression({
29
- algorithms: ["brotliCompress"],
30
- exclude: [
31
- /\.(map)$/,
32
- /\.(br)$/,
33
- /\.(gz)$/,
34
- /\.(png)$/,
35
- /\.(jpg)$/,
36
- /\.(gif)$/,
37
- /\.(webp)$/,
38
- /\.(heic)$/,
39
- /\.(avif)$/,
40
- /\.(jxl)$/,
41
- /\.(pdf)$/,
42
- /\.(docx)$/
43
- ],
44
- threshold: 500
45
- })
46
- ],
47
- build: {
48
- outDir: "../build",
49
- emptyOutDir: true,
50
- minify: production,
51
- sourcemap: true
52
- }
53
- };
54
- });