renamed project
This commit is contained in:
8
index.js
8
index.js
@@ -23,7 +23,7 @@ async function runCommand(cmd, args, cwd) {
|
||||
|
||||
async function main() {
|
||||
p.intro(
|
||||
`${color.bgRedBright(color.black(" ✨ Welcome to Lumify Sanity Template! ✨ "))}`,
|
||||
`${color.bgRedBright(color.black(" ✨ Welcome to vaporvee's Sanity Template! ✨ "))}`,
|
||||
);
|
||||
|
||||
const project = await p.group(
|
||||
@@ -31,7 +31,7 @@ async function main() {
|
||||
projectName: () =>
|
||||
p.text({
|
||||
message: `${color.cyan("🔖 Enter your project name (for display):")}`,
|
||||
placeholder: "My Sanity Lumify page",
|
||||
placeholder: "My Sanity Project",
|
||||
validate: (v) =>
|
||||
v.length < 2 ? `${color.red("❌ Too short!")}` : undefined,
|
||||
}),
|
||||
@@ -215,7 +215,7 @@ async function main() {
|
||||
// Clear terminal and use clean console session
|
||||
console.clear();
|
||||
console.log(
|
||||
`\n${color.bgRedBright(color.black(" ✨ Lumify Sanity Template - Authentication ✨ "))}\n`,
|
||||
`\n${color.bgRedBright(color.black(" ✨ vaporvee's Sanity Template - Authentication ✨ "))}\n`,
|
||||
);
|
||||
|
||||
if (!loggedIn) {
|
||||
@@ -481,7 +481,7 @@ async function main() {
|
||||
await runCommand("git", ["add", "."], rootDir);
|
||||
await runCommand(
|
||||
"git",
|
||||
["commit", "-m", "Initiated from Lumify Sanity template :rocket:"],
|
||||
["commit", "-m", "Initiated from Sanity template :rocket:"],
|
||||
rootDir,
|
||||
);
|
||||
await runCommand("git", ["branch", "-M", "main"], rootDir);
|
||||
|
||||
10
package.json
10
package.json
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"name": "@lumify-systems/template-sanity",
|
||||
"name": "@vaporvee/template-sanity",
|
||||
"version": "2.1.2",
|
||||
"publishConfig": {
|
||||
"access": "restricted",
|
||||
"registry": "https://npm.pkg.github.com"
|
||||
"registry": "https://git.vaporvee.com/api/packages/vaporvee/npm"
|
||||
},
|
||||
"description": "Template for Lumify Sanity and Svelte monorepo setup.",
|
||||
"description": "Template for Sanity and Svelte monorepo setup.",
|
||||
"bin": {
|
||||
"template-sanity": "./index.js"
|
||||
},
|
||||
@@ -14,8 +14,8 @@
|
||||
"bun",
|
||||
"create",
|
||||
"template",
|
||||
"lumify",
|
||||
"sanity"
|
||||
"sanity",
|
||||
"svelte"
|
||||
],
|
||||
"type": "module",
|
||||
"dependencies": {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
export const sanityConnection = {
|
||||
pageTitle: "lumify template",
|
||||
pageTitle: "sanity template",
|
||||
publicViewerToken: "skC2bGanXZGHQoerK2vIkyfo7Bl9dgYgCrHSHNPnnsO81e64HLLtExpg84NaUkkWTtd1oJ4QBqa5qn6MrezYAEPYXjgfV6MrtFr1LqEz1BKQaO3uZHHJlSfwHndTveDUWp4MbgeYj7CTsPlN7SWDVwP6P6JLodSYmEyoTN7eiE06e2FlogbM",
|
||||
studioHost: "vaporvee-test",
|
||||
studioUrl: "https://vaporvee-test.sanity.studio", // normaly https://<studioHost>.sanity.studio
|
||||
|
||||
Reference in New Issue
Block a user