@4lch4/api-starter
Advanced tools
Comparing version 1.0.3 to 1.1.0
@@ -0,1 +1,2 @@ | ||
import Router from '@koa/router'; | ||
import { IAppConfig } from './interfaces/index.js'; | ||
@@ -11,14 +12,12 @@ import { Server } from './lib/index.js'; | ||
export declare function getServerStarter(config: Partial<IAppConfig>): Promise<Server>; | ||
/** This object contains all interfaces exported by the package. */ | ||
export * as KoaOto from '@4lch4/koa-oto'; | ||
export * from '@4lch4/logger'; | ||
export { Dayjs } from 'dayjs'; | ||
export * as FS from 'fs-extra'; | ||
export * as Interfaces from './interfaces/index.js'; | ||
/** This object contains all class bases exported by the package. */ | ||
export * as Bases from './lib/bases/index.js'; | ||
/** This object contains all the constants exported by the package. */ | ||
export * as Constants from './lib/constants/index.js'; | ||
/** This object contains all the utility classes exported by the package. */ | ||
export * as Utils from './lib/utils/index.js'; | ||
/** This object contains all the API routes exported by the package. */ | ||
export * as Routes from './routes/index.js'; | ||
export * from '@4lch4/logger'; | ||
export * as KoaOto from '@4lch4/koa-oto'; | ||
export { Router }; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -0,1 +1,2 @@ | ||
import Router from '@koa/router'; | ||
import { DEFAULT_APP_CONFIG, Server } from './lib/index.js'; | ||
@@ -27,15 +28,23 @@ import { getRoutes } from './routes/index.js'; | ||
} | ||
/** This object contains all interfaces exported by the package. */ | ||
// Exports the @4lch4/koa-oto package. | ||
export * as KoaOto from '@4lch4/koa-oto'; | ||
// Exports the @4lch4/logger package. | ||
export * from '@4lch4/logger'; | ||
// Exports the dayjs package. | ||
export { Dayjs } from 'dayjs'; | ||
// Exports the fs-extra package. | ||
export * as FS from 'fs-extra'; | ||
// This object contains all the interfaces exported by the package. | ||
export * as Interfaces from './interfaces/index.js'; | ||
/** This object contains all class bases exported by the package. */ | ||
// This object contains all the class bases exported by the package. | ||
export * as Bases from './lib/bases/index.js'; | ||
/** This object contains all the constants exported by the package. */ | ||
// This object contains all the constants exported by the package. | ||
export * as Constants from './lib/constants/index.js'; | ||
/** This object contains all the utility classes exported by the package. */ | ||
// This object contains all the utility classes exported by the package. | ||
export * as Utils from './lib/utils/index.js'; | ||
/** This object contains all the API routes exported by the package. */ | ||
// This object contains all the API routes exported by the package. | ||
export * as Routes from './routes/index.js'; | ||
export * from '@4lch4/logger'; | ||
export * as KoaOto from '@4lch4/koa-oto'; | ||
// Exports the Koa Router package. | ||
export { Router }; | ||
//#endregion Exports | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@4lch4/api-starter", | ||
"displayName": "API Starter", | ||
"version": "1.0.3", | ||
"version": "1.1.0", | ||
"description": "An NPM package to use for starting a new API within my infrastructure.", | ||
@@ -52,2 +52,3 @@ "main": "./dist/index.js", | ||
"dayjs": "^1.11.7", | ||
"fs-extra": "^11.1.0", | ||
"koa": "^2.14.1", | ||
@@ -58,2 +59,3 @@ "koa-body": "^6.0.1", | ||
"devDependencies": { | ||
"@types/fs-extra": "^9.0.13", | ||
"@types/koa": "^2.13.5", | ||
@@ -60,0 +62,0 @@ "@types/koa__router": "^12.0.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
119416
354
9
7
1
+ Addedfs-extra@^11.1.0
+ Addedfs-extra@11.3.0(transitive)