sql-love 1.0.4 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,28 +1,30 @@
1
1
  {
2
2
  "name": "sql-love",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "Build SQL queries with JavaScript",
5
5
  "type": "module",
6
+ "engines": {
7
+ "bun": ">=1.2.0"
8
+ },
6
9
  "main": "./dist/index.cjs",
7
10
  "module": "./dist/index.mjs",
8
11
  "types": "./dist/index.d.ts",
9
12
  "exports": {
10
13
  ".": {
14
+ "tyxpes": "./dist/index.d.ts",
11
15
  "require": "./dist/index.cjs",
12
- "import": "./dist/index.mjs",
13
- "types": "./dist/index.d.ts"
16
+ "import": "./dist/index.mjs"
14
17
  }
15
18
  },
16
19
  "scripts": {
17
- "test": "vitest run",
18
- "test-watch": "vitest",
19
- "coverage": "vitest run --coverage",
20
- "view-coverage": "open ./coverage/lcov-report/index.html",
21
- "build": "npm run build:clean && npm run build:dts && npm run build:esm && npm run build:cjs",
22
- "build:clean": "rimraf dist/ && mkdir dist && touch dist/.gitkeep",
23
- "build:dts": "yes | npx dts-bundle-generator -o dist/index.d.ts index.ts",
24
- "build:esm": "yes | npx esbuild index.ts --minify --bundle --platform=node --format=esm --outfile=dist/index.mjs",
25
- "build:cjs": "yes | npx esbuild index.ts --minify --bundle --platform=node --format=cjs --outfile=dist/index.cjs"
20
+ "test": "bun test",
21
+ "test-watch": "bun test --watch",
22
+ "coverage": "bun test --coverage --coverage-reporter=lcov",
23
+ "build": "bun run build:clean && bun run build:dts && bun run build:esm && bun run build:cjs",
24
+ "build:clean": "rm -Rf dist/ && mkdir dist && touch dist/.gitkeep",
25
+ "build:dts": "yes | bunx dts-bundle-generator -o dist/index.d.ts index.ts",
26
+ "build:esm": "bun build index.ts --bundle --platform=node --format=esm --outfile=dist/index.mjs",
27
+ "build:cjs": "bun build index.ts --bundle --platform=node --format=cjs --outfile=dist/index.cjs"
26
28
  },
27
29
  "files": [
28
30
  "dist",
@@ -48,12 +50,10 @@
48
50
  },
49
51
  "homepage": "https://github.com/kensnyder/sql-love#readme",
50
52
  "devDependencies": {
51
- "@types/node": "22.6.1",
52
- "@vitest/coverage-v8": "2.1.1",
53
- "prettier": "3.3.3",
53
+ "@types/bun": "^1.2.8",
54
+ "@types/node": "22.14.0",
55
+ "prettier": "3.5.3",
54
56
  "prettier-plugin-organize-imports": "4.1.0",
55
- "rimraf": "6.0.1",
56
- "typescript": "5.6.2",
57
- "vitest": "2.1.1"
57
+ "typescript": "5.8.3"
58
58
  }
59
59
  }