Skip to content

Commit

Permalink
Change dev dependencies and configs
Browse files Browse the repository at this point in the history
  • Loading branch information
DemianParkhomenko committed Nov 28, 2023
1 parent 3e6de56 commit a6f8b99
Show file tree
Hide file tree
Showing 35 changed files with 2,953 additions and 1,611 deletions.
35 changes: 0 additions & 35 deletions .dockerignore

This file was deleted.

8 changes: 4 additions & 4 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extends": "next/core-web-vitals",
"rules": {
"react/no-unescaped-entities": "off"
}
"extends": [
"next/core-web-vitals",
"plugin:perfectionist/recommended-natural"
]
}
10 changes: 0 additions & 10 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,3 @@ jobs:
- run: npm run format:check
- run: npm run lint:check
- run: npm run test
deploy:
runs-on: ubuntu-latest
needs: [test, analyze]
if: github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v3
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
/node_modules
/.pnp
.pnp.js
.yarn/install-state.gz

# testing
/coverage
Expand Down
14 changes: 10 additions & 4 deletions .lintstagedrc.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
const path = require('path')
const path = require('node:path')

const relative = (files) =>
files.map((file) => path.relative(process.cwd(), file))

const buildEslintCommand = (filenames) =>
`next lint --fix --file ${filenames
.map((f) => path.relative(process.cwd(), f))
.join(' --file ')}`
`next lint --fix --file ${relative(filenames).join(' --file ')}`

module.exports = {
'*.{js,jsx,ts,tsx}': [buildEslintCommand],
'*.{js,ts}': () => 'npm run typescript:check',
'*': 'prettier --write --ignore-unknown',
'*.{js,jsx,ts,tsx,md,css,scss,json}': (files) =>
`cspell --show-suggestions --quiet --gitignore ${relative(files).join(
' '
)}`,
}
45 changes: 0 additions & 45 deletions Dockerfile

This file was deleted.

4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@ npm run dev
yarn dev
# or
pnpm dev
# or
bun dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

You can start editing the page by modifying `app/page.js`. The page auto-updates as you edit the file.
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.

This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.

Expand Down
13 changes: 13 additions & 0 deletions cspell.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json",
"version": "0.2",
"dictionaryDefinitions": [
{
"name": "project-words",
"path": "./project-words.txt",
"addWords": true
}
],
"dictionaries": ["project-words"],
"ignorePaths": ["node_modules", "/project-words.txt"]
}
12 changes: 0 additions & 12 deletions fly.toml

This file was deleted.

7 changes: 0 additions & 7 deletions jsconfig.json

This file was deleted.

4 changes: 1 addition & 3 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
/* config options here */
}
const nextConfig = {}

module.exports = nextConfig
Loading

0 comments on commit a6f8b99

Please sign in to comment.