@sqlane/core 0.0.0 → 0.0.1
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/README.md +12 -10
- package/package.json +70 -57
package/README.md
CHANGED
|
@@ -24,16 +24,18 @@ pnpm install
|
|
|
24
24
|
hk install --global --mise # Git hooks, also for GUI Git clients: lint, format, type check, secrets, typos, Conventional Commits
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
-
| Command
|
|
28
|
-
|
|
|
29
|
-
| `pnpm test`
|
|
30
|
-
| `pnpm lint`
|
|
31
|
-
| `pnpm lint:fix`
|
|
32
|
-
| `pnpm format`
|
|
33
|
-
| `pnpm
|
|
34
|
-
| `pnpm
|
|
35
|
-
|
|
36
|
-
|
|
27
|
+
| Command | Does |
|
|
28
|
+
| ------------------- | ---------------------------------------------------------- |
|
|
29
|
+
| `pnpm test` | Run the tests (Vitest) |
|
|
30
|
+
| `pnpm lint` | Lint, including formatting (oxlint, @stylistic) |
|
|
31
|
+
| `pnpm lint:fix` | Fix lint and formatting |
|
|
32
|
+
| `pnpm format` | Format the other files: JSON, YAML, Markdown, TOML (oxfmt) |
|
|
33
|
+
| `pnpm lint:package` | Check the package that npm would publish (publint) |
|
|
34
|
+
| `pnpm typecheck` | Type-check the JSDoc (`tsc`, no emit) |
|
|
35
|
+
| `pnpm check` | Run all hook checks on all files (`hk check --all`) |
|
|
36
|
+
|
|
37
|
+
Commit messages follow [Conventional Commits](https://www.conventionalcommits.org). A change of the package adds a
|
|
38
|
+
changeset (`pnpm changeset`); see [releasing](docs/releasing.md).
|
|
37
39
|
|
|
38
40
|
## License
|
|
39
41
|
|
package/package.json
CHANGED
|
@@ -1,58 +1,71 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
"
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
"
|
|
58
|
-
|
|
2
|
+
"name": "@sqlane/core",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "Transactional SQL job queue for Node.js (MySQL, PostgreSQL)",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"background-jobs",
|
|
7
|
+
"job",
|
|
8
|
+
"mysql",
|
|
9
|
+
"outbox",
|
|
10
|
+
"postgres",
|
|
11
|
+
"postgresql",
|
|
12
|
+
"queue",
|
|
13
|
+
"transactional"
|
|
14
|
+
],
|
|
15
|
+
"homepage": "https://github.com/sqlane/sqlane-node#readme",
|
|
16
|
+
"bugs": "https://github.com/sqlane/sqlane-node/issues",
|
|
17
|
+
"license": "MIT",
|
|
18
|
+
"author": "Klim Pal",
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "git+https://github.com/sqlane/sqlane-node.git"
|
|
22
|
+
},
|
|
23
|
+
"files": [
|
|
24
|
+
"src",
|
|
25
|
+
"!src/**/*.test.js"
|
|
26
|
+
],
|
|
27
|
+
"type": "module",
|
|
28
|
+
"exports": {
|
|
29
|
+
".": "./src/index.js"
|
|
30
|
+
},
|
|
31
|
+
"publishConfig": {
|
|
32
|
+
"access": "public"
|
|
33
|
+
},
|
|
34
|
+
"devDependencies": {
|
|
35
|
+
"@changesets/changelog-github": "1.0.1",
|
|
36
|
+
"@changesets/cli": "3.0.3",
|
|
37
|
+
"@stylistic/eslint-plugin": "5.10.0",
|
|
38
|
+
"@testcontainers/mysql": "12.2.1",
|
|
39
|
+
"@testcontainers/postgresql": "12.2.1",
|
|
40
|
+
"@types/node": "22.20.5",
|
|
41
|
+
"@types/pg": "8.23.1",
|
|
42
|
+
"@vitest/coverage-v8": "5.0.5",
|
|
43
|
+
"mysql2": "3.24.6",
|
|
44
|
+
"oxfmt": "0.75.0",
|
|
45
|
+
"oxlint": "1.90.0",
|
|
46
|
+
"pg": "8.23.1",
|
|
47
|
+
"publint": "0.3.25",
|
|
48
|
+
"testcontainers": "12.2.1",
|
|
49
|
+
"typescript": "7.0.2",
|
|
50
|
+
"vitest": "5.0.5"
|
|
51
|
+
},
|
|
52
|
+
"engines": {
|
|
53
|
+
"node": ">=22.12.0"
|
|
54
|
+
},
|
|
55
|
+
"scripts": {
|
|
56
|
+
"lint": "oxlint --deny-warnings",
|
|
57
|
+
"lint:fix": "oxlint --fix",
|
|
58
|
+
"lint:package": "publint --strict",
|
|
59
|
+
"format": "oxfmt",
|
|
60
|
+
"format:check": "oxfmt --check",
|
|
61
|
+
"typecheck": "tsc -p tsconfig.json",
|
|
62
|
+
"test": "vitest run",
|
|
63
|
+
"test:unit": "vitest run --project unit",
|
|
64
|
+
"test:integration": "vitest run --project 'integration:*'",
|
|
65
|
+
"test:watch": "vitest",
|
|
66
|
+
"test:coverage": "vitest run --coverage",
|
|
67
|
+
"check": "hk check --all",
|
|
68
|
+
"changeset": "changeset",
|
|
69
|
+
"changeset:version": "changeset version && oxfmt --no-error-on-unmatched-pattern CHANGELOG.md"
|
|
70
|
+
}
|
|
71
|
+
}
|