@virmator/frontend 13.16.1 → 14.0.0
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/dist/frontend.d.ts +43 -14
- package/dist/frontend.js +21 -21
- package/package.json +8 -8
- package/src/frontend.ts +21 -21
package/dist/frontend.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { NpmDepType, PackageType } from '@virmator/core';
|
|
1
|
+
import { NpmDepType } from '@virmator/core';
|
|
3
2
|
/** A virmator plugin for running and building frontend packages. */
|
|
4
3
|
export declare const virmatorFrontendPlugin: Readonly<Readonly<{
|
|
5
4
|
name: string;
|
|
@@ -33,8 +32,13 @@ export declare const virmatorFrontendPlugin: Readonly<Readonly<{
|
|
|
33
32
|
readonly vite: {
|
|
34
33
|
readonly copyFromPath: string;
|
|
35
34
|
readonly copyToPath: string;
|
|
36
|
-
readonly env:
|
|
37
|
-
|
|
35
|
+
readonly env: {
|
|
36
|
+
readonly web: true;
|
|
37
|
+
};
|
|
38
|
+
readonly packageType: {
|
|
39
|
+
readonly "top-level-package": true;
|
|
40
|
+
readonly "mono-package": true;
|
|
41
|
+
};
|
|
38
42
|
readonly required: true;
|
|
39
43
|
readonly configFlags: ["--config"];
|
|
40
44
|
};
|
|
@@ -42,13 +46,23 @@ export declare const virmatorFrontendPlugin: Readonly<Readonly<{
|
|
|
42
46
|
readonly npmDeps: {
|
|
43
47
|
readonly typescript: {
|
|
44
48
|
readonly type: NpmDepType.Dev;
|
|
45
|
-
readonly env:
|
|
46
|
-
|
|
49
|
+
readonly env: {
|
|
50
|
+
readonly web: true;
|
|
51
|
+
};
|
|
52
|
+
readonly packageType: {
|
|
53
|
+
readonly "mono-package": true;
|
|
54
|
+
readonly "top-level-package": true;
|
|
55
|
+
};
|
|
47
56
|
};
|
|
48
57
|
readonly vite: {
|
|
49
58
|
readonly type: NpmDepType.Dev;
|
|
50
|
-
readonly env:
|
|
51
|
-
|
|
59
|
+
readonly env: {
|
|
60
|
+
readonly web: true;
|
|
61
|
+
};
|
|
62
|
+
readonly packageType: {
|
|
63
|
+
readonly "mono-package": true;
|
|
64
|
+
readonly "top-level-package": true;
|
|
65
|
+
};
|
|
52
66
|
};
|
|
53
67
|
};
|
|
54
68
|
};
|
|
@@ -85,8 +99,13 @@ export declare const virmatorFrontendPlugin: Readonly<Readonly<{
|
|
|
85
99
|
readonly vite: {
|
|
86
100
|
readonly copyFromPath: string;
|
|
87
101
|
readonly copyToPath: string;
|
|
88
|
-
readonly env:
|
|
89
|
-
|
|
102
|
+
readonly env: {
|
|
103
|
+
readonly web: true;
|
|
104
|
+
};
|
|
105
|
+
readonly packageType: {
|
|
106
|
+
readonly "top-level-package": true;
|
|
107
|
+
readonly "mono-package": true;
|
|
108
|
+
};
|
|
90
109
|
readonly required: true;
|
|
91
110
|
readonly configFlags: ["--config"];
|
|
92
111
|
};
|
|
@@ -94,13 +113,23 @@ export declare const virmatorFrontendPlugin: Readonly<Readonly<{
|
|
|
94
113
|
readonly npmDeps: {
|
|
95
114
|
readonly typescript: {
|
|
96
115
|
readonly type: NpmDepType.Dev;
|
|
97
|
-
readonly env:
|
|
98
|
-
|
|
116
|
+
readonly env: {
|
|
117
|
+
readonly web: true;
|
|
118
|
+
};
|
|
119
|
+
readonly packageType: {
|
|
120
|
+
readonly "mono-package": true;
|
|
121
|
+
readonly "top-level-package": true;
|
|
122
|
+
};
|
|
99
123
|
};
|
|
100
124
|
readonly vite: {
|
|
101
125
|
readonly type: NpmDepType.Dev;
|
|
102
|
-
readonly env:
|
|
103
|
-
|
|
126
|
+
readonly env: {
|
|
127
|
+
readonly web: true;
|
|
128
|
+
};
|
|
129
|
+
readonly packageType: {
|
|
130
|
+
readonly "mono-package": true;
|
|
131
|
+
readonly "top-level-package": true;
|
|
132
|
+
};
|
|
104
133
|
};
|
|
105
134
|
};
|
|
106
135
|
};
|
package/dist/frontend.js
CHANGED
|
@@ -57,13 +57,13 @@ export const virmatorFrontendPlugin = defineVirmatorPlugin(import.meta.dirname,
|
|
|
57
57
|
vite: {
|
|
58
58
|
copyFromPath: join('configs', 'vite.config.ts'),
|
|
59
59
|
copyToPath: join('configs', 'vite.config.ts'),
|
|
60
|
-
env:
|
|
61
|
-
RuntimeEnv.Web,
|
|
62
|
-
|
|
63
|
-
packageType:
|
|
64
|
-
PackageType.TopPackage,
|
|
65
|
-
PackageType.MonoPackage,
|
|
66
|
-
|
|
60
|
+
env: {
|
|
61
|
+
[RuntimeEnv.Web]: true,
|
|
62
|
+
},
|
|
63
|
+
packageType: {
|
|
64
|
+
[PackageType.TopPackage]: true,
|
|
65
|
+
[PackageType.MonoPackage]: true,
|
|
66
|
+
},
|
|
67
67
|
required: true,
|
|
68
68
|
configFlags: ['--config'],
|
|
69
69
|
},
|
|
@@ -71,23 +71,23 @@ export const virmatorFrontendPlugin = defineVirmatorPlugin(import.meta.dirname,
|
|
|
71
71
|
npmDeps: {
|
|
72
72
|
typescript: {
|
|
73
73
|
type: NpmDepType.Dev,
|
|
74
|
-
env:
|
|
75
|
-
RuntimeEnv.Web,
|
|
76
|
-
|
|
77
|
-
packageType:
|
|
78
|
-
PackageType.MonoPackage,
|
|
79
|
-
PackageType.TopPackage,
|
|
80
|
-
|
|
74
|
+
env: {
|
|
75
|
+
[RuntimeEnv.Web]: true,
|
|
76
|
+
},
|
|
77
|
+
packageType: {
|
|
78
|
+
[PackageType.MonoPackage]: true,
|
|
79
|
+
[PackageType.TopPackage]: true,
|
|
80
|
+
},
|
|
81
81
|
},
|
|
82
82
|
vite: {
|
|
83
83
|
type: NpmDepType.Dev,
|
|
84
|
-
env:
|
|
85
|
-
RuntimeEnv.Web,
|
|
86
|
-
|
|
87
|
-
packageType:
|
|
88
|
-
PackageType.MonoPackage,
|
|
89
|
-
PackageType.TopPackage,
|
|
90
|
-
|
|
84
|
+
env: {
|
|
85
|
+
[RuntimeEnv.Web]: true,
|
|
86
|
+
},
|
|
87
|
+
packageType: {
|
|
88
|
+
[PackageType.MonoPackage]: true,
|
|
89
|
+
[PackageType.TopPackage]: true,
|
|
90
|
+
},
|
|
91
91
|
},
|
|
92
92
|
},
|
|
93
93
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@virmator/frontend",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "14.0.0",
|
|
4
4
|
"description": "Default frontend plugin for virmator.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"virmator",
|
|
@@ -35,17 +35,17 @@
|
|
|
35
35
|
"test:update": "npm test update"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@augment-vir/assert": "^31.
|
|
39
|
-
"@augment-vir/common": "^31.
|
|
40
|
-
"@augment-vir/node": "^31.
|
|
41
|
-
"@virmator/core": "^
|
|
38
|
+
"@augment-vir/assert": "^31.32.3",
|
|
39
|
+
"@augment-vir/common": "^31.32.3",
|
|
40
|
+
"@augment-vir/node": "^31.32.3",
|
|
41
|
+
"@virmator/core": "^14.0.0",
|
|
42
42
|
"mri": "^1.2.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@augment-vir/test": "^31.
|
|
46
|
-
"@types/node": "^24.
|
|
45
|
+
"@augment-vir/test": "^31.32.3",
|
|
46
|
+
"@types/node": "^24.3.0",
|
|
47
47
|
"typescript": "^5.9.2",
|
|
48
|
-
"vite": "^7.1.
|
|
48
|
+
"vite": "^7.1.3",
|
|
49
49
|
"vite-tsconfig-paths": "^5.1.4"
|
|
50
50
|
},
|
|
51
51
|
"engines": {
|
package/src/frontend.ts
CHANGED
|
@@ -61,13 +61,13 @@ export const virmatorFrontendPlugin = defineVirmatorPlugin(
|
|
|
61
61
|
vite: {
|
|
62
62
|
copyFromPath: join('configs', 'vite.config.ts'),
|
|
63
63
|
copyToPath: join('configs', 'vite.config.ts'),
|
|
64
|
-
env:
|
|
65
|
-
RuntimeEnv.Web,
|
|
66
|
-
|
|
67
|
-
packageType:
|
|
68
|
-
PackageType.TopPackage,
|
|
69
|
-
PackageType.MonoPackage,
|
|
70
|
-
|
|
64
|
+
env: {
|
|
65
|
+
[RuntimeEnv.Web]: true,
|
|
66
|
+
},
|
|
67
|
+
packageType: {
|
|
68
|
+
[PackageType.TopPackage]: true,
|
|
69
|
+
[PackageType.MonoPackage]: true,
|
|
70
|
+
},
|
|
71
71
|
required: true,
|
|
72
72
|
configFlags: ['--config'],
|
|
73
73
|
},
|
|
@@ -75,23 +75,23 @@ export const virmatorFrontendPlugin = defineVirmatorPlugin(
|
|
|
75
75
|
npmDeps: {
|
|
76
76
|
typescript: {
|
|
77
77
|
type: NpmDepType.Dev,
|
|
78
|
-
env:
|
|
79
|
-
RuntimeEnv.Web,
|
|
80
|
-
|
|
81
|
-
packageType:
|
|
82
|
-
PackageType.MonoPackage,
|
|
83
|
-
PackageType.TopPackage,
|
|
84
|
-
|
|
78
|
+
env: {
|
|
79
|
+
[RuntimeEnv.Web]: true,
|
|
80
|
+
},
|
|
81
|
+
packageType: {
|
|
82
|
+
[PackageType.MonoPackage]: true,
|
|
83
|
+
[PackageType.TopPackage]: true,
|
|
84
|
+
},
|
|
85
85
|
},
|
|
86
86
|
vite: {
|
|
87
87
|
type: NpmDepType.Dev,
|
|
88
|
-
env:
|
|
89
|
-
RuntimeEnv.Web,
|
|
90
|
-
|
|
91
|
-
packageType:
|
|
92
|
-
PackageType.MonoPackage,
|
|
93
|
-
PackageType.TopPackage,
|
|
94
|
-
|
|
88
|
+
env: {
|
|
89
|
+
[RuntimeEnv.Web]: true,
|
|
90
|
+
},
|
|
91
|
+
packageType: {
|
|
92
|
+
[PackageType.MonoPackage]: true,
|
|
93
|
+
[PackageType.TopPackage]: true,
|
|
94
|
+
},
|
|
95
95
|
},
|
|
96
96
|
},
|
|
97
97
|
},
|