@innovatorved/code-lab 0.7.0 → 0.7.2

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.
Files changed (159) hide show
  1. package/ARCHITECTURE.md +2 -2
  2. package/CHANGELOG.md +30 -0
  3. package/README.md +6 -6
  4. package/dist/code-lab-sql.esm.js +19 -19
  5. package/dist/code-lab-sql.umd.js +20 -20
  6. package/dist/code-lab.css +1 -1
  7. package/dist/code-lab.d.ts +47 -38
  8. package/dist/code-lab.esm.js +1183 -1909
  9. package/dist/code-lab.js +1182 -1906
  10. package/dist/extensions/cpp.esm.js +132 -8760
  11. package/dist/extensions/cpp.js +124 -8770
  12. package/dist/extensions/guided-lab.esm.js +33 -6836
  13. package/dist/extensions/guided-lab.js +33 -6854
  14. package/dist/extensions/javascript.esm.js +1 -36
  15. package/dist/extensions/javascript.js +1 -58
  16. package/dist/extensions/python.esm.js +113 -8122
  17. package/dist/extensions/python.js +113 -8140
  18. package/dist/extensions/typescript.esm.js +1 -55
  19. package/dist/extensions/typescript.js +1 -77
  20. package/dist/index.d.ts +1 -1
  21. package/dist/logger.d.ts +4 -20
  22. package/dist/modular-kernel.d.ts +0 -5
  23. package/dist/packages/core/src/errors.d.ts +5 -1
  24. package/dist/packages/fs/src/backends.d.ts +0 -27
  25. package/dist/packages/fs/src/index.d.ts +1 -1
  26. package/dist/packages/ui/src/html.d.ts +1 -0
  27. package/dist/packages/ui/src/index.d.ts +1 -0
  28. package/dist/{apps/web/src/index.d.ts → packages/ui/src/kernel.d.ts} +3 -11
  29. package/dist/packages/ui/src/observability.d.ts +1 -1
  30. package/dist/packages/ui/src/settings-dialog.d.ts +0 -1
  31. package/dist/preview-sw.js +1 -1
  32. package/dist/runtime.d.ts +3 -0
  33. package/dist/runtime.esm.js +78 -78
  34. package/dist/runtime.js +78 -78
  35. package/dist/schemas.d.ts +10 -1
  36. package/dist/schemas.esm.js +33 -6815
  37. package/dist/schemas.js +33 -6831
  38. package/dist/shell.esm.js +277 -285
  39. package/dist/shell.js +277 -285
  40. package/dist/terminal.esm.js +9 -7
  41. package/dist/terminal.js +7 -7
  42. package/dist/workbench/command-palette.d.ts +0 -4
  43. package/dist/workbench/editor.d.ts +0 -4
  44. package/dist/workbench/index.d.ts +0 -22
  45. package/dist/workbench/intellisense.d.ts +1 -8
  46. package/dist/workbench/xterm-adapter.d.ts +0 -1
  47. package/package.json +4 -13
  48. package/dist/code-lab.umd.js +0 -6117
  49. package/dist/packages/editor/src/index.d.ts +0 -118
  50. package/dist/packages/preview/src/index.d.ts +0 -34
  51. package/dist/packages/runtime/src/index.d.ts +0 -47
  52. package/dist/packages/terminal/src/index.d.ts +0 -54
  53. package/dist/workbench/drawer.d.ts +0 -18
  54. package/dist/workbench/file-tree.d.ts +0 -11
  55. package/dist/workbench/guided-pane.d.ts +0 -11
  56. package/dist/workbench/styles.d.ts +0 -4
  57. package/dist/workbench/toolbar.d.ts +0 -17
  58. package/packages/commands/README.md +0 -7
  59. package/packages/commands/package.json +0 -16
  60. package/packages/commands/src/index.ts +0 -467
  61. package/packages/commands/tsconfig.json +0 -22
  62. package/packages/core/README.md +0 -12
  63. package/packages/core/package.json +0 -13
  64. package/packages/core/src/di.ts +0 -147
  65. package/packages/core/src/disposable.ts +0 -112
  66. package/packages/core/src/errors.ts +0 -205
  67. package/packages/core/src/events.ts +0 -157
  68. package/packages/core/src/index.ts +0 -49
  69. package/packages/core/src/path.ts +0 -118
  70. package/packages/core/src/registry.ts +0 -61
  71. package/packages/core/tsconfig.json +0 -19
  72. package/packages/editor/README.md +0 -9
  73. package/packages/editor/package.json +0 -18
  74. package/packages/editor/src/index.ts +0 -344
  75. package/packages/editor/tsconfig.json +0 -24
  76. package/packages/fs/README.md +0 -7
  77. package/packages/fs/package.json +0 -16
  78. package/packages/fs/src/backends.ts +0 -301
  79. package/packages/fs/src/index.ts +0 -18
  80. package/packages/fs/src/types.ts +0 -44
  81. package/packages/fs/src/vfs-service.ts +0 -257
  82. package/packages/fs/tsconfig.json +0 -22
  83. package/packages/preview/README.md +0 -3
  84. package/packages/preview/package.json +0 -16
  85. package/packages/preview/src/index.ts +0 -125
  86. package/packages/preview/tsconfig.json +0 -22
  87. package/packages/runtime/README.md +0 -3
  88. package/packages/runtime/package.json +0 -17
  89. package/packages/runtime/src/index.ts +0 -134
  90. package/packages/runtime/tsconfig.json +0 -23
  91. package/packages/settings/README.md +0 -7
  92. package/packages/settings/package.json +0 -16
  93. package/packages/settings/src/builtin-schemas.ts +0 -262
  94. package/packages/settings/src/configuration-service.ts +0 -609
  95. package/packages/settings/src/index.ts +0 -38
  96. package/packages/settings/src/jsonc.ts +0 -189
  97. package/packages/settings/src/schema.ts +0 -164
  98. package/packages/settings/tsconfig.json +0 -22
  99. package/packages/sql/README.md +0 -12
  100. package/packages/sql/package.json +0 -13
  101. package/packages/sql/src/completions.ts +0 -359
  102. package/packages/sql/src/diagnostics.ts +0 -200
  103. package/packages/sql/src/formatter.ts +0 -271
  104. package/packages/sql/src/index.ts +0 -54
  105. package/packages/sql/src/sql-editor.ts +0 -802
  106. package/packages/sql/src/styles.ts +0 -524
  107. package/packages/sql/src/tokenizer.ts +0 -457
  108. package/packages/sql/src/types.ts +0 -148
  109. package/packages/sql/tsconfig.json +0 -19
  110. package/packages/terminal/README.md +0 -3
  111. package/packages/terminal/package.json +0 -16
  112. package/packages/terminal/src/index.ts +0 -183
  113. package/packages/terminal/tsconfig.json +0 -22
  114. package/packages/ui/README.md +0 -8
  115. package/packages/ui/package.json +0 -18
  116. package/packages/ui/src/index.ts +0 -40
  117. package/packages/ui/src/observability.ts +0 -173
  118. package/packages/ui/src/plugin-registry.ts +0 -289
  119. package/packages/ui/src/settings-dialog.ts +0 -939
  120. package/packages/ui/src/themes.ts +0 -333
  121. package/packages/ui/tsconfig.json +0 -24
  122. package/src/code-lab.css +0 -8584
  123. package/src/csp.ts +0 -590
  124. package/src/diagnostics.ts +0 -287
  125. package/src/extensions/cpp.ts +0 -2389
  126. package/src/extensions/guided-lab.ts +0 -64
  127. package/src/extensions/javascript.ts +0 -54
  128. package/src/extensions/python.ts +0 -1737
  129. package/src/extensions/typescript.ts +0 -85
  130. package/src/extensions/umbrella.ts +0 -5
  131. package/src/html.ts +0 -88
  132. package/src/index.ts +0 -129
  133. package/src/logger.ts +0 -139
  134. package/src/modular-kernel.ts +0 -11
  135. package/src/preview-sw.js +0 -296
  136. package/src/runtime/test-harness.ts +0 -57
  137. package/src/runtime.ts +0 -10480
  138. package/src/sample.html +0 -304
  139. package/src/schemas.ts +0 -366
  140. package/src/scm.ts +0 -2453
  141. package/src/search.ts +0 -433
  142. package/src/shell.ts +0 -10987
  143. package/src/storage.ts +0 -773
  144. package/src/terminal.ts +0 -1400
  145. package/src/workbench/command-palette.ts +0 -381
  146. package/src/workbench/diff-editor.ts +0 -470
  147. package/src/workbench/drawer.ts +0 -157
  148. package/src/workbench/editor.ts +0 -49
  149. package/src/workbench/file-tree.ts +0 -51
  150. package/src/workbench/guided-pane.ts +0 -43
  151. package/src/workbench/icons.ts +0 -255
  152. package/src/workbench/index.ts +0 -44
  153. package/src/workbench/intellisense.ts +0 -1871
  154. package/src/workbench/share.ts +0 -128
  155. package/src/workbench/styles.ts +0 -211
  156. package/src/workbench/toolbar.ts +0 -182
  157. package/src/workbench/xterm-adapter.ts +0 -1571
  158. package/src/workbench.ts +0 -22132
  159. package/src/zip.ts +0 -348
@@ -1,333 +0,0 @@
1
- import {
2
- CodeLabError,
3
- createServiceId,
4
- Emitter,
5
- type Event,
6
- type IDisposable,
7
- toDisposable
8
- } from '@code-lab/core';
9
- import { parseJsonc } from '@code-lab/settings';
10
-
11
- export type ThemeKind = 'dark' | 'light' | 'high-contrast';
12
-
13
- export interface ThemeDefinition {
14
- readonly id: string;
15
- readonly label: string;
16
- readonly kind: ThemeKind;
17
- readonly colors: Readonly<Record<string, string>>;
18
- readonly monacoBase: 'vs-dark' | 'vs' | 'hc-black';
19
- }
20
-
21
- export const DARK_THEME: ThemeDefinition = {
22
- id: 'dark',
23
- label: 'Charcoal Ink',
24
- kind: 'dark',
25
- monacoBase: 'vs-dark',
26
- colors: {
27
- '--cl-bg': '#0f0f10',
28
- '--cl-editor-bg': '#0f0f10',
29
- '--cl-surface': '#141415',
30
- '--cl-chrome-bg': '#141415',
31
- '--cl-widget-bg': '#18181a',
32
- '--cl-input-bg': '#141415',
33
- '--cl-input-border': '#27272a',
34
- '--cl-fg': '#f4f4f5',
35
- '--cl-fg-active': '#ffffff',
36
- '--cl-muted': '#a1a1aa',
37
- '--cl-fg-muted': '#a1a1aa',
38
- '--cl-border': '#27272a',
39
- '--cl-accent': '#f4f4f5',
40
- '--cl-accent-fg': '#0f0f10',
41
- '--cl-btn-primary-bg': '#f4f4f5',
42
- '--cl-btn-primary-hover': '#ffffff',
43
- '--cl-btn-primary-fg': '#0f0f10',
44
- '--cl-focus-border': '#a1a1aa',
45
- '--cl-list-hover': '#1f1f22',
46
- '--cl-list-active': '#28282b',
47
- '--cl-list-active-fg': '#f4f4f5',
48
- '--cl-badge-bg': '#28282b',
49
- '--cl-badge-fg': '#f4f4f5',
50
- '--cl-git-modified': '#fbbf24',
51
- '--cl-git-added': '#34d399',
52
- '--cl-git-untracked': '#34d399',
53
- '--cl-git-deleted': '#f87171',
54
- '--cl-error': '#f87171',
55
- '--cl-warning': '#fbbf24',
56
- '--cl-info': '#e4e4e7'
57
- }
58
- };
59
-
60
- export const LIGHT_THEME: ThemeDefinition = {
61
- id: 'light',
62
- label: 'Warm Paper',
63
- kind: 'light',
64
- monacoBase: 'vs',
65
- colors: {
66
- '--cl-bg': '#ffffff',
67
- '--cl-editor-bg': '#ffffff',
68
- '--cl-surface': '#f7f7f5',
69
- '--cl-chrome-bg': '#f7f7f5',
70
- '--cl-widget-bg': '#f1f1ee',
71
- '--cl-input-bg': '#ffffff',
72
- '--cl-input-border': '#d3d0c9',
73
- '--cl-fg': '#18181b',
74
- '--cl-fg-active': '#09090b',
75
- '--cl-muted': '#52525b',
76
- '--cl-fg-muted': '#52525b',
77
- '--cl-border': '#e6e4df',
78
- '--cl-accent': '#18181b',
79
- '--cl-accent-fg': '#ffffff',
80
- '--cl-btn-primary-bg': '#18181b',
81
- '--cl-btn-primary-hover': '#27272a',
82
- '--cl-btn-primary-fg': '#ffffff',
83
- '--cl-focus-border': '#3f3f46',
84
- '--cl-list-hover': '#f1f1ee',
85
- '--cl-list-active': '#ecebe7',
86
- '--cl-list-active-fg': '#18181b',
87
- '--cl-badge-bg': '#ecebe7',
88
- '--cl-badge-fg': '#18181b',
89
- '--cl-git-modified': '#b54708',
90
- '--cl-git-added': '#067647',
91
- '--cl-git-untracked': '#067647',
92
- '--cl-git-deleted': '#b42318',
93
- '--cl-error': '#b42318',
94
- '--cl-warning': '#b54708',
95
- '--cl-info': '#18181b'
96
- }
97
- };
98
-
99
- export const HIGH_CONTRAST_THEME: ThemeDefinition = {
100
- id: 'high-contrast',
101
- label: 'High Contrast Ink',
102
- kind: 'high-contrast',
103
- monacoBase: 'hc-black',
104
- colors: {
105
- '--cl-bg': '#000000',
106
- '--cl-editor-bg': '#000000',
107
- '--cl-surface': '#000000',
108
- '--cl-chrome-bg': '#000000',
109
- '--cl-widget-bg': '#0f0f10',
110
- '--cl-input-bg': '#000000',
111
- '--cl-input-border': '#ffffff',
112
- '--cl-fg': '#ffffff',
113
- '--cl-fg-active': '#ffffff',
114
- '--cl-muted': '#e4e4e7',
115
- '--cl-fg-muted': '#e4e4e7',
116
- '--cl-border': '#ffffff',
117
- '--cl-accent': '#ffffff',
118
- '--cl-accent-fg': '#000000',
119
- '--cl-btn-primary-bg': '#ffffff',
120
- '--cl-btn-primary-hover': '#e4e4e7',
121
- '--cl-btn-primary-fg': '#000000',
122
- '--cl-focus-border': '#fbbf24',
123
- '--cl-list-hover': '#18181a',
124
- '--cl-list-active': '#27272a',
125
- '--cl-list-active-fg': '#ffffff',
126
- '--cl-badge-bg': '#ffffff',
127
- '--cl-badge-fg': '#000000',
128
- '--cl-git-modified': '#fbbf24',
129
- '--cl-git-added': '#34d399',
130
- '--cl-git-untracked': '#34d399',
131
- '--cl-git-deleted': '#f87171',
132
- '--cl-error': '#f87171',
133
- '--cl-warning': '#fbbf24',
134
- '--cl-info': '#ffffff'
135
- }
136
- };
137
-
138
- function parseColorRgb(raw: string): [number, number, number] | null {
139
- const s = raw.trim();
140
- if (s.startsWith('#')) {
141
- const hex = s.slice(1);
142
- if (hex.length === 3 || hex.length === 4) {
143
- const r = Number.parseInt(hex[0] + hex[0], 16);
144
- const g = Number.parseInt(hex[1] + hex[1], 16);
145
- const b = Number.parseInt(hex[2] + hex[2], 16);
146
- if (Number.isFinite(r) && Number.isFinite(g) && Number.isFinite(b)) return [r, g, b];
147
- return null;
148
- }
149
- if (hex.length === 6 || hex.length === 8) {
150
- const r = Number.parseInt(hex.slice(0, 2), 16);
151
- const g = Number.parseInt(hex.slice(2, 4), 16);
152
- const b = Number.parseInt(hex.slice(4, 6), 16);
153
- if (Number.isFinite(r) && Number.isFinite(g) && Number.isFinite(b)) return [r, g, b];
154
- return null;
155
- }
156
- return null;
157
- }
158
- const rgbMatch = /^rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})/i.exec(s);
159
- if (rgbMatch) {
160
- const r = Math.min(255, Number.parseInt(rgbMatch[1], 10));
161
- const g = Math.min(255, Number.parseInt(rgbMatch[2], 10));
162
- const b = Math.min(255, Number.parseInt(rgbMatch[3], 10));
163
- return [r, g, b];
164
- }
165
- return null;
166
- }
167
-
168
- function toLinearChannel(channel8Bit: number): number {
169
- const srgb = channel8Bit / 255;
170
- return srgb <= 0.04045 ? srgb / 12.92 : Math.pow((srgb + 0.055) / 1.055, 2.4);
171
- }
172
-
173
- /**
174
- * Picks `'#ffffff'` or `'#000000'` to maximize WCAG 2.1 contrast (>= 4.58:1)
175
- * against a solid hex/rgb background color, returning `fallback` for dynamic CSS expressions.
176
- */
177
- export function pickContrastingFg(color: string, fallback = '#ffffff'): string {
178
- const rgb = parseColorRgb(color);
179
- if (!rgb) return fallback;
180
- const lum =
181
- 0.2126 * toLinearChannel(rgb[0]) +
182
- 0.7152 * toLinearChannel(rgb[1]) +
183
- 0.0722 * toLinearChannel(rgb[2]);
184
- const whiteContrast = 1.05 / (lum + 0.05);
185
- const blackContrast = (lum + 0.05) / 0.05;
186
- return whiteContrast >= blackContrast ? '#ffffff' : '#000000';
187
- }
188
-
189
- export function parseCustomTheme(rawJsonc: string): ThemeDefinition {
190
- const parsed = parseJsonc<Record<string, unknown>>(rawJsonc);
191
- if (!parsed.value || typeof parsed.value !== 'object' || Array.isArray(parsed.value)) {
192
- throw new CodeLabError('ERR_CONFIG_PARSE', parsed.errors[0]?.message ?? 'Invalid custom theme JSON');
193
- }
194
- const obj = parsed.value;
195
- const id = typeof obj.id === 'string' && obj.id.trim() ? obj.id.trim() : 'custom-theme';
196
- const label = typeof obj.label === 'string' && obj.label.trim() ? obj.label.trim() : id;
197
- const kind: ThemeKind =
198
- obj.kind === 'light' ? 'light' : obj.kind === 'high-contrast' ? 'high-contrast' : 'dark';
199
- const rawPaletteCandidate = obj.colors ?? obj.tokens;
200
- const rawColors =
201
- typeof rawPaletteCandidate === 'object' && rawPaletteCandidate !== null && !Array.isArray(rawPaletteCandidate)
202
- ? (rawPaletteCandidate as Record<string, unknown>)
203
- : {};
204
- const base = kind === 'light' ? LIGHT_THEME : kind === 'high-contrast' ? HIGH_CONTRAST_THEME : DARK_THEME;
205
- const colors: Record<string, string> = { ...base.colors };
206
- let explicitAccentFg = false;
207
- let explicitFgMuted = false;
208
- let explicitMuted = false;
209
- for (const [k, v] of Object.entries(rawColors)) {
210
- if (typeof v === 'string') {
211
- const cssVar = k.startsWith('--') ? k : `--cl-${k.replace(/\./g, '-')}`;
212
- colors[cssVar] = v;
213
- if (cssVar === '--cl-accent-fg') explicitAccentFg = true;
214
- if (cssVar === '--cl-fg-muted') explicitFgMuted = true;
215
- if (cssVar === '--cl-muted') explicitMuted = true;
216
- }
217
- }
218
- if (!explicitAccentFg && colors['--cl-accent']) {
219
- colors['--cl-accent-fg'] = pickContrastingFg(
220
- colors['--cl-accent'],
221
- base.colors['--cl-accent-fg'] ?? '#ffffff'
222
- );
223
- }
224
- if (explicitMuted && !explicitFgMuted && colors['--cl-muted']) {
225
- colors['--cl-fg-muted'] = colors['--cl-muted'];
226
- } else if (explicitFgMuted && !explicitMuted && colors['--cl-fg-muted']) {
227
- colors['--cl-muted'] = colors['--cl-fg-muted'];
228
- }
229
- return {
230
- id,
231
- label,
232
- kind,
233
- monacoBase: kind === 'light' ? 'vs' : kind === 'high-contrast' ? 'hc-black' : 'vs-dark',
234
- colors
235
- };
236
- }
237
-
238
- export interface IThemeService extends IDisposable {
239
- readonly activeTheme: ThemeDefinition;
240
- readonly onDidChangeTheme: Event<ThemeDefinition>;
241
- registerTheme(theme: ThemeDefinition): IDisposable;
242
- getThemes(): ThemeDefinition[];
243
- setTheme(themeId: string): ThemeDefinition;
244
- applyToElement(target: HTMLElement): void;
245
- }
246
-
247
- export const IThemeServiceId = createServiceId<IThemeService>('code-lab.theme');
248
-
249
- export class ThemeService implements IThemeService {
250
- private readonly themes = new Map<string, ThemeDefinition>();
251
- private current: ThemeDefinition = DARK_THEME;
252
- private readonly changeEmitter = new Emitter<ThemeDefinition>({ name: 'theme.change' });
253
-
254
- public constructor() {
255
- this.themes.set(DARK_THEME.id, DARK_THEME);
256
- this.themes.set(LIGHT_THEME.id, LIGHT_THEME);
257
- this.themes.set(HIGH_CONTRAST_THEME.id, HIGH_CONTRAST_THEME);
258
- }
259
-
260
- public get activeTheme(): ThemeDefinition {
261
- return this.current;
262
- }
263
-
264
- public get onDidChangeTheme(): Event<ThemeDefinition> {
265
- return this.changeEmitter.event;
266
- }
267
-
268
- public registerTheme(theme: ThemeDefinition): IDisposable {
269
- this.themes.set(theme.id, theme);
270
- return toDisposable(() => {
271
- if (theme.id !== 'dark' && theme.id !== 'light' && theme.id !== 'high-contrast') {
272
- this.themes.delete(theme.id);
273
- if (this.current.id === theme.id) {
274
- this.setTheme('dark');
275
- }
276
- }
277
- });
278
- }
279
-
280
- public getThemes(): ThemeDefinition[] {
281
- return Array.from(this.themes.values());
282
- }
283
-
284
- public setTheme(themeId: string): ThemeDefinition {
285
- const next = this.themes.get(themeId) ?? DARK_THEME;
286
- if (this.current.id === next.id && this.current === next) {
287
- return this.current;
288
- }
289
- this.current = next;
290
- this.changeEmitter.fire(next);
291
- return next;
292
- }
293
-
294
- public applyToElement(target: HTMLElement): void {
295
- const t = this.current;
296
- target.setAttribute('data-cl-theme', t.kind);
297
- target.setAttribute('data-cl-theme-id', t.id);
298
- target.classList.toggle('cl-theme-light', t.kind === 'light');
299
- target.classList.toggle('cl-theme-dark', t.kind === 'dark');
300
- target.classList.toggle('cl-theme-hc', t.kind === 'high-contrast');
301
-
302
- const setCssVar = (prop: string, val: string): void => {
303
- if (target.style && typeof target.style.setProperty === 'function') {
304
- target.style.setProperty(prop, val);
305
- } else if (target.style) {
306
- (target.style as unknown as Record<string, string>)[prop] = val;
307
- }
308
- };
309
-
310
- for (const [cssVar, val] of Object.entries(t.colors)) {
311
- setCssVar(cssVar, val);
312
- }
313
- const accent = t.colors['--cl-accent'];
314
- const accentFg = t.colors['--cl-accent-fg'] ?? (accent ? pickContrastingFg(accent) : '#ffffff');
315
- setCssVar('--cl-accent-fg', accentFg);
316
- const fgMuted = t.colors['--cl-fg-muted'] ?? t.colors['--cl-muted'];
317
- if (fgMuted) {
318
- setCssVar('--cl-fg-muted', fgMuted);
319
- }
320
-
321
- // Pair color-scheme with explicit background/color/accent-color per Modern Web Guidance
322
- if (target.style) {
323
- target.style.colorScheme = t.kind === 'light' ? 'light' : 'dark';
324
- if (t.colors['--cl-bg']) target.style.backgroundColor = t.colors['--cl-bg'];
325
- if (t.colors['--cl-fg']) target.style.color = t.colors['--cl-fg'];
326
- if (accent) target.style.accentColor = accent;
327
- }
328
- }
329
-
330
- public dispose(): void {
331
- this.changeEmitter.dispose();
332
- }
333
- }
@@ -1,24 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "target": "ES2022",
4
- "module": "ESNext",
5
- "moduleResolution": "bundler",
6
- "lib": ["ES2022", "DOM"],
7
- "strict": true,
8
- "noImplicitAny": true,
9
- "strictNullChecks": true,
10
- "noUnusedLocals": true,
11
- "noUnusedParameters": true,
12
- "noImplicitReturns": true,
13
- "noFallthroughCasesInSwitch": true,
14
- "noEmit": true,
15
- "skipLibCheck": true,
16
- "forceConsistentCasingInFileNames": true,
17
- "paths": {
18
- "@code-lab/core": ["../core/src/index.ts"],
19
- "@code-lab/settings": ["../settings/src/index.ts"],
20
- "@code-lab/commands": ["../commands/src/index.ts"]
21
- }
22
- },
23
- "include": ["src/**/*.ts"]
24
- }