@virmator/compile 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.
- package/configs/typedoc.config.ts +6 -5
- package/dist/compile.js +3 -1
- package/package.json +3 -3
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import {baseTypedocConfig} from '@virmator/docs/configs/typedoc.config.base';
|
|
2
|
-
import {
|
|
2
|
+
import {dirname, join} from 'node:path';
|
|
3
|
+
import {fileURLToPath} from 'node:url';
|
|
3
4
|
import {type TypeDocOptions} from 'typedoc';
|
|
4
5
|
|
|
5
|
-
const
|
|
6
|
-
const
|
|
6
|
+
const indexTsFile = join(dirname(dirname(fileURLToPath(import.meta.url))), 'src', 'compile.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:
|
|
11
|
+
out: outDirPath,
|
|
11
12
|
entryPoints: [
|
|
12
|
-
indexTsFile,
|
|
13
|
+
indexTsFile.replaceAll('\\', '/'),
|
|
13
14
|
],
|
|
14
15
|
intentionallyNotExported: [],
|
|
15
16
|
};
|
package/dist/compile.js
CHANGED
|
@@ -130,7 +130,9 @@ async function createCompileCommandString({ cwd, cliInputs, log }, packageName,
|
|
|
130
130
|
});
|
|
131
131
|
}
|
|
132
132
|
log.faint(`${logPrefix}Deleting tsconfig.tsbuildinfo...`);
|
|
133
|
-
await rm(join(cwd, 'tsconfig.tsbuildinfo'), {
|
|
133
|
+
await rm(join(cwd, 'tsconfig.tsbuildinfo'), {
|
|
134
|
+
force: true,
|
|
135
|
+
});
|
|
134
136
|
log.faint(`${logPrefix}Compiling...`);
|
|
135
137
|
const fullCommand = [
|
|
136
138
|
'npx',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@virmator/compile",
|
|
3
|
-
"version": "14.7.
|
|
3
|
+
"version": "14.7.2",
|
|
4
4
|
"description": "Default TS compile plugin for virmator.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"virmator",
|
|
@@ -35,13 +35,13 @@
|
|
|
35
35
|
"@augment-vir/assert": "^31.64.0",
|
|
36
36
|
"@augment-vir/common": "^31.64.0",
|
|
37
37
|
"@augment-vir/node": "^31.64.0",
|
|
38
|
-
"@virmator/core": "^14.7.
|
|
38
|
+
"@virmator/core": "^14.7.2",
|
|
39
39
|
"runstorm": "^1.0.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@augment-vir/test": "^31.64.0",
|
|
43
43
|
"@types/node": "^25.3.0",
|
|
44
|
-
"@virmator/plugin-testing": "^14.7.
|
|
44
|
+
"@virmator/plugin-testing": "^14.7.2",
|
|
45
45
|
"c8": "^10.1.3",
|
|
46
46
|
"istanbul-smart-text-reporter": "^1.1.5",
|
|
47
47
|
"mono-vir": "^2.5.0",
|