@rljson/io-sqlite 0.0.10 → 0.0.12

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 CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2025 Rljson
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Rljson
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -1,9 +1,9 @@
1
- <!--
2
- @license
3
- Copyright (c) 2025 Rljson
4
-
5
- Use of this source code is governed by terms that can be
6
- found in the LICENSE file in the root of this package.
7
- -->
8
-
9
- # Architecture
1
+ <!--
2
+ @license
3
+ Copyright (c) 2025 Rljson
4
+
5
+ Use of this source code is governed by terms that can be
6
+ found in the LICENSE file in the root of this package.
7
+ -->
8
+
9
+ # Architecture
package/README.blog.md CHANGED
@@ -1,11 +1,11 @@
1
- <!--
2
- @license
3
- Copyright (c) 2025 Rljson
4
-
5
- Use of this source code is governed by terms that can be
6
- found in the LICENSE file in the root of this package.
7
- -->
8
-
9
- # Blog
10
-
11
- Add latest posts at the end.
1
+ <!--
2
+ @license
3
+ Copyright (c) 2025 Rljson
4
+
5
+ Use of this source code is governed by terms that can be
6
+ found in the LICENSE file in the root of this package.
7
+ -->
8
+
9
+ # Blog
10
+
11
+ Add latest posts at the end.
@@ -1,32 +1,32 @@
1
- <!--
2
- @license
3
- Copyright (c) 2025 Rljson
4
-
5
- Use of this source code is governed by terms that can be
6
- found in the LICENSE file in the root of this package.
7
- -->
8
-
9
- # Contributors Guide
10
-
11
- - [Prepare](#prepare)
12
- - [Develop](#develop)
13
- - [Administrate](#administrate)
14
- - [Fast Coding](#fast-coding)
15
-
16
- ## Prepare
17
-
18
- Read [prepare.md](doc/prepare.md)
19
-
20
- <!-- ........................................................................-->
21
-
22
- ## Develop
23
-
24
- Read [develop.md](doc/develop.md)
25
-
26
- ## Administrate
27
-
28
- Read [create-new-repo.md](doc/create-new-repo.md)
29
-
30
- ## Fast Coding
31
-
32
- Read [fast-coding-guide.md](doc/fast-coding-guide.md)
1
+ <!--
2
+ @license
3
+ Copyright (c) 2025 Rljson
4
+
5
+ Use of this source code is governed by terms that can be
6
+ found in the LICENSE file in the root of this package.
7
+ -->
8
+
9
+ # Contributors Guide
10
+
11
+ - [Prepare](#prepare)
12
+ - [Develop](#develop)
13
+ - [Administrate](#administrate)
14
+ - [Fast Coding](#fast-coding)
15
+
16
+ ## Prepare
17
+
18
+ Read [prepare.md](doc/prepare.md)
19
+
20
+ <!-- ........................................................................-->
21
+
22
+ ## Develop
23
+
24
+ Read [develop.md](doc/develop.md)
25
+
26
+ ## Administrate
27
+
28
+ Read [create-new-repo.md](doc/create-new-repo.md)
29
+
30
+ ## Fast Coding
31
+
32
+ Read [fast-coding-guide.md](doc/fast-coding-guide.md)
package/README.md CHANGED
@@ -1,24 +1,24 @@
1
- <!--
2
- @license
3
- Copyright (c) 2025 Rljson
4
-
5
- Use of this source code is governed by terms that can be
6
- found in the LICENSE file in the root of this package.
7
- -->
8
-
9
- # @rljson/io-sqlite
10
-
11
- ## Users
12
-
13
- | File | Purpose |
14
- | ------------------------------------ | --------------------------- |
15
- | [README.public.md](README.public.md) | Install and use the package |
16
-
17
- ## Contributors
18
-
19
- | File | Purpose |
20
- | ------------------------------------------------ | ----------------------------- |
21
- | [README.contributors.md](README.contributors.md) | Run, debug, build and publish |
22
- | [README.architecture.md](README.architecture.md) | Software architecture guide |
23
- | [README.trouble.md](README.trouble.md) | Errors & solutions |
24
- | [README.blog.md](README.blog.md) | Blog |
1
+ <!--
2
+ @license
3
+ Copyright (c) 2025 Rljson
4
+
5
+ Use of this source code is governed by terms that can be
6
+ found in the LICENSE file in the root of this package.
7
+ -->
8
+
9
+ # @rljson/io-sqlite
10
+
11
+ ## Users
12
+
13
+ | File | Purpose |
14
+ | ------------------------------------ | --------------------------- |
15
+ | [README.public.md](README.public.md) | Install and use the package |
16
+
17
+ ## Contributors
18
+
19
+ | File | Purpose |
20
+ | ------------------------------------------------ | ----------------------------- |
21
+ | [README.contributors.md](README.contributors.md) | Run, debug, build and publish |
22
+ | [README.architecture.md](README.architecture.md) | Software architecture guide |
23
+ | [README.trouble.md](README.trouble.md) | Errors & solutions |
24
+ | [README.blog.md](README.blog.md) | Blog |
package/README.piano.md CHANGED
@@ -1,42 +1,42 @@
1
- <!--
2
- @license
3
- Copyright (c) 2025 Rljson
4
-
5
- Use of this source code is governed by terms that can be
6
- found in the LICENSE file in the root of this package.
7
- -->
8
-
9
- # Coding like a pianist
10
-
11
- Tricks and tips for high performance coders
12
-
13
- ## Content <!-- omit in toc -->
14
-
15
- - [Vscode](#vscode)
16
- - [Quick open files](#quick-open-files)
17
- - [Multi cursor search and replace](#multi-cursor-search-and-replace)
18
-
19
- ## Vscode
20
-
21
- ### Quick open files
22
-
23
- ❌ Don't open files by clicking through the folder hierarchy.
24
-
25
- ✅ Quick open files by pressing `Cmd+Shift+P`, entering fragments of the
26
- file name and pressing `enter`.
27
-
28
- ### Multi cursor search and replace
29
-
30
- ❌ Don't use `Cmd+F` to search and replace files
31
-
32
- ✅ Double click a word to be searched and replaced
33
-
34
- Press `Ctrl+ddd...` to create a multi cursor on all occurrences of the word
35
-
36
- Modify the word
37
-
38
- Press `ESC` to finish multi cursor edit
39
-
40
- When doing this the first time, search will not be case sensitive
41
-
42
- Press `Cmd+F`, click `Aa` to make `Ctrl+d` multi case sensitive
1
+ <!--
2
+ @license
3
+ Copyright (c) 2025 Rljson
4
+
5
+ Use of this source code is governed by terms that can be
6
+ found in the LICENSE file in the root of this package.
7
+ -->
8
+
9
+ # Coding like a pianist
10
+
11
+ Tricks and tips for high performance coders
12
+
13
+ ## Content <!-- omit in toc -->
14
+
15
+ - [Vscode](#vscode)
16
+ - [Quick open files](#quick-open-files)
17
+ - [Multi cursor search and replace](#multi-cursor-search-and-replace)
18
+
19
+ ## Vscode
20
+
21
+ ### Quick open files
22
+
23
+ ❌ Don't open files by clicking through the folder hierarchy.
24
+
25
+ ✅ Quick open files by pressing `Cmd+Shift+P`, entering fragments of the
26
+ file name and pressing `enter`.
27
+
28
+ ### Multi cursor search and replace
29
+
30
+ ❌ Don't use `Cmd+F` to search and replace files
31
+
32
+ ✅ Double click a word to be searched and replaced
33
+
34
+ Press `Ctrl+ddd...` to create a multi cursor on all occurrences of the word
35
+
36
+ Modify the word
37
+
38
+ Press `ESC` to finish multi cursor edit
39
+
40
+ When doing this the first time, search will not be case sensitive
41
+
42
+ Press `Cmd+F`, click `Aa` to make `Ctrl+d` multi case sensitive
package/README.public.md CHANGED
@@ -1,15 +1,15 @@
1
- <!--
2
- @license
3
- Copyright (c) 2025 Rljson
4
-
5
- Use of this source code is governed by terms that can be
6
- found in the LICENSE file in the root of this package.
7
- -->
8
-
9
- # @rljson/io-sqlite
10
-
11
- Todo: Add description here
12
-
13
- ## Example
14
-
15
- [src/example.ts](src/example.ts)
1
+ <!--
2
+ @license
3
+ Copyright (c) 2025 Rljson
4
+
5
+ Use of this source code is governed by terms that can be
6
+ found in the LICENSE file in the root of this package.
7
+ -->
8
+
9
+ # @rljson/io-sqlite
10
+
11
+ Todo: Add description here
12
+
13
+ ## Example
14
+
15
+ [src/example.ts](src/example.ts)
package/README.trouble.md CHANGED
@@ -1,23 +1,23 @@
1
- <!--
2
- @license
3
- Copyright (c) 2025 Rljson
4
-
5
- Use of this source code is governed by terms that can be
6
- found in the LICENSE file in the root of this package.
7
- -->
8
-
9
- # Trouble shooting
10
-
11
- ## Table of contents <!-- omit in toc -->
12
-
13
- - [Vscode Windows: Debugging is not working](#vscode-windows-debugging-is-not-working)
14
-
15
- ## Vscode Windows: Debugging is not working
16
-
17
- Date: 2025-03-08
18
-
19
- ⚠️ IMPORTANT: On Windows, please check out the repo on drive C. There is a bug
20
- in the VS Code Vitest extension (v1.14.4), which prevents test debugging from
21
- working: <https://github.com/vitest-dev/vscode/issues/548> Please check from
22
- time to time if the issue has been fixed and remove this note once it is
23
- resolved.
1
+ <!--
2
+ @license
3
+ Copyright (c) 2025 Rljson
4
+
5
+ Use of this source code is governed by terms that can be
6
+ found in the LICENSE file in the root of this package.
7
+ -->
8
+
9
+ # Trouble shooting
10
+
11
+ ## Table of contents <!-- omit in toc -->
12
+
13
+ - [Vscode Windows: Debugging is not working](#vscode-windows-debugging-is-not-working)
14
+
15
+ ## Vscode Windows: Debugging is not working
16
+
17
+ Date: 2025-03-08
18
+
19
+ ⚠️ IMPORTANT: On Windows, please check out the repo on drive C. There is a bug
20
+ in the VS Code Vitest extension (v1.14.4), which prevents test debugging from
21
+ working: <https://github.com/vitest-dev/vscode/issues/548> Please check from
22
+ time to time if the issue has been fixed and remove this note once it is
23
+ resolved.
package/package.json CHANGED
@@ -1,69 +1,69 @@
1
- {
2
- "name": "@rljson/io-sqlite",
3
- "version": "0.0.10",
4
- "description": "IoSql rljson files",
5
- "homepage": "https://github.com/rljson/io-sqlite",
6
- "bugs": "https://github.com/rljson/io-sqlite/issues",
7
- "private": false,
8
- "license": "MIT",
9
- "engines": {
10
- "node": ">=22.14.0"
11
- },
12
- "repository": {
13
- "type": "git",
14
- "url": "git+https://github.com/rljson/io-sqlite.git"
15
- },
16
- "main": "dist/io-sqlite.js",
17
- "types": "dist/index.d.ts",
18
- "files": [
19
- "dist"
20
- ],
21
- "type": "module",
22
- "scripts": {
23
- "build": "echo 'Please add esbuild to create builds'",
24
- "test": "pnpx vitest run --coverage && pnpm run lint",
25
- "prebuild": "npm run test",
26
- "prepublishOnly": "npm run build",
27
- "lint": "pnpx eslint",
28
- "updateGoldens": "cross-env UPDATE_GOLDENS=true pnpm test",
29
- "installConformanceTests": "node scripts/install-conformance-tests.js"
30
- },
31
- "devDependencies": {
32
- "@types/better-sqlite3": "^7.6.13",
33
- "@types/node": "^22.15.17",
34
- "@typescript-eslint/eslint-plugin": "^8.32.0",
35
- "@typescript-eslint/parser": "^8.32.0",
36
- "@vitest/coverage-v8": "^3.1.3",
37
- "cross-env": "^7.0.3",
38
- "eslint": "^9.26.0",
39
- "eslint-plugin-jsdoc": "^50.6.14",
40
- "eslint-plugin-tsdoc": "^0.4.0",
41
- "globals": "^16.1.0",
42
- "jsdoc": "^4.0.4",
43
- "read-pkg": "^9.0.1",
44
- "typescript": "~5.8.3",
45
- "typescript-eslint": "^8.32.0",
46
- "vite": "^6.3.5",
47
- "vite-node": "^3.1.3",
48
- "vite-plugin-dts": "^4.5.3",
49
- "vite-tsconfig-paths": "^5.1.4",
50
- "vitest": "^3.1.3",
51
- "vitest-dom": "^0.1.1"
52
- },
53
- "dependencies": {
54
- "@rljson/hash": "^0.0.15",
55
- "@rljson/io": "^0.0.32",
56
- "@rljson/is-ready": "^0.0.17",
57
- "@rljson/json": "^0.0.21",
58
- "@rljson/rljson": "^0.0.50",
59
- "better-sqlite3": "^11.10.0"
60
- },
61
- "pnpm": {
62
- "onlyBuiltDependencies": [
63
- "better-sqlite3",
64
- "esbuild"
65
- ],
66
- "overrides": {}
67
- },
68
- "packageManager": "pnpm@10.9.0+sha512.0486e394640d3c1fb3c9d43d49cf92879ff74f8516959c235308f5a8f62e2e19528a65cdc2a3058f587cde71eba3d5b56327c8c33a97e4c4051ca48a10ca2d5f"
69
- }
1
+ {
2
+ "name": "@rljson/io-sqlite",
3
+ "version": "0.0.12",
4
+ "description": "IoSql rljson files",
5
+ "homepage": "https://github.com/rljson/io-sqlite",
6
+ "bugs": "https://github.com/rljson/io-sqlite/issues",
7
+ "private": false,
8
+ "license": "MIT",
9
+ "engines": {
10
+ "node": ">=22.14.0"
11
+ },
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "git+https://github.com/rljson/io-sqlite.git"
15
+ },
16
+ "main": "dist/io-sqlite.js",
17
+ "types": "dist/index.d.ts",
18
+ "files": [
19
+ "dist"
20
+ ],
21
+ "type": "module",
22
+ "scripts": {
23
+ "build": "echo 'Please add esbuild to create builds'",
24
+ "test": "pnpm installConformanceTests && pnpx vitest run --coverage && pnpm run lint",
25
+ "prebuild": "npm run test",
26
+ "prepublishOnly": "npm run build",
27
+ "lint": "pnpx eslint",
28
+ "updateGoldens": "cross-env UPDATE_GOLDENS=true pnpm test",
29
+ "installConformanceTests": "node scripts/install-conformance-tests.js"
30
+ },
31
+ "devDependencies": {
32
+ "@types/better-sqlite3": "^7.6.13",
33
+ "@types/node": "^22.15.19",
34
+ "@typescript-eslint/eslint-plugin": "^8.32.1",
35
+ "@typescript-eslint/parser": "^8.32.1",
36
+ "@vitest/coverage-v8": "^3.1.4",
37
+ "cross-env": "^7.0.3",
38
+ "eslint": "^9.27.0",
39
+ "eslint-plugin-jsdoc": "^50.6.17",
40
+ "eslint-plugin-tsdoc": "^0.4.0",
41
+ "globals": "^16.1.0",
42
+ "jsdoc": "^4.0.4",
43
+ "read-pkg": "^9.0.1",
44
+ "typescript": "~5.8.3",
45
+ "typescript-eslint": "^8.32.1",
46
+ "vite": "^6.3.5",
47
+ "vite-node": "^3.1.4",
48
+ "vite-plugin-dts": "^4.5.4",
49
+ "vite-tsconfig-paths": "^5.1.4",
50
+ "vitest": "^3.1.4",
51
+ "vitest-dom": "^0.1.1"
52
+ },
53
+ "dependencies": {
54
+ "@rljson/hash": "^0.0.16",
55
+ "@rljson/io": "^0.0.38",
56
+ "@rljson/is-ready": "^0.0.17",
57
+ "@rljson/json": "^0.0.21",
58
+ "@rljson/rljson": "^0.0.51",
59
+ "better-sqlite3": "^11.10.0"
60
+ },
61
+ "pnpm": {
62
+ "onlyBuiltDependencies": [
63
+ "better-sqlite3",
64
+ "esbuild"
65
+ ],
66
+ "overrides": {}
67
+ },
68
+ "packageManager": "pnpm@10.11.0"
69
+ }
@@ -1,9 +0,0 @@
1
- <!--
2
- @license
3
- Copyright (c) 2025 Rljson
4
-
5
- Use of this source code is governed by terms that can be
6
- found in the LICENSE file in the root of this package.
7
- -->
8
-
9
- # Architecture
@@ -1,11 +0,0 @@
1
- <!--
2
- @license
3
- Copyright (c) 2025 Rljson
4
-
5
- Use of this source code is governed by terms that can be
6
- found in the LICENSE file in the root of this package.
7
- -->
8
-
9
- # Blog
10
-
11
- Add latest posts at the end.
@@ -1,32 +0,0 @@
1
- <!--
2
- @license
3
- Copyright (c) 2025 Rljson
4
-
5
- Use of this source code is governed by terms that can be
6
- found in the LICENSE file in the root of this package.
7
- -->
8
-
9
- # Contributors Guide
10
-
11
- - [Prepare](#prepare)
12
- - [Develop](#develop)
13
- - [Tools](#tools)
14
- - [Superheros](#superheros)
15
-
16
- ## Prepare
17
-
18
- Read [prepare.md](doc/workflows/prepare.md)
19
-
20
- <!-- ........................................................................-->
21
-
22
- ## Develop
23
-
24
- Read [develop.md](doc/workflows/develop.md)
25
-
26
- ## Tools
27
-
28
- Read [tools.md](doc/workflows/tools.md)
29
-
30
- ## Superheros
31
-
32
- Read [super-hero.md](doc/workflows/super-hero.md)
package/dist/README.md DELETED
@@ -1,24 +0,0 @@
1
- <!--
2
- @license
3
- Copyright (c) 2025 Rljson
4
-
5
- Use of this source code is governed by terms that can be
6
- found in the LICENSE file in the root of this package.
7
- -->
8
-
9
- # @rljson/io-sqlite
10
-
11
- ## Users
12
-
13
- | File | Purpose |
14
- | ------------------------------------ | --------------------------- |
15
- | [README.public.md](README.public.md) | Install and use the package |
16
-
17
- ## Contributors
18
-
19
- | File | Purpose |
20
- | ------------------------------------------------ | ----------------------------- |
21
- | [README.contributors.md](README.contributors.md) | Run, debug, build and publish |
22
- | [README.architecture.md](README.architecture.md) | Software architecture guide |
23
- | [README.trouble.md](README.trouble.md) | Errors & solutions |
24
- | [README.blog.md](README.blog.md) | Blog |
@@ -1,42 +0,0 @@
1
- <!--
2
- @license
3
- Copyright (c) 2025 Rljson
4
-
5
- Use of this source code is governed by terms that can be
6
- found in the LICENSE file in the root of this package.
7
- -->
8
-
9
- # Coding like a pianist
10
-
11
- Tricks and tips for high performance coders
12
-
13
- ## Content <!-- omit in toc -->
14
-
15
- - [Vscode](#vscode)
16
- - [Quick open files](#quick-open-files)
17
- - [Multi cursor search and replace](#multi-cursor-search-and-replace)
18
-
19
- ## Vscode
20
-
21
- ### Quick open files
22
-
23
- ❌ Don't open files by clicking through the folder hierarchy.
24
-
25
- ✅ Quick open files by pressing `Cmd+Shift+P`, entering fragments of the
26
- file name and pressing `enter`.
27
-
28
- ### Multi cursor search and replace
29
-
30
- ❌ Don't use `Cmd+F` to search and replace files
31
-
32
- ✅ Double click a word to be searched and replaced
33
-
34
- Press `Ctrl+ddd...` to create a multi cursor on all occurrences of the word
35
-
36
- Modify the word
37
-
38
- Press `ESC` to finish multi cursor edit
39
-
40
- When doing this the first time, search will not be case sensitive
41
-
42
- Press `Cmd+F`, click `Aa` to make `Ctrl+d` multi case sensitive
@@ -1,15 +0,0 @@
1
- <!--
2
- @license
3
- Copyright (c) 2025 Rljson
4
-
5
- Use of this source code is governed by terms that can be
6
- found in the LICENSE file in the root of this package.
7
- -->
8
-
9
- # @rljson/io-sqlite
10
-
11
- Todo: Add description here
12
-
13
- ## Example
14
-
15
- [src/example.ts](src/example.ts)
@@ -1,23 +0,0 @@
1
- <!--
2
- @license
3
- Copyright (c) 2025 Rljson
4
-
5
- Use of this source code is governed by terms that can be
6
- found in the LICENSE file in the root of this package.
7
- -->
8
-
9
- # Trouble shooting
10
-
11
- ## Table of contents <!-- omit in toc -->
12
-
13
- - [Vscode Windows: Debugging is not working](#vscode-windows-debugging-is-not-working)
14
-
15
- ## Vscode Windows: Debugging is not working
16
-
17
- Date: 2025-03-08
18
-
19
- ⚠️ IMPORTANT: On Windows, please check out the repo on drive C. There is a bug
20
- in the VS Code Vitest extension (v1.14.4), which prevents test debugging from
21
- working: <https://github.com/vitest-dev/vscode/issues/548> Please check from
22
- time to time if the issue has been fixed and remove this note once it is
23
- resolved.