Skip to content
This repository was archived by the owner on Nov 15, 2024. It is now read-only.

Commit 6d0facb

Browse files
committed
🎉 feat: init
1 parent 19da8eb commit 6d0facb

File tree

4 files changed

+16
-16
lines changed

4 files changed

+16
-16
lines changed

bun.lockb

2.57 KB
Binary file not shown.

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,17 @@
88
},
99
"repository": {
1010
"type": "git",
11-
"url": "https://github.com/elysiajs/elysia-bearer"
11+
"url": "https://github.com/elysiajs/node-adapter"
1212
},
1313
"main": "./dist/index.js",
1414
"devDependencies": {
15-
"@types/node": "^18.11.7",
16-
"bun-types": "^0.5.0",
15+
"@types/node": "^20.4.1",
16+
"bun-types": "^0.6.13",
1717
"elysia": "^0.6.0-alpha.1",
18-
"eslint": "^8.26.0",
19-
"rimraf": "^3.0.2",
18+
"eslint": "^8.44.0",
19+
"rimraf": "4.4.1",
2020
"ts-node": "^10.9.1",
21-
"typescript": "^4.8.4"
21+
"typescript": "^5.1.6"
2222
},
2323
"peerDependencies": {
2424
"elysia": ">= 0.6.0-alpha.1"
@@ -29,9 +29,9 @@
2929
"node": "./dist/index.js",
3030
"default": "./dist/index.js"
3131
},
32-
"bugs": "https://github.com/elysiajs/elysia-bearer/issues",
32+
"bugs": "https://github.com/elysiajs/node-adapter/issues",
3333
"description": "Node adapter plugin for Elysia",
34-
"homepage": "https://github.com/elysiajs/elysia-bearer",
34+
"homepage": "https://github.com/elysiajs/node-adapter",
3535
"keywords": [
3636
"elysia",
3737
"plugin",
@@ -51,6 +51,6 @@
5151
"dependencies": {
5252
"@sinclair/typebox": "^0.29.4",
5353
"fast-querystring": "^1.1.2",
54-
"uWebSockets.js": "uNetworking/uWebSockets.js#v20.27.0"
54+
"uWebSockets.js": "uNetworking/uWebSockets.js#v20.30.0"
5555
}
5656
}

tsconfig.cjs.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
// "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
1212

1313
/* Language and Environment */
14-
"target": "ES2021", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
14+
"target": "ES2022", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
1515
"lib": ["ESNext", "DOM", "ScriptHost"], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
1616
// "jsx": "preserve", /* Specify what JSX code is generated. */
1717
// "experimentalDecorators": true, /* Enable experimental support for TC39 stage 2 draft decorators. */
@@ -32,7 +32,7 @@
3232
// "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
3333
// "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
3434
// "typeRoots": [], /* Specify multiple folders that act like './node_modules/@types'. */
35-
"types": ["bun-types", "@types/node"], /* Specify type package names to be included without being referenced in a source file. */
35+
"types": ["bun-types"], /* Specify type package names to be included without being referenced in a source file. */
3636
// "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */
3737
// "moduleSuffixes": [], /* List of file name suffixes to search when resolving a module. */
3838
// "resolveJsonModule": true, /* Enable importing .json files. */
@@ -44,13 +44,13 @@
4444
// "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */
4545

4646
/* Emit */
47-
"declaration": false, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
47+
"declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
4848
// "declarationMap": true, /* Create sourcemaps for d.ts files. */
4949
// "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */
5050
// "sourceMap": true, /* Create source map files for emitted JavaScript files. */
5151
// "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */
5252
"outDir": "./dist/cjs", /* Specify an output folder for all emitted files. */
53-
// "removeComments": true, /* Disable emitting comments. */
53+
"removeComments": true, /* Disable emitting comments. */
5454
// "noEmit": true, /* Disable emitting files from a compilation. */
5555
// "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */
5656
// "importsNotUsedAsValues": "remove", /* Specify emit/checking behavior for imports that are only used for types. */
@@ -71,7 +71,7 @@
7171
/* Interop Constraints */
7272
// "isolatedModules": true, /* Ensure that each file can be safely transpiled without relying on other imports. */
7373
// "allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */
74-
"esModuleInterop": false, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */
74+
"esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */
7575
// "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */
7676
"forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
7777

tsconfig.esm.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
// "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
3333
// "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
3434
// "typeRoots": [], /* Specify multiple folders that act like './node_modules/@types'. */
35-
"types": ["bun-types", "@types/node"], /* Specify type package names to be included without being referenced in a source file. */
35+
"types": ["bun-types"], /* Specify type package names to be included without being referenced in a source file. */
3636
// "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */
3737
// "moduleSuffixes": [], /* List of file name suffixes to search when resolving a module. */
3838
// "resolveJsonModule": true, /* Enable importing .json files. */
@@ -44,7 +44,7 @@
4444
// "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */
4545

4646
/* Emit */
47-
"declaration": false, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
47+
"declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
4848
// "declarationMap": true, /* Create sourcemaps for d.ts files. */
4949
// "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */
5050
// "sourceMap": true, /* Create source map files for emitted JavaScript files. */

0 commit comments

Comments
 (0)