Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ Create-tina-app - add starter template descriptions #4472

Merged
merged 6 commits into from Mar 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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