vaultfs 1.0.4 → 1.0.6
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/bin/postinstall.js +2 -3
- package/bin/vaultfs-npm.js +2 -3
- package/frontend/package.json +4 -4
- package/package.json +1 -1
- package/version.txt +1 -1
package/bin/postinstall.js
CHANGED
|
@@ -98,7 +98,7 @@ try {
|
|
|
98
98
|
// ─── Build frontend ────────────────────────────────────────
|
|
99
99
|
info("Installing frontend dependencies...");
|
|
100
100
|
const frontendDir = path.join(installDir, "frontend");
|
|
101
|
-
execSync(`${npmCmd} install
|
|
101
|
+
execSync(`${npmCmd} install`, {
|
|
102
102
|
cwd: frontendDir,
|
|
103
103
|
stdio: "inherit",
|
|
104
104
|
shell: true
|
|
@@ -106,8 +106,7 @@ try {
|
|
|
106
106
|
success("Dependencies installed");
|
|
107
107
|
|
|
108
108
|
info("Building React app...");
|
|
109
|
-
|
|
110
|
-
execSync(`"${viteBin}" build`, {
|
|
109
|
+
execSync(`${npmCmd} run build`, {
|
|
111
110
|
cwd: frontendDir,
|
|
112
111
|
stdio: "inherit",
|
|
113
112
|
shell: true
|
package/bin/vaultfs-npm.js
CHANGED
|
@@ -45,9 +45,8 @@ if (cmd === "update") {
|
|
|
45
45
|
|
|
46
46
|
// Rebuild frontend
|
|
47
47
|
const frontendDir = path.join(installDir, "frontend");
|
|
48
|
-
execSync(`${npmCmd} install
|
|
49
|
-
|
|
50
|
-
execSync(`"${viteBin}" build`, { cwd: frontendDir, stdio: "inherit", shell: true });
|
|
48
|
+
execSync(`${npmCmd} install`, { cwd: frontendDir, stdio: "inherit", shell: true });
|
|
49
|
+
execSync(`${npmCmd} run build`, { cwd: frontendDir, stdio: "inherit", shell: true });
|
|
51
50
|
|
|
52
51
|
// Recompile Java
|
|
53
52
|
execSync("javac -d out src/models/*.java src/datastructures/*.java src/utils/*.java src/auth/*.java src/sync/*.java src/filesystem/*.java src/Main.java", {
|
package/frontend/package.json
CHANGED
|
@@ -12,17 +12,17 @@
|
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"firebase": "^12.11.0",
|
|
14
14
|
"react": "^19.2.4",
|
|
15
|
-
"react-dom": "^19.2.4"
|
|
15
|
+
"react-dom": "^19.2.4",
|
|
16
|
+
"vite": "^8.0.1",
|
|
17
|
+
"@vitejs/plugin-react": "^6.0.1"
|
|
16
18
|
},
|
|
17
19
|
"devDependencies": {
|
|
18
20
|
"@eslint/js": "^9.39.4",
|
|
19
21
|
"@types/react": "^19.2.14",
|
|
20
22
|
"@types/react-dom": "^19.2.3",
|
|
21
|
-
"@vitejs/plugin-react": "^6.0.1",
|
|
22
23
|
"eslint": "^9.39.4",
|
|
23
24
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
24
25
|
"eslint-plugin-react-refresh": "^0.5.2",
|
|
25
|
-
"globals": "^17.4.0"
|
|
26
|
-
"vite": "^8.0.1"
|
|
26
|
+
"globals": "^17.4.0"
|
|
27
27
|
}
|
|
28
28
|
}
|
package/package.json
CHANGED
package/version.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.6
|