@stacksjs/actions 0.70.209 → 0.70.211
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.
|
@@ -22,6 +22,10 @@ const DEFAULTS_PACKAGE_IGNORES = new Set([
|
|
|
22
22
|
{
|
|
23
23
|
source: "project/storage/framework/tsconfig.base.json",
|
|
24
24
|
target: "storage/framework/tsconfig.base.json"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
source: "project/storage/framework/server/tsconfig.docker.json",
|
|
28
|
+
target: "storage/framework/server/tsconfig.docker.json"
|
|
25
29
|
}
|
|
26
30
|
];
|
|
27
31
|
function sameFile(left, right) {
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
export declare function hasStacksDependency(pkg: PkgJson): boolean;
|
|
2
2
|
export declare function standalonePackageUpdateCommand(): string;
|
|
3
|
+
/*` name to `bun update` makes Bun promote
|
|
4
|
+
* those packages into the application's direct dependencies. Updating the
|
|
5
|
+
* already-declared `stacks` package refreshes its dependency graph without
|
|
6
|
+
* rewriting the application's ownership boundary.
|
|
7
|
+
*/
|
|
8
|
+
export declare function frameworkPackageUpdateCommand(): string;
|
|
3
9
|
/** Strip a range operator (`^`, `~`, `>=`, …) so a declared range compares to a bare version. */
|
|
4
10
|
export declare function baseVersion(range: string): string;
|
|
5
11
|
/*` tooling
|
package/dist/upgrade/packages.js
CHANGED
|
@@ -14,6 +14,9 @@ export function hasStacksDependency(pkg) {
|
|
|
14
14
|
export function standalonePackageUpdateCommand() {
|
|
15
15
|
return "bun update";
|
|
16
16
|
}
|
|
17
|
+
export function frameworkPackageUpdateCommand() {
|
|
18
|
+
return "bun update stacks";
|
|
19
|
+
}
|
|
17
20
|
async function updateStandalonePackage(projectRoot, options) {
|
|
18
21
|
console.log(`
|
|
19
22
|
Standalone package detected. No Stacks framework source is installed.`);
|
|
@@ -131,17 +134,16 @@ export async function upgradeStacksPackages(projectRoot, options) {
|
|
|
131
134
|
writeFileSync(pkgPath, `${JSON.stringify(pkg, null, 2)}${trailing}`);
|
|
132
135
|
console.log("\u2714 Updated package.json");
|
|
133
136
|
}
|
|
134
|
-
const frameworkPkgs = [...lockstep];
|
|
135
137
|
if (options.noPostinstall) {
|
|
136
138
|
console.log(" --no-postinstall: skipping install. Run this to pull the new versions:");
|
|
137
|
-
console.log(`
|
|
139
|
+
console.log(` ${frameworkPackageUpdateCommand()}
|
|
138
140
|
`);
|
|
139
141
|
process.exit(0);
|
|
140
142
|
}
|
|
141
143
|
if (changes.length > 0 || manifestChanges.length > 0 || projectManifestChanges.length > 0 || options.force) {
|
|
142
144
|
console.log(` Installing\u2026
|
|
143
145
|
`);
|
|
144
|
-
if ((await runCommand(
|
|
146
|
+
if ((await runCommand(frameworkPackageUpdateCommand(), { cwd: projectRoot })).isErr) {
|
|
145
147
|
console.error("\n\u2717 The install step failed. Your package.json was updated \u2014 resolve the error and re-run `bun update`.\n");
|
|
146
148
|
process.exit(1);
|
|
147
149
|
}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@stacksjs/actions",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"sideEffects": false,
|
|
5
|
-
"version": "0.70.
|
|
5
|
+
"version": "0.70.211",
|
|
6
6
|
"description": "The Stacks actions.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"contributors": [
|
|
@@ -62,31 +62,31 @@
|
|
|
62
62
|
"prepublishOnly": "bun run build"
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
|
-
"@stacksjs/config": "0.70.
|
|
65
|
+
"@stacksjs/config": "0.70.211",
|
|
66
66
|
"@stacksjs/bumpx": "^0.2.6",
|
|
67
67
|
"@stacksjs/bunpress": "^0.1.18",
|
|
68
68
|
"@stacksjs/logsmith": "^0.2.3",
|
|
69
|
-
"@stacksjs/registry": "0.70.
|
|
69
|
+
"@stacksjs/registry": "0.70.211",
|
|
70
70
|
"@stacksjs/ts-cloud": "^0.7.86",
|
|
71
71
|
"@stacksjs/ts-md": "^0.1.1"
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
|
-
"@stacksjs/api": "0.70.
|
|
75
|
-
"@stacksjs/cli": "0.70.
|
|
76
|
-
"@stacksjs/database": "0.70.
|
|
74
|
+
"@stacksjs/api": "0.70.211",
|
|
75
|
+
"@stacksjs/cli": "0.70.211",
|
|
76
|
+
"@stacksjs/database": "0.70.211",
|
|
77
77
|
"@stacksjs/tlsx": "^0.13.2",
|
|
78
78
|
"better-dx": "^0.2.17",
|
|
79
|
-
"@stacksjs/dns": "0.70.
|
|
80
|
-
"@stacksjs/enums": "0.70.
|
|
81
|
-
"@stacksjs/env": "0.70.
|
|
82
|
-
"@stacksjs/error-handling": "0.70.
|
|
83
|
-
"@stacksjs/logging": "0.70.
|
|
84
|
-
"@stacksjs/path": "0.70.
|
|
85
|
-
"@stacksjs/security": "0.70.
|
|
86
|
-
"@stacksjs/storage": "0.70.
|
|
87
|
-
"@stacksjs/strings": "0.70.
|
|
88
|
-
"@stacksjs/utils": "0.70.
|
|
89
|
-
"@stacksjs/validation": "0.70.
|
|
79
|
+
"@stacksjs/dns": "0.70.211",
|
|
80
|
+
"@stacksjs/enums": "0.70.211",
|
|
81
|
+
"@stacksjs/env": "0.70.211",
|
|
82
|
+
"@stacksjs/error-handling": "0.70.211",
|
|
83
|
+
"@stacksjs/logging": "0.70.211",
|
|
84
|
+
"@stacksjs/path": "0.70.211",
|
|
85
|
+
"@stacksjs/security": "0.70.211",
|
|
86
|
+
"@stacksjs/storage": "0.70.211",
|
|
87
|
+
"@stacksjs/strings": "0.70.211",
|
|
88
|
+
"@stacksjs/utils": "0.70.211",
|
|
89
|
+
"@stacksjs/validation": "0.70.211"
|
|
90
90
|
},
|
|
91
91
|
"peerDependencies": {
|
|
92
92
|
"pickier": "^0.1.35"
|