fixes
This commit is contained in:
@ -24,7 +24,8 @@ export class Jenkins implements Snippet {
|
||||
if (is_node) {
|
||||
await apply_template (node_js, 'jenkins.js');
|
||||
await apply_template (node_jenkinsfile, 'Jenkinsfile');
|
||||
await modify_json ((obj) => {
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
await modify_json ((obj: any): any => {
|
||||
obj.scripts.ci = 'yarn && node jenkins.js';
|
||||
return obj;
|
||||
});
|
||||
|
@ -35,7 +35,7 @@ export class Node implements Snippet {
|
||||
folder
|
||||
);
|
||||
|
||||
await modify_json ((obj) => {
|
||||
await modify_json ((obj: Record<string, unknown>) => {
|
||||
obj.scripts = {
|
||||
lint: 'eslint . --ext .js,.jsx,.ts,.tsx,.vue,.mjs',
|
||||
test: 'nyc ava'
|
||||
|
Reference in New Issue
Block a user