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
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
0027bd9152
commit
93f4592d16
@ -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;
|
||||||
});
|
});
|
||||||
|
@ -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
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -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": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user