-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update libs * prepare remix v2 * downgrade stripe * migrate to node 18
- Loading branch information
Showing
69 changed files
with
12,254 additions
and
27,190 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,74 +1,74 @@ | ||
{ | ||
"plugins": ["tailwindcss"], | ||
"extends": [ | ||
"@remix-run/eslint-config", | ||
"@remix-run/eslint-config/node", | ||
"plugin:tailwindcss/recommended", | ||
"prettier" | ||
], | ||
"parserOptions": { | ||
"project": ["./tsconfig.json"] | ||
}, | ||
"settings": { | ||
// Help eslint-plugin-tailwindcss to parse Tailwind classes outside of className | ||
"tailwindcss": { | ||
"callees": ["tw"] | ||
}, | ||
"jest": { | ||
"version": 27 | ||
} | ||
}, | ||
"rules": { | ||
"no-console": "warn", | ||
"arrow-body-style": ["warn", "as-needed"], | ||
// @typescript-eslint | ||
"@typescript-eslint/no-duplicate-imports": "error", | ||
"@typescript-eslint/consistent-type-imports": "error", | ||
"@typescript-eslint/no-unused-vars": [ | ||
"warn", | ||
{ | ||
"vars": "all", | ||
"args": "all", | ||
"argsIgnorePattern": "^_", | ||
"destructuredArrayIgnorePattern": "^_", | ||
"ignoreRestSiblings": false | ||
} | ||
], | ||
//import | ||
"import/no-cycle": "error", | ||
"import/no-unresolved": "error", | ||
"import/no-default-export": "warn", | ||
"import/order": [ | ||
"error", | ||
{ | ||
"groups": ["builtin", "external", "internal"], | ||
"pathGroups": [ | ||
{ | ||
"pattern": "react", | ||
"group": "external", | ||
"position": "before" | ||
} | ||
], | ||
"pathGroupsExcludedImportTypes": ["react"], | ||
"newlines-between": "always", | ||
"alphabetize": { | ||
"order": "asc", | ||
"caseInsensitive": true | ||
} | ||
} | ||
] | ||
}, | ||
"overrides": [ | ||
{ | ||
"files": [ | ||
"./app/root.tsx", | ||
"./app/entry.client.tsx", | ||
"./app/entry.server.tsx", | ||
"./app/routes/**/*.tsx" | ||
], | ||
"rules": { | ||
"import/no-default-export": "off" | ||
} | ||
} | ||
] | ||
"plugins": ["tailwindcss"], | ||
"extends": [ | ||
"@remix-run/eslint-config", | ||
"@remix-run/eslint-config/node", | ||
"plugin:tailwindcss/recommended", | ||
"prettier" | ||
], | ||
"parserOptions": { | ||
"project": ["./tsconfig.json"] | ||
}, | ||
"settings": { | ||
// Help eslint-plugin-tailwindcss to parse Tailwind classes outside of className | ||
"tailwindcss": { | ||
"callees": ["tw"] | ||
}, | ||
"jest": { | ||
"version": 27 | ||
} | ||
}, | ||
"rules": { | ||
"no-console": "warn", | ||
"arrow-body-style": ["warn", "as-needed"], | ||
// @typescript-eslint | ||
"@typescript-eslint/no-duplicate-imports": "error", | ||
"@typescript-eslint/consistent-type-imports": "error", | ||
"@typescript-eslint/no-unused-vars": [ | ||
"warn", | ||
{ | ||
"vars": "all", | ||
"args": "all", | ||
"argsIgnorePattern": "^_", | ||
"destructuredArrayIgnorePattern": "^_", | ||
"ignoreRestSiblings": false | ||
} | ||
], | ||
//import | ||
"import/no-cycle": "error", | ||
"import/no-unresolved": "error", | ||
"import/no-default-export": "warn", | ||
"import/order": [ | ||
"error", | ||
{ | ||
"groups": ["builtin", "external", "internal"], | ||
"pathGroups": [ | ||
{ | ||
"pattern": "react", | ||
"group": "external", | ||
"position": "before" | ||
} | ||
], | ||
"pathGroupsExcludedImportTypes": ["react"], | ||
"newlines-between": "always", | ||
"alphabetize": { | ||
"order": "asc", | ||
"caseInsensitive": true | ||
} | ||
} | ||
] | ||
}, | ||
"overrides": [ | ||
{ | ||
"files": [ | ||
"./app/root.tsx", | ||
"./app/entry.client.tsx", | ||
"./app/entry.server.tsx", | ||
"./app/routes/**/*.tsx" | ||
], | ||
"rules": { | ||
"import/no-default-export": "off" | ||
} | ||
} | ||
] | ||
} |
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,60 +1,60 @@ | ||
name: 🚀 Check Stack | ||
on: | ||
push: | ||
branches: | ||
- main | ||
- dev | ||
pull_request: {} | ||
push: | ||
branches: | ||
- main | ||
- dev | ||
pull_request: {} | ||
permissions: | ||
actions: write | ||
contents: read | ||
actions: write | ||
contents: read | ||
|
||
jobs: | ||
lint: | ||
name: ⬣ ESLint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 🛑 Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
|
||
- name: ⬇️ Checkout repo | ||
uses: actions/checkout@v3 | ||
|
||
- name: ⎔ Setup node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
|
||
- name: 📥 Download deps | ||
uses: bahmutov/npm-install@v1 | ||
with: | ||
useLockFile: false | ||
|
||
- name: ⚙️ Build CSS | ||
run: npm run generate:css | ||
|
||
- name: 🔬 Lint | ||
run: npm run lint | ||
|
||
typecheck: | ||
name: ʦ TypeScript | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 🛑 Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
|
||
- name: ⬇️ Checkout repo | ||
uses: actions/checkout@v3 | ||
|
||
- name: ⎔ Setup node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
|
||
- name: 📥 Download deps | ||
uses: bahmutov/npm-install@v1 | ||
with: | ||
useLockFile: false | ||
|
||
- name: 🔎 Type check | ||
run: npm run typecheck --if-present | ||
lint: | ||
name: ⬣ ESLint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 🛑 Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
|
||
- name: ⬇️ Checkout repo | ||
uses: actions/checkout@v3 | ||
|
||
- name: ⎔ Setup node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
|
||
- name: 📥 Download deps | ||
uses: bahmutov/npm-install@v1 | ||
with: | ||
useLockFile: false | ||
|
||
- name: ⚙️ Build CSS | ||
run: npm run generate:css | ||
|
||
- name: 🔬 Lint | ||
run: npm run lint | ||
|
||
typecheck: | ||
name: ʦ TypeScript | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 🛑 Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
|
||
- name: ⬇️ Checkout repo | ||
uses: actions/checkout@v3 | ||
|
||
- name: ⎔ Setup node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
|
||
- name: 📥 Download deps | ||
uses: bahmutov/npm-install@v1 | ||
with: | ||
useLockFile: false | ||
|
||
- name: 🔎 Type check | ||
run: npm run typecheck --if-present |
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 |
---|---|---|
|
@@ -5,4 +5,7 @@ node_modules | |
.env | ||
.cache | ||
|
||
/app/styles/tailwind.css | ||
# lock files | ||
package-lock.json | ||
yarn.lock | ||
pnpm-lock.yaml |
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,5 @@ | ||
/** @type {import("prettier").Options} */ | ||
module.exports = { | ||
tabWidth: 4, | ||
useTabs: 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,5 +1,8 @@ | ||
{ | ||
"tailwindCSS.experimental.classRegex": [ | ||
["tw\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"] | ||
] | ||
"tailwindCSS.experimental.classRegex": [ | ||
["tw\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"] | ||
], | ||
"typescript.tsdk": "node_modules/typescript/lib", | ||
"editor.tabSize": 4, | ||
"editor.insertSpaces": false, | ||
} |
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
Oops, something went wrong.