Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite2ae2cc

Browse files
committed
Transpile the JS, doh
1 parentc3f2585 commite2ae2cc

File tree

1 file changed

+8
-33
lines changed

1 file changed

+8
-33
lines changed

‎dist/index.js‎

Lines changed: 8 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ module.exports =
3636
/******/// Load entry module and return exports
3737
/******/return__webpack_require__(198);
3838
/******/};
39-
/******/// initialize runtime
40-
/******/runtime(__webpack_require__);
4139
/******/
4240
/******/// run startup
4341
/******/returnstartup();
@@ -424,10 +422,9 @@ module.exports = {
424422
/***/}),
425423

426424
/***/39:
427-
/***/(function(module,exports,__webpack_require__){
425+
/***/(function(__unusedmodule,exports,__webpack_require__){
428426

429427
"use strict";
430-
/* module decorator */module=__webpack_require__.nmd(module);
431428

432429
// This file does the real work, you can test it locally via
433430
//
@@ -450,10 +447,11 @@ const fs_1 = __webpack_require__(747);
450447
constvscode_1=__webpack_require__(166);
451448
constnpm_1=__webpack_require__(509);
452449
exports.runDeployer=(settings)=>__awaiter(void0,void0,void0,function*(){
450+
console.log(`Looking at changes in${settings.cwd} since${settings.since}`);
453451
constfiles=child_process_1.execSync(`git log --pretty=format: --name-only --since="${settings.since}"`,{encoding:'utf8',cwd:settings.cwd});
454452
constchangedPackages=getChangedPackages(files);
455453
constpackageMetadata=getPackageMetadata(changedPackages,settings);
456-
console.log("Found the following packages with changes: ",packageMetadata);
454+
console.log("Found the following packages with changes: ",[...packageMetadata].map(m=>m.name));
457455
constdeployablePackages=filterPackages(packageMetadata);
458456
yieldbumpVersions(deployablePackages);
459457
yielddeploy(deployablePackages);
@@ -465,11 +463,12 @@ function deploy(packageMetadata) {
465463
if(packageMD.type==='vscode'){
466464
child_process_1.execSync(`npx vsce publish --yarn -p${process.env.VSCE_TOKEN}`,{
467465
encoding:'utf8',
468-
cwd:packageMD.path
466+
cwd:packageMD.path,
467+
stdio:'inherit'
469468
});
470469
}
471470
elseif(packageMD.type==='npm'){
472-
child_process_1.execSync(`npm publish`,{encoding:'utf8',cwd:packageMD.path});
471+
child_process_1.execSync(`npm publish`,{encoding:'utf8',cwd:packageMD.path,stdio:'inherit'});
473472
}
474473
}
475474
});
@@ -536,9 +535,7 @@ function getChangedPackages(files) {
536535
});
537536
returnchangedPackages;
538537
}
539-
if(!module.parent){
540-
exports.runDeployer({since:'30 day ago',cwd:'../language-tools'});
541-
}
538+
if(false){}
542539

543540

544541
/***/}),
@@ -4052,26 +4049,4 @@ module.exports = function buildFullPath(baseURL, requestedURL) {
40524049

40534050
/***/})
40544051

4055-
/******/},
4056-
/******/function(__webpack_require__){// webpackRuntimeModules
4057-
/******/"use strict";
4058-
/******/
4059-
/******//* webpack/runtime/node module decorator */
4060-
/******/!function(){
4061-
/******/__webpack_require__.nmd=function(module){
4062-
/******/module.paths=[];
4063-
/******/if(!module.children)module.children=[];
4064-
/******/Object.defineProperty(module,'loaded',{
4065-
/******/enumerable:true,
4066-
/******/get:function(){returnmodule.l;}
4067-
/******/});
4068-
/******/Object.defineProperty(module,'id',{
4069-
/******/enumerable:true,
4070-
/******/get:function(){returnmodule.i;}
4071-
/******/});
4072-
/******/returnmodule;
4073-
/******/};
4074-
/******/}();
4075-
/******/
4076-
/******/}
4077-
);
4052+
/******/});

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp