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:
2024-12-05 10:36:00 -05:00
parent 2137416e45
commit e0895fa120
9 changed files with 757 additions and 1275 deletions

13
build.ts Normal file
View 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
})
],
});