@lessonkit/cli 1.3.0 → 1.3.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/dist/bin.js +4 -1
- package/dist/index.js +4 -1
- package/package.json +3 -3
- package/template/vite-react/package.json +6 -6
package/dist/bin.js
CHANGED
|
@@ -466,7 +466,10 @@ async function runDev(opts) {
|
|
|
466
466
|
const pkg = await readPackageJson(project.root);
|
|
467
467
|
assertViteProject(pkg, project.root);
|
|
468
468
|
const viteJs = resolveViteJs(project.root);
|
|
469
|
-
await runCommand(process.execPath, [viteJs, ...opts.viteArgs ?? []], {
|
|
469
|
+
await runCommand(process.execPath, [viteJs, ...opts.viteArgs ?? []], {
|
|
470
|
+
cwd: project.root,
|
|
471
|
+
timeoutMs: 0
|
|
472
|
+
});
|
|
470
473
|
return { ok: true, command: "dev", projectRoot: project.root };
|
|
471
474
|
}
|
|
472
475
|
async function runBuild(opts) {
|
package/dist/index.js
CHANGED
|
@@ -464,7 +464,10 @@ async function runDev(opts) {
|
|
|
464
464
|
const pkg = await readPackageJson(project.root);
|
|
465
465
|
assertViteProject(pkg, project.root);
|
|
466
466
|
const viteJs = resolveViteJs(project.root);
|
|
467
|
-
await runCommand(process.execPath, [viteJs, ...opts.viteArgs ?? []], {
|
|
467
|
+
await runCommand(process.execPath, [viteJs, ...opts.viteArgs ?? []], {
|
|
468
|
+
cwd: project.root,
|
|
469
|
+
timeoutMs: 0
|
|
470
|
+
});
|
|
468
471
|
return { ok: true, command: "dev", projectRoot: project.root };
|
|
469
472
|
}
|
|
470
473
|
async function runBuild(opts) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lessonkit/cli",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "LessonKit CLI — init, dev, build, and package learning experiences.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
"lint": "echo \"(no lint configured yet)\""
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@lessonkit/core": "1.3.
|
|
46
|
-
"@lessonkit/lxpack": "1.3.
|
|
45
|
+
"@lessonkit/core": "1.3.1",
|
|
46
|
+
"@lessonkit/lxpack": "1.3.1",
|
|
47
47
|
"commander": "^14.0.1"
|
|
48
48
|
},
|
|
49
49
|
"engines": {
|
|
@@ -13,16 +13,16 @@
|
|
|
13
13
|
"test:coverage": "vitest run --coverage --passWithNoTests=false"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@lessonkit/core": "^1.3.
|
|
17
|
-
"@lessonkit/react": "^1.3.
|
|
18
|
-
"@lessonkit/themes": "^1.3.
|
|
19
|
-
"@lessonkit/xapi": "^1.3.
|
|
16
|
+
"@lessonkit/core": "^1.3.1",
|
|
17
|
+
"@lessonkit/react": "^1.3.1",
|
|
18
|
+
"@lessonkit/themes": "^1.3.1",
|
|
19
|
+
"@lessonkit/xapi": "^1.3.1",
|
|
20
20
|
"react": "^18.3.1",
|
|
21
21
|
"react-dom": "^18.3.1"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@lessonkit/cli": "^1.3.
|
|
25
|
-
"@lessonkit/lxpack": "^1.3.
|
|
24
|
+
"@lessonkit/cli": "^1.3.1",
|
|
25
|
+
"@lessonkit/lxpack": "^1.3.1",
|
|
26
26
|
"@testing-library/react": "^16.3.0",
|
|
27
27
|
"@types/react": "^18.3.23",
|
|
28
28
|
"@types/react-dom": "^18.3.7",
|