This commit is contained in:
Jasen Qin 2024-04-12 08:25:51 +10:00
parent a33686b47c
commit 9266f5b6ba
7 changed files with 4214 additions and 9 deletions

View File

@ -1,6 +1,5 @@
{
"extends": [
"next/babel",
"next/core-web-vitals"
"next"
]
}

View File

@ -0,0 +1,6 @@
describe('Database 2', () => {
it('DB WORKS 2', () => {
// so do firebase
// and can optionally have a local index if needed
})
})

View File

@ -7,6 +7,7 @@ describe('Database', () => {
const db = level('./mydb')
// 2) Put a key & value
// isnt this synchronous?
db.put('name', 'Level', function (err) {
if (err) return console.log('Ooops!', err) // some kind of I/O error

View File

@ -0,0 +1,15 @@
{
"compilerOptions": {
"module": "ESNext",
"moduleResolution": "Bundler",
"target": "ES2020",
"jsx": "react",
"allowImportingTsExtensions": true,
"strictNullChecks": true,
"strictFunctionTypes": true
},
"exclude": [
"node_modules",
"**/node_modules/*"
]
}

File diff suppressed because it is too large Load Diff

View File

@ -17,12 +17,13 @@
"@emotion/styled": "^11.11.5",
"framer-motion": "^11.0.25",
"level-rocksdb": "^5.0.0",
"next": "14.1.4",
"next": "^14.1.4",
"react": "^18",
"react-dom": "^18",
"rocksdb": "^5.2.1"
},
"devDependencies": {
"@next/eslint-plugin-next": "^14.2.0",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.2",
"@types/chai": "^4.3.14",

View File

@ -24,7 +24,7 @@ dependencies:
specifier: ^5.0.0
version: 5.0.0
next:
specifier: 14.1.4
specifier: ^14.1.4
version: 14.1.4(@babel/core@7.24.4)(react-dom@18.2.0)(react@18.2.0)
react:
specifier: ^18
@ -37,6 +37,9 @@ dependencies:
version: 5.2.1
devDependencies:
'@next/eslint-plugin-next':
specifier: ^14.2.0
version: 14.2.0
'@testing-library/jest-dom':
specifier: ^6.4.2
version: 6.4.2(jest@29.7.0)
@ -1991,6 +1994,12 @@ packages:
glob: 10.3.10
dev: true
/@next/eslint-plugin-next@14.2.0:
resolution: {integrity: sha512-QkM01VPhwcupezVevy9Uyl1rmpg2PimhMjkb+ySmnPgSKUUM/PGGRQxdFgMpHv/JzQoC8kRySgKeM441GiizcA==}
dependencies:
glob: 10.3.10
dev: true
/@next/swc-darwin-arm64@14.1.4:
resolution: {integrity: sha512-ubmUkbmW65nIAOmoxT1IROZdmmJMmdYvXIe8211send9ZYJu+SqxSnJM4TrPj9wmL6g9Atvj0S/2cFmMSS99jg==}
engines: {node: '>= 10'}