@typed-sql/config 1.0.0-rc.0 → 2.0.0-rc.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/CHANGELOG.md +54 -0
- package/README.md +6 -13
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,59 @@
|
|
|
1
1
|
# @typed-sql/config
|
|
2
2
|
|
|
3
|
+
## 2.0.0-rc.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Publish the coherent 2.0.0-rc.1 release-candidate train.
|
|
8
|
+
|
|
9
|
+
## 2.0.0-rc.0
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [29afc3d]
|
|
14
|
+
- Updated dependencies [3f063f6]
|
|
15
|
+
- Updated dependencies [6a7ae58]
|
|
16
|
+
- Updated dependencies [b06fd0a]
|
|
17
|
+
- Updated dependencies [3050209]
|
|
18
|
+
- Updated dependencies [1b054b6]
|
|
19
|
+
- Updated dependencies [b4f1b6e]
|
|
20
|
+
- Updated dependencies [87189c3]
|
|
21
|
+
- Updated dependencies [e654fae]
|
|
22
|
+
- Updated dependencies [b2ec119]
|
|
23
|
+
- @typed-sql/core@2.0.0-rc.0
|
|
24
|
+
|
|
25
|
+
## 1.0.0
|
|
26
|
+
|
|
27
|
+
### Major Changes
|
|
28
|
+
|
|
29
|
+
- 7ca256b: Release the first public typed-sql beta: exact TypeScript 7 row inference from static PostgreSQL and
|
|
30
|
+
MySQL, versioned schema introspection, application-owned drivers, config-driven grammar plugins,
|
|
31
|
+
CLI verification, editor language-server integration, versioned diagnostics, bounded parsing, and
|
|
32
|
+
real-database plus packed-tarball verification.
|
|
33
|
+
|
|
34
|
+
### Patch Changes
|
|
35
|
+
|
|
36
|
+
- 1563a7a: Declare and enforce the 1.0 package stability boundary. Core SQL, compiler, schema, config, AST,
|
|
37
|
+
PostgreSQL, MySQL, and CLI packages form the stable train; the TypeScript preview bridge and
|
|
38
|
+
language server remain explicitly experimental. Freeze public entrypoints and query type contracts,
|
|
39
|
+
and remove internal compiler/type helpers from stable package-root exports before 1.0.
|
|
40
|
+
- 9dd6bc4: Finalize dialect contract version 3 with explicit identifier quoting and grammar-owned capability
|
|
41
|
+
declarations. Accept third-party snapshot dialects, validate grammar versions, and document the
|
|
42
|
+
public grammar-authoring and conformance workflow.
|
|
43
|
+
- 16e2475: Prove npm trusted publishing and provenance after the initial registry bootstrap.
|
|
44
|
+
- Updated dependencies [eb16de7]
|
|
45
|
+
- Updated dependencies [b6389e4]
|
|
46
|
+
- Updated dependencies [eb16de7]
|
|
47
|
+
- Updated dependencies [b6389e4]
|
|
48
|
+
- Updated dependencies [eb16de7]
|
|
49
|
+
- Updated dependencies [1563a7a]
|
|
50
|
+
- Updated dependencies [9dd6bc4]
|
|
51
|
+
- Updated dependencies [7ca256b]
|
|
52
|
+
- Updated dependencies [16e2475]
|
|
53
|
+
- Updated dependencies [69c7d87]
|
|
54
|
+
- Updated dependencies [3e2c75c]
|
|
55
|
+
- @typed-sql/core@1.0.0
|
|
56
|
+
|
|
3
57
|
## 1.0.0-rc.0
|
|
4
58
|
|
|
5
59
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# @typed-sql/config
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Stable, grammar-neutral configuration discovery and executable TypeScript config loading for
|
|
4
4
|
[typed-sql](https://github.com/Lojhan/typed-sql).
|
|
5
5
|
|
|
6
6
|
```sh
|
|
7
|
-
pnpm add @typed-sql/config
|
|
7
|
+
pnpm add @typed-sql/config
|
|
8
8
|
```
|
|
9
9
|
|
|
10
10
|
```ts
|
|
@@ -15,17 +15,10 @@ const loaded = await loadConfig({ file });
|
|
|
15
15
|
const schemaFile = fromConfig(loaded.directory, loaded.config.schema.file);
|
|
16
16
|
```
|
|
17
17
|
|
|
18
|
-
Discovery walks upward for
|
|
18
|
+
Discovery walks upward for `typed-sql.config.ts`, `.mts`, `.mjs`, or `.js`. Loaded configs must
|
|
19
|
+
default-export a valid dialect contract. Config modules are executable application build code; do
|
|
20
|
+
not load them from untrusted repositories outside an appropriate sandbox.
|
|
19
21
|
|
|
20
|
-
|
|
21
|
-
- `typed-sql.config.mts`
|
|
22
|
-
- `typed-sql.config.mjs`
|
|
23
|
-
- `typed-sql.config.js`
|
|
24
|
-
|
|
25
|
-
Loaded configs must default-export a valid dialect contract. The CLI and language server use this
|
|
26
|
-
package so neither tool needs a built-in PostgreSQL or MySQL dependency.
|
|
27
|
-
|
|
28
|
-
Config modules are executable application build code and have the same authority as other local
|
|
29
|
-
scripts. Do not load configs from untrusted repositories outside an appropriate sandbox.
|
|
22
|
+
Read the [configuration guide](https://github.com/Lojhan/typed-sql/blob/main/docs/getting-started/configuration.md).
|
|
30
23
|
|
|
31
24
|
MIT © typed-sql contributors
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typed-sql/config",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0-rc.1",
|
|
4
4
|
"description": "Shared typed-sql config discovery and TypeScript config loading.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Lojhan",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"tsx": "4.23.12",
|
|
40
|
-
"@typed-sql/core": "
|
|
40
|
+
"@typed-sql/core": "2.0.0-rc.1"
|
|
41
41
|
},
|
|
42
42
|
"scripts": {
|
|
43
43
|
"test": "poku test --reporter=compact --enforce",
|