@pulse-editor/cli 0.1.1-beta.14 → 0.1.1-beta.16
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.
|
@@ -23,6 +23,19 @@ export default function Build({ cli }) {
|
|
|
23
23
|
});
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
+
// Create node_modules/.pulse/server directory
|
|
27
|
+
if (!fs.existsSync('node_modules/.pulse/server')) {
|
|
28
|
+
if (process.platform === 'win32') {
|
|
29
|
+
await execa('mkdir node_modules\\.pulse\\server', {
|
|
30
|
+
shell: true,
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
else {
|
|
34
|
+
await execa('mkdir -p node_modules/.pulse/server', {
|
|
35
|
+
shell: true,
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
}
|
|
26
39
|
if (process.platform === 'win32') {
|
|
27
40
|
await execa('xcopy /E /I node_modules\\@pulse-editor\\cli\\dist\\lib\\server node_modules\\.pulse\\server', {
|
|
28
41
|
shell: true,
|
|
@@ -22,6 +22,19 @@ export default function Dev({ cli }) {
|
|
|
22
22
|
});
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
+
// Create node_modules/.pulse/server directory
|
|
26
|
+
if (!fs.existsSync('node_modules/.pulse/server')) {
|
|
27
|
+
if (process.platform === 'win32') {
|
|
28
|
+
await execa('mkdir node_modules\\.pulse\\server', {
|
|
29
|
+
shell: true,
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
else {
|
|
33
|
+
await execa('mkdir -p node_modules/.pulse/server', {
|
|
34
|
+
shell: true,
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
}
|
|
25
38
|
if (process.platform === 'win32') {
|
|
26
39
|
await execa('xcopy /E /I node_modules\\@pulse-editor\\cli\\dist\\lib\\server node_modules\\.pulse\\server', {
|
|
27
40
|
shell: true,
|
|
@@ -22,9 +22,19 @@ export default function Preview({ cli }) {
|
|
|
22
22
|
});
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
// Create node_modules/.pulse/server directory
|
|
26
|
+
if (!fs.existsSync('node_modules/.pulse/server')) {
|
|
27
|
+
if (process.platform === 'win32') {
|
|
28
|
+
await execa('mkdir node_modules\\.pulse\\server', {
|
|
29
|
+
shell: true,
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
else {
|
|
33
|
+
await execa('mkdir -p node_modules/.pulse/server', {
|
|
34
|
+
shell: true,
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
}
|
|
28
38
|
if (process.platform === 'win32') {
|
|
29
39
|
await execa('xcopy /E /I node_modules\\@pulse-editor\\cli\\dist\\lib\\server node_modules\\.pulse\\server', {
|
|
30
40
|
shell: true,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulse-editor/cli",
|
|
3
|
-
"version": "0.1.1-beta.
|
|
3
|
+
"version": "0.1.1-beta.16",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"bin": {
|
|
6
6
|
"pulse": "dist/cli.js"
|
|
@@ -55,15 +55,15 @@
|
|
|
55
55
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
56
56
|
"ink-testing-library": "^4.0.0",
|
|
57
57
|
"prettier": "^3.7.4",
|
|
58
|
-
"react": "19.2.
|
|
59
|
-
"react-dom": "19.2.
|
|
58
|
+
"react": "19.2.2",
|
|
59
|
+
"react-dom": "19.2.2",
|
|
60
60
|
"ts-node": "^10.9.2",
|
|
61
61
|
"typescript": "^5.9.3",
|
|
62
62
|
"xo": "^1.2.3"
|
|
63
63
|
},
|
|
64
64
|
"peerDependencies": {
|
|
65
|
-
"react": "19.2.
|
|
66
|
-
"react-dom": "19.2.
|
|
65
|
+
"react": "19.2.2",
|
|
66
|
+
"react-dom": "19.2.2"
|
|
67
67
|
},
|
|
68
68
|
"ava": {
|
|
69
69
|
"extensions": {
|