virmator 6.6.6 → 6.7.1
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/ncu.config.ts
CHANGED
|
@@ -120,6 +120,9 @@ ${packageBinName} ${commandName} --ignore-path .prettierignore ${filesMarkerArg}
|
|
|
120
120
|
packageDirPath: inputs.packageDir,
|
|
121
121
|
}),
|
|
122
122
|
'--color',
|
|
123
|
+
'--cache',
|
|
124
|
+
'--cache-strategy',
|
|
125
|
+
'content',
|
|
123
126
|
listDifferentFlag,
|
|
124
127
|
...extraPrettierFlags,
|
|
125
128
|
filesToFormat,
|
|
@@ -80,7 +80,10 @@ exports.frontendCommandDefinition = (0, define_command_1.defineCommand)({
|
|
|
80
80
|
format: 'cjs',
|
|
81
81
|
});
|
|
82
82
|
const viteConfigValues = require(tempFilePath).default;
|
|
83
|
-
const
|
|
83
|
+
const root = viteConfigValues.root
|
|
84
|
+
? (0, path_1.resolve)(process.cwd(), viteConfigValues.root)
|
|
85
|
+
: process.cwd();
|
|
86
|
+
const buildOutputPath = (0, path_1.resolve)(root, viteConfigValues?.build?.outDir || 'dist');
|
|
84
87
|
const viteBinPath = await (0, package_paths_1.getNpmBinPath)({
|
|
85
88
|
repoDir: inputs.repoDir,
|
|
86
89
|
command: 'vite',
|
|
@@ -4,14 +4,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.baseViteConfig = void 0;
|
|
7
|
-
const vite_1 = require("vite");
|
|
8
7
|
const vite_tsconfig_paths_1 = __importDefault(require("vite-tsconfig-paths"));
|
|
9
8
|
const vite_always_reload_plugin_1 = require("./vite-always-reload-plugin");
|
|
10
|
-
exports.baseViteConfig =
|
|
9
|
+
exports.baseViteConfig = {
|
|
11
10
|
clearScreen: false,
|
|
12
11
|
plugins: [
|
|
13
12
|
(0, vite_always_reload_plugin_1.alwaysReloadPlugin)(),
|
|
14
13
|
(0, vite_tsconfig_paths_1.default)(),
|
|
15
14
|
],
|
|
16
15
|
root: process.cwd(),
|
|
17
|
-
}
|
|
16
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "virmator",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.7.1",
|
|
4
4
|
"description": "Handle common package configs, commands, and dependencies.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"automation",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"glob": "^8.1.0",
|
|
51
51
|
"glob-promise": "^6.0.3",
|
|
52
52
|
"semver": "^7.5.3",
|
|
53
|
-
"simple-git": "^3.19.
|
|
53
|
+
"simple-git": "^3.19.1",
|
|
54
54
|
"type-fest": "^3.12.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"@types/fs-extra": "^11.0.1",
|
|
62
62
|
"@types/glob": "^8.1.0",
|
|
63
63
|
"@types/mocha": "^10.0.1",
|
|
64
|
-
"@types/node": "^20.
|
|
64
|
+
"@types/node": "^20.4.0",
|
|
65
65
|
"@types/semver": "^7.5.0",
|
|
66
66
|
"@web/dev-server-esbuild": "^0.4.1",
|
|
67
67
|
"@web/test-runner": "^0.16.1",
|
|
@@ -70,28 +70,28 @@
|
|
|
70
70
|
"@web/test-runner-visual-regression": "^0.8.0",
|
|
71
71
|
"chai": "^4.3.7",
|
|
72
72
|
"cspell": "^6.31.1",
|
|
73
|
-
"esbuild": "^0.18.
|
|
73
|
+
"esbuild": "^0.18.11",
|
|
74
74
|
"fs-extra": "^11.1.1",
|
|
75
75
|
"istanbul-smart-text-reporter": "^1.1.2",
|
|
76
76
|
"markdown-code-example-inserter": "^0.3.1",
|
|
77
77
|
"mocha": "^10.2.0",
|
|
78
78
|
"mocha-spec-reporter-with-file-names": "^0.0.3",
|
|
79
|
-
"npm-check-updates": "^16.10.
|
|
79
|
+
"npm-check-updates": "^16.10.15",
|
|
80
80
|
"prettier": "^2.8.8",
|
|
81
81
|
"prettier-plugin-interpolated-html-tags": "^0.0.4",
|
|
82
82
|
"prettier-plugin-jsdoc": "^0.4.2",
|
|
83
83
|
"prettier-plugin-multiline-arrays": "^2.0.0",
|
|
84
84
|
"prettier-plugin-organize-imports": "^3.2.2",
|
|
85
|
-
"prettier-plugin-packagejson": "^2.4.
|
|
85
|
+
"prettier-plugin-packagejson": "^2.4.4",
|
|
86
86
|
"prettier-plugin-sort-json": "^1.0.0",
|
|
87
87
|
"prettier-plugin-toml": "^0.3.1",
|
|
88
88
|
"test-as-package": "^0.0.4",
|
|
89
89
|
"test-established-expectations": "^0.5.0",
|
|
90
90
|
"ts-node": "^10.9.1",
|
|
91
91
|
"tsconfig-paths": "^4.2.0",
|
|
92
|
-
"typescript": "^5.1.
|
|
93
|
-
"virmator": "^6.6.
|
|
94
|
-
"vite": "^4.
|
|
92
|
+
"typescript": "^5.1.6",
|
|
93
|
+
"virmator": "^6.6.6",
|
|
94
|
+
"vite": "^4.4.2",
|
|
95
95
|
"vite-tsconfig-paths": "^4.2.0"
|
|
96
96
|
},
|
|
97
97
|
"engines": {
|