diff --git a/package.json b/package.json index 1666df2d..bebe318b 100644 --- a/package.json +++ b/package.json @@ -7,9 +7,9 @@ "type": "tsc --build src/tsconfig.json && tsc -p slug/shell/tsconfig.json && tsc -p slug/debugger/tsconfig.json && tsc -p slug/editor/tsconfig.json", "build": "node utils/esbuild.js", "release": "npm run check && node utils/publish-sdk.js && node utils/bundle-and-upload-slugs.js && node utils/package-and-upload.js", - "check": "npm run type && npm run build && npm run test && playwright test --forbid-only --workers 1" + "check": "npm run type && npm run build && playwright test --forbid-only --workers 1" }, - "version": "0.9.0", + "version": "0.10.0", "workspaces": [ "slug", "xterm.js" @@ -34,4 +34,4 @@ "electron": "^29.3.1", "sqlite3": "^5.1.7" } -} +} \ No newline at end of file diff --git a/slug/editor/js/highlighter.ts b/slug/editor/js/highlighter.ts index 81645e71..e7976072 100644 --- a/slug/editor/js/highlighter.ts +++ b/slug/editor/js/highlighter.ts @@ -84,7 +84,7 @@ export class Highlighter extends Emitter<{ ['variable', '#afd7ff'], ['property', '#afd7ff'], ['def', '#afd7ff'], - ['sh', colors.foreground], + ['sh', colors.foreground || '#f4f4f4'], ['sh-replacement', '#E5E500'], ['sh-template', '#00A6B2'], ['sh-string', '#999900'], diff --git a/slug/package.json b/slug/package.json index 1be74c09..a6e6a4b2 100644 --- a/slug/package.json +++ b/slug/package.json @@ -1,6 +1,6 @@ { "name": "snail-slug", - "version": "0.9.0", + "version": "0.10.0", "workspaces": [ "thumbnail_generator", "sdk" @@ -17,4 +17,4 @@ "sqlite3": "^5.1.7", "userid": "^1.2.5" } -} +} \ No newline at end of file diff --git a/slug/sdk/package.json b/slug/sdk/package.json index 7d777095..0e609600 100644 --- a/slug/sdk/package.json +++ b/slug/sdk/package.json @@ -1,6 +1,6 @@ { "name": "snail-sdk", - "version": "0.9.0", + "version": "0.10.0", "description": "SDK for snail", "main": "index.js", "author": "Joel Einbinder",