@launchframe/cli 1.0.0-beta.19 → 1.0.0-beta.20
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/package.json +1 -1
- package/src/utils/github-access.js +15 -13
package/package.json
CHANGED
|
@@ -38,26 +38,28 @@ async function checkGitHubAccess() {
|
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
40
|
* Display message when user doesn't have access to services repository
|
|
41
|
-
* Guides them to either
|
|
41
|
+
* Guides them to either get beta access or setup SSH keys
|
|
42
42
|
*/
|
|
43
43
|
function showAccessDeniedMessage() {
|
|
44
|
-
const
|
|
44
|
+
const betaUrl = 'https://launchframe.dev/';
|
|
45
45
|
const docsUrl = 'https://docs.launchframe.dev/guide/quick-start#add-ssh-key-to-repo';
|
|
46
|
-
|
|
46
|
+
|
|
47
47
|
console.log(chalk.red('\n❌ Cannot access LaunchFrame services repository\n'));
|
|
48
|
-
|
|
48
|
+
|
|
49
49
|
console.log(chalk.white('This could mean:\n'));
|
|
50
|
-
console.log(chalk.gray(' 1. You
|
|
51
|
-
console.log(chalk.gray(' 2. You
|
|
52
|
-
|
|
53
|
-
console.log(chalk.cyan('→
|
|
54
|
-
console.log('
|
|
55
|
-
console.log('
|
|
56
|
-
|
|
57
|
-
console.log(chalk.cyan(
|
|
50
|
+
console.log(chalk.gray(' 1. You don\'t have beta access yet'));
|
|
51
|
+
console.log(chalk.gray(' 2. You have access but haven\'t added your SSH key to the repo\n'));
|
|
52
|
+
|
|
53
|
+
console.log(chalk.cyan('→ Get beta access:'));
|
|
54
|
+
console.log(chalk.white(' LaunchFrame is in open beta for 100 users.'));
|
|
55
|
+
console.log(chalk.white(' Get free lifetime access at:'));
|
|
56
|
+
console.log(' ' + chalk.blue.bold.underline(makeClickable('launchframe.dev', betaUrl)));
|
|
57
|
+
console.log(' ' + chalk.cyan(betaUrl + '\n'));
|
|
58
|
+
|
|
59
|
+
console.log(chalk.cyan('→ Already have access?'));
|
|
58
60
|
console.log(' ' + chalk.blue.bold.underline(makeClickable('Setup SSH key (docs)', docsUrl)));
|
|
59
61
|
console.log(' ' + chalk.cyan(docsUrl + '\n'));
|
|
60
|
-
|
|
62
|
+
|
|
61
63
|
console.log(chalk.gray('After setup, run: launchframe init\n'));
|
|
62
64
|
}
|
|
63
65
|
|