From ab454370379488b9572feb38ce6f5050675698d4 Mon Sep 17 00:00:00 2001 From: loic <910041@gmail.com> Date: Sun, 28 Apr 2024 23:25:16 +0800 Subject: [PATCH] chore: minor updates --- README.md | 3 +-- package.json | 4 +++- website/docusaurus.config.ts | 8 ++++++-- website/package.json | 2 +- 4 files changed, 11 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 6b7bd16..e3a86c0 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@

✨ Create Create X

-
Create your own `create-something` app. A fork of the awesome `create-create-app`
+
Create your own 🛠️create-something app. A fork of the awesome `create-create-app`

screenshot

@@ -11,7 +11,6 @@ ## Why? -- ⚖️ **Built-in License selector** No need to worry about license things. - 🎩 **Template engine** You can use template strings in text files, file names, and folder names. - 💄 **Highly customizable** Can change caveat text, add extra command-line options. diff --git a/package.json b/package.json index b11638e..76ce638 100644 --- a/package.json +++ b/package.json @@ -5,8 +5,10 @@ "author": "Loïc Chen", "scripts": { "build": "npm run tsup -- --minify --dts", - "clean": "shx rm -rf lib 'templates/*/{yarn.lock,package-lock.json,node_modules}'", + "clean": "shx rm -rf lib 'templates/*/{yarn.lock,package-lock.json,bun.lockb,node_modules}'", "dev": "npm run tsup -- --watch", + "website:dev": "cd website && npm run start", + "website:deploy": "cd website && npm run deploy", "prepublishOnly": "npm run clean && npm run build", "release": "release-it", "test": "run-p build typecheck && vitest --run", diff --git a/website/docusaurus.config.ts b/website/docusaurus.config.ts index 6100d54..0e7c40a 100644 --- a/website/docusaurus.config.ts +++ b/website/docusaurus.config.ts @@ -4,7 +4,7 @@ import type * as Preset from '@docusaurus/preset-classic'; const config: Config = { title: 'Create Create X', - tagline: 'Set up a "create-something" project blazingly fast!', + tagline: 'Set up a 🛠️create-something" project blazingly fast!', favicon: 'img/favicon.ico', // Set the production url of your site here @@ -100,10 +100,14 @@ const config: Config = { label: 'GitHub', href: 'https://github.com/painfulexistence/create-create-x', }, + { + label: 'Twitter', + href: 'https://twitter.com/DevLucidum', + } ], }, ], - copyright: `Copyright © ${new Date().getFullYear()} painfulexistence`, + copyright: `Copyright © ${new Date().getFullYear()} Loïc (painfulexistence)`, }, prism: { theme: prismThemes.github, diff --git a/website/package.json b/website/package.json index 2313112..136c46c 100644 --- a/website/package.json +++ b/website/package.json @@ -7,7 +7,7 @@ "start": "docusaurus start", "build": "docusaurus build", "swizzle": "docusaurus swizzle", - "deploy": "docusaurus deploy", + "deploy": "USE_SSH=true docusaurus deploy", "clear": "docusaurus clear", "serve": "docusaurus serve", "write-translations": "docusaurus write-translations",