gulpfile.plugins -> gulpfile.extensions
parent
ffb400f89a
commit
1a97264011
|
@ -26,7 +26,7 @@ var extensionsPath = path.join(path.dirname(__dirname), 'extensions');
|
|||
|
||||
function getTSConfig(plugin) {
|
||||
var script = (plugin.desc && plugin.desc.scripts && plugin.desc.scripts['vscode:prepublish']) || '';
|
||||
var match = /^node \.\.\/\.\.\/node\_modules\/gulp\/bin\/gulp\.js \-\-gulpfile \.\.\/\.\.\/build\/gulpfile\.plugins\.js compile-plugin:([^ ]+) ?(.*tsconfig\.json)/.exec(script);
|
||||
var match = /^node \.\.\/\.\.\/node\_modules\/gulp\/bin\/gulp\.js \-\-gulpfile \.\.\/\.\.\/build\/gulpfile\.extensions\.js compile-plugin:([^ ]+) ?(.*tsconfig\.json)/.exec(script);
|
||||
|
||||
if (!match) {
|
||||
return;
|
|
@ -17,7 +17,7 @@
|
|||
"main": "./out/extension",
|
||||
|
||||
"scripts": {
|
||||
"vscode:prepublish": "node ../../node_modules/gulp/bin/gulp.js --gulpfile ../../build/gulpfile.plugins.js compile-plugin:javascript-migration ./src/tsconfig.json"
|
||||
"vscode:prepublish": "node ../../node_modules/gulp/bin/gulp.js --gulpfile ../../build/gulpfile.extensions.js compile-plugin:javascript-migration ./src/tsconfig.json"
|
||||
},
|
||||
"devDependencies": {
|
||||
"typescript": "^1.7.5",
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
],
|
||||
"main": "./out/jsonMain",
|
||||
"scripts": {
|
||||
"vscode:prepublish": "node ../../node_modules/gulp/bin/gulp.js --gulpfile ../../build/gulpfile.plugins.js compile-plugin:json ./src/tsconfig.json",
|
||||
"vscode:prepublish": "node ../../node_modules/gulp/bin/gulp.js --gulpfile ../../build/gulpfile.extensions.js compile-plugin:json ./src/tsconfig.json",
|
||||
"postinstall": "cd server && npm install && npm run compile && cd .."
|
||||
},
|
||||
"contributes": {
|
||||
|
|
|
@ -41,6 +41,6 @@
|
|||
}
|
||||
},
|
||||
"scripts": {
|
||||
"vscode:prepublish": "node ../../node_modules/gulp/bin/gulp.js --gulpfile ../../build/gulpfile.plugins.js compile-plugin:php ./src/tsconfig.json"
|
||||
"vscode:prepublish": "node ../../node_modules/gulp/bin/gulp.js --gulpfile ../../build/gulpfile.extensions.js compile-plugin:php ./src/tsconfig.json"
|
||||
}
|
||||
}
|
|
@ -14,7 +14,7 @@
|
|||
"vscode-extension-telemetry": "^0.0.4"
|
||||
},
|
||||
"scripts": {
|
||||
"vscode:prepublish": "node ../../node_modules/gulp/bin/gulp.js --gulpfile ../../build/gulpfile.plugins.js compile-plugin:typescript ./src/tsconfig.json"
|
||||
"vscode:prepublish": "node ../../node_modules/gulp/bin/gulp.js --gulpfile ../../build/gulpfile.extensions.js compile-plugin:typescript ./src/tsconfig.json"
|
||||
},
|
||||
"activationEvents": [
|
||||
"onLanguage:javascript",
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
},
|
||||
"scripts": {
|
||||
"compile": "node ./node_modules/vscode/bin/compile -watch -p ./",
|
||||
"vscode:prepublish": "node ../../node_modules/gulp/bin/gulp.js --gulpfile ../../build/gulpfile.plugins.js compile-plugin:vscode-api-tests ./tsconfig.json",
|
||||
"vscode:prepublish": "node ../../node_modules/gulp/bin/gulp.js --gulpfile ../../build/gulpfile.extensions.js compile-plugin:vscode-api-tests ./tsconfig.json",
|
||||
"postinstall": "node ./node_modules/vscode/bin/install"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
|
@ -190,4 +190,4 @@ gulp.task('mixin', function () {
|
|||
require('./build/gulpfile.hygiene');
|
||||
require('./build/gulpfile.vscode');
|
||||
require('./build/gulpfile.editor');
|
||||
require('./build/gulpfile.plugins');
|
||||
require('./build/gulpfile.extensions');
|
||||
|
|
Loading…
Reference in New Issue