forked from calcom/cal.com
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improvement/AppStore: Remove seeding from app-store-cli. (calcom#8486)
* Remove seeding from cli * Self review fixes * Fix TS error
- Loading branch information
1 parent
607ef71
commit ff85973
Showing
7 changed files
with
76 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,9 +4,9 @@ import SelectInput from "ink-select-input"; | |
import TextInput from "ink-text-input"; | ||
import React, { useEffect, useState } from "react"; | ||
|
||
import { AppMeta } from "@calcom/types/App"; | ||
import type { AppMeta } from "@calcom/types/App"; | ||
|
||
import { getSlugFromAppName, BaseAppFork, Seed, generateAppFiles, getAppDirPath } from "../core"; | ||
import { getSlugFromAppName, BaseAppFork, generateAppFiles, getAppDirPath } from "../core"; | ||
import { getApp } from "../utils/getApp"; | ||
import Templates from "../utils/templates"; | ||
import Label from "./Label"; | ||
|
@@ -148,8 +148,6 @@ export const AppForm = ({ | |
oldSlug: givenSlug, | ||
}); | ||
|
||
await Seed.update({ slug, category: category, oldSlug: givenSlug, isTemplate }); | ||
|
||
await generateAppFiles(); | ||
|
||
// FIXME: Even after CLI showing this message, it is stuck doing work before exiting | ||
|
@@ -242,6 +240,10 @@ export const AppForm = ({ | |
<Text color="green">Publisher Email: </Text> | ||
<Text>{email}</Text> | ||
</Box> | ||
<Text bold> | ||
Next Step: Enable the app from http://localhost:3000/settings/admin/apps as admin user (Email: | ||
[email protected], Pass: ADMINadmin2022!) | ||
</Text> | ||
</Box> | ||
</Box> | ||
)} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters