@virmator/deps 14.7.0 → 14.7.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,4 +1,4 @@
1
- import {baseNcuConfig} from '@virmator/deps/configs/ncu.config.base';
1
+ import {baseNcuConfig} from '@virmator/deps/configs/ncu.config.base.js';
2
2
  import {RunOptions} from 'npm-check-updates';
3
3
 
4
4
  export const ncuConfig: RunOptions = {
@@ -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', 'deps.ts');
6
+ const indexTsFile = join(dirname(dirname(fileURLToPath(import.meta.url))), 'src', 'deps.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/dist/deps.js CHANGED
@@ -219,7 +219,9 @@ export const virmatorDepsPlugin = defineVirmatorPlugin(import.meta.dirname, {
219
219
  });
220
220
  });
221
221
  log.faint('Removing package-lock.json...');
222
- await rm(join(monoRepoRootPath, 'package-lock.json'), { force: true });
222
+ await rm(join(monoRepoRootPath, 'package-lock.json'), {
223
+ force: true,
224
+ });
223
225
  const installCommand = [
224
226
  'npm',
225
227
  'i',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@virmator/deps",
3
- "version": "14.7.0",
3
+ "version": "14.7.2",
4
4
  "description": "Default TS deps plugin for virmator.",
5
5
  "keywords": [
6
6
  "virmator",
@@ -38,7 +38,7 @@
38
38
  "@augment-vir/common": "^31.64.0",
39
39
  "@augment-vir/node": "^31.64.0",
40
40
  "@npm/types": "^2.1.0",
41
- "@virmator/core": "^14.7.0",
41
+ "@virmator/core": "^14.7.2",
42
42
  "mri": "^1.2.0"
43
43
  },
44
44
  "devDependencies": {