grist-widget-sdk 0.3.20 → 0.3.26
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 +18 -0
- package/dist/advanced.d.cts +3 -2
- package/dist/advanced.d.ts +3 -2
- package/dist/app.cjs +5176 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +147 -0
- package/dist/app.d.ts +147 -0
- package/dist/app.js +527 -0
- package/dist/app.js.map +1 -0
- package/dist/chunk-PDGEZ24B.js +2366 -0
- package/dist/chunk-PDGEZ24B.js.map +1 -0
- package/dist/{create-grist-emulator-_3_JK7Rr.d.ts → create-grist-emulator-BCqp1BF9.d.ts} +2 -2
- package/dist/{create-grist-emulator-K-iUKUCZ.d.cts → create-grist-emulator-DBM8OSIR.d.cts} +2 -2
- package/dist/emulator/testing.d.cts +2 -2
- package/dist/emulator/testing.d.ts +2 -2
- package/dist/emulator/transports.d.cts +3 -3
- package/dist/emulator/transports.d.ts +3 -3
- package/dist/emulator.d.cts +5 -5
- package/dist/emulator.d.ts +5 -5
- package/dist/index.d.cts +9 -500
- package/dist/index.d.ts +9 -500
- package/dist/index.js +57 -2291
- package/dist/index.js.map +1 -1
- package/dist/{inline-A8yaddmp.d.cts → inline-C7DkvuET.d.cts} +1 -1
- package/dist/{inline-B7QQeWul.d.ts → inline-DpcT8tV9.d.ts} +1 -1
- package/dist/{templates-CB_VwjEU.d.cts → templates-8k2LKoO-.d.cts} +1 -1
- package/dist/{templates-pRIXc2RR.d.ts → templates-DIwi_mvI.d.ts} +1 -1
- package/dist/{types-YcRfo7oy.d.cts → types-D3JxUCfL.d.cts} +1 -1
- package/dist/{types-YcRfo7oy.d.ts → types-D3JxUCfL.d.ts} +1 -1
- package/dist/{use-grist-widget-options-from-context-hl-NwOwP.d.ts → use-grist-reads-DUMvJgV7.d.ts} +3 -44
- package/dist/{use-grist-widget-options-from-context-Bbd5-f39.d.cts → use-grist-reads-DpjVuI0H.d.cts} +3 -44
- package/dist/use-grist-types-DdOLEJXN.d.cts +499 -0
- package/dist/use-grist-types-kwxoFeub.d.ts +499 -0
- package/dist/use-grist-widget-options-from-context-CGOlQ5Vc.d.cts +43 -0
- package/dist/use-grist-widget-options-from-context-CGOlQ5Vc.d.ts +43 -0
- package/package.json +15 -2
- package/tsconfig/app.json +38 -0
- package/tsconfig/node.json +36 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
// Shared TypeScript settings for a widget's build config (vite.config.ts),
|
|
3
|
+
// which runs in Node.
|
|
4
|
+
//
|
|
5
|
+
// // tsconfig.node.json
|
|
6
|
+
// { "extends": "grist-widget-sdk/tsconfig/node.json", ... }
|
|
7
|
+
//
|
|
8
|
+
// The widget's own file keeps tsBuildInfoFile and include (TypeScript
|
|
9
|
+
// resolves those relative to the file that declares them) and types
|
|
10
|
+
// (e.g. "node").
|
|
11
|
+
//
|
|
12
|
+
// Needs TypeScript 5.8 or later (erasableSyntaxOnly). Making a check
|
|
13
|
+
// stricter can fail a widget's typecheck, so it only happens in a minor
|
|
14
|
+
// (breaking, before 1.0) release of grist-widget-sdk.
|
|
15
|
+
"compilerOptions": {
|
|
16
|
+
"target": "ES2023",
|
|
17
|
+
"lib": ["ES2023"],
|
|
18
|
+
"module": "ESNext",
|
|
19
|
+
"skipLibCheck": true,
|
|
20
|
+
|
|
21
|
+
/* Bundler mode */
|
|
22
|
+
"moduleResolution": "bundler",
|
|
23
|
+
"allowImportingTsExtensions": true,
|
|
24
|
+
"verbatimModuleSyntax": true,
|
|
25
|
+
"moduleDetection": "force",
|
|
26
|
+
"noEmit": true,
|
|
27
|
+
|
|
28
|
+
/* Linting */
|
|
29
|
+
"strict": true,
|
|
30
|
+
"noUnusedLocals": true,
|
|
31
|
+
"noUnusedParameters": true,
|
|
32
|
+
"erasableSyntaxOnly": true,
|
|
33
|
+
"noFallthroughCasesInSwitch": true,
|
|
34
|
+
"noUncheckedSideEffectImports": true
|
|
35
|
+
}
|
|
36
|
+
}
|