@epic-web/workshop-app 5.25.0 → 5.26.0
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/epicshop.js +8 -4
- package/package.json +3 -3
package/bin/epicshop.js
CHANGED
|
@@ -4,6 +4,7 @@ import { spawn } from 'child_process'
|
|
|
4
4
|
import crypto from 'crypto'
|
|
5
5
|
import fs from 'fs'
|
|
6
6
|
import http from 'http'
|
|
7
|
+
import os from 'os'
|
|
7
8
|
import path from 'path'
|
|
8
9
|
import { fileURLToPath } from 'url'
|
|
9
10
|
import chalk from 'chalk'
|
|
@@ -215,6 +216,10 @@ async function start() {
|
|
|
215
216
|
})
|
|
216
217
|
}
|
|
217
218
|
|
|
219
|
+
console.log(
|
|
220
|
+
`🐨 Welcome to the workshop, ${chalk.bold.italic(os.userInfo().username)}!`,
|
|
221
|
+
)
|
|
222
|
+
|
|
218
223
|
spawnChild()
|
|
219
224
|
|
|
220
225
|
if (process.stdin.isTTY && !isDeployed) {
|
|
@@ -290,10 +295,9 @@ async function killChild(child) {
|
|
|
290
295
|
|
|
291
296
|
function printSupportedKeys() {
|
|
292
297
|
console.log(chalk.bold.cyan('\nSupported keys:'))
|
|
293
|
-
console.log(` ${chalk.green('u')} - update repo`)
|
|
294
298
|
console.log(` ${chalk.blue('o')} - open browser`)
|
|
295
|
-
console.log(` ${chalk.
|
|
299
|
+
console.log(` ${chalk.green('u')} - update repo`)
|
|
296
300
|
console.log(` ${chalk.magenta('r')} - restart`)
|
|
297
|
-
console.log(` ${chalk.cyan('k')} - Kody
|
|
298
|
-
console.log(` ${chalk.gray('Ctrl+C')} - exit`)
|
|
301
|
+
console.log(` ${chalk.cyan('k')} - Kody kudos 🐨`)
|
|
302
|
+
console.log(` ${chalk.gray('q')} (or ${chalk.gray('Ctrl+C')}) - exit`)
|
|
299
303
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epic-web/workshop-app",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.26.0",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"@epic-web/invariant": "^1.0.0",
|
|
45
45
|
"@epic-web/remember": "^1.1.0",
|
|
46
46
|
"@epic-web/restore-scroll": "^1.1.1",
|
|
47
|
-
"@epic-web/workshop-presence": "5.
|
|
48
|
-
"@epic-web/workshop-utils": "5.
|
|
47
|
+
"@epic-web/workshop-presence": "5.26.0",
|
|
48
|
+
"@epic-web/workshop-utils": "5.26.0",
|
|
49
49
|
"@mdx-js/mdx": "^3.0.1",
|
|
50
50
|
"@mux/mux-player-react": "^3.0.0",
|
|
51
51
|
"@nasa-gcn/remix-seo": "^2.0.1",
|