Skip to content

Commit 7d53579

Browse files
committed
add microgen
1 parent 08567f0 commit 7d53579

151 files changed

Lines changed: 48665 additions & 2 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.env.example

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# These are retrieved from your project at app.tina.io
2+
NEXT_PUBLIC_TINA_CLIENT_ID=***
3+
TINA_TOKEN=***
4+
5+
# This is set by default CI with Netlify/Vercel/Github, but can be overriden
6+
NEXT_PUBLIC_TINA_BRANCH=***

.eslintignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules
2+
dist

.eslintrc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"root": true,
3+
"parser": "@typescript-eslint/parser",
4+
"plugins": ["@typescript-eslint"],
5+
"extends": [
6+
"eslint:recommended",
7+
"plugin:@typescript-eslint/eslint-recommended",
8+
"plugin:@typescript-eslint/recommended"
9+
]
10+
}

.fleek.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"build": {
3+
"image": "fleek/next-js",
4+
"command": "yarn && yarn build && yarn export",
5+
"publicDir": "out",
6+
"environment": {
7+
"CI": "true"
8+
}
9+
}
10+
}

.github/dependabot.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "npm" # See documentation for possible values
9+
directory: "/" # Location of package manifests
10+
schedule:
11+
interval: "daily"
12+
allow:
13+
- dependency-name: "tinacms"
14+
- dependency-name: "@tinacms*"

.github/workflows/pr-open.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Build Pull request
2+
on:
3+
pull_request:
4+
types: [opened, synchronize, reopened]
5+
env:
6+
NEXT_PUBLIC_TINA_CLIENT_ID: ${{ secrets.NEXT_PUBLIC_TINA_CLIENT_ID }}
7+
TINA_TOKEN: ${{ secrets.TINA_TOKEN }}
8+
NEXT_PUBLIC_TINA_BRANCH: ${{ github.head_ref }}
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
node: ["14", "16", "17"]
15+
name: Node ${{ matrix.node }} sample
16+
steps:
17+
- uses: actions/checkout@v3
18+
- name: Setup node
19+
uses: actions/setup-node@v3
20+
with:
21+
node-version: ${{ matrix.node }}
22+
- run: yarn install
23+
- run: yarn build

.gitignore

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
2+
# dependencies
3+
/node_modules
4+
/.pnp
5+
.pnp.js
6+
7+
# testing
8+
/coverage
9+
10+
# next.js
11+
/.next/
12+
/out/
13+
14+
# production
15+
/build
16+
17+
# misc
18+
.DS_Store
19+
.env
20+
.env.local
21+
.idea
22+
23+
# debug
24+
npm-debug.log*
25+
yarn-debug.log*
26+
yarn-error.log*
27+
28+
NOTES.md

.prettierrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

.tina/__generated__/.gitignore

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.tina/__generated__/_graphql.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)