diff --git a/.changeset/gentle-eels-wave.md b/.changeset/gentle-eels-wave.md new file mode 100644 index 0000000000..a8babac155 --- /dev/null +++ b/.changeset/gentle-eels-wave.md @@ -0,0 +1,5 @@ +--- +'create-tina-app': patch +--- + +TinaCLI - added descriptions for starter templates diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3d577d9a11..569dc7e9ba 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,7 +14,6 @@ jobs: os: - ubuntu-latest - macOS-latest - node-version: [14.x] runs-on: ${{ matrix.os }} timeout-minutes: 15 env: @@ -31,7 +30,7 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v2 with: - node-version: 16 + node-version-file: '.nvmrc' - uses: pnpm/action-setup@v2.2.2 name: Install pnpm diff --git a/.github/workflows/publish-pr.yml b/.github/workflows/publish-pr.yml index 1516f28436..331fc084ab 100644 --- a/.github/workflows/publish-pr.yml +++ b/.github/workflows/publish-pr.yml @@ -22,7 +22,7 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v2 with: - node-version: 16 + node-version-file: '.nvmrc' cache: 'pnpm' - name: Print cwd diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 228dd8bdf1..7143f30132 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -30,7 +30,7 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v2 with: - node-version: 16 + node-version-file: '.nvmrc' cache: 'pnpm' - name: Install dependencies diff --git a/.nvmrc b/.nvmrc index 62df50f1ee..3f430af82b 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -14.17.0 +v18 diff --git a/packages/create-tina-app/README.md b/packages/create-tina-app/README.md index b52c795e3e..e558e75873 100644 --- a/packages/create-tina-app/README.md +++ b/packages/create-tina-app/README.md @@ -1,3 +1,11 @@ # Create Tina App -> TODO \ No newline at end of file +Create Tina App is a powerful command-line interface (CLI) tool designed to kickstart your Tina project. It sets up a new Tina project with a simple command, saving you the hassle of manual configuration. This tool provides a solid foundation, allowing you to focus on building your unique content management system. With Create Tina App, starting a new Tina project has never been easier. + +## Getting Started + +To get started, you need to first build the code - see [contributing](https://github.com/tinacms/tinacms/blob/main/CONTRIBUTING.md). + +1. run `pnpm link create-tina-app` +1. Test your changes by running `npx create-tina-app` +1. Run `pnpm unlink` when done to unlink the local build diff --git a/packages/create-tina-app/src/examples.ts b/packages/create-tina-app/src/examples.ts index 5dfa506888..3da5f0ffd2 100644 --- a/packages/create-tina-app/src/examples.ts +++ b/packages/create-tina-app/src/examples.ts @@ -9,6 +9,7 @@ import path from 'path' type BaseExample = { title: string + description?: string value: string } @@ -24,30 +25,40 @@ export type Example = InternalExample | ExternalExample export const EXAMPLES: Example[] = [ { title: 'Bare bones starter', + description: + 'Stripped down to essentials, this starter is the canvas for pure, unadulterated code creativity.', value: 'basic', isInternal: false, gitURL: 'https://github.com/tinacms/tina-barebones-starter', }, { - title: 'Tailwind Starter', + title: '⭐ Tailwind Starter', + description: + 'Choosing Tailwind makes you feel like you are god with CSS. You can do anything.', value: 'tina-cloud-starter', isInternal: false, gitURL: 'https://github.com/tinacms/tina-cloud-starter', }, { title: 'Hugo Starter', + description: + 'With Hugo, you wield the power of lightning-fast site generation, crafting web experiences at the speed of thought.', value: 'tina-hugo-starter', isInternal: false, gitURL: 'https://github.com/tinacms/tina-hugo-starter', }, { title: 'Remix Starter', + description: + 'Dive into Remix to orchestrate seamless, interactive user journeys like a maestro of the web.', value: 'tina-remix-starter', isInternal: false, gitURL: 'https://github.com/tinacms/tina-remix-starter', }, { title: 'Docusaurus Starter', + description: + 'Docusaurus empowers you to build and evolve documentation like crafting a living, breathing knowledge repository.', value: 'tinasaurus', isInternal: false, gitURL: 'https://github.com/tinacms/tinasaurus',