repofence 0.1.3 → 0.1.4

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.
@@ -17,13 +17,13 @@ const promptToken = async () => {
17
17
  };
18
18
  const authCommand = async (_cwd, options) => {
19
19
  if (options.web) {
20
- const authBase = process.env.REPOFENCE_AUTH_URL || 'https://repofence.com/login';
20
+ const authBase = process.env.REPOFENCE_AUTH_URL || 'https://repofence.com/pricing';
21
21
  const state = Math.random().toString(36).slice(2, 10);
22
22
  const url = `${authBase}?state=${encodeURIComponent(state)}`;
23
23
  console.log('\n' + chalk_1.default.bold('='.repeat(60)));
24
24
  console.log(chalk_1.default.bold('repofence — Get your license'));
25
25
  console.log(chalk_1.default.bold('='.repeat(60)));
26
- console.log('\nOpening your browser to:\n ' + chalk_1.default.underline(url) + '\n');
26
+ console.log('\nOpening your browser to:\n ' + chalk_1.default.underline(authBase) + '\n');
27
27
  await (0, open_1.default)(url, { wait: false });
28
28
  console.log(chalk_1.default.dim('─'.repeat(60)));
29
29
  console.log(chalk_1.default.bold('Next steps:\n'));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repofence",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Repofence CLI (packs + backend auth)",
5
5
  "main": "dist/cli.js",
6
6
  "bin": {