Skip to content

Commit

Permalink
Replace code with next-saas-starter
Browse files Browse the repository at this point in the history
  • Loading branch information
dethan3 committed May 27, 2024
2 parents c740a2e + 502d8f5 commit 65e2a18
Show file tree
Hide file tree
Showing 145 changed files with 23,165 additions and 0 deletions.
62 changes: 62 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{
"projectName": "next-saas-starter",
"projectOwner": "Blazity",
"repoType": "github",
"repoHost": "https://github.com",
"files": [
"README.md"
],
"imageSize": 64,
"commit": true,
"commitConvention": "none",
"contributors": [
{
"login": "bmstefanski",
"name": "Bart Stefanski",
"avatar_url": "https://avatars.githubusercontent.com/u/28964599?v=4",
"profile": "https://bstefanski.com/",
"contributions": [
"code"
]
},
{
"login": "ilasota",
"name": "Igor Lasota",
"avatar_url": "https://avatars.githubusercontent.com/u/34578189?v=4",
"profile": "https://github.com/ilasota",
"contributions": [
"code"
]
},
{
"login": "jbryn",
"name": "Jan Bryński",
"avatar_url": "https://avatars.githubusercontent.com/u/52970664?v=4",
"profile": "https://github.com/jbryn",
"contributions": [
"code"
]
},
{
"login": "logan-anderson",
"name": "Logan Anderson",
"avatar_url": "https://avatars.githubusercontent.com/u/43075109?v=4",
"profile": "https://www.logana.dev/",
"contributions": [
"code",
"doc",
"mentoring"
]
},
{
"login": "fdukat",
"name": "Filip Dukat",
"avatar_url": "https://avatars.githubusercontent.com/u/87642690?v=4",
"profile": "https://github.com/fdukat",
"contributions": [
"doc"
]
}
],
"contributorsPerLine": 7
}
5 changes: 5 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
SENDGRID_API_KEY=
NEXT_PUBLIC_TINA_CLIENT_ID=
NEXT_PUBLIC_EDIT_BRANCH="master"
NEXT_PUBLIC_ORGANIZATION_NAME=
NEXT_PUBLIC_USE_LOCAL_CLIENT=""
40 changes: 40 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"parser": "@typescript-eslint/parser",
"extends": ["react-app", "prettier", "plugin:react/recommended", "next/core-web-vitals"],
"env": {
"es6": true
},
"parserOptions": {
"sourceType": "module"
},
"rules": {
"react/prop-types": 0,
"react/react-in-jsx-scope": 0,
"react/display-name": 0,
"no-unused-vars": 0,
"sort-imports": ["error", { "ignoreCase": true, "ignoreDeclarationSort": true }],
"import/order": [
1,
{
"groups": ["external", "builtin", "internal", "sibling", "parent", "index"],
"pathGroups": [
{ "pattern": "env", "group": "internal" },
{ "pattern": "types", "group": "internal" },
{ "pattern": "components/**", "group": "internal" },
{ "pattern": "contexts/**", "group": "internal" },
{ "pattern": "hooks/**", "group": "internal" },
{ "pattern": "pages/**", "group": "internal" },
{ "pattern": "views/**", "group": "internal" },
{ "pattern": "utils/**", "group": "internal" },
{ "pattern": "public/**", "group": "internal", "position": "after" },
{ "pattern": "posts/**", "group": "internal", "position": "after" }
],
"pathGroupsExcludedImportTypes": ["internal"],
"alphabetize": {
"order": "asc",
"caseInsensitive": true
}
}
]
}
}
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "npm" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
70 changes: 70 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
branches: [ master ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ master ]
schedule:
- cron: '29 1 * * 5'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Learn more about CodeQL language support at https://git.io/codeql-language-support

steps:
- name: Checkout repository
uses: actions/checkout@v3

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ yarn-debug.log*
yarn-error.log*

# local env files
<<<<<<< HEAD
.env*.local

# vercel
Expand All @@ -33,3 +34,12 @@ yarn-error.log*
# typescript
*.tsbuildinfo
next-env.d.ts
=======
.env.local
.env.development.local
.env.test.local
.env.production.local

# vercel
.vercel
>>>>>>> temp-branch
7 changes: 7 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"printWidth": 140,
"tabWidth": 2,
"useTabs": false,
"singleQuote": true,
"trailingComma": "all"
}
1 change: 1 addition & 0 deletions .tina/__generated__/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 65e2a18

Please sign in to comment.