Skip to content

Commit 831697e

Browse files
committed
chore: update gitignore
1 parent e05050f commit 831697e

File tree

3 files changed

+4
-20
lines changed

3 files changed

+4
-20
lines changed

.gitignore

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,6 @@
1+
.DS_Store
12
**/dist
23
**/node_modules
3-
*.log
4-
.env
5-
.DS_Store
6-
**/database
74
**/db
85
**/logs
9-
**/temp
10-
11-
# Tests
12-
**/coverage
13-
**/.nyc_output
14-
15-
# Logs
16-
logs
17-
*.log
18-
npm-debug.log*
19-
pnpm-debug.log*
20-
yarn-debug.log*
21-
yarn-error.log*
22-
lerna-debug.log*
6+
**/.turbo

examples/with-lodash/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { NodeLodash } from '@stenodb/lodash'
55
import { AsyncAdapter, NodeProvider } from '@stenodb/node'
66
import { User, Users } from './entities.js'
77

8-
const path = resolve(dirname(fileURLToPath(import.meta.url)), '..', 'database')
8+
const path = resolve(dirname(fileURLToPath(import.meta.url)), '..', 'db')
99
const initialData = new Users(new User(1, 'John Doe'))
1010
const adapter = new AsyncAdapter('users', Users, initialData)
1111
const provider = new NodeProvider({ path })

examples/with-node/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { createRotation } from '@stenodb/logger/rotation'
66
import { AsyncAdapter, NodeProvider } from '@stenodb/node'
77
import { Post, User, Users } from './entities.js'
88

9-
const path = resolve(dirname(fileURLToPath(import.meta.url)), '..', 'database')
9+
const path = resolve(dirname(fileURLToPath(import.meta.url)), '..', 'db')
1010
const logger = createLogger({
1111
rotation: createRotation({
1212
path: 'logs',

0 commit comments

Comments
 (0)