@genesislcap/vite-builder 14.436.0-FUI-2489.4 → 14.436.0-FUI-2489.7
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/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/package.json +7 -5
- package/src/index.ts +3 -3
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAgB3D;;;;;;;;;;;;;;;;;;;;;;;GAuBG;yBAEmB,KAAK,YAAY;AAAvC,wBA2KE"}
|
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
const node_fs_1 = require("node:fs");
|
|
5
|
-
const node_path_1 = require("node:path");
|
|
6
4
|
const build_kit_1 = require("@genesislcap/build-kit");
|
|
7
5
|
const consola_1 = tslib_1.__importDefault(require("consola"));
|
|
6
|
+
const node_fs_1 = require("node:fs");
|
|
7
|
+
const node_path_1 = require("node:path");
|
|
8
8
|
const vite_js_1 = require("./vite.js");
|
|
9
9
|
/**
|
|
10
10
|
* There seems to be various documented issues using Vite in a monorepo setup that are impacted by various factors.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/vite-builder",
|
|
3
3
|
"description": "Vite builder",
|
|
4
|
-
"version": "14.436.0-FUI-2489.
|
|
4
|
+
"version": "14.436.0-FUI-2489.7",
|
|
5
5
|
"license": "SEE LICENSE IN license.txt",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -12,11 +12,13 @@
|
|
|
12
12
|
"build": "npm run clean && tsc -b ./tsconfig.json",
|
|
13
13
|
"clean": "rimraf dist temp tsconfig.tsbuildinfo",
|
|
14
14
|
"dev": "tsc -b ./tsconfig.json -w",
|
|
15
|
-
"lint": "genx lint
|
|
16
|
-
"lint:fix": "genx lint --fix"
|
|
15
|
+
"lint": "genx lint",
|
|
16
|
+
"lint:fix": "genx lint --fix",
|
|
17
|
+
"lint:ox": "genx lint -l ox",
|
|
18
|
+
"lint:ox:fix": "genx lint -l ox --fix"
|
|
17
19
|
},
|
|
18
20
|
"dependencies": {
|
|
19
|
-
"@genesislcap/build-kit": "14.436.0-FUI-2489.
|
|
21
|
+
"@genesislcap/build-kit": "14.436.0-FUI-2489.7",
|
|
20
22
|
"consola": "^3.0.2",
|
|
21
23
|
"copyfiles": "^2.4.1",
|
|
22
24
|
"vite": "^7.2.2",
|
|
@@ -31,5 +33,5 @@
|
|
|
31
33
|
"publishConfig": {
|
|
32
34
|
"access": "public"
|
|
33
35
|
},
|
|
34
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "0255c3ca76f815c03c5699c5b7364d624ed08272"
|
|
35
37
|
}
|
package/src/index.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { existsSync } from 'node:fs';
|
|
2
|
-
import { relative, resolve } from 'node:path';
|
|
3
1
|
import type { BuildContext } from '@genesislcap/build-kit';
|
|
2
|
+
import type { Plugin, UserConfig, ProxyOptions } from 'vite';
|
|
4
3
|
import {
|
|
5
4
|
createDevProxies,
|
|
6
5
|
getDevCertOptions,
|
|
@@ -11,7 +10,8 @@ import {
|
|
|
11
10
|
run,
|
|
12
11
|
} from '@genesislcap/build-kit';
|
|
13
12
|
import consola from 'consola';
|
|
14
|
-
import
|
|
13
|
+
import { existsSync } from 'node:fs';
|
|
14
|
+
import { relative, resolve } from 'node:path';
|
|
15
15
|
import { getCheckerModule, getHandlebarsModule, getViteModule } from './vite.js';
|
|
16
16
|
|
|
17
17
|
/**
|