Skip to content

Commit

Permalink
Merge pull request #4472 from tinacms/align-nvmrc-with-actions
Browse files Browse the repository at this point in the history
✨ Create-tina-app - add starter template descriptions
  • Loading branch information
wicksipedia committed Mar 26, 2024
2 parents 9896917 + 61745ac commit 353698f
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .changeset/gentle-eels-wave.md
@@ -0,0 +1,5 @@
---
'create-tina-app': patch
---

TinaCLI - added descriptions for starter templates
3 changes: 1 addition & 2 deletions .github/workflows/main.yml
Expand Up @@ -14,7 +14,6 @@ jobs:
os:
- ubuntu-latest
- macOS-latest
node-version: [14.x]
runs-on: ${{ matrix.os }}
timeout-minutes: 15
env:
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-pr.yml
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
@@ -1 +1 @@
14.17.0
v18
10 changes: 9 additions & 1 deletion packages/create-tina-app/README.md
@@ -1,3 +1,11 @@
# Create Tina App

> TODO
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
13 changes: 12 additions & 1 deletion packages/create-tina-app/src/examples.ts
Expand Up @@ -9,6 +9,7 @@ import path from 'path'

type BaseExample = {
title: string
description?: string
value: string
}

Expand All @@ -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',
Expand Down

0 comments on commit 353698f

Please sign in to comment.