@getpawl/setup 1.3.5 → 1.3.7
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/index.js +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
var import_node_fs = require("fs");
|
|
6
6
|
var import_node_path = require("path");
|
|
7
7
|
var import_node_child_process = require("child_process");
|
|
8
|
-
var DEFAULT_API_URL = "https://
|
|
8
|
+
var DEFAULT_API_URL = "https://api.getpawl.dev";
|
|
9
9
|
async function main() {
|
|
10
10
|
const arg = process.argv[2];
|
|
11
11
|
if (!arg) {
|
|
@@ -163,7 +163,7 @@ async function pawlConnect() {
|
|
|
163
163
|
console.error("Error: Could not start connect session. Is the API reachable?");
|
|
164
164
|
process.exit(1);
|
|
165
165
|
}
|
|
166
|
-
const connectUrl = `https://
|
|
166
|
+
const connectUrl = `https://app.getpawl.dev/connect?code=${code}&repo=${encodeURIComponent(repoName)}`;
|
|
167
167
|
console.log(`
|
|
168
168
|
Opening browser to link "${repoName}" to a Pawl project...
|
|
169
169
|
`);
|
|
@@ -178,7 +178,7 @@ async function pawlConnect() {
|
|
|
178
178
|
(0, import_node_fs.mkdirSync)((0, import_node_path.join)(cwd, ".pawl"), { recursive: true });
|
|
179
179
|
writePawlEnvFile(cwd, result);
|
|
180
180
|
console.log(" Connected! .pawl/.env written.\n");
|
|
181
|
-
console.log(` Dashboard: https://
|
|
181
|
+
console.log(` Dashboard: https://app.getpawl.dev/projects/${result.projectId}`);
|
|
182
182
|
console.log(" You're all set. Pawl will sync automatically after each session.\n");
|
|
183
183
|
console.log(" Useful commands:");
|
|
184
184
|
console.log(" pawl sync --pull Pull latest context before starting work");
|