From fee3f55300af5ca7fac5e3adce98b4e44af8df1c Mon Sep 17 00:00:00 2001 From: Timo Hocker Date: Thu, 23 Apr 2020 17:44:14 +0200 Subject: [PATCH] fix --- jenkins.js | 5 +++++ lib/snippets/jenkins/Assets.ts | 5 ++++- package.json | 4 ++-- yarn.lock | 4 ++-- 4 files changed, 13 insertions(+), 5 deletions(-) diff --git a/jenkins.js b/jenkins.js index b733d92..59c1978 100644 --- a/jenkins.js +++ b/jenkins.js @@ -22,6 +22,11 @@ fs.writeFileSync ('package.json', JSON.stringify (pkg, null, 2)); child_process.execSync ('yarn lint', { stdio: 'inherit' }); if (typeof pkg.scripts !== 'undefined' && typeof pkg.scripts.test === 'string') child_process.execSync ('yarn test', { stdio: 'inherit' }); +if ( + typeof pkg.scripts !== 'undefined' + && typeof pkg.scripts.compile === 'string' +) + child_process.execSync ('yarn compile', { stdio: 'inherit' }); child_process.exec ('git log -1 | grep \'\\[no publish\\]\'') .addListener ('exit', (code) => { diff --git a/lib/snippets/jenkins/Assets.ts b/lib/snippets/jenkins/Assets.ts index 879dd8d..4ad9ca7 100644 --- a/lib/snippets/jenkins/Assets.ts +++ b/lib/snippets/jenkins/Assets.ts @@ -86,7 +86,10 @@ fs.writeFileSync ('package.json', JSON.stringify (pkg, null, 2)); child_process.execSync ('yarn lint', { stdio: 'inherit' }); if (typeof pkg.scripts !== 'undefined' && typeof pkg.scripts.test === 'string') child_process.execSync ('yarn test', { stdio: 'inherit' }); -if (typeof pkg.scripts !== 'undefined' && typeof pkg.scripts.compile === 'string') +if ( + typeof pkg.scripts !== 'undefined' + && typeof pkg.scripts.compile === 'string' +) child_process.execSync ('yarn compile', { stdio: 'inherit' }); child_process.exec ('git log -1 | grep \\'\\\\[no publish\\\\]\\'') diff --git a/package.json b/package.json index 4551342..30dc2b2 100644 --- a/package.json +++ b/package.json @@ -23,9 +23,9 @@ "author": "Timo Hocker", "license": "BSD-3-Clause", "devDependencies": { - "@scode/eslint-config-ts": "^1.0.21", + "@scode/eslint-config-ts": "^1.0.22", "@types/fs-extra": "^8.1.0", - "@types/node": "^13.13.0", + "@types/node": "^13.13.2", "eslint": "^6.8.0", "typescript": "^3.8.3" }, diff --git a/yarn.lock b/yarn.lock index e62cbf5..3fb62ee 100644 --- a/yarn.lock +++ b/yarn.lock @@ -36,7 +36,7 @@ "@scode/eslint-config" "^2.0.1" eslint-plugin-import "^2.20.1" -"@scode/eslint-config-ts@^1.0.21": +"@scode/eslint-config-ts@^1.0.22": version "1.0.22" resolved "https://npm.scode.ovh/@scode%2feslint-config-ts/-/eslint-config-ts-1.0.22.tgz#bedb57f187f2fca7ca661292b0ce15a26530bd95" integrity sha512-QwRen8tNC/b4XtdIADr5J4WNM58f5lryINcLBObTzZVQfjr8Qlz7AkwgxFN57u//iP3fCXzn4nPI89J2ift7Hw== @@ -76,7 +76,7 @@ resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.4.tgz#38fd73ddfd9b55abb1e1b2ed578cb55bd7b7d339" integrity sha512-8+KAKzEvSUdeo+kmqnKrqgeE+LcA0tjYWFY7RPProVYwnqDjukzO+3b6dLD56rYX5TdWejnEOLJYOIeh4CXKuA== -"@types/node@*", "@types/node@^13.13.0": +"@types/node@*", "@types/node@^13.13.2": version "13.13.2" resolved "https://registry.yarnpkg.com/@types/node/-/node-13.13.2.tgz#160d82623610db590a64e8ca81784e11117e5a54" integrity sha512-LB2R1Oyhpg8gu4SON/mfforE525+Hi/M1ineICEDftqNVTyFg1aRIeGuTvXAoWHc4nbrFncWtJgMmoyRvuGh7A==