Skip to content

Commit ba7d1f1

Browse files
Merge pull request #103 from planetscale/2.0-app-dir
2.0 migration
2 parents 0bc77bc + 6c59fca commit ba7d1f1

File tree

164 files changed

+9150
-14938
lines changed

Some content is hidden

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

164 files changed

+9150
-14938
lines changed

.eslintrc.cjs

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
/** @type {import("eslint").Linter.Config} */
2+
const config = {
3+
parser: '@typescript-eslint/parser',
4+
parserOptions: {
5+
project: true,
6+
},
7+
plugins: ['@typescript-eslint'],
8+
extends: [
9+
'plugin:@next/next/recommended',
10+
'plugin:@typescript-eslint/recommended-type-checked',
11+
'plugin:@typescript-eslint/stylistic-type-checked',
12+
],
13+
rules: {
14+
// These opinionated rules are enabled in stylistic-type-checked above.
15+
// Feel free to reconfigure them to your own preference.
16+
'@typescript-eslint/array-type': 'off',
17+
'@typescript-eslint/consistent-type-definitions': 'off',
18+
19+
'@typescript-eslint/consistent-type-imports': [
20+
'warn',
21+
{
22+
prefer: 'type-imports',
23+
fixStyle: 'inline-type-imports',
24+
},
25+
],
26+
'@typescript-eslint/no-unused-vars': ['warn', { argsIgnorePattern: '^_' }],
27+
'@typescript-eslint/require-await': 'off',
28+
'@typescript-eslint/no-misused-promises': [
29+
'error',
30+
{
31+
checksVoidReturn: { attributes: false },
32+
},
33+
],
34+
},
35+
}
36+
37+
module.exports = config

.eslintrc.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

.husky/pre-commit

Lines changed: 0 additions & 4 deletions
This file was deleted.

LICENSE

Lines changed: 0 additions & 21 deletions
This file was deleted.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Beam is a simple tool that allows members to write posts to share across your or
99
### Install dependencies
1010

1111
```bash
12-
npm install
12+
pnpm i
1313
```
1414

1515
### Create a database
@@ -58,7 +58,7 @@ If you'd like to have new Beam posts published to a Slack channel, follow [these
5858
## Running the app locally
5959

6060
```bash
61-
npm run dev
61+
pnpm dev
6262
```
6363

6464
Open [http://localhost:3000](http://localhost:3000) in your browser.

components/author-with-date.tsx

Lines changed: 0 additions & 40 deletions
This file was deleted.

components/button-link.tsx

Lines changed: 0 additions & 50 deletions
This file was deleted.

components/button.tsx

Lines changed: 0 additions & 73 deletions
This file was deleted.

components/dialog.tsx

Lines changed: 0 additions & 101 deletions
This file was deleted.

components/icon-button.tsx

Lines changed: 0 additions & 35 deletions
This file was deleted.

0 commit comments

Comments
 (0)