@virmator/frontend 13.15.0 → 13.15.2

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.
@@ -1,6 +1,6 @@
1
1
  import {baseTypedocConfig} from '@virmator/docs/configs/typedoc.config.base';
2
2
  import {join, resolve} from 'path';
3
- import type {TypeDocOptions} from 'typedoc';
3
+ import {type TypeDocOptions} from 'typedoc';
4
4
 
5
5
  const repoRoot = resolve(import.meta.dirname, '..');
6
6
  const indexTsFile = join(repoRoot, 'src', 'frontend.ts');
@@ -2,7 +2,7 @@ import {log, logColors} from '@augment-vir/common';
2
2
  import {alwaysReloadPlugin} from '@virmator/frontend/src/always-reload.vite';
3
3
  import {existsSync} from 'node:fs';
4
4
  import {basename, dirname, join, relative} from 'node:path';
5
- import type {UserConfig, UserConfigExport} from 'vite';
5
+ import {type UserConfig, type UserConfigExport} from 'vite';
6
6
 
7
7
  export const basePlugins = [
8
8
  alwaysReloadPlugin(),
@@ -1,4 +1,4 @@
1
- import type { PluginOption } from 'vite';
1
+ import { type PluginOption } from 'vite';
2
2
  /**
3
3
  * There are similar plugins out there that try to do this but they aren't aggressive enough. This
4
4
  * plugin literally always reloads on save, no questions asked.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@virmator/frontend",
3
- "version": "13.15.0",
3
+ "version": "13.15.2",
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.16.0",
39
- "@augment-vir/common": "^31.16.0",
40
- "@augment-vir/node": "^31.16.0",
41
- "@virmator/core": "^13.15.0",
38
+ "@augment-vir/assert": "^31.23.0",
39
+ "@augment-vir/common": "^31.23.0",
40
+ "@augment-vir/node": "^31.23.0",
41
+ "@virmator/core": "^13.15.2",
42
42
  "mri": "^1.2.0"
43
43
  },
44
44
  "devDependencies": {
45
- "@augment-vir/test": "^31.16.0",
46
- "@types/node": "^22.15.3",
45
+ "@augment-vir/test": "^31.23.0",
46
+ "@types/node": "^22.15.29",
47
47
  "typescript": "^5.8.3",
48
- "vite": "^6.3.4",
48
+ "vite": "^6.3.5",
49
49
  "vite-tsconfig-paths": "^5.1.4"
50
50
  },
51
51
  "engines": {
@@ -1,7 +1,7 @@
1
1
  import {logColors} from '@augment-vir/common';
2
2
  import {existsSync, lstatSync, readlinkSync} from 'node:fs';
3
3
  import {relative} from 'node:path';
4
- import type {LogOptions, PluginOption} from 'vite';
4
+ import {type LogOptions, type PluginOption} from 'vite';
5
5
 
6
6
  /**
7
7
  * Include actual paths and symlinked target paths if they exist.
package/src/frontend.ts CHANGED
@@ -6,7 +6,7 @@ import mri from 'mri';
6
6
  import {cp, rm} from 'node:fs/promises';
7
7
  import {join, relative, resolve} from 'node:path';
8
8
  import {pathToFileURL} from 'node:url';
9
- import type {UserConfig} from 'vite';
9
+ import {type UserConfig} from 'vite';
10
10
 
11
11
  /** A virmator plugin for running and building frontend packages. */
12
12
  export const virmatorFrontendPlugin = defineVirmatorPlugin(