@virmator/init 14.7.1 → 14.8.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.
@@ -16,7 +16,7 @@
16
16
  /www-static/
17
17
  bash-scripts/
18
18
  dist-docs/
19
- eslint.config.mjs
19
+ eslint.config.ts
20
20
  generated-config-*
21
21
  index.html
22
22
  prettier.config.mjs
@@ -1,15 +1,16 @@
1
1
  import {baseTypedocConfig} from '@virmator/docs/configs/typedoc.config.base';
2
- import {join, resolve} from 'path';
2
+ import {dirname, join} from 'node:path';
3
+ import {fileURLToPath} from 'node:url';
3
4
  import {type TypeDocOptions} from 'typedoc';
4
5
 
5
- const repoRoot = resolve(import.meta.dirname, '..');
6
- const indexTsFile = join(repoRoot, 'src', 'init.ts');
6
+ const indexTsFile = join(dirname(dirname(fileURLToPath(import.meta.url))), 'src', 'init.ts');
7
+ const outDirPath = join(dirname(dirname(fileURLToPath(import.meta.url))), 'dist-docs');
7
8
 
8
9
  export const typeDocConfig: Partial<TypeDocOptions> = {
9
10
  ...baseTypedocConfig,
10
- out: join(repoRoot, 'dist-docs'),
11
+ out: outDirPath,
11
12
  entryPoints: [
12
- indexTsFile,
13
+ indexTsFile.replaceAll('\\', '/'),
13
14
  ],
14
15
  intentionallyNotExported: [],
15
16
  defaultCategory: 'MISSING CATEGORY',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@virmator/init",
3
- "version": "14.7.1",
3
+ "version": "14.8.0",
4
4
  "description": "Default init plugin for virmator.",
5
5
  "keywords": [
6
6
  "virmator",
@@ -31,15 +31,15 @@
31
31
  "test:update": "npm test"
32
32
  },
33
33
  "dependencies": {
34
- "@augment-vir/assert": "^31.64.0",
35
- "@augment-vir/common": "^31.64.0",
36
- "@augment-vir/node": "^31.64.0",
37
- "@virmator/core": "^14.7.1",
38
- "simple-git": "^3.30.0"
34
+ "@augment-vir/assert": "^31.67.1",
35
+ "@augment-vir/common": "^31.67.1",
36
+ "@augment-vir/node": "^31.67.1",
37
+ "@virmator/core": "^14.8.0",
38
+ "simple-git": "^3.32.3"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@types/node": "^25.3.0",
42
- "element-vir": "^26.14.3",
42
+ "element-vir": "^26.14.6",
43
43
  "mono-vir": "^2.5.0",
44
44
  "runstorm": "^1.0.0",
45
45
  "tsx": "^4.21.0",