vike 0.4.262 → 0.4.264
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.
|
@@ -137,7 +137,7 @@ async function gitCommit(gitRootDir, files) {
|
|
|
137
137
|
// Don't Git-commit the skill files that the user chose to .gitignore — `$ git check-ignore` succeeds if the file is ignored
|
|
138
138
|
const filesToCommit = [];
|
|
139
139
|
for (const file of files) {
|
|
140
|
-
const resCheckIgnore = await runGitCommand(['check-ignore', '
|
|
140
|
+
const resCheckIgnore = await runGitCommand(['check-ignore', '--quiet', '--', file.filePathRelative], gitRootDir);
|
|
141
141
|
if ('err' in resCheckIgnore)
|
|
142
142
|
filesToCommit.push(file);
|
|
143
143
|
}
|
|
@@ -149,10 +149,14 @@ async function gitCommit(gitRootDir, files) {
|
|
|
149
149
|
return false;
|
|
150
150
|
const isUpdate = filesToCommit.some((f) => f.isUpdate);
|
|
151
151
|
const resCommit = await runGitCommand([
|
|
152
|
+
'-c',
|
|
153
|
+
'user.name=Vike',
|
|
154
|
+
'-c',
|
|
155
|
+
'user.email=no-reply@vike.dev',
|
|
152
156
|
'commit',
|
|
153
157
|
// Skip Git hooks (e.g. slow or failing pre-commit hooks)
|
|
154
158
|
'--no-verify',
|
|
155
|
-
'
|
|
159
|
+
'--message',
|
|
156
160
|
commitMessage(isUpdate),
|
|
157
161
|
// Only commit the skill files — never commit files staged by the user
|
|
158
162
|
'--',
|
|
@@ -2,10 +2,10 @@ export { pluginDev };
|
|
|
2
2
|
export { logDockerHint };
|
|
3
3
|
import { optimizeDeps, resolveOptimizeDeps } from './pluginDev/optimizeDeps.js';
|
|
4
4
|
import { determineFsAllowList } from './pluginDev/determineFsAllowList.js';
|
|
5
|
-
import { autoAddVikeSkill } from './pluginDev/autoAddVikeSkill.js'
|
|
5
|
+
// import { autoAddVikeSkill } from './pluginDev/autoAddVikeSkill.js'
|
|
6
6
|
import { addSsrMiddleware } from '../shared/addSsrMiddleware.js';
|
|
7
7
|
import { isDebugError } from '../../../utils/debug.js';
|
|
8
|
-
import { setTimeoutUnref } from '../../../utils/setTimeoutUnref.js'
|
|
8
|
+
// import { setTimeoutUnref } from '../../../utils/setTimeoutUnref.js'
|
|
9
9
|
import { applyDev } from '../../../utils/isDev.js';
|
|
10
10
|
import { isDocker } from '../../../utils/isDocker.js';
|
|
11
11
|
import { assertWarning } from '../../../utils/assert.js';
|
|
@@ -36,12 +36,16 @@ function pluginDev() {
|
|
|
36
36
|
logDockerHint(config.server.host);
|
|
37
37
|
},
|
|
38
38
|
},
|
|
39
|
+
// TODO/soon: re-enable automatically adding vike/SKILL.md (https://vike.dev/ai#skill).
|
|
40
|
+
// Temporarily disabled — https://github.com/vikejs/vike/pull/3465 got some backlash, let's find a better solution first.
|
|
41
|
+
/*
|
|
39
42
|
configureServer: {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
43
|
+
handler() {
|
|
44
|
+
// Apply late — after the dev server is up and running — so that it doesn't slow down dev start
|
|
45
|
+
setTimeoutUnref(() => autoAddVikeSkill(config.root), 15 * 1000)
|
|
46
|
+
},
|
|
44
47
|
},
|
|
48
|
+
*/
|
|
45
49
|
},
|
|
46
50
|
{
|
|
47
51
|
name: 'vike:pluginDev:post',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const PROJECT_VERSION: '0.4.
|
|
1
|
+
export declare const PROJECT_VERSION: '0.4.264';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Automatically updated by @brillout/release-me
|
|
2
|
-
export const PROJECT_VERSION = '0.4.
|
|
2
|
+
export const PROJECT_VERSION = '0.4.264';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vike",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.264",
|
|
4
4
|
"repository": "https://github.com/vikejs/vike",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./server": {
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
"es-module-lexer": "^1.0.0",
|
|
138
138
|
"esbuild": ">=0.19.0",
|
|
139
139
|
"json5": "^2.0.0",
|
|
140
|
-
"magic-string": "^1.2.
|
|
140
|
+
"magic-string": "^1.2.2",
|
|
141
141
|
"picomatch": "^4.0.5",
|
|
142
142
|
"semver": "^7.8.5",
|
|
143
143
|
"sirv": "^3.0.2",
|