Use globalObject: 'self' (Microsoft/monaco-editor#759)

pull/2748/head
Alex Dima 7 years ago
parent bcd0803238
commit 922865708b

@ -1953,9 +1953,9 @@
"dev": true "dev": true
}, },
"css-loader": { "css-loader": {
"version": "0.28.10", "version": "0.28.11",
"resolved": "https://registry.npmjs.org/css-loader/-/css-loader-0.28.10.tgz", "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-0.28.11.tgz",
"integrity": "sha512-X1IJteKnW9Llmrd+lJ0f7QZHh9Arf+11S7iRcoT2+riig3BK0QaCaOtubAulMK6Itbo08W6d3l8sW21r+Jhp5Q==", "integrity": "sha512-wovHgjAx8ZIMGSL8pTys7edA1ClmzxHeY6n/d97gg5odgsxEgKjULPR0viqyC+FWMCL9sfqoC/QCUBo62tLvPg==",
"dev": true, "dev": true,
"requires": { "requires": {
"babel-code-frame": "6.26.0", "babel-code-frame": "6.26.0",
@ -2267,6 +2267,12 @@
"tapable": "1.0.0" "tapable": "1.0.0"
} }
}, },
"envinfo": {
"version": "4.4.2",
"resolved": "https://registry.npmjs.org/envinfo/-/envinfo-4.4.2.tgz",
"integrity": "sha512-5rfRs+m+6pwoKRCFqpsA5+qsLngFms1aWPrxfKbrObCzQaPc3M3yPloZx+BL9UE3dK58cxw36XVQbFRSCCfGSQ==",
"dev": true
},
"errno": { "errno": {
"version": "0.1.7", "version": "0.1.7",
"resolved": "https://registry.npmjs.org/errno/-/errno-0.1.7.tgz", "resolved": "https://registry.npmjs.org/errno/-/errno-0.1.7.tgz",
@ -4167,6 +4173,16 @@
"integrity": "sha1-xg7taebY/bazEEofy8ocGS3FtQE=", "integrity": "sha1-xg7taebY/bazEEofy8ocGS3FtQE=",
"dev": true "dev": true
}, },
"import-local": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/import-local/-/import-local-1.0.0.tgz",
"integrity": "sha512-vAaZHieK9qjGo58agRBg+bhHX3hoTZU/Oa3GESWLz7t1U62fk63aHuDJJEteXoDeTCcPmUT+z38gkHPZkkmpmQ==",
"dev": true,
"requires": {
"pkg-dir": "2.0.0",
"resolve-cwd": "2.0.0"
}
},
"imurmurhash": { "imurmurhash": {
"version": "0.1.4", "version": "0.1.4",
"resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
@ -5427,9 +5443,9 @@
} }
}, },
"monaco-editor": { "monaco-editor": {
"version": "0.11.0", "version": "0.12.0",
"resolved": "https://registry.npmjs.org/monaco-editor/-/monaco-editor-0.11.0.tgz", "resolved": "https://registry.npmjs.org/monaco-editor/-/monaco-editor-0.12.0.tgz",
"integrity": "sha512-014peQHFEXt2Xeiy0aXoBsURhbFKQcoYtCPZicJW73yQdpcx7UWfh9P33gQkvwM4uwflwqGeMlxpkroWoUmi1A==", "integrity": "sha512-mScjXSKwH5LCmx6JCABkVpMnRHhi86IJwEmEXkH5O61dDXadWBdWQdC8N+NLmKT17/ugZYITCajUAWNRyKKZ9g==",
"dev": true "dev": true
}, },
"move-concurrently": { "move-concurrently": {
@ -7743,9 +7759,9 @@
"dev": true "dev": true
}, },
"style-loader": { "style-loader": {
"version": "0.20.3", "version": "0.21.0",
"resolved": "https://registry.npmjs.org/style-loader/-/style-loader-0.20.3.tgz", "resolved": "https://registry.npmjs.org/style-loader/-/style-loader-0.21.0.tgz",
"integrity": "sha512-2I7AVP73MvK33U7B9TKlYZAqdROyMXDYSMvHLX43qy3GCOaJNiV6i0v/sv9idWIaQ42Yn2dNv79Q5mKXbKhAZg==", "integrity": "sha512-T+UNsAcl3Yg+BsPKs1vd22Fr8sVT+CJMtzqc6LEw9bbJZb43lm9GoeIfUcDEefBSWC0BhYbcdupV1GtI4DGzxg==",
"dev": true, "dev": true,
"requires": { "requires": {
"loader-utils": "1.1.0", "loader-utils": "1.1.0",
@ -7957,9 +7973,9 @@
} }
}, },
"uglifyjs-webpack-plugin": { "uglifyjs-webpack-plugin": {
"version": "1.2.3", "version": "1.2.5",
"resolved": "https://registry.npmjs.org/uglifyjs-webpack-plugin/-/uglifyjs-webpack-plugin-1.2.3.tgz", "resolved": "https://registry.npmjs.org/uglifyjs-webpack-plugin/-/uglifyjs-webpack-plugin-1.2.5.tgz",
"integrity": "sha512-as/50351uuJGiQbhVvE510SCqM/YOWghCzIFJeEOu5oVE0QOZ3/vu2QcnVvu0Lz+vNd0rKsiCFAlbcw0i/YH2w==", "integrity": "sha512-hIQJ1yxAPhEA2yW/i7Fr+SXZVMp+VEI3d42RTHBgQd2yhp/1UdBcR3QEWPV5ahBxlqQDMEMTuTEvDHSFINfwSw==",
"dev": true, "dev": true,
"requires": { "requires": {
"cacache": "10.0.4", "cacache": "10.0.4",
@ -8259,9 +8275,9 @@
} }
}, },
"webpack": { "webpack": {
"version": "4.1.1", "version": "4.6.0",
"resolved": "https://registry.npmjs.org/webpack/-/webpack-4.1.1.tgz", "resolved": "https://registry.npmjs.org/webpack/-/webpack-4.6.0.tgz",
"integrity": "sha512-PwxKH81yLjbPyBSZvPj/Ji9pT99XOGFA0t6zipoOKOMNRZ+09N39J5Uzcx3rYKnsHgKwDnfGkvzac4MF2Taknw==", "integrity": "sha512-Fu/k/3fZeGtIhuFkiYpIy1UDHhMiGKjG4FFPVuvG+5Os2lWA1ttWpmi9Qnn6AgfZqj9MvhZW/rmj/ip+nHr06g==",
"dev": true, "dev": true,
"requires": { "requires": {
"acorn": "5.5.3", "acorn": "5.5.3",
@ -8280,7 +8296,7 @@
"node-libs-browser": "2.1.0", "node-libs-browser": "2.1.0",
"schema-utils": "0.4.5", "schema-utils": "0.4.5",
"tapable": "1.0.0", "tapable": "1.0.0",
"uglifyjs-webpack-plugin": "1.2.3", "uglifyjs-webpack-plugin": "1.2.5",
"watchpack": "1.5.0", "watchpack": "1.5.0",
"webpack-sources": "1.1.0" "webpack-sources": "1.1.0"
} }
@ -8440,18 +8456,20 @@
} }
}, },
"webpack-cli": { "webpack-cli": {
"version": "2.0.12", "version": "2.0.14",
"resolved": "https://registry.npmjs.org/webpack-cli/-/webpack-cli-2.0.12.tgz", "resolved": "https://registry.npmjs.org/webpack-cli/-/webpack-cli-2.0.14.tgz",
"integrity": "sha512-kMi6NquWwUhmQok2IFrtAEIbaVvujzYvtDGb5WElkwylbLboDsCgizv8IjSi/Q6SQRJ8Crayl1JCBnIJ3rU4Rg==", "integrity": "sha512-gRoWaxSi2JWiYsn1QgOTb6ENwIeSvN1YExZ+kJ0STsTZK7bWPElW+BBBv1UnTbvcPC3v7E17mK8hlFX8DOYSGw==",
"dev": true, "dev": true,
"requires": { "requires": {
"chalk": "2.3.2", "chalk": "2.3.2",
"cross-spawn": "6.0.5", "cross-spawn": "6.0.5",
"diff": "3.5.0", "diff": "3.5.0",
"enhanced-resolve": "4.0.0", "enhanced-resolve": "4.0.0",
"envinfo": "4.4.2",
"glob-all": "3.1.0", "glob-all": "3.1.0",
"global-modules": "1.0.0", "global-modules": "1.0.0",
"got": "8.3.0", "got": "8.3.0",
"import-local": "1.0.0",
"inquirer": "5.1.0", "inquirer": "5.1.0",
"interpret": "1.1.0", "interpret": "1.1.0",
"jscodeshift": "0.5.0", "jscodeshift": "0.5.0",
@ -8463,13 +8481,40 @@
"p-each-series": "1.0.0", "p-each-series": "1.0.0",
"p-lazy": "1.0.0", "p-lazy": "1.0.0",
"prettier": "1.11.1", "prettier": "1.11.1",
"resolve-cwd": "2.0.0",
"supports-color": "5.3.0", "supports-color": "5.3.0",
"v8-compile-cache": "1.1.2", "v8-compile-cache": "1.1.2",
"webpack-addons": "1.1.5", "webpack-addons": "1.1.5",
"yargs": "11.0.0", "yargs": "11.1.0",
"yeoman-environment": "2.0.5", "yeoman-environment": "2.0.5",
"yeoman-generator": "2.0.3" "yeoman-generator": "2.0.3"
},
"dependencies": {
"y18n": {
"version": "3.2.1",
"resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz",
"integrity": "sha1-bRX7qITAhnnA136I53WegR4H+kE=",
"dev": true
},
"yargs": {
"version": "11.1.0",
"resolved": "https://registry.npmjs.org/yargs/-/yargs-11.1.0.tgz",
"integrity": "sha512-NwW69J42EsCSanF8kyn5upxvjp5ds+t3+udGBeTbFnERA+lF541DDpMawzo4z6W/QrzNM18D+BPMiOBibnFV5A==",
"dev": true,
"requires": {
"cliui": "4.0.0",
"decamelize": "1.2.0",
"find-up": "2.1.0",
"get-caller-file": "1.0.2",
"os-locale": "2.1.0",
"require-directory": "2.1.1",
"require-main-filename": "1.0.1",
"set-blocking": "2.0.0",
"string-width": "2.1.1",
"which-module": "2.0.0",
"y18n": "3.2.1",
"yargs-parser": "9.0.2"
}
}
} }
}, },
"webpack-sources": { "webpack-sources": {
@ -8602,34 +8647,6 @@
"integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=", "integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=",
"dev": true "dev": true
}, },
"yargs": {
"version": "11.0.0",
"resolved": "https://registry.npmjs.org/yargs/-/yargs-11.0.0.tgz",
"integrity": "sha512-Rjp+lMYQOWtgqojx1dEWorjCofi1YN7AoFvYV7b1gx/7dAAeuI4kN5SZiEvr0ZmsZTOpDRcCqrpI10L31tFkBw==",
"dev": true,
"requires": {
"cliui": "4.0.0",
"decamelize": "1.2.0",
"find-up": "2.1.0",
"get-caller-file": "1.0.2",
"os-locale": "2.1.0",
"require-directory": "2.1.1",
"require-main-filename": "1.0.1",
"set-blocking": "2.0.0",
"string-width": "2.1.1",
"which-module": "2.0.0",
"y18n": "3.2.1",
"yargs-parser": "9.0.2"
},
"dependencies": {
"y18n": {
"version": "3.2.1",
"resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz",
"integrity": "sha1-bRX7qITAhnnA136I53WegR4H+kE=",
"dev": true
}
}
},
"yargs-parser": { "yargs-parser": {
"version": "9.0.2", "version": "9.0.2",
"resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-9.0.2.tgz", "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-9.0.2.tgz",

@ -2,11 +2,11 @@
"name": "helloworld", "name": "helloworld",
"dependencies": {}, "dependencies": {},
"devDependencies": { "devDependencies": {
"css-loader": "^0.28.10", "css-loader": "^0.28.11",
"monaco-editor": "^0.11.0", "monaco-editor": "^0.12.0",
"style-loader": "^0.20.3", "style-loader": "^0.21.0",
"uglifyjs-webpack-plugin": "^1.2.3", "uglifyjs-webpack-plugin": "^1.2.5",
"webpack": "^4.1.1", "webpack": "^4.6.0",
"webpack-cli": "^2.0.12" "webpack-cli": "^2.0.14"
} }
} }

@ -13,6 +13,7 @@ module.exports = {
// "ts.worker": 'monaco-editor/esm/vs/language/typescript/ts.worker', // "ts.worker": 'monaco-editor/esm/vs/language/typescript/ts.worker',
}, },
output: { output: {
globalObject: 'self',
filename: '[name].bundle.js', filename: '[name].bundle.js',
path: path.resolve(__dirname, 'dist') path: path.resolve(__dirname, 'dist')
}, },

@ -1953,9 +1953,9 @@
"dev": true "dev": true
}, },
"css-loader": { "css-loader": {
"version": "0.28.10", "version": "0.28.11",
"resolved": "https://registry.npmjs.org/css-loader/-/css-loader-0.28.10.tgz", "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-0.28.11.tgz",
"integrity": "sha512-X1IJteKnW9Llmrd+lJ0f7QZHh9Arf+11S7iRcoT2+riig3BK0QaCaOtubAulMK6Itbo08W6d3l8sW21r+Jhp5Q==", "integrity": "sha512-wovHgjAx8ZIMGSL8pTys7edA1ClmzxHeY6n/d97gg5odgsxEgKjULPR0viqyC+FWMCL9sfqoC/QCUBo62tLvPg==",
"dev": true, "dev": true,
"requires": { "requires": {
"babel-code-frame": "6.26.0", "babel-code-frame": "6.26.0",
@ -2267,6 +2267,12 @@
"tapable": "1.0.0" "tapable": "1.0.0"
} }
}, },
"envinfo": {
"version": "4.4.2",
"resolved": "https://registry.npmjs.org/envinfo/-/envinfo-4.4.2.tgz",
"integrity": "sha512-5rfRs+m+6pwoKRCFqpsA5+qsLngFms1aWPrxfKbrObCzQaPc3M3yPloZx+BL9UE3dK58cxw36XVQbFRSCCfGSQ==",
"dev": true
},
"errno": { "errno": {
"version": "0.1.7", "version": "0.1.7",
"resolved": "https://registry.npmjs.org/errno/-/errno-0.1.7.tgz", "resolved": "https://registry.npmjs.org/errno/-/errno-0.1.7.tgz",
@ -4167,6 +4173,16 @@
"integrity": "sha1-xg7taebY/bazEEofy8ocGS3FtQE=", "integrity": "sha1-xg7taebY/bazEEofy8ocGS3FtQE=",
"dev": true "dev": true
}, },
"import-local": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/import-local/-/import-local-1.0.0.tgz",
"integrity": "sha512-vAaZHieK9qjGo58agRBg+bhHX3hoTZU/Oa3GESWLz7t1U62fk63aHuDJJEteXoDeTCcPmUT+z38gkHPZkkmpmQ==",
"dev": true,
"requires": {
"pkg-dir": "2.0.0",
"resolve-cwd": "2.0.0"
}
},
"imurmurhash": { "imurmurhash": {
"version": "0.1.4", "version": "0.1.4",
"resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
@ -5427,9 +5443,9 @@
} }
}, },
"monaco-editor": { "monaco-editor": {
"version": "0.11.0", "version": "0.12.0",
"resolved": "https://registry.npmjs.org/monaco-editor/-/monaco-editor-0.11.0.tgz", "resolved": "https://registry.npmjs.org/monaco-editor/-/monaco-editor-0.12.0.tgz",
"integrity": "sha512-014peQHFEXt2Xeiy0aXoBsURhbFKQcoYtCPZicJW73yQdpcx7UWfh9P33gQkvwM4uwflwqGeMlxpkroWoUmi1A==", "integrity": "sha512-mScjXSKwH5LCmx6JCABkVpMnRHhi86IJwEmEXkH5O61dDXadWBdWQdC8N+NLmKT17/ugZYITCajUAWNRyKKZ9g==",
"dev": true "dev": true
}, },
"move-concurrently": { "move-concurrently": {
@ -7743,9 +7759,9 @@
"dev": true "dev": true
}, },
"style-loader": { "style-loader": {
"version": "0.20.3", "version": "0.21.0",
"resolved": "https://registry.npmjs.org/style-loader/-/style-loader-0.20.3.tgz", "resolved": "https://registry.npmjs.org/style-loader/-/style-loader-0.21.0.tgz",
"integrity": "sha512-2I7AVP73MvK33U7B9TKlYZAqdROyMXDYSMvHLX43qy3GCOaJNiV6i0v/sv9idWIaQ42Yn2dNv79Q5mKXbKhAZg==", "integrity": "sha512-T+UNsAcl3Yg+BsPKs1vd22Fr8sVT+CJMtzqc6LEw9bbJZb43lm9GoeIfUcDEefBSWC0BhYbcdupV1GtI4DGzxg==",
"dev": true, "dev": true,
"requires": { "requires": {
"loader-utils": "1.1.0", "loader-utils": "1.1.0",
@ -7956,30 +7972,6 @@
} }
} }
}, },
"uglifyjs-webpack-plugin": {
"version": "1.2.3",
"resolved": "https://registry.npmjs.org/uglifyjs-webpack-plugin/-/uglifyjs-webpack-plugin-1.2.3.tgz",
"integrity": "sha512-as/50351uuJGiQbhVvE510SCqM/YOWghCzIFJeEOu5oVE0QOZ3/vu2QcnVvu0Lz+vNd0rKsiCFAlbcw0i/YH2w==",
"dev": true,
"requires": {
"cacache": "10.0.4",
"find-cache-dir": "1.0.0",
"schema-utils": "0.4.5",
"serialize-javascript": "1.4.0",
"source-map": "0.6.1",
"uglify-es": "3.3.9",
"webpack-sources": "1.1.0",
"worker-farm": "1.6.0"
},
"dependencies": {
"source-map": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
"integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
"dev": true
}
}
},
"underscore": { "underscore": {
"version": "1.6.0", "version": "1.6.0",
"resolved": "https://registry.npmjs.org/underscore/-/underscore-1.6.0.tgz", "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.6.0.tgz",
@ -8259,9 +8251,9 @@
} }
}, },
"webpack": { "webpack": {
"version": "4.1.1", "version": "4.6.0",
"resolved": "https://registry.npmjs.org/webpack/-/webpack-4.1.1.tgz", "resolved": "https://registry.npmjs.org/webpack/-/webpack-4.6.0.tgz",
"integrity": "sha512-PwxKH81yLjbPyBSZvPj/Ji9pT99XOGFA0t6zipoOKOMNRZ+09N39J5Uzcx3rYKnsHgKwDnfGkvzac4MF2Taknw==", "integrity": "sha512-Fu/k/3fZeGtIhuFkiYpIy1UDHhMiGKjG4FFPVuvG+5Os2lWA1ttWpmi9Qnn6AgfZqj9MvhZW/rmj/ip+nHr06g==",
"dev": true, "dev": true,
"requires": { "requires": {
"acorn": "5.5.3", "acorn": "5.5.3",
@ -8280,9 +8272,33 @@
"node-libs-browser": "2.1.0", "node-libs-browser": "2.1.0",
"schema-utils": "0.4.5", "schema-utils": "0.4.5",
"tapable": "1.0.0", "tapable": "1.0.0",
"uglifyjs-webpack-plugin": "1.2.3", "uglifyjs-webpack-plugin": "1.2.5",
"watchpack": "1.5.0", "watchpack": "1.5.0",
"webpack-sources": "1.1.0" "webpack-sources": "1.1.0"
},
"dependencies": {
"source-map": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
"integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
"dev": true
},
"uglifyjs-webpack-plugin": {
"version": "1.2.5",
"resolved": "https://registry.npmjs.org/uglifyjs-webpack-plugin/-/uglifyjs-webpack-plugin-1.2.5.tgz",
"integrity": "sha512-hIQJ1yxAPhEA2yW/i7Fr+SXZVMp+VEI3d42RTHBgQd2yhp/1UdBcR3QEWPV5ahBxlqQDMEMTuTEvDHSFINfwSw==",
"dev": true,
"requires": {
"cacache": "10.0.4",
"find-cache-dir": "1.0.0",
"schema-utils": "0.4.5",
"serialize-javascript": "1.4.0",
"source-map": "0.6.1",
"uglify-es": "3.3.9",
"webpack-sources": "1.1.0",
"worker-farm": "1.6.0"
}
}
} }
}, },
"webpack-addons": { "webpack-addons": {
@ -8440,18 +8456,20 @@
} }
}, },
"webpack-cli": { "webpack-cli": {
"version": "2.0.12", "version": "2.0.14",
"resolved": "https://registry.npmjs.org/webpack-cli/-/webpack-cli-2.0.12.tgz", "resolved": "https://registry.npmjs.org/webpack-cli/-/webpack-cli-2.0.14.tgz",
"integrity": "sha512-kMi6NquWwUhmQok2IFrtAEIbaVvujzYvtDGb5WElkwylbLboDsCgizv8IjSi/Q6SQRJ8Crayl1JCBnIJ3rU4Rg==", "integrity": "sha512-gRoWaxSi2JWiYsn1QgOTb6ENwIeSvN1YExZ+kJ0STsTZK7bWPElW+BBBv1UnTbvcPC3v7E17mK8hlFX8DOYSGw==",
"dev": true, "dev": true,
"requires": { "requires": {
"chalk": "2.3.2", "chalk": "2.3.2",
"cross-spawn": "6.0.5", "cross-spawn": "6.0.5",
"diff": "3.5.0", "diff": "3.5.0",
"enhanced-resolve": "4.0.0", "enhanced-resolve": "4.0.0",
"envinfo": "4.4.2",
"glob-all": "3.1.0", "glob-all": "3.1.0",
"global-modules": "1.0.0", "global-modules": "1.0.0",
"got": "8.3.0", "got": "8.3.0",
"import-local": "1.0.0",
"inquirer": "5.1.0", "inquirer": "5.1.0",
"interpret": "1.1.0", "interpret": "1.1.0",
"jscodeshift": "0.5.0", "jscodeshift": "0.5.0",
@ -8463,13 +8481,40 @@
"p-each-series": "1.0.0", "p-each-series": "1.0.0",
"p-lazy": "1.0.0", "p-lazy": "1.0.0",
"prettier": "1.11.1", "prettier": "1.11.1",
"resolve-cwd": "2.0.0",
"supports-color": "5.3.0", "supports-color": "5.3.0",
"v8-compile-cache": "1.1.2", "v8-compile-cache": "1.1.2",
"webpack-addons": "1.1.5", "webpack-addons": "1.1.5",
"yargs": "11.0.0", "yargs": "11.1.0",
"yeoman-environment": "2.0.5", "yeoman-environment": "2.0.5",
"yeoman-generator": "2.0.3" "yeoman-generator": "2.0.3"
},
"dependencies": {
"y18n": {
"version": "3.2.1",
"resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz",
"integrity": "sha1-bRX7qITAhnnA136I53WegR4H+kE=",
"dev": true
},
"yargs": {
"version": "11.1.0",
"resolved": "https://registry.npmjs.org/yargs/-/yargs-11.1.0.tgz",
"integrity": "sha512-NwW69J42EsCSanF8kyn5upxvjp5ds+t3+udGBeTbFnERA+lF541DDpMawzo4z6W/QrzNM18D+BPMiOBibnFV5A==",
"dev": true,
"requires": {
"cliui": "4.0.0",
"decamelize": "1.2.0",
"find-up": "2.1.0",
"get-caller-file": "1.0.2",
"os-locale": "2.1.0",
"require-directory": "2.1.1",
"require-main-filename": "1.0.1",
"set-blocking": "2.0.0",
"string-width": "2.1.1",
"which-module": "2.0.0",
"y18n": "3.2.1",
"yargs-parser": "9.0.2"
}
}
} }
}, },
"webpack-sources": { "webpack-sources": {
@ -8602,34 +8647,6 @@
"integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=", "integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=",
"dev": true "dev": true
}, },
"yargs": {
"version": "11.0.0",
"resolved": "https://registry.npmjs.org/yargs/-/yargs-11.0.0.tgz",
"integrity": "sha512-Rjp+lMYQOWtgqojx1dEWorjCofi1YN7AoFvYV7b1gx/7dAAeuI4kN5SZiEvr0ZmsZTOpDRcCqrpI10L31tFkBw==",
"dev": true,
"requires": {
"cliui": "4.0.0",
"decamelize": "1.2.0",
"find-up": "2.1.0",
"get-caller-file": "1.0.2",
"os-locale": "2.1.0",
"require-directory": "2.1.1",
"require-main-filename": "1.0.1",
"set-blocking": "2.0.0",
"string-width": "2.1.1",
"which-module": "2.0.0",
"y18n": "3.2.1",
"yargs-parser": "9.0.2"
},
"dependencies": {
"y18n": {
"version": "3.2.1",
"resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz",
"integrity": "sha1-bRX7qITAhnnA136I53WegR4H+kE=",
"dev": true
}
}
},
"yargs-parser": { "yargs-parser": {
"version": "9.0.2", "version": "9.0.2",
"resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-9.0.2.tgz", "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-9.0.2.tgz",

@ -2,10 +2,10 @@
"name": "helloworld", "name": "helloworld",
"dependencies": {}, "dependencies": {},
"devDependencies": { "devDependencies": {
"css-loader": "^0.28.10", "css-loader": "^0.28.11",
"monaco-editor": "^0.11.0", "monaco-editor": "^0.12.0",
"style-loader": "^0.20.3", "style-loader": "^0.21.0",
"webpack": "^4.1.1", "webpack": "^4.6.0",
"webpack-cli": "^2.0.12" "webpack-cli": "^2.0.14"
} }
} }

@ -12,6 +12,7 @@ module.exports = {
"ts.worker": 'monaco-editor/esm/vs/language/typescript/ts.worker', "ts.worker": 'monaco-editor/esm/vs/language/typescript/ts.worker',
}, },
output: { output: {
globalObject: 'self',
filename: '[name].bundle.js', filename: '[name].bundle.js',
path: path.resolve(__dirname, 'dist') path: path.resolve(__dirname, 'dist')
}, },

170
package-lock.json generated

@ -0,0 +1,170 @@
{
"name": "monaco-editor-samples",
"version": "0.0.1",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
"async": {
"version": "1.5.2",
"resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz",
"integrity": "sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo="
},
"colors": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/colors/-/colors-1.0.3.tgz",
"integrity": "sha1-BDP0TYCWgP3rYO0mDxsMJi6CpAs="
},
"corser": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/corser/-/corser-2.0.1.tgz",
"integrity": "sha1-jtolLsqrWEDc2XXOuQ2TcMgZ/4c="
},
"debug": {
"version": "2.6.9",
"resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
"integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
"requires": {
"ms": "2.0.0"
}
},
"ecstatic": {
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/ecstatic/-/ecstatic-3.2.0.tgz",
"integrity": "sha512-Goilx/2cfU9vvfQjgtNgc2VmJAD8CasQ6rZDqCd2u4Hsyd/qFET6nBf60jiHodevR3nl3IGzNKtrzPXWP88utQ==",
"requires": {
"he": "1.1.1",
"mime": "1.6.0",
"minimist": "1.2.0",
"url-join": "2.0.5"
}
},
"eventemitter3": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-1.2.0.tgz",
"integrity": "sha1-HIaZHYFq0eUEdQ5zh0Ik7PO+xQg="
},
"he": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/he/-/he-1.1.1.tgz",
"integrity": "sha1-k0EP0hsAlzUVH4howvJx80J+I/0="
},
"http-proxy": {
"version": "1.16.2",
"resolved": "https://registry.npmjs.org/http-proxy/-/http-proxy-1.16.2.tgz",
"integrity": "sha1-Bt/ykpUr9k2+hHH6nfcwZtTzd0I=",
"requires": {
"eventemitter3": "1.2.0",
"requires-port": "1.0.0"
}
},
"http-server": {
"version": "0.11.1",
"resolved": "https://registry.npmjs.org/http-server/-/http-server-0.11.1.tgz",
"integrity": "sha512-6JeGDGoujJLmhjiRGlt8yK8Z9Kl0vnl/dQoQZlc4oeqaUoAKQg94NILLfrY3oWzSyFaQCVNTcKE5PZ3cH8VP9w==",
"requires": {
"colors": "1.0.3",
"corser": "2.0.1",
"ecstatic": "3.2.0",
"http-proxy": "1.16.2",
"opener": "1.4.3",
"optimist": "0.6.1",
"portfinder": "1.0.13",
"union": "0.4.6"
}
},
"mime": {
"version": "1.6.0",
"resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz",
"integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg=="
},
"minimist": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz",
"integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ="
},
"mkdirp": {
"version": "0.5.1",
"resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
"integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=",
"requires": {
"minimist": "0.0.8"
},
"dependencies": {
"minimist": {
"version": "0.0.8",
"resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz",
"integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0="
}
}
},
"monaco-editor": {
"version": "0.12.0",
"resolved": "https://registry.npmjs.org/monaco-editor/-/monaco-editor-0.12.0.tgz",
"integrity": "sha512-mScjXSKwH5LCmx6JCABkVpMnRHhi86IJwEmEXkH5O61dDXadWBdWQdC8N+NLmKT17/ugZYITCajUAWNRyKKZ9g=="
},
"ms": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
"integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
},
"opener": {
"version": "1.4.3",
"resolved": "https://registry.npmjs.org/opener/-/opener-1.4.3.tgz",
"integrity": "sha1-XG2ixdflgx6P+jlklQ+NZnSskLg="
},
"optimist": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/optimist/-/optimist-0.6.1.tgz",
"integrity": "sha1-2j6nRob6IaGaERwybpDrFaAZZoY=",
"requires": {
"minimist": "0.0.10",
"wordwrap": "0.0.3"
},
"dependencies": {
"minimist": {
"version": "0.0.10",
"resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.10.tgz",
"integrity": "sha1-3j+YVD2/lggr5IrRoMfNqDYwHc8="
}
}
},
"portfinder": {
"version": "1.0.13",
"resolved": "https://registry.npmjs.org/portfinder/-/portfinder-1.0.13.tgz",
"integrity": "sha1-uzLs2HwnEErm7kS1o8y/Drsa7ek=",
"requires": {
"async": "1.5.2",
"debug": "2.6.9",
"mkdirp": "0.5.1"
}
},
"qs": {
"version": "2.3.3",
"resolved": "https://registry.npmjs.org/qs/-/qs-2.3.3.tgz",
"integrity": "sha1-6eha2+ddoLvkyOBHaghikPhjtAQ="
},
"requires-port": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz",
"integrity": "sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8="
},
"union": {
"version": "0.4.6",
"resolved": "https://registry.npmjs.org/union/-/union-0.4.6.tgz",
"integrity": "sha1-GY+9rrolTniLDvy2MLwR8kopWeA=",
"requires": {
"qs": "2.3.3"
}
},
"url-join": {
"version": "2.0.5",
"resolved": "https://registry.npmjs.org/url-join/-/url-join-2.0.5.tgz",
"integrity": "sha1-WvIvGMBSoACkjXuCxenC4v7tpyg="
},
"wordwrap": {
"version": "0.0.3",
"resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.3.tgz",
"integrity": "sha1-o9XabNXAvAAI03I0u68b7WMFkQc="
}
}
}
Loading…
Cancel
Save