adapt to new package ci standards, fix test modules getting installed on non test projects
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Timo Hocker 2020-07-19 20:10:17 +02:00
parent 0027bd9152
commit 93f4592d16
3 changed files with 3 additions and 3 deletions

View File

@ -41,7 +41,7 @@ export default class Copyright implements Snippet {
); );
await modify_json ((json) => { await modify_json ((json) => {
json.author = `${options.author} <${options.email}>`; json.author = { name: options.author, email: options.email };
json.license = options.has_license ? options.license : 'UNLICENSED'; json.license = options.has_license ? options.license : 'UNLICENSED';
return json; return json;
}); });

View File

@ -96,7 +96,7 @@ export default class Node implements Snippet {
run_command ( run_command (
`yarn add --dev @sapphirecode/eslint-config${use_ts `yarn add --dev @sapphirecode/eslint-config${use_ts
? '-ts typescript @ava/typescript' ? '-ts typescript @ava/typescript'
: ''} eslint nyc ava`, : ''} eslint${use_tests ? ' nyc ava' : ''}`,
folder folder
); );

View File

@ -1,6 +1,6 @@
{ {
"name": "@sapphirecode/snippeteer", "name": "@sapphirecode/snippeteer",
"version": "1.4.3", "version": "1.4.4",
"description": "macros for setting up projects or project parts", "description": "macros for setting up projects or project parts",
"main": "index.js", "main": "index.js",
"bin": { "bin": {