@yolean/evidence-sdk 0.0.0-stage → 4.2.0
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 +544 -0
- package/LICENSE.md +9 -0
- package/README.md +237 -2
- package/package.json +161 -3
- package/src/build-dev/cli/add/addServerHook.js +30 -0
- package/src/build-dev/cli/add/addTypeRef.js +19 -0
- package/src/build-dev/cli/add/updateGitIgnore.js +33 -0
- package/src/build-dev/cli/add/updatePackageJson.js +26 -0
- package/src/build-dev/cli/add/updateSvelteConfig.js +199 -0
- package/src/build-dev/cli/add/updateViteConfig.js +152 -0
- package/src/build-dev/cli/add.js +95 -0
- package/src/build-dev/cli/build.js +30 -0
- package/src/build-dev/cli/dev.js +49 -0
- package/src/build-dev/cli/index.js +14 -0
- package/src/build-dev/cli/upgrade.js +54 -0
- package/src/build-dev/svelte/index.js +54 -0
- package/src/build-dev/svelte/lib/isTargetFile.js +6 -0
- package/src/build-dev/svelte/metadatas.js +39 -0
- package/src/build-dev/svelte/processors/addBasePathToHrefAndSrc/addBasePathToHrefAndSrc.js +29 -0
- package/src/build-dev/svelte/processors/addBasePathToHrefAndSrc/addBasePathToHrefAndSrc.spec.js +82 -0
- package/src/build-dev/svelte/processors/addScriptTags.js +17 -0
- package/src/build-dev/svelte/processors/convertToHtml/convertToHtml.js +19 -0
- package/src/build-dev/svelte/processors/convertToHtml/convertToHtml.spec.js +123 -0
- package/src/build-dev/svelte/processors/convertToHtml/processMarkdown.js +59 -0
- package/src/build-dev/svelte/processors/extractQueries/extractQueries.js +49 -0
- package/src/build-dev/svelte/processors/extractQueries/extractQueries.spec.js +54 -0
- package/src/build-dev/svelte/processors/highlight/highlight.js +52 -0
- package/src/build-dev/svelte/processors/highlight/highlight.spec.js +31 -0
- package/src/build-dev/svelte/processors/initializeUniversalSql.js +15 -0
- package/src/build-dev/svelte/processors/injectComponents/injectComponents.js +56 -0
- package/src/build-dev/svelte/processors/injectHighlightStyles.js +14 -0
- package/src/build-dev/svelte/processors/injectQueries/injectQueries.js +77 -0
- package/src/build-dev/svelte/processors/markRootLayoutPrerenderable.js +56 -0
- package/src/build-dev/svelte/processors/obfuscateCode/obfuscateCode.js +17 -0
- package/src/build-dev/svelte/processors/obfuscateCode/obfuscateCode.spec.js +21 -0
- package/src/build-dev/svelte/processors/transformQueries/transformQueries.js +58 -0
- package/src/build-dev/vite/config-virtual.js +24 -0
- package/src/build-dev/vite/constants.js +7 -0
- package/src/build-dev/vite/datasource-plugins/source-query-hmr.js +117 -0
- package/src/build-dev/vite/evidence-config.d.ts +6 -0
- package/src/build-dev/vite/index.js +214 -0
- package/src/build-dev/vite/layout-plugins/copy-to-layout.js +71 -0
- package/src/build-dev/vite/plugins.js +4 -0
- package/src/build-dev/vite/query-directory-hmr.js +32 -0
- package/src/build-dev/vite/sidecar-app.js +79 -0
- package/src/build-dev/vite/virtuals/QuerySSR.svelte +13 -0
- package/src/build-dev/vite/virtuals/__tests/proxyStack.spec.js +52 -0
- package/src/build-dev/vite/virtuals/bootstrapContexts.svelte.js +27 -0
- package/src/build-dev/vite/virtuals/browser/static-assets.js +3 -0
- package/src/build-dev/vite/virtuals/contextKeys.js +3 -0
- package/src/build-dev/vite/virtuals/initUsql.js +23 -0
- package/src/build-dev/vite/virtuals/node/static-assets.js +56 -0
- package/src/build-dev/vite/virtuals/proxyStack.js +37 -0
- package/src/build-dev/vite/virtuals/queries.svelte.js +150 -0
- package/src/build-dev/vite/virtuals/ssrHook.svelte.js +60 -0
- package/src/build-dev/vite/virtuals/updateQueryContext.svelte.js +31 -0
- package/src/build-dev/vite/virtuals-dynamic.js +12 -0
- package/src/cli.js +5 -0
- package/src/cli.root.js +90 -0
- package/src/configuration/cli/create.js +20 -0
- package/src/configuration/cli/index.js +12 -0
- package/src/configuration/createEvidenceConfig.js +51 -0
- package/src/configuration/getEvidenceConfig.js +60 -0
- package/src/configuration/getEvidenceConfig.legacy.js +27 -0
- package/src/configuration/index.js +1 -0
- package/src/configuration/schemas/config.schema.js +11 -0
- package/src/configuration/schemas/deployment.schema.js +18 -0
- package/src/configuration/schemas/deployment.schema.spec.js +34 -0
- package/src/configuration/updateEvidenceConfig.js +25 -0
- package/src/legacy-compat.js +8 -0
- package/src/lib/EvidenceError.js +35 -0
- package/src/lib/b64Deep.js +55 -0
- package/src/lib/check-import.js +12 -0
- package/src/lib/cleanZodErrors.js +22 -0
- package/src/lib/cli/cmdFail.js +33 -0
- package/src/lib/cli/notices.js +44 -0
- package/src/lib/debug.js +40 -0
- package/src/lib/flows.d.ts +21 -0
- package/src/lib/forceLink.js +28 -0
- package/src/lib/history/index.js +70 -0
- package/src/lib/history/types.d.ts +8 -0
- package/src/lib/pkg-types.helpers.js +16 -0
- package/src/lib/processing-queue.js +96 -0
- package/src/lib/processing-queue.spec.js +148 -0
- package/src/lib/projectPaths.js +29 -0
- package/src/lib/projectRoot.js +12 -0
- package/src/lib/sharedPromise.js +77 -0
- package/src/lib/sharedPromise.spec.js +23 -0
- package/src/lib/strict.js +19 -0
- package/src/lib/tests/fs.js +21 -0
- package/src/lib/tokens.js +7 -0
- package/src/lib/unnest-zod-error.js +14 -0
- package/src/logger/EvidenceLogger.js +164 -0
- package/src/logger/index.js +4 -0
- package/src/meta.js +8 -0
- package/src/plugins/cli/index.js +13 -0
- package/src/plugins/cli/install.js +26 -0
- package/src/plugins/cli/install.prompt.js +121 -0
- package/src/plugins/components/getAllComponents.js +82 -0
- package/src/plugins/components/getComponentsInPlugin.js +33 -0
- package/src/plugins/components/loadComponentPlugins.js +48 -0
- package/src/plugins/components/loaders/file-loader.js +125 -0
- package/src/plugins/components/loaders/manifest-loader.js +53 -0
- package/src/plugins/components/schemas/component-manifest.schema.js +5 -0
- package/src/plugins/components/types.d.ts +21 -0
- package/src/plugins/components/validateOverrides.js +30 -0
- package/src/plugins/components/validateOverrides.spec.js +32 -0
- package/src/plugins/datasources/Datasources.js +85 -0
- package/src/plugins/datasources/Datasources.spec.js +78 -0
- package/src/plugins/datasources/SourceResultCache.js +62 -0
- package/src/plugins/datasources/buildSourceDirectoryProxy.js +21 -0
- package/src/plugins/datasources/cli/edit/Options.fixtures.js +69 -0
- package/src/plugins/datasources/cli/edit/Options.js +253 -0
- package/src/plugins/datasources/cli/edit/Options.spec.js +496 -0
- package/src/plugins/datasources/cli/edit/editSourceConfig.js +201 -0
- package/src/plugins/datasources/cli/edit.js +20 -0
- package/src/plugins/datasources/cli/edit.prompt.js +100 -0
- package/src/plugins/datasources/cli/index.js +18 -0
- package/src/plugins/datasources/cli/sources.js +77 -0
- package/src/plugins/datasources/evalSources.js +257 -0
- package/src/plugins/datasources/getPublishedDatasources.js +62 -0
- package/src/plugins/datasources/index.js +6 -0
- package/src/plugins/datasources/loadSourceConfig.js +147 -0
- package/src/plugins/datasources/loadSourceConfig.spec.js +127 -0
- package/src/plugins/datasources/loadSourcePlugins.js +49 -0
- package/src/plugins/datasources/loadSources.js +48 -0
- package/src/plugins/datasources/schemas/datasource.schema.js +52 -0
- package/src/plugins/datasources/schemas/datasourceCache.schema.js +3 -0
- package/src/plugins/datasources/schemas/datasourcePlugin.schema.js +37 -0
- package/src/plugins/datasources/schemas/datasourcePluginOptions.schema.js +64 -0
- package/src/plugins/datasources/schemas/index.js +2 -0
- package/src/plugins/datasources/schemas/manifest.schema.js +8 -0
- package/src/plugins/datasources/schemas/results.schema.js +126 -0
- package/src/plugins/datasources/sub-source-vars.js +55 -0
- package/src/plugins/datasources/sub-source-vars.spec.js +46 -0
- package/src/plugins/datasources/types.d.ts +53 -0
- package/src/plugins/datasources/updateManifest.js +115 -0
- package/src/plugins/datasources/updateManifest.spec.js +200 -0
- package/src/plugins/datasources/wrapSimpleConnector.js +95 -0
- package/src/plugins/datasources/writeSourceConfig.js +60 -0
- package/src/plugins/index.js +2 -0
- package/src/plugins/layouts/copyMethods/index.js +10 -0
- package/src/plugins/layouts/copyMethods/svelte.js +53 -0
- package/src/plugins/layouts/copyMethods/sveltekit.js +75 -0
- package/src/plugins/layouts/copyToLayout.js +106 -0
- package/src/plugins/layouts/loadLayoutPlugin.js +23 -0
- package/src/plugins/loadPluginPackage.js +77 -0
- package/src/plugins/schemas/index.js +1 -0
- package/src/plugins/schemas/plugin-config.schema.js +41 -0
- package/src/plugins/schemas/plugin-config.schema.spec.js +21 -0
- package/src/plugins/schemas/plugin-package.schema.js +154 -0
- package/src/plugins/schemas/plugin-package.schema.spec.js +30 -0
- package/src/query-builder.d.ts +1 -0
- package/src/query-builder.js +1 -0
- package/src/types/duckdb-wellknown.d.ts +35 -0
- package/src/types/html-attributes.ts +13 -0
- package/src/types/index.d.ts +18 -0
- package/src/types/mosaic-sql.d.ts +27 -0
- package/src/types/sveltekit-autoimport.d.ts +13 -0
- package/src/types/virtuals.d.ts +113 -0
- package/src/types.d.ts +1 -0
- package/src/usql/index.d.ts +4 -0
- package/src/usql/index.js +3 -0
- package/src/usql/query/Query.js +1391 -0
- package/src/usql/query/Query.spec.js +827 -0
- package/src/usql/query/queryScore.js +92 -0
- package/src/usql/query/queryScore.spec.js +26 -0
- package/src/usql/query/sterilizeQuery.js +89 -0
- package/src/usql/query/sterilizeQuery.spec.js +172 -0
- package/src/usql/setTrackProxy/setTrackProxy.js +80 -0
- package/src/usql/setTrackProxy/setTrackProxy.spec.js +166 -0
- package/src/usql/types.ts +86 -0
- package/src/usql/utilities/duckdbSerialize.js +29 -0
- package/src/usql/utilities/index.js +2 -0
- package/src/usql/utilities/resolveMaybePromise.js +30 -0
- package/src/utils/batchUp.js +22 -0
- package/src/utils/batchUp.spec.js +69 -0
- package/src/utils/browserDebounce.js +16 -0
- package/src/utils/index.js +7 -0
- package/src/utils/svelte/addBasePath.js +74 -0
- package/src/utils/svelte/addBasePath.spec.js +108 -0
- package/src/utils/svelte/index.js +13 -0
- package/src/utils/svelte/inputs.js +138 -0
- package/tsconfig.json +22 -0
- package/vite.config.js +3 -0
- package/vitest.config.js +15 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,544 @@
|
|
|
1
|
+
# @evidence-dev/sdk
|
|
2
|
+
|
|
3
|
+
## 4.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 81977b64b: deployment.dataScope: pages with that route parameter load data/ and api/ from <basePath>/<value>/, and prerender their query results there.
|
|
8
|
+
|
|
9
|
+
## 4.1.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- 94897a930: Vite 8, Svelte 5 and SvelteKit 2.70: consumers need svelte ^5.46.4 and vite ^8 as peers.
|
|
14
|
+
|
|
15
|
+
## 4.0.3
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- First release under the @yolean npm scope, from the frozen upstream legacy framework at 40.1.8
|
|
20
|
+
|
|
21
|
+
## 4.0.2
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- d5d698799: Update packages to resolve CVEs
|
|
26
|
+
- cc197d2e7: Remove references to Evidence Cloud
|
|
27
|
+
|
|
28
|
+
## 4.0.1
|
|
29
|
+
|
|
30
|
+
### Patch Changes
|
|
31
|
+
|
|
32
|
+
- 937971eaa: Package updates for CVEs. See https://github.com/evidence-dev/evidence/pull/3255
|
|
33
|
+
- aff6f859d: Package updates for CVEs. See https://github.com/evidence-dev/evidence/pull/3253
|
|
34
|
+
- Updated dependencies [937971eaa]
|
|
35
|
+
- @evidence-dev/universal-sql@3.0.1
|
|
36
|
+
|
|
37
|
+
## 4.0.0
|
|
38
|
+
|
|
39
|
+
### Patch Changes
|
|
40
|
+
|
|
41
|
+
- Updated dependencies [b28f63f23]
|
|
42
|
+
- @evidence-dev/universal-sql@3.0.0
|
|
43
|
+
|
|
44
|
+
## 3.0.10
|
|
45
|
+
|
|
46
|
+
### Patch Changes
|
|
47
|
+
|
|
48
|
+
- Updated dependencies [6d2782e64]
|
|
49
|
+
- @evidence-dev/universal-sql@2.2.11
|
|
50
|
+
|
|
51
|
+
## 3.0.9
|
|
52
|
+
|
|
53
|
+
### Patch Changes
|
|
54
|
+
|
|
55
|
+
- 0fd376985: Handle malformed source directories when creating new sources
|
|
56
|
+
- 64486c669: bump vitest
|
|
57
|
+
- fc185c44c: Fix type errors
|
|
58
|
+
- Updated dependencies [64486c669]
|
|
59
|
+
- Updated dependencies [fc185c44c]
|
|
60
|
+
- @evidence-dev/universal-sql@2.2.10
|
|
61
|
+
|
|
62
|
+
## 3.0.8
|
|
63
|
+
|
|
64
|
+
### Patch Changes
|
|
65
|
+
|
|
66
|
+
- 17eb07aff: Override nanoid to 3.3.8
|
|
67
|
+
- bcb0bf5dd: Update vite to 5.4.14
|
|
68
|
+
- @evidence-dev/universal-sql@2.2.9
|
|
69
|
+
|
|
70
|
+
## 3.0.7
|
|
71
|
+
|
|
72
|
+
### Patch Changes
|
|
73
|
+
|
|
74
|
+
- 243229f46: Improve error logging for source queries
|
|
75
|
+
- @evidence-dev/universal-sql@2.2.8
|
|
76
|
+
|
|
77
|
+
## 3.0.6
|
|
78
|
+
|
|
79
|
+
### Patch Changes
|
|
80
|
+
|
|
81
|
+
- c7547d83f: Fix: Ensure that length is loaded before we returned undefined for out of range indeces
|
|
82
|
+
- @evidence-dev/universal-sql@2.2.7
|
|
83
|
+
|
|
84
|
+
## 3.0.5
|
|
85
|
+
|
|
86
|
+
### Patch Changes
|
|
87
|
+
|
|
88
|
+
- f81376743: Make query debug logs a little quieter
|
|
89
|
+
- @evidence-dev/universal-sql@2.2.6
|
|
90
|
+
|
|
91
|
+
## 3.0.4
|
|
92
|
+
|
|
93
|
+
### Patch Changes
|
|
94
|
+
|
|
95
|
+
- 309e27b51: fix virtual/references fields in datasource plugin schemas
|
|
96
|
+
- 730321d90: Enable strict mode for sources
|
|
97
|
+
- Updated dependencies [f416a339d]
|
|
98
|
+
- @evidence-dev/universal-sql@2.2.5
|
|
99
|
+
|
|
100
|
+
## 3.0.3
|
|
101
|
+
|
|
102
|
+
### Patch Changes
|
|
103
|
+
|
|
104
|
+
- 706963a42: Upgrade nanoid to 5.0.9
|
|
105
|
+
- @evidence-dev/universal-sql@2.2.4
|
|
106
|
+
|
|
107
|
+
## 3.0.2
|
|
108
|
+
|
|
109
|
+
### Patch Changes
|
|
110
|
+
|
|
111
|
+
- 2efb8df3e: fix environment variable display in settings page
|
|
112
|
+
- @evidence-dev/universal-sql@2.2.3
|
|
113
|
+
|
|
114
|
+
## 3.0.1
|
|
115
|
+
|
|
116
|
+
### Patch Changes
|
|
117
|
+
|
|
118
|
+
- 288f87ec6: evidence.plugins.yaml file is optional
|
|
119
|
+
- @evidence-dev/universal-sql@2.2.2
|
|
120
|
+
|
|
121
|
+
## 3.0.0
|
|
122
|
+
|
|
123
|
+
### Major Changes
|
|
124
|
+
|
|
125
|
+
- e2c95d172: Theming & Appearances
|
|
126
|
+
|
|
127
|
+
### Patch Changes
|
|
128
|
+
|
|
129
|
+
- Updated dependencies [e2c95d172]
|
|
130
|
+
- @evidence-dev/icons@1.0.2
|
|
131
|
+
- @evidence-dev/universal-sql@2.2.1
|
|
132
|
+
|
|
133
|
+
## 2.0.0
|
|
134
|
+
|
|
135
|
+
### Patch Changes
|
|
136
|
+
|
|
137
|
+
- d2ce60038: bump duckdb to 1.29.0, fix bugs emerging from that
|
|
138
|
+
- Updated dependencies [d2ce60038]
|
|
139
|
+
- @evidence-dev/universal-sql@2.2.0
|
|
140
|
+
|
|
141
|
+
## 1.5.1
|
|
142
|
+
|
|
143
|
+
### Patch Changes
|
|
144
|
+
|
|
145
|
+
- b5a096723: ignore non-strings in `addBasePath`
|
|
146
|
+
- @evidence-dev/universal-sql@2.1.11
|
|
147
|
+
|
|
148
|
+
## 1.5.0
|
|
149
|
+
|
|
150
|
+
### Minor Changes
|
|
151
|
+
|
|
152
|
+
- b72e4a809: Remove plugin connector
|
|
153
|
+
|
|
154
|
+
### Patch Changes
|
|
155
|
+
|
|
156
|
+
- @evidence-dev/universal-sql@2.1.10
|
|
157
|
+
|
|
158
|
+
## 1.4.8
|
|
159
|
+
|
|
160
|
+
### Patch Changes
|
|
161
|
+
|
|
162
|
+
- 08923de11: Support Node 22: bump echarts and vite
|
|
163
|
+
- @evidence-dev/universal-sql@2.1.9
|
|
164
|
+
|
|
165
|
+
## 1.4.7
|
|
166
|
+
|
|
167
|
+
### Patch Changes
|
|
168
|
+
|
|
169
|
+
- 00516897e: fix plugin resolution when hoisted by package managers
|
|
170
|
+
- 1de1eca52: Add deployment.basePath config option
|
|
171
|
+
- @evidence-dev/universal-sql@2.1.8
|
|
172
|
+
|
|
173
|
+
## 1.4.6
|
|
174
|
+
|
|
175
|
+
### Patch Changes
|
|
176
|
+
|
|
177
|
+
- c82ba1516: Support digits 2-9 in source names
|
|
178
|
+
- @evidence-dev/universal-sql@2.1.7
|
|
179
|
+
|
|
180
|
+
## 1.4.5
|
|
181
|
+
|
|
182
|
+
### Patch Changes
|
|
183
|
+
|
|
184
|
+
- b2126ac1a: add --profile flag to sdk-handled cli commands, add debugging profiling and logs to build-parquet
|
|
185
|
+
- Updated dependencies [b2126ac1a]
|
|
186
|
+
- @evidence-dev/universal-sql@2.1.6
|
|
187
|
+
|
|
188
|
+
## 1.4.4
|
|
189
|
+
|
|
190
|
+
### Patch Changes
|
|
191
|
+
|
|
192
|
+
- a91b26fb3: Remove console.debug statement
|
|
193
|
+
- cbb8b16f4: Added logger export
|
|
194
|
+
|
|
195
|
+
## 1.4.3
|
|
196
|
+
|
|
197
|
+
### Patch Changes
|
|
198
|
+
|
|
199
|
+
- e0abcc56d: Avoid sharedPromise returned from fetch functions when running on the server
|
|
200
|
+
- e0abcc56d: Allow query to run fetch synchronously for SSR
|
|
201
|
+
|
|
202
|
+
## 1.4.2
|
|
203
|
+
|
|
204
|
+
### Patch Changes
|
|
205
|
+
|
|
206
|
+
- 952abbd16: Add config export
|
|
207
|
+
getEvidenceConfig is no longer asynchronous
|
|
208
|
+
getEvidenceConfig supports passing a custom schema
|
|
209
|
+
Created unnestZodError util
|
|
210
|
+
- c8315da2e: Update svelte to resolve security vulnerability
|
|
211
|
+
- 06313c848: fix prerendered arrow files not loading
|
|
212
|
+
- Updated dependencies [bad1038c1]
|
|
213
|
+
- @evidence-dev/telemetry@2.1.3
|
|
214
|
+
|
|
215
|
+
## 1.4.1
|
|
216
|
+
|
|
217
|
+
### Patch Changes
|
|
218
|
+
|
|
219
|
+
- 057558028: Fix an issue caused by QueryDebugger keeping queries in memory
|
|
220
|
+
|
|
221
|
+
## 1.4.0
|
|
222
|
+
|
|
223
|
+
### Minor Changes
|
|
224
|
+
|
|
225
|
+
- 999fffa38: Change input store interactions
|
|
226
|
+
|
|
227
|
+
### Patch Changes
|
|
228
|
+
|
|
229
|
+
- 999fffa38: Add diff utilities for tracking object store histories
|
|
230
|
+
- 999fffa38: Improve sdk debug behavior for better consistency
|
|
231
|
+
- 1e5e5f1da: Dont throw error if sources directory doesn't exist when running sources
|
|
232
|
+
- 67dbd116b: Adds support for Multiline strings as source config
|
|
233
|
+
Moves snowflake private key to multi-line string field
|
|
234
|
+
- 999fffa38: Add more static events to Query
|
|
235
|
+
|
|
236
|
+
## 1.3.10
|
|
237
|
+
|
|
238
|
+
### Patch Changes
|
|
239
|
+
|
|
240
|
+
- f7253ad4b: Fix noisy "Failed to pre-render columns" log during build
|
|
241
|
+
- Updated dependencies [c0e1799e2]
|
|
242
|
+
- @evidence-dev/universal-sql@2.1.5
|
|
243
|
+
|
|
244
|
+
## 1.3.9
|
|
245
|
+
|
|
246
|
+
### Patch Changes
|
|
247
|
+
|
|
248
|
+
- 8c2982505: Modify default search threshold behavior for Query
|
|
249
|
+
- Updated dependencies [8c2982505]
|
|
250
|
+
- @evidence-dev/universal-sql@2.1.4
|
|
251
|
+
|
|
252
|
+
## 1.3.8
|
|
253
|
+
|
|
254
|
+
### Patch Changes
|
|
255
|
+
|
|
256
|
+
- 32035eeaa: Override fast-xml-parser version to >=4.4.1 to resolve vulnerability
|
|
257
|
+
- Updated dependencies [3572fcfd7]
|
|
258
|
+
- Updated dependencies [907efee29]
|
|
259
|
+
- @evidence-dev/telemetry@2.1.2
|
|
260
|
+
|
|
261
|
+
## 1.3.7
|
|
262
|
+
|
|
263
|
+
### Patch Changes
|
|
264
|
+
|
|
265
|
+
- e50e7ed58: Pre-render column information using DESCRIBE query
|
|
266
|
+
- fbdfe2dd6: Fix sources HMR on Windows
|
|
267
|
+
|
|
268
|
+
## 1.3.6
|
|
269
|
+
|
|
270
|
+
### Patch Changes
|
|
271
|
+
|
|
272
|
+
- 3571b0b3a: Update scripts, fix build
|
|
273
|
+
|
|
274
|
+
## 1.3.5
|
|
275
|
+
|
|
276
|
+
### Patch Changes
|
|
277
|
+
|
|
278
|
+
- 08818477d: Export sharedPromise from utils/index.d.ts to get type when importing
|
|
279
|
+
- db8326efa: Minor changes to exports
|
|
280
|
+
|
|
281
|
+
## 1.3.4
|
|
282
|
+
|
|
283
|
+
### Patch Changes
|
|
284
|
+
|
|
285
|
+
- 20af8e6b6: Fix issue where datasources were not being removed from the manifest when they were removed from the project
|
|
286
|
+
- 55bc6a52b: - Creating new sources now updates the manifest file properly
|
|
287
|
+
- .schema.json files are being created again
|
|
288
|
+
- e8a5d9964: Fix support for Advanced datasources
|
|
289
|
+
|
|
290
|
+
## 1.3.3
|
|
291
|
+
|
|
292
|
+
### Patch Changes
|
|
293
|
+
|
|
294
|
+
- 244c795be: Remove postinstall script
|
|
295
|
+
|
|
296
|
+
## 1.3.2
|
|
297
|
+
|
|
298
|
+
### Patch Changes
|
|
299
|
+
|
|
300
|
+
- b84ef07ac: Add buildOptions.batchSize to connection.yaml spec
|
|
301
|
+
- c14bc0a66: Added specific updates to manifest support
|
|
302
|
+
- c14bc0a66: Added concept of locatedFiles to manifest
|
|
303
|
+
- f15071659: Added plugins/datasources export to SDK
|
|
304
|
+
- d6b25b02c: Fix source query triggering HMR on the page
|
|
305
|
+
- 93a838ca2: Added legacy compatibility functionality to getEvidenceConfig
|
|
306
|
+
- df9159f2b: Added queryCreated event and query time fields to Query
|
|
307
|
+
- 3daa83ffc: Fixed issue with nested directories in sources
|
|
308
|
+
- 6cdedceb0: Remove db-orchestrator
|
|
309
|
+
- Updated dependencies [b84ef07ac]
|
|
310
|
+
- Updated dependencies [6cdedceb0]
|
|
311
|
+
- @evidence-dev/universal-sql@2.1.3
|
|
312
|
+
- @evidence-dev/telemetry@2.1.1
|
|
313
|
+
- @evidence-dev/icons@1.0.1
|
|
314
|
+
|
|
315
|
+
## 1.3.1
|
|
316
|
+
|
|
317
|
+
### Patch Changes
|
|
318
|
+
|
|
319
|
+
- 8a0ba1414: User queries have comments and semicolons handled better
|
|
320
|
+
|
|
321
|
+
## 1.3.0
|
|
322
|
+
|
|
323
|
+
### Minor Changes
|
|
324
|
+
|
|
325
|
+
- 5705a7eb: Added Aggregation functions min, max, median
|
|
326
|
+
|
|
327
|
+
### Patch Changes
|
|
328
|
+
|
|
329
|
+
- dc8f01be: QueryBuilder functions now inherit several parent options
|
|
330
|
+
|
|
331
|
+
## 1.2.3-features-b.0
|
|
332
|
+
|
|
333
|
+
### Patch Changes
|
|
334
|
+
|
|
335
|
+
- dc8f01be2: QueryBuilder functions now inherit several parent options
|
|
336
|
+
|
|
337
|
+
## 1.2.2
|
|
338
|
+
|
|
339
|
+
### Patch Changes
|
|
340
|
+
|
|
341
|
+
- 4e3b925e: Fix JSON serialization
|
|
342
|
+
|
|
343
|
+
## 1.2.1
|
|
344
|
+
|
|
345
|
+
### Patch Changes
|
|
346
|
+
|
|
347
|
+
- 25ea0fe4: Query.createReactive now handles sync updates better
|
|
348
|
+
- e400971e: SetTrackProxy is now callable to ensure that function values don't break pages
|
|
349
|
+
|
|
350
|
+
## 1.2.0
|
|
351
|
+
|
|
352
|
+
### Minor Changes
|
|
353
|
+
|
|
354
|
+
- 1e1486f3: Added Query.createReactive as a canonical way to have reactive queries; converted preprocessor to leverage this
|
|
355
|
+
- 1e1486f3: Created new input proxy, added tests, converted to use this instead of existing in-place proxy + detection method
|
|
356
|
+
|
|
357
|
+
### Patch Changes
|
|
358
|
+
|
|
359
|
+
- 276718dd: Add /utils export and a batchup util
|
|
360
|
+
- 7f85e600: version bumps
|
|
361
|
+
|
|
362
|
+
## 1.1.1
|
|
363
|
+
|
|
364
|
+
### Patch Changes
|
|
365
|
+
|
|
366
|
+
- cb6db1a1: Fix for Query not respecting noResolve properly
|
|
367
|
+
Skeleton slot for QueryLoad was not properly passing the "loaded" slot prop
|
|
368
|
+
|
|
369
|
+
## 1.1.0
|
|
370
|
+
|
|
371
|
+
### Minor Changes
|
|
372
|
+
|
|
373
|
+
- dc073f6e: Moved /query-store export to /usql
|
|
374
|
+
|
|
375
|
+
### Patch Changes
|
|
376
|
+
|
|
377
|
+
- a95db3d3: Move types to devDependencies
|
|
378
|
+
- Updated dependencies [7620a1af]
|
|
379
|
+
- Updated dependencies [a95db3d3]
|
|
380
|
+
- @evidence-dev/universal-sql@2.1.2
|
|
381
|
+
|
|
382
|
+
## 1.0.2
|
|
383
|
+
|
|
384
|
+
### Patch Changes
|
|
385
|
+
|
|
386
|
+
- Updated dependencies [5e0bbf31]
|
|
387
|
+
- @evidence-dev/universal-sql@2.1.1
|
|
388
|
+
|
|
389
|
+
## 1.0.1
|
|
390
|
+
|
|
391
|
+
### Patch Changes
|
|
392
|
+
|
|
393
|
+
- 73421976: upgrade svelte deps
|
|
394
|
+
|
|
395
|
+
## 1.0.0
|
|
396
|
+
|
|
397
|
+
### Patch Changes
|
|
398
|
+
|
|
399
|
+
- 21b95fc8: Update USQL version to workspace
|
|
400
|
+
- Updated dependencies [ca3e593b]
|
|
401
|
+
- @evidence-dev/universal-sql@2.1.0
|
|
402
|
+
|
|
403
|
+
## 0.0.1
|
|
404
|
+
|
|
405
|
+
### Patch Changes
|
|
406
|
+
|
|
407
|
+
- 6338875: Adjusted types and tsconfig
|
|
408
|
+
- 02752bd: Implement evidence-sdk connections edit
|
|
409
|
+
- b55d8e2: Add \$evidence/build with BUILD_ID and BUILD_DATE exports
|
|
410
|
+
- 76c9332: Ensure directory recursion works properly for wrapped simple connectors
|
|
411
|
+
- ab01260: Enter edit mode for freshly created sources
|
|
412
|
+
- eda12cb: - Add file watcher for static assets
|
|
413
|
+
- 4192323: Remove svelte-preprocess dep
|
|
414
|
+
- 1dfaf71: Added basic support for layout plugins
|
|
415
|
+
- 1dfaf71: Refreshed the add cli command
|
|
416
|
+
- d036482: Internalized @evidence-dev/query-store
|
|
417
|
+
- ec88e75: - Don't die when app.d.ts does not exist in a headless project
|
|
418
|
+
- Check dev deps for sdk package to avoid overwriting the version
|
|
419
|
+
- Svelte compatibility (no sveltekit)
|
|
420
|
+
- Do not ignore files not prefixed with +
|
|
421
|
+
- Add new copy style
|
|
422
|
+
- Better error messaging
|
|
423
|
+
- Copy ./components into template
|
|
424
|
+
- Layouts can also specify where components should be placed
|
|
425
|
+
- Try to handle paths better
|
|
426
|
+
- This still needs improvements, .evidence vs \_evidence, headless vs regular projects, adapter-node vs adapter-static all can cause problems.
|
|
427
|
+
- Added a slide deck example layout + project
|
|
428
|
+
- 4bdbb48: Update log output for add command
|
|
429
|
+
- 956686c: Create \$evidence/config virtual export for accessing the current project's configuration
|
|
430
|
+
- 94bad8b: Initial Preview version
|
|
431
|
+
- 20fc555: Implemented Build command for evidence projects
|
|
432
|
+
- 6b69c23: Lost track
|
|
433
|
+
- 74d88ad: Remove expect error directive
|
|
434
|
+
- 41da2c3: Allow datasource connectors to return a table with url instead of rows to point to remote parquet file
|
|
435
|
+
- 76c9332: Remove unused \$evidence/queries/\* types
|
|
436
|
+
- 76c9332: Ensure that caching and filtering rules are respected when evaluating queries
|
|
437
|
+
- 76c9332: Handle uncaught exceptions / unhandled promise rejections
|
|
438
|
+
- 1dfaf71: Added a plugin installation command
|
|
439
|
+
- 76c9332: Remove filter field from layout plugin specification, needs re-evaluation and more planning
|
|
440
|
+
- c8319d8: Change projectRoot to attempt to auto-detect if we are running in a template
|
|
441
|
+
- 13800a3: Include a static directory when copying to template
|
|
442
|
+
- 76c9332: Remove the template directory before re-copying from the template package
|
|
443
|
+
- 76c9332: Improve error messages for a malformed component manifest
|
|
444
|
+
- a8f6aab: - No longer uses fork to create a child process
|
|
445
|
+
- Can accept projects w/o a components directory now
|
|
446
|
+
|
|
447
|
+
## 0.0.1-preview.11
|
|
448
|
+
|
|
449
|
+
### Patch Changes
|
|
450
|
+
|
|
451
|
+
- b55d8e2: Add \$evidence/build with BUILD_ID and BUILD_DATE exports
|
|
452
|
+
- d036482: Internalized @evidence-dev/query-store
|
|
453
|
+
- 956686c: Create \$evidence/config virtual export for accessing the current project's configuration
|
|
454
|
+
- 20fc555: Implemented Build command for evidence projects
|
|
455
|
+
- 41da2c3: Allow datasource connectors to return a table with url instead of rows to point to remote parquet file
|
|
456
|
+
|
|
457
|
+
## 0.0.1-preview.10
|
|
458
|
+
|
|
459
|
+
### Patch Changes
|
|
460
|
+
|
|
461
|
+
- eda12cb: - Add file watcher for static assets
|
|
462
|
+
- 74d88ad: Remove expect error directive
|
|
463
|
+
|
|
464
|
+
## 0.0.1-preview.9
|
|
465
|
+
|
|
466
|
+
### Patch Changes
|
|
467
|
+
|
|
468
|
+
- 4bdbb48: Update log output for add command
|
|
469
|
+
- c8319d8: Change projectRoot to attempt to auto-detect if we are running in a template
|
|
470
|
+
- 13800a3: Include a static directory when copying to template
|
|
471
|
+
|
|
472
|
+
## 0.0.1-preview.8
|
|
473
|
+
|
|
474
|
+
### Patch Changes
|
|
475
|
+
|
|
476
|
+
- a8f6aab: - No longer uses fork to create a child process
|
|
477
|
+
- Can accept projects w/o a components directory now
|
|
478
|
+
|
|
479
|
+
## 0.0.1-preview.7
|
|
480
|
+
|
|
481
|
+
### Patch Changes
|
|
482
|
+
|
|
483
|
+
- 76c9332: Ensure directory recursion works properly for wrapped simple connectors
|
|
484
|
+
- ec88e75: - Don't die when app.d.ts does not exist in a headless project
|
|
485
|
+
- Check dev deps for sdk package to avoid overwriting the version
|
|
486
|
+
- Svelte compatibility (no sveltekit)
|
|
487
|
+
- Do not ignore files not prefixed with +
|
|
488
|
+
- Add new copy style
|
|
489
|
+
- Better error messaging
|
|
490
|
+
- Copy ./components into template
|
|
491
|
+
- Layouts can also specify where components should be placed
|
|
492
|
+
- Try to handle paths better
|
|
493
|
+
- This still needs improvements, .evidence vs \_evidence, headless vs regular projects, adapter-node vs adapter-static all can cause problems.
|
|
494
|
+
- Added a slide deck example layout + project
|
|
495
|
+
- 76c9332: Remove unused \$evidence/queries/\* types
|
|
496
|
+
- 76c9332: Ensure that caching and filtering rules are respected when evaluating queries
|
|
497
|
+
- 76c9332: Handle uncaught exceptions / unhandled promise rejections
|
|
498
|
+
- 76c9332: Remove filter field from layout plugin specification, needs re-evaluation and more planning
|
|
499
|
+
- 76c9332: Remove the template directory before re-copying from the template package
|
|
500
|
+
- 76c9332: Improve error messages for a malformed component manifest
|
|
501
|
+
|
|
502
|
+
## 0.0.1-preview.6
|
|
503
|
+
|
|
504
|
+
### Patch Changes
|
|
505
|
+
|
|
506
|
+
- Lost track
|
|
507
|
+
|
|
508
|
+
## 0.0.1-preview.5
|
|
509
|
+
|
|
510
|
+
### Patch Changes
|
|
511
|
+
|
|
512
|
+
- Added basic support for layout plugins
|
|
513
|
+
- Refreshed the add cli command
|
|
514
|
+
- Added a plugin installation command
|
|
515
|
+
|
|
516
|
+
## 0.0.1-preview.4
|
|
517
|
+
|
|
518
|
+
### Patch Changes
|
|
519
|
+
|
|
520
|
+
- ab01260: Enter edit mode for freshly created sources
|
|
521
|
+
|
|
522
|
+
## 0.0.1-preview.3
|
|
523
|
+
|
|
524
|
+
### Patch Changes
|
|
525
|
+
|
|
526
|
+
- 4192323: Remove svelte-preprocess dep
|
|
527
|
+
|
|
528
|
+
## 0.0.1-preview.2
|
|
529
|
+
|
|
530
|
+
### Patch Changes
|
|
531
|
+
|
|
532
|
+
- 02752bd: Implement evidence-sdk connections edit
|
|
533
|
+
|
|
534
|
+
## 0.0.1-preview.1
|
|
535
|
+
|
|
536
|
+
### Patch Changes
|
|
537
|
+
|
|
538
|
+
- 6338875: Adjusted types and tsconfig
|
|
539
|
+
|
|
540
|
+
## 0.0.1-preview.0
|
|
541
|
+
|
|
542
|
+
### Patch Changes
|
|
543
|
+
|
|
544
|
+
- Initial Preview version
|
package/LICENSE.md
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright \(c\) 2023 Evidence
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files \(the "Software"\), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
6
|
+
|
|
7
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
8
|
+
|
|
9
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|