sql-love 1.1.0 → 1.1.2

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,6 +1,6 @@
1
1
  {
2
2
  "name": "sql-love",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "Build SQL queries with JavaScript",
5
5
  "type": "module",
6
6
  "engines": {
@@ -21,11 +21,12 @@
21
21
  "test-watch": "bun test --watch",
22
22
  "coverage": "bun test --coverage",
23
23
  "coverage-lcov": "bun test --coverage --coverage-reporter=lcov",
24
- "build": "bun run build:clean && bun run build:dts && bun run build:esm && bun run build:cjs",
25
- "build:clean": "rm -Rf dist/ && mkdir dist && touch dist/.gitkeep",
26
- "build:dts": "yes | bunx dts-bundle-generator -o dist/index.d.ts index.ts",
27
- "build:esm": "bun build index.ts --bundle --platform=node --format=esm --outfile=dist/index.mjs",
28
- "build:cjs": "bun build index.ts --bundle --platform=node --format=cjs --outfile=dist/index.cjs"
24
+ "build": "npm run build:clean && npm run build:dts && npm run build:esm && npm run build:cjs && npm run build:gzip-size",
25
+ "build:clean": "rm -Rf dist/ && mkdir dist",
26
+ "build:dts": "yes | bunx dts-bundle-generator --no-check --project tsconfig.bundle-generator.json -o dist/index.d.ts ./index.ts",
27
+ "build:esm": "bunx esbuild ./index.ts --bundle --platform=node --format=esm --packages=external --outfile=dist/index.mjs",
28
+ "build:cjs": "bunx esbuild ./index.ts --bundle --platform=node --format=cjs --packages=external --outfile=dist/index.cjs",
29
+ "build:gzip-size": "echo 'gzipped savings and size:' && gzip -cv dist/index.mjs | wc -c"
29
30
  },
30
31
  "files": [
31
32
  "dist",
@@ -53,8 +54,9 @@
53
54
  "devDependencies": {
54
55
  "@types/bun": "latest",
55
56
  "@types/node": "latest",
56
- "prettier": "3.6.2",
57
- "prettier-plugin-organize-imports": "4.2.0",
58
- "typescript": "5.8.3"
57
+ "dts-bundle-generator": "9.5.1",
58
+ "prettier": "3.9.6",
59
+ "prettier-plugin-organize-imports": "4.3.0",
60
+ "typescript": "5.9.3"
59
61
  }
60
62
  }
package/dist/.gitkeep DELETED
File without changes