epicshop 6.48.0 → 6.48.1
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/README.md +2 -1
- package/dist/commands/workshops.js +10 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -41,7 +41,8 @@ epicshop start <workshop>
|
|
|
41
41
|
|
|
42
42
|
### Helpful commands
|
|
43
43
|
|
|
44
|
-
- `epicshop add <repo-name> [destination]`: clone a workshop from the
|
|
44
|
+
- `epicshop add <repo-name> [destination]`: clone a workshop from the
|
|
45
|
+
`epicweb-dev` GitHub org
|
|
45
46
|
- `epicshop list`: list your workshops
|
|
46
47
|
- `epicshop open`: open a workshop in your editor
|
|
47
48
|
- `epicshop update`: pull the latest workshop changes
|
|
@@ -374,8 +374,17 @@ export async function add(options) {
|
|
|
374
374
|
if (!hasExplicitCloneDestination) {
|
|
375
375
|
if (await workshopExists(repoName)) {
|
|
376
376
|
const message = `Workshop "${repoName}" already exists`;
|
|
377
|
-
if (!silent)
|
|
377
|
+
if (!silent) {
|
|
378
|
+
const reposDir = await getReposDirectory();
|
|
379
|
+
const workshopPath = path.join(reposDir, repoName);
|
|
380
|
+
const openCommand = `npx epicshop open ${repoName}`;
|
|
381
|
+
const startCommand = `npx epicshop start ${repoName}`;
|
|
378
382
|
console.log(chalk.yellow(`⚠️ ${message}`));
|
|
383
|
+
console.log(chalk.gray(` Location on disk: ${workshopPath}`));
|
|
384
|
+
console.log(chalk.gray(` You can run:`));
|
|
385
|
+
console.log(chalk.white.bold(` ${openCommand}`));
|
|
386
|
+
console.log(chalk.white.bold(` ${startCommand}`));
|
|
387
|
+
}
|
|
379
388
|
return { success: false, message };
|
|
380
389
|
}
|
|
381
390
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "epicshop",
|
|
3
|
-
"version": "6.48.
|
|
3
|
+
"version": "6.48.1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"build:watch": "nx watch --projects=epicshop -- nx run \\$NX_PROJECT_NAME:build"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@epic-web/workshop-utils": "6.48.
|
|
53
|
+
"@epic-web/workshop-utils": "6.48.1",
|
|
54
54
|
"@inquirer/prompts": "^7.5.1",
|
|
55
55
|
"chalk": "^5.6.2",
|
|
56
56
|
"close-with-grace": "^2.3.0",
|