-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v1 -- forked code from travis fischer template. gets blog up and running
- Loading branch information
Showing
97 changed files
with
7,586 additions
and
15,794 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# ------------------------------------------------------------------------------ | ||
# This is an example .env file. | ||
# | ||
# All of these environment vars must be defined either in your environment or in | ||
# a local .env file in order to run this app. | ||
# | ||
# @see https://github.com/rolodato/dotenv-safe for more details. | ||
# ------------------------------------------------------------------------------ | ||
|
||
# Optional (for fathom analytics) | ||
#NEXT_PUBLIC_FATHOM_ID= | ||
|
||
# Optional (for PostHog analytics) | ||
#NEXT_PUBLIC_POSTHOG_ID= | ||
|
||
# Optional (for rendering tweets more efficiently) | ||
#TWITTER_ACCESS_TOKEN= | ||
|
||
# Optional (for persisting preview images to redis) | ||
# NOTE: if you want to enable redis, only REDIS_HOST and REDIS_PASSWORD are required | ||
# NOTE: don't forget to set isRedisEnabled to true in the site.config.ts file | ||
#REDIS_HOST= | ||
#REDIS_PASSWORD= | ||
#REDIS_USER='default' | ||
#REDIS_NAMESPACE='preview-images' |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"root": true, | ||
"parser": "@typescript-eslint/parser", | ||
"plugins": ["@typescript-eslint", "react", "react-hooks"], | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:react/recommended", | ||
"plugin:react-hooks/recommended", | ||
"prettier" | ||
], | ||
"settings": { | ||
"react": { | ||
"version": "detect" | ||
} | ||
}, | ||
"env": { | ||
"browser": true, | ||
"node": true | ||
}, | ||
"rules": { | ||
"@typescript-eslint/no-explicit-any": 0, | ||
"@typescript-eslint/no-non-null-assertion": 0, | ||
"@typescript-eslint/no-unused-vars": 2, | ||
"react/prop-types": 0 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#### Description | ||
|
||
<!-- | ||
Please include as detailed of a description as possible, including screenshots if applicable. | ||
--> | ||
|
||
#### Notion Test Page ID | ||
|
||
<!-- | ||
Please include the ID of at least one publicly accessible Notion page related to your issue. | ||
This is extremely helpful for us to debug and fix issues. | ||
Thanks! | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#### Description | ||
|
||
<!-- | ||
Please include as detailed of a description as possible, including screenshots if applicable. | ||
--> | ||
|
||
#### Notion Test Page ID | ||
|
||
<!-- | ||
Please include the ID of at least one publicly accessible Notion page related to your PR. | ||
This is extremely helpful for us to debug and fix issues. | ||
Thanks! | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Build | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
Build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 20 | ||
cache: pnpm | ||
|
||
- run: pnpm install --frozen-lockfile | ||
- name: build | ||
# TODO Enable those lines below if you use a Redis cache, you'll also need to configure GitHub Repository Secrets | ||
# env: | ||
# REDIS_HOST: ${{ secrets.REDIS_HOST }} | ||
# REDIS_PASSWORD: ${{ secrets.REDIS_PASSWORD }} | ||
run: pnpm build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,7 @@ build/ | |
dist/ | ||
node_modules/ | ||
.next/ | ||
.vercel/ | ||
.vercel/ | ||
|
||
.demo/ | ||
.renderer/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,20 @@ | ||
{ | ||
"singleQuote": true, | ||
"trailingComma": "es5", | ||
"printWidth": 100, | ||
"tabWidth": 2, | ||
"jsxSingleQuote": true, | ||
"semi": false, | ||
"useTabs": false, | ||
"semi": true | ||
"tabWidth": 2, | ||
"bracketSpacing": true, | ||
"bracketSameLine": false, | ||
"arrowParens": "always", | ||
"trailingComma": "none", | ||
"importOrder": [ | ||
"^(react/(.*)$)|^(react$)|^(next/(.*)$)|^(next$)", | ||
"<THIRD_PARTY_MODULES>", | ||
"^(@/lib/(.*)$)|^(@/components/(.*)$)|^(@/styles/(.*)$)", | ||
"^[./]" | ||
], | ||
"importOrderSeparation": true, | ||
"importOrderSortSpecifiers": true, | ||
"importOrderGroupNamespaceSpecifiers": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "next dev", | ||
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/next", | ||
"runtimeArgs": ["dev"], | ||
"cwd": "${workspaceFolder}", | ||
"port": 9229, | ||
"smartStep": true, | ||
"console": "integratedTerminal", | ||
"skipFiles": ["<node_internals>/**"], | ||
"env": { | ||
"NODE_OPTIONS": "--inspect" | ||
} | ||
}, | ||
{ | ||
"type": "node", | ||
"request": "attach", | ||
"name": "Next.js App", | ||
"skipFiles": ["<node_internals>/**"], | ||
"port": 9229 | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,37 @@ | ||
{ | ||
"editor.formatOnSave": true, | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll.eslint": true | ||
"typescript.tsdk": "./node_modules/typescript/lib", | ||
"files.exclude": { | ||
"**/logs": true, | ||
"**/*.log": true, | ||
"**/npm-debug.log*": true, | ||
"**/yarn-debug.log*": true, | ||
"**/yarn-error.log*": true, | ||
"**/pids": true, | ||
"**/*.pid": true, | ||
"**/*.seed": true, | ||
"**/*.pid.lock": true, | ||
"**/.dummy": true, | ||
"**/lib-cov": true, | ||
"**/coverage": true, | ||
"**/.nyc_output": true, | ||
"**/.grunt": true, | ||
"**/.snapshots/": true, | ||
"**/bower_components": true, | ||
"**/.lock-wscript": true, | ||
"build/Release": true, | ||
"**/node_modules/": true, | ||
"**/jspm_packages/": true, | ||
"**/typings/": true, | ||
"**/.npm": true, | ||
"**/.eslintcache": true, | ||
"**/.node_repl_history": true, | ||
"**/*.tgz": true, | ||
"**/.yarn-integrity": true, | ||
"**/.next/": true, | ||
"**/dist/": true, | ||
"**/build/": true, | ||
"**/.now/": true, | ||
"**/.vercel/": true, | ||
"**/.google.json": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# ctbw.dev | ||
|
||
## 0.2.3 | ||
## 1.0.0 | ||
|
||
### Patch Changes | ||
### Major Changes | ||
|
||
- added .nvmrc, switch from yarn to pnpm, update packages | ||
- Forked project template from travis fischer. Gets blog up and running. |
Oops, something went wrong.