@marimo-team/islands 0.22.1-dev23 → 0.22.1-dev24
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/dist/main.js
CHANGED
|
@@ -65401,7 +65401,7 @@ ${c}
|
|
|
65401
65401
|
return Logger.warn("Failed to get version from mount config"), null;
|
|
65402
65402
|
}
|
|
65403
65403
|
}
|
|
65404
|
-
const marimoVersionAtom = atom(getVersionFromMountConfig() || "0.22.1-
|
|
65404
|
+
const marimoVersionAtom = atom(getVersionFromMountConfig() || "0.22.1-dev24"), showCodeInRunModeAtom = atom(true);
|
|
65405
65405
|
atom(null);
|
|
65406
65406
|
var VIRTUAL_FILE_REGEX = /\/@file\/([^\s"&'/]+)\.([\dA-Za-z]+)/g, VirtualFileTracker = class e {
|
|
65407
65407
|
constructor() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@marimo-team/islands",
|
|
3
|
-
"version": "0.22.1-
|
|
3
|
+
"version": "0.22.1-dev24",
|
|
4
4
|
"main": "dist/main.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"type": "module",
|
|
@@ -103,7 +103,6 @@
|
|
|
103
103
|
"dequal": "^2.0.3",
|
|
104
104
|
"dnd-core": "^16.0.1",
|
|
105
105
|
"dompurify": "^3.3.1",
|
|
106
|
-
"eslint-plugin-header": "^3.1.1",
|
|
107
106
|
"htm": "^3.1.1",
|
|
108
107
|
"html-react-parser": "^5.2.14",
|
|
109
108
|
"html-to-image": "1.11.13",
|
|
@@ -172,9 +171,10 @@
|
|
|
172
171
|
"build": "cross-env vite build",
|
|
173
172
|
"test": "vitest",
|
|
174
173
|
"typecheck": "tsgo",
|
|
175
|
-
"
|
|
176
|
-
"
|
|
177
|
-
"lint
|
|
174
|
+
"format": "oxfmt --config ../.oxfmtrc.json src",
|
|
175
|
+
"format:check": "oxfmt --config ../.oxfmtrc.json --check src",
|
|
176
|
+
"lint": "run-s lint:oxlint lint:stylelint",
|
|
177
|
+
"lint:oxlint": "oxlint --fix src",
|
|
178
178
|
"lint:stylelint": "stylelint src/**/*.css --fix",
|
|
179
179
|
"preview": "vite preview",
|
|
180
180
|
"dev:quarto": "VITE_MARIMO_ISLANDS=true vite",
|
|
@@ -191,7 +191,6 @@
|
|
|
191
191
|
"devDependencies": {
|
|
192
192
|
"@babel/plugin-proposal-decorators": "^7.28.6",
|
|
193
193
|
"@babel/preset-typescript": "^7.25.9",
|
|
194
|
-
"@biomejs/biome": "2.3.13",
|
|
195
194
|
"@codecov/vite-plugin": "^1.9.1",
|
|
196
195
|
"@csstools/postcss-light-dark-function": "^2.0.11",
|
|
197
196
|
"@playwright/test": "^1.58.2",
|
|
@@ -209,24 +208,15 @@
|
|
|
209
208
|
"@types/react": "^19.2.10",
|
|
210
209
|
"@types/react-dom": "^19.2.3",
|
|
211
210
|
"@types/timestring": "^6.0.5",
|
|
212
|
-
"@typescript-eslint/eslint-plugin": "^7.15.0",
|
|
213
|
-
"@typescript-eslint/parser": "^7.15.0",
|
|
214
211
|
"@vitejs/plugin-react": "^5.1.4",
|
|
215
212
|
"babel-plugin-react-compiler": "19.1.0-rc.3",
|
|
216
213
|
"blob-polyfill": "^7.0.20220408",
|
|
217
214
|
"cross-env": "^7.0.3",
|
|
218
|
-
"eslint": "^8.57.0",
|
|
219
|
-
"eslint-config-prettier": "^9.1.0",
|
|
220
|
-
"eslint-plugin-react": "^7.34.3",
|
|
221
|
-
"eslint-plugin-react-hooks": "^6.0.0-rc.1",
|
|
222
|
-
"eslint-plugin-react-you-might-not-need-an-effect": "^0.5.1",
|
|
223
|
-
"eslint-plugin-ssr-friendly": "^1.3.0",
|
|
224
|
-
"eslint-plugin-storybook": "^9.0.14",
|
|
225
|
-
"eslint-plugin-unicorn": "^54.0.0",
|
|
226
|
-
"eslint-plugin-vitest": "^0.4.1",
|
|
227
215
|
"jsdom": "^24.1.3",
|
|
228
216
|
"msw": "^2.12.7",
|
|
229
217
|
"npm-run-all2": "^6.2.6",
|
|
218
|
+
"oxfmt": "^0.42.0",
|
|
219
|
+
"oxlint": "^1.57.0",
|
|
230
220
|
"postcss": "^8.5.6",
|
|
231
221
|
"postcss-plugin-namespace": "^0.0.3",
|
|
232
222
|
"react": "^19.2.4",
|
package/src/core/cells/logs.ts
CHANGED
|
@@ -98,7 +98,7 @@ const CellLogLogger = {
|
|
|
98
98
|
? "red"
|
|
99
99
|
: "orange";
|
|
100
100
|
const status = payload.level.toUpperCase();
|
|
101
|
-
|
|
101
|
+
// oxlint-disable-next-line no-console -- intentional debug logging
|
|
102
102
|
console.log(
|
|
103
103
|
`%c[${status}]`,
|
|
104
104
|
`color:${color}; padding:2px 0; border-radius:2px; font-weight:bold`,
|
|
@@ -169,8 +169,7 @@ export class LazyWebsocketTransport extends Transport {
|
|
|
169
169
|
// Show error toast on final retry
|
|
170
170
|
this.options.showError(
|
|
171
171
|
"GitHub Copilot Connection Error",
|
|
172
|
-
|
|
173
|
-
prettyError(error),
|
|
172
|
+
`Failed to connect to GitHub Copilot. Please check your settings and try again.\n\n${prettyError(error)}`,
|
|
174
173
|
);
|
|
175
174
|
throw error;
|
|
176
175
|
}
|
|
@@ -45,6 +45,7 @@ import type { LanguageAdapter } from "../types";
|
|
|
45
45
|
|
|
46
46
|
const pylspClient = once((lspConfig: LSPConfig) => {
|
|
47
47
|
// Create a mutable reference for the resync callback
|
|
48
|
+
// oxlint-disable-next-line prefer-const -- reassigned after closure capture
|
|
48
49
|
let resyncCallback: (() => Promise<void>) | undefined;
|
|
49
50
|
|
|
50
51
|
const transport = createTransport("pylsp", async () => {
|
|
@@ -151,6 +152,7 @@ const pylspClient = once((lspConfig: LSPConfig) => {
|
|
|
151
152
|
});
|
|
152
153
|
|
|
153
154
|
const tyLspClient = once((_: LSPConfig) => {
|
|
155
|
+
// oxlint-disable-next-line prefer-const -- reassigned after closure capture
|
|
154
156
|
let resyncCallback: (() => Promise<void>) | undefined;
|
|
155
157
|
|
|
156
158
|
const transport = createTransport("ty", async () => {
|
|
@@ -181,7 +183,8 @@ const tyLspClient = once((_: LSPConfig) => {
|
|
|
181
183
|
|
|
182
184
|
const pyreflyClient = once(
|
|
183
185
|
(lspConfig: LSPConfig & { diagnostics: DiagnosticsConfig }) => {
|
|
184
|
-
|
|
186
|
+
// oxlint-disable-next-line prefer-const -- reassigned after closure capture
|
|
187
|
+
let resyncCallback: (() => Promise<void>) | undefined;
|
|
185
188
|
|
|
186
189
|
const transport = createTransport("pyrefly", async () => {
|
|
187
190
|
await resyncCallback?.();
|
|
@@ -218,6 +221,7 @@ const pyreflyClient = once(
|
|
|
218
221
|
);
|
|
219
222
|
|
|
220
223
|
const pyrightClient = once((_: LSPConfig) => {
|
|
224
|
+
// oxlint-disable-next-line prefer-const -- reassigned after closure capture
|
|
221
225
|
let resyncCallback: (() => Promise<void>) | undefined;
|
|
222
226
|
|
|
223
227
|
const transport = createTransport("basedpyright", async () => {
|