@rljson/io-sqlite 0.0.8 → 0.0.9
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 +59 -62
- package/dist/README.architecture.md +0 -9
- package/dist/README.blog.md +0 -11
- package/dist/README.contributors.md +0 -32
- package/dist/README.md +0 -24
- package/dist/README.piano.md +0 -42
- package/dist/README.public.md +0 -15
- package/dist/README.trouble.md +0 -23
- package/dist/example.d.ts +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/io-sqlite.d.ts +0 -4
- package/dist/io-sqlite.js +0 -10
- package/dist/src/example.ts +0 -26
package/package.json
CHANGED
|
@@ -1,62 +1,59 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@rljson/io-sqlite",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "
|
|
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
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"eslint": "^
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
"
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
},
|
|
61
|
-
"packageManager": "pnpm@10.6.4+sha512.da3d715bfd22a9a105e6e8088cfc7826699332ded60c423b14ec613a185f1602206702ff0fe4c438cb15c979081ce4cb02568e364b15174503a63c7a8e2a5f6c"
|
|
62
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@rljson/io-sqlite",
|
|
3
|
+
"version": "0.0.9",
|
|
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
|
+
"devDependencies": {
|
|
23
|
+
"@types/better-sqlite3": "^7.6.13",
|
|
24
|
+
"@types/node": "^22.15.12",
|
|
25
|
+
"@typescript-eslint/eslint-plugin": "^8.32.0",
|
|
26
|
+
"@typescript-eslint/parser": "^8.32.0",
|
|
27
|
+
"@vitest/coverage-v8": "^3.1.3",
|
|
28
|
+
"cross-env": "^7.0.3",
|
|
29
|
+
"eslint": "^9.26.0",
|
|
30
|
+
"eslint-plugin-jsdoc": "^50.6.11",
|
|
31
|
+
"eslint-plugin-tsdoc": "^0.4.0",
|
|
32
|
+
"globals": "^16.0.0",
|
|
33
|
+
"jsdoc": "^4.0.4",
|
|
34
|
+
"read-pkg": "^9.0.1",
|
|
35
|
+
"typescript": "~5.8.3",
|
|
36
|
+
"typescript-eslint": "^8.32.0",
|
|
37
|
+
"vite": "^6.3.5",
|
|
38
|
+
"vite-node": "^3.1.3",
|
|
39
|
+
"vite-plugin-dts": "^4.5.3",
|
|
40
|
+
"vite-tsconfig-paths": "^5.1.4",
|
|
41
|
+
"vitest": "^3.1.3",
|
|
42
|
+
"vitest-dom": "^0.1.1"
|
|
43
|
+
},
|
|
44
|
+
"dependencies": {
|
|
45
|
+
"@rljson/hash": "^0.0.15",
|
|
46
|
+
"@rljson/io": "^0.0.28",
|
|
47
|
+
"@rljson/is-ready": "^0.0.17",
|
|
48
|
+
"@rljson/json": "^0.0.21",
|
|
49
|
+
"@rljson/rljson": "^0.0.50",
|
|
50
|
+
"better-sqlite3": "^11.9.1"
|
|
51
|
+
},
|
|
52
|
+
"scripts": {
|
|
53
|
+
"build": "echo 'Please add esbuild to create builds'",
|
|
54
|
+
"test": "pnpx vitest run --coverage && pnpm run lint",
|
|
55
|
+
"prebuild": "npm run test",
|
|
56
|
+
"lint": "pnpx eslint",
|
|
57
|
+
"updateGoldens": "cross-env UPDATE_GOLDENS=true pnpm test"
|
|
58
|
+
}
|
|
59
|
+
}
|
package/dist/README.blog.md
DELETED
|
@@ -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 |
|
package/dist/README.piano.md
DELETED
|
@@ -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
|
package/dist/README.public.md
DELETED
|
@@ -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)
|
package/dist/README.trouble.md
DELETED
|
@@ -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.
|
package/dist/example.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const example: () => void;
|
package/dist/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { IoSqlite } from './io-sqlite.ts';
|
package/dist/io-sqlite.d.ts
DELETED
package/dist/io-sqlite.js
DELETED
package/dist/src/example.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
// @license
|
|
2
|
-
// Copyright (c) 2025 Rljson
|
|
3
|
-
//
|
|
4
|
-
// Use of this source code is governed by terms that can be
|
|
5
|
-
// found in the LICENSE file in the root of this package.
|
|
6
|
-
|
|
7
|
-
import { IoSqlite } from './io-sqlite.ts';
|
|
8
|
-
|
|
9
|
-
export const example = () => {
|
|
10
|
-
// Print methods
|
|
11
|
-
const l = console.log;
|
|
12
|
-
const h1 = (text: string) => l(`${text}`);
|
|
13
|
-
const h2 = (text: string) => l(` ${text.split('\n')}`);
|
|
14
|
-
const p = (text: string) => l(` ${text}`);
|
|
15
|
-
|
|
16
|
-
// Example
|
|
17
|
-
h1('IoSqlite.example');
|
|
18
|
-
h2('Returns an instance of the io-sqlite.');
|
|
19
|
-
const example = IoSqlite.example;
|
|
20
|
-
p(JSON.stringify(example, null, 2));
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
/*
|
|
24
|
-
// Run via "npx vite-node src/example.ts"
|
|
25
|
-
example();
|
|
26
|
-
*/
|