staklink 0.3.40 → 0.3.41
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/proxy-server.cjs +4 -4
- package/dist/staklink-cli.cjs +1 -2
- package/package.json +1 -1
package/dist/proxy-server.cjs
CHANGED
|
@@ -48679,7 +48679,6 @@ var PM2Manager = class {
|
|
|
48679
48679
|
} catch (error85) {
|
|
48680
48680
|
console.warn(`Failed to load env file: ${envFilePath}`, error85);
|
|
48681
48681
|
}
|
|
48682
|
-
console.log("envVars", envVars);
|
|
48683
48682
|
return envVars;
|
|
48684
48683
|
}
|
|
48685
48684
|
async startProcess(processConfig) {
|
|
@@ -56942,7 +56941,7 @@ var SSEManager = class {
|
|
|
56942
56941
|
var sseManager = new SSEManager();
|
|
56943
56942
|
|
|
56944
56943
|
// src/proxy/version.ts
|
|
56945
|
-
var VERSION = "0.3.
|
|
56944
|
+
var VERSION = "0.3.41";
|
|
56946
56945
|
|
|
56947
56946
|
// node_modules/uuid/dist/esm/stringify.js
|
|
56948
56947
|
var byteToHex = [];
|
|
@@ -111176,7 +111175,7 @@ When you have gotten the frontend running, or gotten as far as you can, respond
|
|
|
111176
111175
|
</Dockerfile>
|
|
111177
111176
|
|
|
111178
111177
|
IMPORTANT: YOU DO NOT NEED TO INCLUDE FILES THAT DID NOT CHANGE. Only include files that you modified.`;
|
|
111179
|
-
var makePrompt = (podConfigPath) => `Please inspect the current running environment, and try to fix it.
|
|
111178
|
+
var makePrompt = (podConfigPath) => `Please inspect the current running environment, and try to fix it. The user tried to load the frontend on the defined PORT, but something went wrong.
|
|
111180
111179
|
|
|
111181
111180
|
The config files can be read at ${podConfigPath}. You must find out how to edit the pm2.config.js and the docker-compose.yaml in order to get the project to run successfully (there is also a Dockerfile which may also be changed if absolutely needed).
|
|
111182
111181
|
|
|
@@ -111186,6 +111185,7 @@ The actual core project code is being run with pm2! You can use pm2 commands to
|
|
|
111186
111185
|
|
|
111187
111186
|
We have SPECIAL env vars for pm2, that tell the code-server system how to automatically build and start the project.
|
|
111188
111187
|
- START_COMMAND: The command to start the project (e.g. npm start) [REQUIRED]
|
|
111188
|
+
- PORT: The port the project runs on (e.g. 3000)
|
|
111189
111189
|
- INSTALL_COMMAND: The command to install dependencies (e.g. npm install)
|
|
111190
111190
|
- BUILD_COMMAND: The command to build the project (e.g. npm run build)
|
|
111191
111191
|
- PRE_START_COMMAND: Commands to run before starting the project (e.g. npx prisma migrate dev)
|
|
@@ -111193,7 +111193,7 @@ We have SPECIAL env vars for pm2, that tell the code-server system how to automa
|
|
|
111193
111193
|
- TEST_COMMAND: Command to run tests (e.g. npm test)
|
|
111194
111194
|
- E2E_TEST_COMMAND: Command to run end-to-end tests (e.g. npx playwright test)
|
|
111195
111195
|
|
|
111196
|
-
When you have made a file change and want to restart the whole pm2 environment, do so like this: \`
|
|
111196
|
+
When you have made a file change and want to restart the whole pm2 environment, do so like this: \`npx -y staklink reload\`. That will start the pm2 apps, then re-run all the install, build, pre-start, start commands if they are defined. The only required command is the START_COMMAND.
|
|
111197
111197
|
|
|
111198
111198
|
Good luck!
|
|
111199
111199
|
`;
|
package/dist/staklink-cli.cjs
CHANGED
|
@@ -3738,7 +3738,6 @@ var PM2Manager = class {
|
|
|
3738
3738
|
} catch (error) {
|
|
3739
3739
|
console.warn(`Failed to load env file: ${envFilePath}`, error);
|
|
3740
3740
|
}
|
|
3741
|
-
console.log("envVars", envVars);
|
|
3742
3741
|
return envVars;
|
|
3743
3742
|
}
|
|
3744
3743
|
async startProcess(processConfig) {
|
|
@@ -10949,7 +10948,7 @@ var glob = Object.assign(glob_, {
|
|
|
10949
10948
|
glob.glob = glob;
|
|
10950
10949
|
|
|
10951
10950
|
// src/proxy/version.ts
|
|
10952
|
-
var VERSION = "0.3.
|
|
10951
|
+
var VERSION = "0.3.41";
|
|
10953
10952
|
|
|
10954
10953
|
// src/cli.ts
|
|
10955
10954
|
var STAKLINK_PROXY = "staklink-proxy";
|