@stacksjs/actions 0.58.64 → 0.58.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/index.js +0 -3
- package/dist/src/release.js +2 -5
- package/dist/src/upgrade.js +1 -1
- package/package.json +1 -1
- package/src/action.ts +1 -2
package/dist/src/index.js
CHANGED
|
@@ -515,8 +515,6 @@ export default <Model> {
|
|
|
515
515
|
}
|
|
516
516
|
|
|
517
517
|
// src/action.ts
|
|
518
|
-
import {log as log7} from "@stacksjs/logging";
|
|
519
|
-
|
|
520
518
|
class Action3 {
|
|
521
519
|
name;
|
|
522
520
|
description;
|
|
@@ -526,7 +524,6 @@ class Action3 {
|
|
|
526
524
|
enabled;
|
|
527
525
|
handle;
|
|
528
526
|
constructor({ name, description, handle, rate, tries, backoff, enabled }) {
|
|
529
|
-
log7.info(`Action ${name} created`);
|
|
530
527
|
this.name = name;
|
|
531
528
|
this.description = description;
|
|
532
529
|
this.rate = rate;
|
package/dist/src/release.js
CHANGED
|
@@ -517,8 +517,6 @@ export default <Model> {
|
|
|
517
517
|
}
|
|
518
518
|
|
|
519
519
|
// src/action.ts
|
|
520
|
-
import {log as log7} from "@stacksjs/logging";
|
|
521
|
-
|
|
522
520
|
class Action3 {
|
|
523
521
|
name;
|
|
524
522
|
description;
|
|
@@ -528,7 +526,6 @@ class Action3 {
|
|
|
528
526
|
enabled;
|
|
529
527
|
handle;
|
|
530
528
|
constructor({ name, description, handle, rate, tries, backoff, enabled }) {
|
|
531
|
-
log7.info(`Action ${name} created`);
|
|
532
529
|
this.name = name;
|
|
533
530
|
this.description = description;
|
|
534
531
|
this.rate = rate;
|
|
@@ -541,7 +538,7 @@ class Action3 {
|
|
|
541
538
|
// src/release.ts
|
|
542
539
|
import {projectPath as projectPath4} from "@stacksjs/path";
|
|
543
540
|
import {Action as Action4} from "@stacksjs/enums";
|
|
544
|
-
import {log as
|
|
541
|
+
import {log as log7} from "@stacksjs/logging";
|
|
545
542
|
import {app} from "@stacksjs/config";
|
|
546
543
|
await runActions([
|
|
547
544
|
Action4.GenerateLibraryEntries,
|
|
@@ -551,4 +548,4 @@ await runActions([
|
|
|
551
548
|
cwd: projectPath4(),
|
|
552
549
|
stdin: "inherit"
|
|
553
550
|
});
|
|
554
|
-
|
|
551
|
+
log7.success(`Successfully released ${app.name}`);
|
package/dist/src/upgrade.js
CHANGED
|
@@ -7,7 +7,7 @@ import {projectPath} from "@stacksjs/path";
|
|
|
7
7
|
import * as storage from "@stacksjs/storage";
|
|
8
8
|
import {NpmScript} from "@stacksjs/enums";
|
|
9
9
|
// package.json
|
|
10
|
-
var version = "0.58.
|
|
10
|
+
var version = "0.58.65";
|
|
11
11
|
|
|
12
12
|
// src/upgrade.ts
|
|
13
13
|
function checkForUncommittedChanges(options) {
|
package/package.json
CHANGED
package/src/action.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { JobOptions } from '@stacksjs/types'
|
|
2
|
-
import { log } from '@stacksjs/logging'
|
|
3
2
|
|
|
4
3
|
interface ActionOptions {
|
|
5
4
|
name?: string
|
|
@@ -21,7 +20,7 @@ export class Action {
|
|
|
21
20
|
handle: () => Promise<any>
|
|
22
21
|
|
|
23
22
|
constructor({ name, description, handle, rate, tries, backoff, enabled }: ActionOptions) {
|
|
24
|
-
log.
|
|
23
|
+
// log.debug(`Action ${name} created`) // TODO
|
|
25
24
|
|
|
26
25
|
this.name = name
|
|
27
26
|
this.description = description
|