Update README, licensing, and logger implementation
Removed redundant instructions in the README and added a more detailed example. Changed the project's license from MIT to AGPL-3.0-or-later for stronger copyleft and network service provisions. Adjusted logger export and declarations to follow clean coding practices. Upgraded build scripts and distribution settings in package.json for improved module handling and output integrity. Remove pnpm-lock.yaml.
This commit is contained in:
13
build.ts
Normal file
13
build.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import isolatedDecl from 'bun-plugin-isolated-decl';
|
||||
|
||||
// handles building the types for the library
|
||||
await Bun.build({
|
||||
entrypoints: ['./src/index.ts', './src/types.ts'],
|
||||
outdir: './dist',
|
||||
target: 'node',
|
||||
plugins: [
|
||||
isolatedDecl({
|
||||
forceGenerate: true, // Generate declaration files even if there are errors
|
||||
})
|
||||
],
|
||||
});
|
Reference in New Issue
Block a user