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() {
|
async function main() {
|
||||||
p.intro(
|
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(
|
const project = await p.group(
|
||||||
@@ -31,7 +31,7 @@ async function main() {
|
|||||||
projectName: () =>
|
projectName: () =>
|
||||||
p.text({
|
p.text({
|
||||||
message: `${color.cyan("🔖 Enter your project name (for display):")}`,
|
message: `${color.cyan("🔖 Enter your project name (for display):")}`,
|
||||||
placeholder: "My Sanity Lumify page",
|
placeholder: "My Sanity Project",
|
||||||
validate: (v) =>
|
validate: (v) =>
|
||||||
v.length < 2 ? `${color.red("❌ Too short!")}` : undefined,
|
v.length < 2 ? `${color.red("❌ Too short!")}` : undefined,
|
||||||
}),
|
}),
|
||||||
@@ -215,7 +215,7 @@ async function main() {
|
|||||||
// Clear terminal and use clean console session
|
// Clear terminal and use clean console session
|
||||||
console.clear();
|
console.clear();
|
||||||
console.log(
|
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) {
|
if (!loggedIn) {
|
||||||
@@ -481,7 +481,7 @@ async function main() {
|
|||||||
await runCommand("git", ["add", "."], rootDir);
|
await runCommand("git", ["add", "."], rootDir);
|
||||||
await runCommand(
|
await runCommand(
|
||||||
"git",
|
"git",
|
||||||
["commit", "-m", "Initiated from Lumify Sanity template :rocket:"],
|
["commit", "-m", "Initiated from Sanity template :rocket:"],
|
||||||
rootDir,
|
rootDir,
|
||||||
);
|
);
|
||||||
await runCommand("git", ["branch", "-M", "main"], 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",
|
"version": "2.1.2",
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "restricted",
|
"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": {
|
"bin": {
|
||||||
"template-sanity": "./index.js"
|
"template-sanity": "./index.js"
|
||||||
},
|
},
|
||||||
@@ -14,8 +14,8 @@
|
|||||||
"bun",
|
"bun",
|
||||||
"create",
|
"create",
|
||||||
"template",
|
"template",
|
||||||
"lumify",
|
"sanity",
|
||||||
"sanity"
|
"svelte"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
export const sanityConnection = {
|
export const sanityConnection = {
|
||||||
pageTitle: "lumify template",
|
pageTitle: "sanity template",
|
||||||
publicViewerToken: "skC2bGanXZGHQoerK2vIkyfo7Bl9dgYgCrHSHNPnnsO81e64HLLtExpg84NaUkkWTtd1oJ4QBqa5qn6MrezYAEPYXjgfV6MrtFr1LqEz1BKQaO3uZHHJlSfwHndTveDUWp4MbgeYj7CTsPlN7SWDVwP6P6JLodSYmEyoTN7eiE06e2FlogbM",
|
publicViewerToken: "skC2bGanXZGHQoerK2vIkyfo7Bl9dgYgCrHSHNPnnsO81e64HLLtExpg84NaUkkWTtd1oJ4QBqa5qn6MrezYAEPYXjgfV6MrtFr1LqEz1BKQaO3uZHHJlSfwHndTveDUWp4MbgeYj7CTsPlN7SWDVwP6P6JLodSYmEyoTN7eiE06e2FlogbM",
|
||||||
studioHost: "vaporvee-test",
|
studioHost: "vaporvee-test",
|
||||||
studioUrl: "https://vaporvee-test.sanity.studio", // normaly https://<studioHost>.sanity.studio
|
studioUrl: "https://vaporvee-test.sanity.studio", // normaly https://<studioHost>.sanity.studio
|
||||||
|
|||||||
Reference in New Issue
Block a user