fixed breaking bug

This commit is contained in:
2024-03-25 02:24:39 +01:00
parent db991473b8
commit 7e4cb17c72
3 changed files with 43 additions and 44 deletions

View File

@@ -1,9 +1,9 @@
import dts from "bun-plugin-dts"; import dts from 'bun-plugin-dts';
await Bun.build({ await Bun.build({
entrypoints: ["./src/index.ts"], entrypoints: ['./src/index.ts'],
outdir: "./dist", outdir: './dist',
target: "node", target: 'node',
minify: true, minify: true,
plugins: [dts()], plugins: [dts()],
}); });

BIN
bun.lockb

Binary file not shown.

View File

@@ -1,42 +1,41 @@
{ {
"name": "layered-generative-art", "name": "layered-generative-art",
"description": "An easy-to-use library to generate random images from a set of layers", "description": "An easy-to-use library to generate random images from a set of layers",
"version": "1.0.1", "version": "1.0.4",
"main": "dist/index.js", "main": "dist/index.js",
"types": "dist/index.d.ts", "types": "dist/index.d.ts",
"author": "409", "author": "409",
"type": "module", "type": "module",
"license": "MIT", "license": "MIT",
"files": [ "files": [
"dist/*.js", "dist"
"dist/*.d.ts" ],
], "keywords": [
"keywords": [ "generative",
"generative", "random",
"random", "art",
"art", "image",
"image", "images",
"images", "generative-art"
"generative-art" ],
], "homepage": "https://github.com/4-0-9/layered-generative-art",
"homepage": "https://github.com/4-0-9/layered-generative-art", "repository": {
"repository": { "type": "git",
"type": "git", "url": "git+https://github.com/4-0-9/layered-generative-art.git"
"url": "git+https://github.com/4-0-9/layered-generative-art.git" },
}, "bugs": "https://github.com/4-0-9/layered-generative-art/issues",
"bugs": "https://github.com/4-0-9/layered-generative-art/issues", "scripts": {
"scripts": { "build": "bun run build.mjs",
"build": "bun run build.mjs", "publish": "npm publish"
"publish": "bun run build && npm publish" },
}, "dependencies": {
"dependencies": { "bun-plugin-dts": "^0.2.1",
"sharp": "^0.33.2" "sharp": "^0.33.3"
}, },
"peerDependencies": { "peerDependencies": {
"typescript": "^5.0.0" "typescript": "^5.0.0"
}, },
"devDependencies": { "devDependencies": {
"@types/bun": "latest", "@types/bun": "latest"
"bun-plugin-dts": "^0.2.1" }
}
} }