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/LICENSE.md +1 -1
- package/README.md +16 -10
- package/dist/index.cjs +872 -14
- package/dist/index.mjs +840 -14
- package/package.json +18 -18
package/package.json
CHANGED
|
@@ -1,28 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sql-love",
|
|
3
|
-
"version": "1.0.
|
|
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": "
|
|
18
|
-
"test-watch": "
|
|
19
|
-
"coverage": "
|
|
20
|
-
"
|
|
21
|
-
"build": "
|
|
22
|
-
"build:
|
|
23
|
-
"build:
|
|
24
|
-
"build:
|
|
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/
|
|
52
|
-
"@
|
|
53
|
-
"prettier": "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
|
-
"
|
|
56
|
-
"typescript": "5.6.2",
|
|
57
|
-
"vitest": "2.1.1"
|
|
57
|
+
"typescript": "5.8.3"
|
|
58
58
|
}
|
|
59
59
|
}
|