Skip to content

Commit

Permalink
🎉 feat: init
Browse files Browse the repository at this point in the history
  • Loading branch information
SaltyAom committed Jul 9, 2023
1 parent 19da8eb commit 6d0facb
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
Binary file modified bun.lockb
Binary file not shown.
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@
},
"repository": {
"type": "git",
"url": "https://github.com/elysiajs/elysia-bearer"
"url": "https://github.com/elysiajs/node-adapter"
},
"main": "./dist/index.js",
"devDependencies": {
"@types/node": "^18.11.7",
"bun-types": "^0.5.0",
"@types/node": "^20.4.1",
"bun-types": "^0.6.13",
"elysia": "^0.6.0-alpha.1",
"eslint": "^8.26.0",
"rimraf": "^3.0.2",
"eslint": "^8.44.0",
"rimraf": "4.4.1",
"ts-node": "^10.9.1",
"typescript": "^4.8.4"
"typescript": "^5.1.6"
},
"peerDependencies": {
"elysia": ">= 0.6.0-alpha.1"
Expand All @@ -29,9 +29,9 @@
"node": "./dist/index.js",
"default": "./dist/index.js"
},
"bugs": "https://github.com/elysiajs/elysia-bearer/issues",
"bugs": "https://github.com/elysiajs/node-adapter/issues",
"description": "Node adapter plugin for Elysia",
"homepage": "https://github.com/elysiajs/elysia-bearer",
"homepage": "https://github.com/elysiajs/node-adapter",
"keywords": [
"elysia",
"plugin",
Expand All @@ -51,6 +51,6 @@
"dependencies": {
"@sinclair/typebox": "^0.29.4",
"fast-querystring": "^1.1.2",
"uWebSockets.js": "uNetworking/uWebSockets.js#v20.27.0"
"uWebSockets.js": "uNetworking/uWebSockets.js#v20.30.0"
}
}
10 changes: 5 additions & 5 deletions tsconfig.cjs.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
// "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */

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

/* Emit */
"declaration": false, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
"declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
// "declarationMap": true, /* Create sourcemaps for d.ts files. */
// "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */
// "sourceMap": true, /* Create source map files for emitted JavaScript files. */
// "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. */
"outDir": "./dist/cjs", /* Specify an output folder for all emitted files. */
// "removeComments": true, /* Disable emitting comments. */
"removeComments": true, /* Disable emitting comments. */
// "noEmit": true, /* Disable emitting files from a compilation. */
// "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */
// "importsNotUsedAsValues": "remove", /* Specify emit/checking behavior for imports that are only used for types. */
Expand All @@ -71,7 +71,7 @@
/* Interop Constraints */
// "isolatedModules": true, /* Ensure that each file can be safely transpiled without relying on other imports. */
// "allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */
"esModuleInterop": false, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */
"esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */
// "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */
"forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */

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

/* Emit */
"declaration": false, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
"declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
// "declarationMap": true, /* Create sourcemaps for d.ts files. */
// "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */
// "sourceMap": true, /* Create source map files for emitted JavaScript files. */
Expand Down

0 comments on commit 6d0facb

Please sign in to comment.