@virmator/frontend 14.2.2 → 14.3.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.
@@ -47,6 +47,17 @@ export type OverrideCallback = (
47
47
  basePaths: Readonly<ConfigPaths>,
48
48
  ) => UserConfig | Promise<UserConfig>;
49
49
 
50
+ const externalDeps: string[] = [
51
+ /** These are specified, but not actually used in a browser, in `@augment-vir/common` exports. */
52
+ 'node:util',
53
+ 'node:path',
54
+
55
+ /** This is specified, but not actually used in a browser, in `@augment-vir/test` exports. */
56
+ '@playwright/test',
57
+ /** For extra measure, also block playwright. */
58
+ 'playwright',
59
+ ];
60
+
50
61
  export function createBaseConfig({forGitHubPages, packageDirPath}: BaseConfigOptions): {
51
62
  baseConfig: UserConfig;
52
63
  basePaths: ConfigPaths;
@@ -75,20 +86,14 @@ export function createBaseConfig({forGitHubPages, packageDirPath}: BaseConfigOpt
75
86
  emptyOutDir: true,
76
87
  target,
77
88
  rollupOptions: {
78
- external: [
79
- /**
80
- * These are specified, but not actually used in a browser, in
81
- * `@augment-vir/common` exports.
82
- */
83
- 'node:util',
84
- 'node:path',
85
- ],
89
+ external: externalDeps,
86
90
  },
87
91
  },
88
92
  optimizeDeps: {
89
93
  esbuildOptions: {
90
94
  target,
91
95
  },
96
+ exclude: externalDeps,
92
97
  force: true,
93
98
  },
94
99
  esbuild: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@virmator/frontend",
3
- "version": "14.2.2",
3
+ "version": "14.3.1",
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.46.1",
39
- "@augment-vir/common": "^31.46.1",
40
- "@augment-vir/node": "^31.46.1",
41
- "@virmator/core": "^14.2.2",
38
+ "@augment-vir/assert": "^31.52.0",
39
+ "@augment-vir/common": "^31.52.0",
40
+ "@augment-vir/node": "^31.52.0",
41
+ "@virmator/core": "^14.3.1",
42
42
  "mri": "^1.2.0"
43
43
  },
44
44
  "devDependencies": {
45
- "@augment-vir/test": "^31.46.1",
46
- "@types/node": "^24.9.1",
45
+ "@augment-vir/test": "^31.52.0",
46
+ "@types/node": "^24.10.1",
47
47
  "typescript": "^5.9.3",
48
- "vite": "^7.1.12",
48
+ "vite": "^7.2.4",
49
49
  "vite-tsconfig-paths": "^5.1.4"
50
50
  },
51
51
  "engines": {