nagi-sql 0.0.0-dev
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 +119 -0
- package/README.md +49 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -0
- package/package.json +56 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
Nagi SQL Commercial License v1.0
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 nagi-sql
|
|
4
|
+
|
|
5
|
+
This software is licensed, not sold.
|
|
6
|
+
|
|
7
|
+
1. Definitions
|
|
8
|
+
|
|
9
|
+
"Software" means the binaries, packages, distribution wrappers, documentation,
|
|
10
|
+
and other materials distributed under the name "nagi-sql", including the
|
|
11
|
+
compiled command-line interface ("CLI") and the npm / PyPI packages that
|
|
12
|
+
download, install, or invoke it.
|
|
13
|
+
|
|
14
|
+
"Compiled Components" means the compiled CLI and any other binary or object-code
|
|
15
|
+
artifacts distributed as part of the Software.
|
|
16
|
+
|
|
17
|
+
"Maintainer" means the copyright holder or an authorized seller of commercial
|
|
18
|
+
licenses for the Software.
|
|
19
|
+
|
|
20
|
+
"Free Functionality" means any functionality of the Software that the Maintainer
|
|
21
|
+
makes available at no charge, including evaluation, community, or
|
|
22
|
+
feature-limited use.
|
|
23
|
+
|
|
24
|
+
"Fan Plan" means an active paid entitlement (such as a subscription) obtained
|
|
25
|
+
from the Maintainer that unlocks additional or full functionality of the
|
|
26
|
+
Software.
|
|
27
|
+
|
|
28
|
+
"Plan Terms" means the then-current terms published by the Maintainer that
|
|
29
|
+
describe each Fan Plan, including who is covered, activation and device limits,
|
|
30
|
+
and how automated or shared environments are treated. The Plan Terms are
|
|
31
|
+
incorporated into this license by reference.
|
|
32
|
+
|
|
33
|
+
2. Grant Of Rights
|
|
34
|
+
|
|
35
|
+
Subject to the terms of this license, the Maintainer grants you a limited,
|
|
36
|
+
non-exclusive, non-transferable, revocable right to:
|
|
37
|
+
|
|
38
|
+
- use, install, and run the Free Functionality, for any lawful purpose, without
|
|
39
|
+
charge and without the Maintainer's permission;
|
|
40
|
+
- distribute unmodified copies of the Software only when this license file and
|
|
41
|
+
all copyright notices are included.
|
|
42
|
+
|
|
43
|
+
This license grants no right to the source code of the Software. Source code is
|
|
44
|
+
not distributed and is not made available under this license. Any source-form
|
|
45
|
+
distribution wrappers that happen to be included in a package are provided only
|
|
46
|
+
so that the Software can be installed and run, and do not constitute a grant of
|
|
47
|
+
rights to the design, internals, or functionality of the Compiled Components.
|
|
48
|
+
|
|
49
|
+
3. Fan Plan And Paid Functionality
|
|
50
|
+
|
|
51
|
+
Some functionality may be restricted, disabled, or otherwise unavailable unless
|
|
52
|
+
you hold an active Fan Plan.
|
|
53
|
+
|
|
54
|
+
If you hold an active Fan Plan, you may use the additional functionality it
|
|
55
|
+
enables only to the extent permitted by that Fan Plan. The scope of each Fan
|
|
56
|
+
Plan — including who is covered, activation and device limits, and how automated
|
|
57
|
+
or shared environments are treated — is defined in the Plan Terms.
|
|
58
|
+
|
|
59
|
+
Use of the Software by automated systems (such as continuous integration) acting
|
|
60
|
+
on behalf of, and within the entitlement of, a covered Fan Plan holder is
|
|
61
|
+
permitted as part of that entitlement.
|
|
62
|
+
|
|
63
|
+
You are responsible for ensuring your use stays within the scope of a current
|
|
64
|
+
Fan Plan. Use beyond that scope requires a separate or upgraded entitlement. No
|
|
65
|
+
right to use Fan Plan functionality is granted by this license without a valid,
|
|
66
|
+
active Fan Plan.
|
|
67
|
+
|
|
68
|
+
4. Restrictions
|
|
69
|
+
|
|
70
|
+
You may not:
|
|
71
|
+
|
|
72
|
+
- reverse engineer, decompile, disassemble, or otherwise attempt to derive the
|
|
73
|
+
source code, internal design, or algorithms of the Compiled Components, except
|
|
74
|
+
to the extent this restriction is prohibited by applicable law;
|
|
75
|
+
- remove, bypass, disable, interfere with, or circumvent licensing, billing,
|
|
76
|
+
activation, usage-metering, or feature-gating controls;
|
|
77
|
+
- use Fan Plan functionality without a valid, active Fan Plan;
|
|
78
|
+
- modify the Software or distribute modified versions of the Software to third
|
|
79
|
+
parties without prior written permission from the Maintainer;
|
|
80
|
+
- sublicense, sell, rent, lease, or provide the Software as a standalone
|
|
81
|
+
commercial offering except as expressly authorized by the Maintainer;
|
|
82
|
+
- misrepresent the origin of the Software or remove copyright, trademark, or
|
|
83
|
+
license notices.
|
|
84
|
+
|
|
85
|
+
5. Ownership
|
|
86
|
+
|
|
87
|
+
The Software is owned by the Maintainer. Except for the limited rights
|
|
88
|
+
expressly granted above, all rights are reserved.
|
|
89
|
+
|
|
90
|
+
6. Contributions
|
|
91
|
+
|
|
92
|
+
Unless otherwise agreed in writing, any contribution intentionally submitted to
|
|
93
|
+
the Maintainer or its repositories may be used, modified, relicensed, and
|
|
94
|
+
distributed by the Maintainer without restriction or compensation.
|
|
95
|
+
|
|
96
|
+
7. Termination
|
|
97
|
+
|
|
98
|
+
This license terminates automatically if you violate its terms. Upon
|
|
99
|
+
termination, you must stop using and distributing the Software, except where a
|
|
100
|
+
separate Fan Plan or written agreement allows otherwise.
|
|
101
|
+
|
|
102
|
+
8. Disclaimer
|
|
103
|
+
|
|
104
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
105
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
106
|
+
FOR A PARTICULAR PURPOSE, TITLE, AND NON-INFRINGEMENT.
|
|
107
|
+
|
|
108
|
+
9. Limitation Of Liability
|
|
109
|
+
|
|
110
|
+
TO THE MAXIMUM EXTENT PERMITTED BY LAW, THE MAINTAINER WILL NOT BE LIABLE FOR
|
|
111
|
+
ANY INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES, OR FOR
|
|
112
|
+
ANY LOSS OF DATA, REVENUE, PROFITS, GOODWILL, OR BUSINESS INTERRUPTION, ARISING
|
|
113
|
+
OUT OF OR RELATING TO THE SOFTWARE OR THIS LICENSE.
|
|
114
|
+
|
|
115
|
+
10. Commercial Licensing Contact
|
|
116
|
+
|
|
117
|
+
For Fan Plans, the Plan Terms, and other commercial terms, contact:
|
|
118
|
+
|
|
119
|
+
nagi-sql@outlook.com
|
package/README.md
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# `nagi-sql`
|
|
2
|
+
|
|
3
|
+
`nagi-sql` is currently a minimal placeholder package used to reserve the npm
|
|
4
|
+
package name before the CLI is ready for public distribution.
|
|
5
|
+
|
|
6
|
+
This package intentionally does not expose a `nagi` binary yet.
|
|
7
|
+
|
|
8
|
+
## Install
|
|
9
|
+
|
|
10
|
+
After publication, the reserved package can be installed explicitly with:
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
pnpm add nagi-sql@reserved
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
Repository workspace setup:
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
pnpm install
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## Local Build
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
pnpm --filter ./typescript/nagi-sql run build
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
The build only emits placeholder JavaScript and type declarations under `dist/`.
|
|
29
|
+
It does not compile Rust or bundle a native executable.
|
|
30
|
+
|
|
31
|
+
## Exports
|
|
32
|
+
|
|
33
|
+
The package exports small metadata helpers so import smoke tests can verify that
|
|
34
|
+
the package is installed:
|
|
35
|
+
|
|
36
|
+
```ts
|
|
37
|
+
import { isNagiSqlCliAvailable, packageName, packageStatus } from "nagi-sql";
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
`isNagiSqlCliAvailable()` returns `false` until a future release adds the public
|
|
41
|
+
CLI distribution.
|
|
42
|
+
|
|
43
|
+
## CI And Local Verification
|
|
44
|
+
|
|
45
|
+
From the repository root:
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
pnpm run typescript:ci
|
|
49
|
+
```
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,aAAa,CAAC;AAEtC,eAAO,MAAM,aAAa,aAAa,CAAC;AAExC,wBAAgB,qBAAqB,IAAI,OAAO,CAE/C"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,WAAW,GAAG,UAAU,CAAC;AAEtC,MAAM,CAAC,MAAM,aAAa,GAAG,UAAU,CAAC;AAExC,MAAM,UAAU,qBAAqB;IACnC,OAAO,KAAK,CAAC;AACf,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "nagi-sql",
|
|
3
|
+
"version": "0.0.0-dev",
|
|
4
|
+
"description": "Reserved npm package name for the future nagi SQL toolkit",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"author": {
|
|
7
|
+
"name": "nagi-sql",
|
|
8
|
+
"email": "nagi-sql@outlook.com"
|
|
9
|
+
},
|
|
10
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
11
|
+
"homepage": "https://github.com/nagi-sql/nagi-sql",
|
|
12
|
+
"keywords": [
|
|
13
|
+
"sql",
|
|
14
|
+
"toolkit",
|
|
15
|
+
"parser",
|
|
16
|
+
"formatter",
|
|
17
|
+
"linter"
|
|
18
|
+
],
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "git+https://github.com/nagi-sql/nagi-sql.git"
|
|
22
|
+
},
|
|
23
|
+
"bugs": {
|
|
24
|
+
"url": "https://github.com/nagi-sql/nagi-sql/issues"
|
|
25
|
+
},
|
|
26
|
+
"main": "./dist/index.js",
|
|
27
|
+
"types": "./dist/index.d.ts",
|
|
28
|
+
"exports": {
|
|
29
|
+
".": {
|
|
30
|
+
"types": "./dist/index.d.ts",
|
|
31
|
+
"import": "./dist/index.js"
|
|
32
|
+
},
|
|
33
|
+
"./package.json": "./package.json"
|
|
34
|
+
},
|
|
35
|
+
"files": [
|
|
36
|
+
"dist",
|
|
37
|
+
"README.md"
|
|
38
|
+
],
|
|
39
|
+
"publishConfig": {
|
|
40
|
+
"access": "public"
|
|
41
|
+
},
|
|
42
|
+
"engines": {
|
|
43
|
+
"node": ">=20"
|
|
44
|
+
},
|
|
45
|
+
"scripts": {
|
|
46
|
+
"build": "pnpm run clean && tsc -p tsconfig.json",
|
|
47
|
+
"clean": "rm -rf dist tsconfig.tsbuildinfo",
|
|
48
|
+
"format:check": "biome check --formatter-enabled=true --linter-enabled=false --assist-enabled=false src package.json tsconfig.json tsconfig.test.json vitest.config.ts README.md",
|
|
49
|
+
"format": "biome format --write src package.json tsconfig.json tsconfig.test.json vitest.config.ts README.md",
|
|
50
|
+
"lint:check": "biome lint src package.json tsconfig.json tsconfig.test.json vitest.config.ts README.md",
|
|
51
|
+
"lint": "biome lint --write src package.json tsconfig.json tsconfig.test.json vitest.config.ts README.md",
|
|
52
|
+
"typecheck": "tsc -p tsconfig.json --noEmit && tsc -p tsconfig.test.json",
|
|
53
|
+
"test": "vitest run --config vitest.config.ts",
|
|
54
|
+
"ci": "pnpm run format:check && pnpm run lint:check && pnpm run build && pnpm run typecheck && pnpm run test"
|
|
55
|
+
}
|
|
56
|
+
}
|