monaco-editor-workers
Advanced tools
Comparing version 0.33.0 to 0.34.0-rc.0
{ | ||
"name": "monaco-editor-workers", | ||
"version": "0.33.0", | ||
"version": "0.34.0-rc.0", | ||
"license": "MIT", | ||
@@ -16,4 +16,34 @@ "description": "Monaco Editor Worker Support Package", | ||
".": { | ||
"import": "./dist/index.js", | ||
"types": "./dist/index.d.ts" | ||
"types": "./dist/index.d.ts", | ||
"default": "./dist/index.js" | ||
}, | ||
"./worker/module/editor": { | ||
"default": "./dist/worker/editorWorker-es.js" | ||
}, | ||
"./worker/module/ts": { | ||
"default": "./dist/worker/tsWorker-es.js" | ||
}, | ||
"./worker/module/html": { | ||
"default": "./dist/worker/htmlWorker-es.js" | ||
}, | ||
"./worker/module/css": { | ||
"default": "./dist/worker/cssWorker-es.js" | ||
}, | ||
"./worker/module/json": { | ||
"default": "./dist/worker/jsonWorker-es.js" | ||
}, | ||
"./worker/classic/editor": { | ||
"default": "./dist/worker/editorWorker-iife.js" | ||
}, | ||
"./worker/classic/ts": { | ||
"default": "./dist/worker/tsWorker-iife.js" | ||
}, | ||
"./worker/classic/html": { | ||
"default": "./dist/worker/htmlWorker-iife.js" | ||
}, | ||
"./worker/classic/css": { | ||
"default": "./dist/worker/cssWorker-iife.js" | ||
}, | ||
"./worker/classic/json": { | ||
"default": "./dist/worker/jsonWorker-iife.js" | ||
} | ||
@@ -29,10 +59,19 @@ }, | ||
"clean": "npx shx rm -rf ./dist && npx shx rm -fr tsconfig.tsbuildinfo", | ||
"lint": "eslint src", | ||
"lint": "eslint src --ext .ts", | ||
"compile": "tsc", | ||
"_build-workers": "vite -c ./workers/vite.editorWorker.ts build && vite -c ./workers/vite.tsWorker.ts build && vite -c ./workers/vite.htmlWorker.ts build && vite -c ./workers/vite.cssWorker.ts build && vite -c ./workers/vite.jsonWorker.ts build", | ||
"build": "npm run clean && npm run compile && npm run _build-workers" | ||
"build:workers:editor": "esbuild ../../node_modules/monaco-editor/esm/vs/editor/editor.worker.js --bundle --format=iife --outfile=./dist/workers/editorWorker-iife.js && esbuild ../../node_modules/monaco-editor/esm/vs/editor/editor.worker.js --bundle --format=esm --outfile=./dist/workers/editorWorker-esm.js", | ||
"build:workers:ts": "esbuild ../../node_modules/monaco-editor/esm/vs/language/typescript/ts.worker.js --bundle --format=iife --outfile=./dist/workers/tsWorker-iife.js && esbuild ../../node_modules/monaco-editor/esm/vs/language/typescript/ts.worker.js --bundle --format=esm --outfile=./dist/workers/tsWorker-esm.js", | ||
"build:workers:html": "esbuild ../../node_modules/monaco-editor/esm/vs/language/html/html.worker.js --bundle --format=iife --outfile=./dist/workers/htmlWorker-iife.js && esbuild ../../node_modules/monaco-editor/esm/vs/language/html/html.worker.js --bundle --format=esm --outfile=./dist/workers/htmlWorker-esm.js", | ||
"build:workers:css": "esbuild ../../node_modules/monaco-editor/esm/vs/language/css/css.worker.js --bundle --format=iife --outfile=./dist/workers/cssWorker-iife.js && esbuild ../../node_modules/monaco-editor/esm/vs/language/css/css.worker.js --bundle --format=esm --outfile=./dist/workers/cssWorker-esm.js", | ||
"build:workers:json": "esbuild ../../node_modules/monaco-editor/esm/vs/language/json/json.worker.js --bundle --format=iife --outfile=./dist/workers/jsonWorker-iife.js && esbuild ../../node_modules/monaco-editor/esm/vs/language/json/json.worker.js --bundle --format=esm --outfile=./dist/workers/jsonWorker-esm.js", | ||
"build:workers:esbuild": "npm run build:workers:editor && npm run build:workers:ts && npm run build:workers:html && npm run build:workers:css && npm run build:workers:json", | ||
"build:workers:vite": "vite -c ./workers/vite.editorWorker.ts build && vite -c ./workers/vite.tsWorker.ts build && vite -c ./workers/vite.htmlWorker.ts build && vite -c ./workers/vite.cssWorker.ts build && vite -c ./workers/vite.jsonWorker.ts build", | ||
"build": "npm run clean && npm run compile && npm run build:workers:vite" | ||
}, | ||
"dependencies": { | ||
"monaco-editor": "0.33.0" | ||
"monaco-editor": "0.34.0" | ||
}, | ||
"devDependencies": { | ||
"esbuild": "^0.14.54" | ||
}, | ||
"repository": { | ||
@@ -39,0 +78,0 @@ "type": "git", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15568266
1
79003
+ Addedmonaco-editor@0.34.0(transitive)
- Removedmonaco-editor@0.33.0(transitive)
Updatedmonaco-editor@0.34.0