@stacksjs/actions 0.72.62 → 0.72.64
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/release.js +1 -1
- package/dist/saas/setup.js +1 -1
- package/package.json +21 -21
package/dist/release.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{parseOptions}from"@stacksjs/cli";import{app}from"@stacksjs/config";import{Action}from"@stacksjs/enums";import{log}from"@stacksjs/logging";import{projectPath}from"@stacksjs/path";import{runActions}from".";import{BYPASS_ENV,formatPreflightFailure,runPinnedChecks}from"./release-preflight";const raw=parseOptions()??{},passthrough={};for(const[k,v]of Object.entries(raw)){if(k==="--"||k==="_")continue;passthrough[k]=v}const isDryRun=passthrough.dryRun===!0||passthrough.dryRun==="true",actions=
|
|
1
|
+
import{parseOptions}from"@stacksjs/cli";import{app}from"@stacksjs/config";import{Action}from"@stacksjs/enums";import{log}from"@stacksjs/logging";import{projectPath}from"@stacksjs/path";import{runActions}from".";import{BYPASS_ENV,formatPreflightFailure,runPinnedChecks}from"./release-preflight";const raw=parseOptions()??{},passthrough={};for(const[k,v]of Object.entries(raw)){if(k==="--"||k==="_")continue;passthrough[k]=v}const isDryRun=passthrough.dryRun===!0||passthrough.dryRun==="true",actions=[Action.GenerateLibraryEntries,Action.Bump],preflight=await runPinnedChecks({cwd:projectPath()});if(preflight.bypassed)log.warn(`${BYPASS_ENV} is set, so the pinned checks were skipped for this release.`);else if(preflight.failures.length>0)await log.exit(formatPreflightFailure(preflight.failures),1);const result=await runActions(actions,{cwd:projectPath(),...passthrough});if(result&&result.isErr)await log.exit(`Release failed: ${result.error?.message??String(result.error)}`,1);log.success(isDryRun?`Dry run complete for ${app.name}. Nothing was committed, tagged or pushed.`:`Successfully released ${app.name}`);
|
package/dist/saas/setup.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import process from"node:process";import{log}from"@stacksjs/logging";import{createStripeProduct}from"@stacksjs/payments";const result=await createStripeProduct();if(result?.isErr){console.error(result.error);log.error("
|
|
1
|
+
import process from"node:process";import{log}from"@stacksjs/logging";import{createStripeProduct,formatSetupReport}from"@stacksjs/payments";const argv=process.argv.slice(2),dryRun=argv.includes("--dry-run")||argv.includes("--dryRun"),result=await createStripeProduct({dryRun});if(result?.isErr){console.error(result.error);log.error("stripe:setup failed",result.error);process.exit(1)}const report=result.value;log.info(dryRun?"Dry run. Nothing was written to Stripe. This is what would be applied:":"Applied:");for(const line of formatSetupReport(report))log.info(line);
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@stacksjs/actions",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"sideEffects": false,
|
|
5
|
-
"version": "0.72.
|
|
5
|
+
"version": "0.72.64",
|
|
6
6
|
"description": "The Stacks actions.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"contributors": [
|
|
@@ -60,35 +60,35 @@
|
|
|
60
60
|
"prepublishOnly": "bun run build"
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
|
-
"@stacksjs/config": "0.72.
|
|
63
|
+
"@stacksjs/config": "0.72.64",
|
|
64
64
|
"@stacksjs/bumpx": "^0.2.6",
|
|
65
65
|
"@stacksjs/bunpress": "^0.2.8",
|
|
66
66
|
"@stacksjs/logsmith": "^0.2.3",
|
|
67
|
-
"@stacksjs/registry": "0.72.
|
|
68
|
-
"@stacksjs/stx": "^0.2.
|
|
67
|
+
"@stacksjs/registry": "0.72.64",
|
|
68
|
+
"@stacksjs/stx": "^0.2.230",
|
|
69
69
|
"@stacksjs/ts-cloud": "^0.11.4",
|
|
70
70
|
"@stacksjs/ts-md": "^0.1.1"
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
73
|
-
"@stacksjs/api": "0.72.
|
|
74
|
-
"@stacksjs/cli": "0.72.
|
|
75
|
-
"@stacksjs/database": "0.72.
|
|
73
|
+
"@stacksjs/api": "0.72.64",
|
|
74
|
+
"@stacksjs/cli": "0.72.64",
|
|
75
|
+
"@stacksjs/database": "0.72.64",
|
|
76
76
|
"@stacksjs/tlsx": "^0.13.2",
|
|
77
77
|
"better-dx": "^0.2.24",
|
|
78
|
-
"@stacksjs/dns": "0.72.
|
|
79
|
-
"@stacksjs/enums": "0.72.
|
|
80
|
-
"@stacksjs/env": "0.72.
|
|
81
|
-
"@stacksjs/error-handling": "0.72.
|
|
82
|
-
"@stacksjs/image": "0.72.
|
|
83
|
-
"@stacksjs/logging": "0.72.
|
|
84
|
-
"@stacksjs/path": "0.72.
|
|
85
|
-
"@stacksjs/security": "0.72.
|
|
86
|
-
"@stacksjs/cms": "0.72.
|
|
87
|
-
"@stacksjs/sites": "0.72.
|
|
88
|
-
"@stacksjs/storage": "0.72.
|
|
89
|
-
"@stacksjs/strings": "0.72.
|
|
90
|
-
"@stacksjs/utils": "0.72.
|
|
91
|
-
"@stacksjs/validation": "0.72.
|
|
78
|
+
"@stacksjs/dns": "0.72.64",
|
|
79
|
+
"@stacksjs/enums": "0.72.64",
|
|
80
|
+
"@stacksjs/env": "0.72.64",
|
|
81
|
+
"@stacksjs/error-handling": "0.72.64",
|
|
82
|
+
"@stacksjs/image": "0.72.64",
|
|
83
|
+
"@stacksjs/logging": "0.72.64",
|
|
84
|
+
"@stacksjs/path": "0.72.64",
|
|
85
|
+
"@stacksjs/security": "0.72.64",
|
|
86
|
+
"@stacksjs/cms": "0.72.64",
|
|
87
|
+
"@stacksjs/sites": "0.72.64",
|
|
88
|
+
"@stacksjs/storage": "0.72.64",
|
|
89
|
+
"@stacksjs/strings": "0.72.64",
|
|
90
|
+
"@stacksjs/utils": "0.72.64",
|
|
91
|
+
"@stacksjs/validation": "0.72.64"
|
|
92
92
|
},
|
|
93
93
|
"peerDependencies": {
|
|
94
94
|
"pickier": "^0.1.58",
|