@codingame/monaco-vscode-api
Advanced tools
Comparing version 1.69.17 to 1.69.18
@@ -41,3 +41,13 @@ import { o as parse, q as getNodeType } from './polyfill.js'; | ||
} else { | ||
console.error('setSnippetSuggestSupport does not exist in monaco-editor'); | ||
console.error( | ||
`setSnippetSuggestSupport does not exist in monaco-editor. | ||
It's treeshaked out of monaco editor and needs to be reintroduced. | ||
If you're using webpack, you can add a loader that will polyfill it: | ||
\`\`\` | ||
{ | ||
test: /node_modules\\/monaco-editor\\//, | ||
loader: 'vscode/webpack-loader' | ||
} | ||
\`\`\` | ||
`); | ||
} | ||
@@ -44,0 +54,0 @@ } |
{ | ||
"name": "@codingame/monaco-vscode-api", | ||
"version": "1.69.17", | ||
"version": "1.69.18", | ||
"private": false, | ||
@@ -78,2 +78,6 @@ "description": "VSCode public API plugged on the monaco editor", | ||
"default": "./dist/monaco.js" | ||
}, | ||
"./webpack-loader": { | ||
"types": "./dist/webpack-loader.d.ts", | ||
"default": "./dist/webpack-loader.cjs" | ||
} | ||
@@ -124,2 +128,5 @@ }, | ||
"./dist/monaco.d.ts" | ||
], | ||
"webpack-loader": [ | ||
"./dist/webpack-loader.d.ts" | ||
] | ||
@@ -133,4 +140,5 @@ } | ||
"scripts": { | ||
"build": "rm -rf dist/ && npm run lint && npm run compile && npm run generate-types", | ||
"build": "rm -rf dist/ && npm run lint && npm run compile && npm run generate-types && npm run compile-webpack-loader", | ||
"compile": "rollup --config rollup/rollup.config.ts --configPlugin 'typescript={tsconfig: `tsconfig.rollup.json`}' --vscode-version ${npm_package_config_vscode_version}", | ||
"compile-webpack-loader": "tsc --target es2020 -lib es2020 --module commonjs --skipLibCheck --moduleResolution node --declaration --outDir dist src/webpack-loader.ts && mv dist/webpack-loader.js dist/webpack-loader.cjs", | ||
"preprepare": "./scripts/install-vscode", | ||
@@ -178,2 +186,3 @@ "lint": "eslint --ext ts src", | ||
"typescript": "^4.9.5", | ||
"webpack": "^5.75.0", | ||
"zx": "^7.1.1" | ||
@@ -180,0 +189,0 @@ }, |
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
2954301
54
74864
33