File tree Expand file tree Collapse file tree
packages/scaffold/src/core Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,4 +10,6 @@ export default class Lint extends Base {
1010 run ( ) {
1111 // webext.cmd.lint({});
1212 }
13+
14+ exit ( ) { }
1315}
Original file line number Diff line number Diff line change 11import type { Context } from "../../types/index.js" ;
22import { isCI } from "std-env" ;
33import { globSync } from "tinyglobby" ;
4- import { Base } from "../base.js" ;
54
6- export abstract class ReleaseBase extends Base {
5+ export abstract class ReleaseBase {
76 isCI : boolean ;
7+ ctx : Context ;
88 constructor ( ctx : Context ) {
9- super ( ctx ) ;
9+ this . ctx = ctx ;
1010 this . isCI = isCI ;
1111 }
1212
@@ -20,5 +20,7 @@ export abstract class ReleaseBase extends Base {
2020 }
2121 }
2222
23- abstract get remote ( ) : { owner : string ; repo : string } ;
23+ get logger ( ) {
24+ return this . ctx . logger ;
25+ }
2426}
Original file line number Diff line number Diff line change 11import type { VersionBumpOptions , VersionBumpProgress } from "bumpp" ;
22import type { Context } from "../../types/index.js" ;
33import { ProgressEvent , versionBump } from "bumpp" ;
4- import { Base } from ". ./base.js" ;
4+ import { ReleaseBase } from "./base.js" ;
55
6- export default class Bump extends Base {
6+ export default class Bump extends ReleaseBase {
77 constructor ( ctx : Context ) {
88 super ( ctx ) ;
99 }
You can’t perform that action at this time.
0 commit comments