@stacksjs/actions 0.70.257 → 0.70.259

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.
Files changed (142) hide show
  1. package/dist/action.js +1 -80
  2. package/dist/actions.js +1 -2
  3. package/dist/add.js +1 -20
  4. package/dist/ai/request-model-access.js +1 -10
  5. package/dist/auth/client.js +2 -44
  6. package/dist/auth/prune.js +1 -35
  7. package/dist/auth/setup.js +33 -153
  8. package/dist/auth/token.js +1 -10
  9. package/dist/blog-admin.js +3 -151
  10. package/dist/blog.js +33 -271
  11. package/dist/build/cli.js +1 -6
  12. package/dist/build/component-library.js +1 -36
  13. package/dist/build/component-libs.js +1 -2
  14. package/dist/build/core.js +1 -55
  15. package/dist/build/desktop.js +4 -61
  16. package/dist/build/dmg.js +4 -68
  17. package/dist/build/docs.js +1 -5
  18. package/dist/build/frontend-static.js +6 -122
  19. package/dist/build/server.js +1 -6
  20. package/dist/build/stacks.js +1 -8
  21. package/dist/build/views.js +1 -16
  22. package/dist/build-web-component-lib.js +1 -2
  23. package/dist/build.js +1 -57
  24. package/dist/bump.js +9 -210
  25. package/dist/changelog.js +1 -27
  26. package/dist/check/ports.js +1 -16
  27. package/dist/clean.js +1 -4
  28. package/dist/commit.js +1 -12
  29. package/dist/copy-types.js +1 -9
  30. package/dist/database/seed.js +1 -26
  31. package/dist/deploy/create-receipt-rule.js +1 -36
  32. package/dist/deploy/index.js +29 -1306
  33. package/dist/dev/api.js +3 -94
  34. package/dist/dev/components.js +1 -7
  35. package/dist/dev/csrf.js +1 -28
  36. package/dist/dev/dashboard-request-routing.js +1 -10
  37. package/dist/dev/dashboard-utils.js +1 -380
  38. package/dist/dev/dashboard.js +7 -422
  39. package/dist/dev/desktop.js +1 -1
  40. package/dist/dev/docs.js +1 -24
  41. package/dist/dev/exit-with-parent.d.ts +6 -0
  42. package/dist/dev/exit-with-parent.js +1 -0
  43. package/dist/dev/index.js +1 -29
  44. package/dist/dev/migrate-watcher.js +1 -74
  45. package/dist/dev/system-tray.js +2 -172
  46. package/dist/dev/views.js +1 -169
  47. package/dist/discover-packages.js +1 -32
  48. package/dist/domains/add.js +1 -61
  49. package/dist/domains/purchase.js +1 -66
  50. package/dist/domains/remove.js +1 -24
  51. package/dist/examples.js +1 -34
  52. package/dist/find-projects.js +1 -16
  53. package/dist/fresh.js +1 -17
  54. package/dist/generate/action-types.js +3 -9
  55. package/dist/generate/component-meta.js +1 -9
  56. package/dist/generate/custom-cli-file.js +2 -20
  57. package/dist/generate/env-files.js +5 -46
  58. package/dist/generate/ide-helpers.js +1 -8
  59. package/dist/generate/images.js +1 -26
  60. package/dist/generate/index.js +1 -166
  61. package/dist/generate/lib-entries.js +1 -16
  62. package/dist/generate/pantry-file.js +1 -46
  63. package/dist/generate/symlink-core.js +1 -2
  64. package/dist/generate/types.js +1 -3
  65. package/dist/generate/vschema.js +2 -47
  66. package/dist/generate/vscode-custom-data.js +1 -9
  67. package/dist/helpers/api-host.js +1 -7
  68. package/dist/helpers/component-meta.js +5 -295
  69. package/dist/helpers/index.js +1 -1
  70. package/dist/helpers/lib-entries.js +3 -73
  71. package/dist/helpers/package-json.js +2 -34
  72. package/dist/helpers/utils.js +1 -130
  73. package/dist/helpers/vscode-custom-data.js +3 -57
  74. package/dist/index.d.ts +4 -0
  75. package/dist/index.js +1 -50
  76. package/dist/key-generate.js +1 -24
  77. package/dist/lint/fix.js +1 -4
  78. package/dist/lint/index.js +1 -4
  79. package/dist/lint/lint.js +1 -34
  80. package/dist/lint/stx-gate.d.ts +36 -0
  81. package/dist/lint/stx-gate.js +3 -0
  82. package/dist/make-command.js +4 -55
  83. package/dist/make-job.js +3 -29
  84. package/dist/make-policy.js +4 -53
  85. package/dist/make-resource.js +3 -33
  86. package/dist/make.js +7 -323
  87. package/dist/migrate/database.js +1 -16
  88. package/dist/migrate/fresh.js +1 -36
  89. package/dist/prepublish.js +1 -16
  90. package/dist/queue/clear.js +1 -42
  91. package/dist/queue/dlq-purge.js +1 -28
  92. package/dist/queue/dlq-retry.js +1 -35
  93. package/dist/queue/dlq.js +4 -55
  94. package/dist/queue/failed.js +4 -69
  95. package/dist/queue/flush.js +2 -49
  96. package/dist/queue/inspect.js +7 -154
  97. package/dist/queue/list.js +4 -69
  98. package/dist/queue/monitor.js +5 -94
  99. package/dist/queue/pause.js +1 -28
  100. package/dist/queue/quarantine.js +2 -42
  101. package/dist/queue/resume.js +1 -27
  102. package/dist/queue/retry.js +1 -41
  103. package/dist/queue/schedule-list.js +4 -33
  104. package/dist/queue/schedule.js +1 -12
  105. package/dist/queue/status.js +4 -68
  106. package/dist/queue/table.js +1 -10
  107. package/dist/queue/unquarantine.js +1 -27
  108. package/dist/queue/work.js +1 -57
  109. package/dist/release-preflight.js +3 -61
  110. package/dist/release.js +1 -29
  111. package/dist/route/list.js +2 -78
  112. package/dist/run-action.js +1 -1
  113. package/dist/saas/setup.js +1 -9
  114. package/dist/scaffold-crud.js +12 -137
  115. package/dist/schedule/run.js +1 -7
  116. package/dist/search/flush.js +1 -10
  117. package/dist/search/import.js +1 -10
  118. package/dist/search/settings-list.js +1 -10
  119. package/dist/search/settings.js +1 -9
  120. package/dist/serve/api.js +1 -37
  121. package/dist/setup/index.js +1 -1
  122. package/dist/setup/ssl.js +2 -268
  123. package/dist/stacks.js +1 -316
  124. package/dist/templates.js +20 -40
  125. package/dist/test/feature.js +1 -2
  126. package/dist/test/index.js +1 -2
  127. package/dist/test/runner.js +1 -38
  128. package/dist/test/runner.test.js +1 -29
  129. package/dist/test/ui.js +1 -2
  130. package/dist/test/unit.js +1 -2
  131. package/dist/typecheck.js +1 -4
  132. package/dist/types.js +1 -16
  133. package/dist/upgrade/binary.js +1 -29
  134. package/dist/upgrade/framework-hooks.js +1 -40
  135. package/dist/upgrade/framework-utils.js +2 -259
  136. package/dist/upgrade/framework.js +11 -484
  137. package/dist/upgrade/index.js +1 -17
  138. package/dist/upgrade/package-project.js +1 -150
  139. package/dist/upgrade/packages.js +17 -243
  140. package/dist/upgrade/shell.js +3 -40
  141. package/dist/upgrade.js +1 -38
  142. package/package.json +19 -19
@@ -1,150 +1 @@
1
- import { chmodSync, existsSync, lstatSync, mkdirSync, readFileSync, readdirSync, rmSync, statSync, writeFileSync } from "node:fs";
2
- import { dirname, join, relative } from "node:path";
3
- const DEFAULTS_PACKAGE_IGNORES = new Set([
4
- "README.md",
5
- "build.ts",
6
- "node_modules",
7
- "package.json",
8
- "project",
9
- "tests"
10
- ]), LOCAL_DEFAULT_IGNORES = new Set([
11
- ".DS_Store",
12
- ".discovered-models.json",
13
- "dist",
14
- "node_modules"
15
- ]), LEGACY_PACKAGE_PROJECT_FILES = ["pantry.lock"], SUPPORT_FILES = [
16
- { source: "project/buddy", target: "buddy", executable: !0 },
17
- { source: "project/bootstrap", target: "bootstrap", executable: !0 },
18
- {
19
- source: "project/storage/framework/tsconfig.app.json",
20
- target: "storage/framework/tsconfig.app.json"
21
- },
22
- {
23
- source: "project/storage/framework/tsconfig.base.json",
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"
29
- }
30
- ];
31
- function sameFile(left, right) {
32
- if (!existsSync(left) || !existsSync(right))
33
- return !1;
34
- const leftStat = statSync(left), rightStat = statSync(right);
35
- if (leftStat.size !== rightStat.size)
36
- return !1;
37
- return readFileSync(left).equals(readFileSync(right));
38
- }
39
- function copyFileIfChanged(source, target, projectRoot, changes, options, executable = !1) {
40
- if (sameFile(source, target)) {
41
- if (executable && !options.dryRun)
42
- chmodSync(target, 493);
43
- return;
44
- }
45
- changes.push({
46
- path: relative(projectRoot, target),
47
- action: existsSync(target) ? "update" : "add"
48
- });
49
- if (options.dryRun)
50
- return;
51
- mkdirSync(dirname(target), { recursive: !0 });
52
- writeFileSync(target, readFileSync(source));
53
- if (executable)
54
- chmodSync(target, 493);
55
- }
56
- function syncDirectory(source, target, projectRoot, changes, options, isRoot = !1) {
57
- if (!options.dryRun)
58
- mkdirSync(target, { recursive: !0 });
59
- const sourceEntries = new Set;
60
- for (const entry of readdirSync(source)) {
61
- if (isRoot && DEFAULTS_PACKAGE_IGNORES.has(entry))
62
- continue;
63
- sourceEntries.add(entry);
64
- const sourcePath = join(source, entry), targetPath = join(target, entry);
65
- if (lstatSync(sourcePath).isDirectory()) {
66
- syncDirectory(sourcePath, targetPath, projectRoot, changes, options);
67
- continue;
68
- }
69
- copyFileIfChanged(sourcePath, targetPath, projectRoot, changes, options);
70
- }
71
- if (!existsSync(target))
72
- return;
73
- for (const entry of readdirSync(target)) {
74
- if (LOCAL_DEFAULT_IGNORES.has(entry) || sourceEntries.has(entry))
75
- continue;
76
- const targetPath = join(target, entry);
77
- changes.push({ path: relative(projectRoot, targetPath), action: "remove" });
78
- if (!options.dryRun)
79
- rmSync(targetPath, { recursive: !0, force: !0 });
80
- }
81
- }
82
- export function syncPackageProjectFiles(projectRoot, defaultsPackageRoot, options = {}) {
83
- const changes = [], targetDefaults = join(projectRoot, "storage/framework/defaults");
84
- syncDirectory(defaultsPackageRoot, targetDefaults, projectRoot, changes, options, !0);
85
- for (const file of SUPPORT_FILES) {
86
- const source = join(defaultsPackageRoot, file.source);
87
- if (!existsSync(source))
88
- continue;
89
- copyFileIfChanged(source, join(projectRoot, file.target), projectRoot, changes, options, file.executable);
90
- }
91
- for (const legacyFile of LEGACY_PACKAGE_PROJECT_FILES) {
92
- const target = join(projectRoot, legacyFile);
93
- if (!existsSync(target))
94
- continue;
95
- changes.push({ path: legacyFile, action: "remove" });
96
- if (!options.dryRun)
97
- rmSync(target, { force: !0 });
98
- }
99
- return changes;
100
- }
101
- export function migratePackageProjectManifest(pkg) {
102
- const changes = [], scripts = pkg.scripts ?? {}, setScript = (name, value) => {
103
- if (scripts[name] === value)
104
- return;
105
- scripts[name] = value;
106
- changes.push({ path: `package.json#scripts.${name}`, action: "update" });
107
- };
108
- setScript("buddy", "./buddy");
109
- setScript("typecheck", "bun x --bun tsc --noEmit -p tsconfig.json --pretty false");
110
- setScript("typecheck:app", "bun x --bun tsc --noEmit -p tsconfig.json --pretty false");
111
- setScript("types:check", "bun x --bun tsc --noEmit -p tsconfig.json --pretty false");
112
- if (scripts["build:reset"]?.includes("storage/framework"))
113
- setScript("build:reset", "rm -rf node_modules pantry.lock && bun install && ./buddy generate:types && ./buddy lint:fix");
114
- if (scripts["build:framework-types"]) {
115
- delete scripts["build:framework-types"];
116
- changes.push({ path: "package.json#scripts.build:framework-types", action: "remove" });
117
- }
118
- pkg.scripts = scripts;
119
- if (Array.isArray(pkg.workspaces)) {
120
- const next = pkg.workspaces.filter((workspace) => workspace !== "storage/framework/core" && !workspace.startsWith("storage/framework/core/"));
121
- if (next.length !== pkg.workspaces.length) {
122
- pkg.workspaces = next;
123
- changes.push({ path: "package.json#workspaces", action: "update" });
124
- }
125
- }
126
- return changes;
127
- }
128
- export function migratePackageProjectTsconfig(projectRoot, options = {}) {
129
- const path = join(projectRoot, "tsconfig.json");
130
- if (!existsSync(path))
131
- return [];
132
- const raw = readFileSync(path, "utf8"), next = raw.replace(/"extends"\s*:\s*"\.\/storage\/framework\/core\/tsconfig\.json"/, '"extends": "./storage/framework/tsconfig.app.json"');
133
- if (next === raw)
134
- return [];
135
- if (!options.dryRun)
136
- writeFileSync(path, next);
137
- return [{ path: "tsconfig.json", action: "update" }];
138
- }
139
- export function detectProjectAiProviders(projectRoot) {
140
- const providers = new Set(["codex"]);
141
- if (existsSync(join(projectRoot, "CLAUDE.md")) || existsSync(join(projectRoot, ".claude")))
142
- providers.add("claude");
143
- if (existsSync(join(projectRoot, ".cursor")))
144
- providers.add("cursor");
145
- if (existsSync(join(projectRoot, ".github/copilot-instructions.md")))
146
- providers.add("copilot");
147
- if (existsSync(join(projectRoot, "GEMINI.md")))
148
- providers.add("gemini");
149
- return [...providers];
150
- }
1
+ import{chmodSync,existsSync,lstatSync,mkdirSync,readFileSync,readdirSync,rmSync,statSync,writeFileSync}from"node:fs";import{dirname,join,relative}from"node:path";const DEFAULTS_PACKAGE_IGNORES=new Set(["README.md","build.ts","node_modules","package.json","project","tests"]),LOCAL_DEFAULT_IGNORES=new Set([".DS_Store",".discovered-models.json","dist","node_modules"]),LEGACY_PACKAGE_PROJECT_FILES=["pantry.lock"],SUPPORT_FILES=[{source:"project/buddy",target:"buddy",executable:!0},{source:"project/bootstrap",target:"bootstrap",executable:!0},{source:"project/storage/framework/tsconfig.app.json",target:"storage/framework/tsconfig.app.json"},{source:"project/storage/framework/tsconfig.base.json",target:"storage/framework/tsconfig.base.json"},{source:"project/storage/framework/server/tsconfig.docker.json",target:"storage/framework/server/tsconfig.docker.json"}];function sameFile(left,right){if(!existsSync(left)||!existsSync(right))return!1;const leftStat=statSync(left),rightStat=statSync(right);if(leftStat.size!==rightStat.size)return!1;return readFileSync(left).equals(readFileSync(right))}function copyFileIfChanged(source,target,projectRoot,changes,options,executable=!1){if(sameFile(source,target)){if(executable&&!options.dryRun)chmodSync(target,493);return}changes.push({path:relative(projectRoot,target),action:existsSync(target)?"update":"add"});if(options.dryRun)return;mkdirSync(dirname(target),{recursive:!0});writeFileSync(target,readFileSync(source));if(executable)chmodSync(target,493)}function syncDirectory(source,target,projectRoot,changes,options,isRoot=!1){if(!options.dryRun)mkdirSync(target,{recursive:!0});const sourceEntries=new Set;for(const entry of readdirSync(source)){if(isRoot&&DEFAULTS_PACKAGE_IGNORES.has(entry))continue;sourceEntries.add(entry);const sourcePath=join(source,entry),targetPath=join(target,entry);if(lstatSync(sourcePath).isDirectory()){syncDirectory(sourcePath,targetPath,projectRoot,changes,options);continue}copyFileIfChanged(sourcePath,targetPath,projectRoot,changes,options)}if(!existsSync(target))return;for(const entry of readdirSync(target)){if(LOCAL_DEFAULT_IGNORES.has(entry)||sourceEntries.has(entry))continue;const targetPath=join(target,entry);changes.push({path:relative(projectRoot,targetPath),action:"remove"});if(!options.dryRun)rmSync(targetPath,{recursive:!0,force:!0})}}export function syncPackageProjectFiles(projectRoot,defaultsPackageRoot,options={}){const changes=[],targetDefaults=join(projectRoot,"storage/framework/defaults");syncDirectory(defaultsPackageRoot,targetDefaults,projectRoot,changes,options,!0);for(const file of SUPPORT_FILES){const source=join(defaultsPackageRoot,file.source);if(!existsSync(source))continue;copyFileIfChanged(source,join(projectRoot,file.target),projectRoot,changes,options,file.executable)}for(const legacyFile of LEGACY_PACKAGE_PROJECT_FILES){const target=join(projectRoot,legacyFile);if(!existsSync(target))continue;changes.push({path:legacyFile,action:"remove"});if(!options.dryRun)rmSync(target,{force:!0})}return changes}export function migratePackageProjectManifest(pkg){const changes=[],scripts=pkg.scripts??{},setScript=(name,value)=>{if(scripts[name]===value)return;scripts[name]=value;changes.push({path:`package.json#scripts.${name}`,action:"update"})};setScript("buddy","./buddy");setScript("typecheck","bun x --bun tsc --noEmit -p tsconfig.json --pretty false");setScript("typecheck:app","bun x --bun tsc --noEmit -p tsconfig.json --pretty false");setScript("types:check","bun x --bun tsc --noEmit -p tsconfig.json --pretty false");if(scripts["build:reset"]?.includes("storage/framework"))setScript("build:reset","rm -rf node_modules pantry.lock && bun install && ./buddy generate:types && ./buddy lint:fix");if(scripts["build:framework-types"]){delete scripts["build:framework-types"];changes.push({path:"package.json#scripts.build:framework-types",action:"remove"})}pkg.scripts=scripts;if(Array.isArray(pkg.workspaces)){const next=pkg.workspaces.filter((workspace)=>workspace!=="storage/framework/core"&&!workspace.startsWith("storage/framework/core/"));if(next.length!==pkg.workspaces.length){pkg.workspaces=next;changes.push({path:"package.json#workspaces",action:"update"})}}return changes}export function migratePackageProjectTsconfig(projectRoot,options={}){const path=join(projectRoot,"tsconfig.json");if(!existsSync(path))return[];const raw=readFileSync(path,"utf8"),next=raw.replace(/"extends"\s*:\s*"\.\/storage\/framework\/core\/tsconfig\.json"/,'"extends": "./storage/framework/tsconfig.app.json"');if(next===raw)return[];if(!options.dryRun)writeFileSync(path,next);return[{path:"tsconfig.json",action:"update"}]}export function detectProjectAiProviders(projectRoot){const providers=new Set(["codex"]);if(existsSync(join(projectRoot,"CLAUDE.md"))||existsSync(join(projectRoot,".claude")))providers.add("claude");if(existsSync(join(projectRoot,".cursor")))providers.add("cursor");if(existsSync(join(projectRoot,".github/copilot-instructions.md")))providers.add("copilot");if(existsSync(join(projectRoot,"GEMINI.md")))providers.add("gemini");return[...providers]}
@@ -1,247 +1,21 @@
1
- import { existsSync, readdirSync, readFileSync, statSync, writeFileSync } from "node:fs";
2
- import { join, relative } from "node:path";
3
- import process from "node:process";
4
- import { runCommand } from "@stacksjs/cli";
5
- import {
6
- detectProjectAiProviders,
7
- migratePackageProjectManifest,
8
- migratePackageProjectTsconfig,
9
- syncPackageProjectFiles
10
- } from "./package-project";
11
- export function hasStacksDependency(pkg) {
12
- return Boolean(pkg.dependencies?.stacks || pkg.devDependencies?.stacks);
13
- }
14
- export function standalonePackageUpdateCommand() {
15
- return "bun update";
16
- }
17
- export function frameworkPackageUpdateCommand() {
18
- return "bun update stacks";
19
- }
20
- async function updateStandalonePackage(projectRoot, options) {
21
- console.log(`
22
- Standalone package detected. No Stacks framework source is installed.`);
23
- if (options.dryRun) {
24
- console.log(" --dry-run: would refresh the package dependencies with `bun update`. No files were changed.\n");
25
- process.exit(0);
26
- }
27
- if (options.noPostinstall) {
28
- console.log(" --no-postinstall: skipping the dependency refresh. Run `bun update` when ready.\n");
29
- process.exit(0);
30
- }
31
- console.log(` Refreshing declared dependencies...
32
- `);
33
- if ((await runCommand(standalonePackageUpdateCommand(), { cwd: projectRoot })).isErr) {
34
- console.error("\n\u2717 The dependency refresh failed. Resolve the reported error and re-run `buddy update`.\n");
35
- process.exit(1);
36
- }
37
- console.log(`
1
+ import{existsSync,readdirSync,readFileSync,statSync,writeFileSync}from"node:fs";import{join,relative}from"node:path";import process from"node:process";import{runCommand}from"@stacksjs/cli";import{detectProjectAiProviders,migratePackageProjectManifest,migratePackageProjectTsconfig,syncPackageProjectFiles}from"./package-project";export function hasStacksDependency(pkg){return Boolean(pkg.dependencies?.stacks||pkg.devDependencies?.stacks)}export function standalonePackageUpdateCommand(){return"bun update"}export function frameworkPackageUpdateCommand(){return"bun update stacks"}async function updateStandalonePackage(projectRoot,options){console.log(`
2
+ Standalone package detected. No Stacks framework source is installed.`);if(options.dryRun){console.log(" --dry-run: would refresh the package dependencies with `bun update`. No files were changed.\n");process.exit(0)}if(options.noPostinstall){console.log(" --no-postinstall: skipping the dependency refresh. Run `bun update` when ready.\n");process.exit(0)}console.log(` Refreshing declared dependencies...
3
+ `);if((await runCommand(standalonePackageUpdateCommand(),{cwd:projectRoot})).isErr){console.error("\n\u2717 The dependency refresh failed. Resolve the reported error and re-run `buddy update`.\n");process.exit(1)}console.log(`
38
4
  \u2714 Standalone package dependencies are up to date.
39
- `);
40
- process.exit(0);
41
- }
42
- async function resolveTarget(options) {
43
- const res = await fetch("https://registry.npmjs.org/stacks").catch(() => null);
44
- if (!res || !res.ok)
45
- throw Error("Could not reach the npm registry to resolve the target `stacks` version.");
46
- const meta = await res.json(), distTags = meta["dist-tags"] ?? {}, versions = meta.versions ?? {};
47
- let version;
48
- if (options.version) {
49
- if (!versions[options.version])
50
- throw Error(`stacks@${options.version} was not found on the npm registry.`);
51
- version = options.version;
52
- } else {
53
- const tag = options.canary ? "canary" : "latest", resolved = distTags[tag];
54
- if (!resolved)
55
- throw Error(`The \`${tag}\` dist-tag is not published for \`stacks\`.`);
56
- version = resolved;
57
- }
58
- const metaDeps = versions[version]?.dependencies ?? {};
59
- return { version, metaDeps };
60
- }
61
- export function baseVersion(range) {
62
- return range.replace(/^[\^~>=<\s]+/, "").trim();
63
- }
64
- export function lockstepPackages(metaDeps, target) {
65
- const lockstep = new Set(["stacks"]);
66
- for (const [name, range] of Object.entries(metaDeps))
67
- if (name.startsWith("@stacksjs/") && baseVersion(range) === target)
68
- lockstep.add(name);
69
- return lockstep;
70
- }
71
- export function applyBumps(pkg, target, lockstep) {
72
- const changes = [];
73
- for (const field of ["dependencies", "devDependencies"]) {
74
- const deps = pkg[field];
75
- if (!deps)
76
- continue;
77
- for (const [name, spec] of Object.entries(deps)) {
78
- if (!lockstep.has(name))
79
- continue;
80
- const next = `${/^[\^~]/.test(spec) ? spec[0] : /^\d/.test(spec) ? "" : "^"}${target}`;
81
- if (spec !== next) {
82
- changes.push({ name, from: spec, to: next });
83
- deps[name] = next;
84
- }
85
- }
86
- }
87
- return changes;
88
- }
89
- export async function upgradeStacksPackages(projectRoot, options) {
90
- const pkgPath = join(projectRoot, "package.json");
91
- if (!existsSync(pkgPath)) {
92
- console.error("No package.json found \u2014 nothing to upgrade.");
93
- process.exit(1);
94
- }
95
- const raw = readFileSync(pkgPath, "utf-8"), pkg = JSON.parse(raw), current = pkg.dependencies?.stacks ?? pkg.devDependencies?.stacks;
96
- if (!hasStacksDependency(pkg))
97
- return updateStandalonePackage(projectRoot, options);
98
- const { version: target, metaDeps } = await resolveTarget(options).catch((err) => {
99
- console.error(`\u2717 ${err.message}`);
100
- process.exit(1);
101
- });
102
- console.log(`
103
- Upgrading the Stacks framework${options.canary ? " (canary)" : ""} \u2192 ${target}`);
104
- if (current)
105
- console.log(` current \`stacks\` constraint: ${current}
106
- `);
107
- const lockstep = lockstepPackages(metaDeps, target), changes = applyBumps(pkg, target, lockstep), projectManifestChanges = migratePackageProjectManifest(pkg), manifestChanges = reconcileVendoredManifests(projectRoot, target, { dryRun: options.dryRun });
108
- if (changes.length > 0) {
109
- console.log(" The following dependencies will be updated:");
110
- const width = Math.max(...changes.map((c) => c.name.length));
111
- for (const c of changes)
112
- console.log(` ${c.name.padEnd(width)} ${c.from} \u2192 ${c.to}`);
113
- console.log("");
114
- }
115
- if (manifestChanges.length > 0) {
116
- console.log(` Vendored manifests under storage/framework (${manifestChanges.length}):`);
117
- const width = Math.max(...manifestChanges.map((c) => c.name.length));
118
- for (const c of manifestChanges)
119
- console.log(` ${c.name.padEnd(width)} ${c.from} \u2192 ${c.to} ${c.file}`);
120
- console.log("");
121
- }
122
- if (projectManifestChanges.length > 0)
123
- console.log(` Project manifest migrations: ${projectManifestChanges.length}
124
- `);
125
- if (options.dryRun) {
126
- console.log(` --dry-run: no files were written and nothing was installed.
127
- `);
128
- process.exit(0);
129
- }
130
- if (changes.length > 0 || projectManifestChanges.length > 0) {
131
- const trailing = raw.endsWith(`
132
- `) ? `
133
- ` : "";
134
- writeFileSync(pkgPath, `${JSON.stringify(pkg, null, 2)}${trailing}`);
135
- console.log("\u2714 Updated package.json");
136
- }
137
- if (options.noPostinstall) {
138
- console.log(" --no-postinstall: skipping install. Run this to pull the new versions:");
139
- console.log(` ${frameworkPackageUpdateCommand()}
140
- `);
141
- process.exit(0);
142
- }
143
- if (changes.length > 0 || manifestChanges.length > 0 || projectManifestChanges.length > 0 || options.force) {
144
- console.log(` Installing\u2026
145
- `);
146
- if ((await runCommand(frameworkPackageUpdateCommand(), { cwd: projectRoot })).isErr) {
147
- console.error("\n\u2717 The install step failed. Your package.json was updated \u2014 resolve the error and re-run `bun update`.\n");
148
- process.exit(1);
149
- }
150
- }
151
- const defaultsPackageRoot = join(projectRoot, "node_modules/@stacksjs/defaults"), structureChanges = existsSync(join(defaultsPackageRoot, "package.json")) ? syncPackageProjectFiles(projectRoot, defaultsPackageRoot) : [], tsconfigChanges = migratePackageProjectTsconfig(projectRoot);
152
- if (structureChanges.length > 0 || tsconfigChanges.length > 0) {
153
- const added = structureChanges.filter((change) => change.action === "add").length, updated = structureChanges.filter((change) => change.action === "update").length + tsconfigChanges.length, removed = structureChanges.filter((change) => change.action === "remove").length;
154
- console.log(` Project structure: +${added} ~${updated} -${removed}`);
155
- }
156
- for (const provider of detectProjectAiProviders(projectRoot))
157
- if ((await runCommand(`./buddy setup:ai ${provider} --force`, { cwd: projectRoot })).isErr) {
158
- console.error(`
5
+ `);process.exit(0)}async function resolveTarget(options){const res=await fetch("https://registry.npmjs.org/stacks").catch(()=>null);if(!res||!res.ok)throw Error("Could not reach the npm registry to resolve the target `stacks` version.");const meta=await res.json(),distTags=meta["dist-tags"]??{},versions=meta.versions??{};let version;if(options.version){if(!versions[options.version])throw Error(`stacks@${options.version} was not found on the npm registry.`);version=options.version}else{const tag=options.canary?"canary":"latest",resolved=distTags[tag];if(!resolved)throw Error(`The \`${tag}\` dist-tag is not published for \`stacks\`.`);version=resolved}const metaDeps=versions[version]?.dependencies??{};return{version,metaDeps}}export function baseVersion(range){return range.replace(/^[\^~>=<\s]+/,"").trim()}export function lockstepPackages(metaDeps,target){const lockstep=new Set(["stacks"]);for(const[name,range]of Object.entries(metaDeps))if(name.startsWith("@stacksjs/")&&baseVersion(range)===target)lockstep.add(name);return lockstep}export function applyBumps(pkg,target,lockstep){const changes=[];for(const field of["dependencies","devDependencies"]){const deps=pkg[field];if(!deps)continue;for(const[name,spec]of Object.entries(deps)){if(!lockstep.has(name))continue;const next=`${/^[\^~]/.test(spec)?spec[0]:/^\d/.test(spec)?"":"^"}${target}`;if(spec!==next){changes.push({name,from:spec,to:next});deps[name]=next}}}return changes}export async function upgradeStacksPackages(projectRoot,options){const pkgPath=join(projectRoot,"package.json");if(!existsSync(pkgPath)){console.error("No package.json found \u2014 nothing to upgrade.");process.exit(1)}const raw=readFileSync(pkgPath,"utf-8"),pkg=JSON.parse(raw),current=pkg.dependencies?.stacks??pkg.devDependencies?.stacks;if(!hasStacksDependency(pkg))return updateStandalonePackage(projectRoot,options);const{version:target,metaDeps}=await resolveTarget(options).catch((err)=>{console.error(`\u2717 ${err.message}`);process.exit(1)});console.log(`
6
+ Upgrading the Stacks framework${options.canary?" (canary)":""} \u2192 ${target}`);if(current)console.log(` current \`stacks\` constraint: ${current}
7
+ `);const lockstep=lockstepPackages(metaDeps,target),changes=applyBumps(pkg,target,lockstep),projectManifestChanges=migratePackageProjectManifest(pkg),manifestChanges=reconcileVendoredManifests(projectRoot,target,{dryRun:options.dryRun});if(changes.length>0){console.log(" The following dependencies will be updated:");const width=Math.max(...changes.map((c)=>c.name.length));for(const c of changes)console.log(` ${c.name.padEnd(width)} ${c.from} \u2192 ${c.to}`);console.log("")}if(manifestChanges.length>0){console.log(` Vendored manifests under storage/framework (${manifestChanges.length}):`);const width=Math.max(...manifestChanges.map((c)=>c.name.length));for(const c of manifestChanges)console.log(` ${c.name.padEnd(width)} ${c.from} \u2192 ${c.to} ${c.file}`);console.log("")}if(projectManifestChanges.length>0)console.log(` Project manifest migrations: ${projectManifestChanges.length}
8
+ `);if(options.dryRun){console.log(` --dry-run: no files were written and nothing was installed.
9
+ `);process.exit(0)}if(changes.length>0||projectManifestChanges.length>0){const trailing=raw.endsWith(`
10
+ `)?`
11
+ `:"";writeFileSync(pkgPath,`${JSON.stringify(pkg,null,2)}${trailing}`);console.log("\u2714 Updated package.json")}if(options.noPostinstall){console.log(" --no-postinstall: skipping install. Run this to pull the new versions:");console.log(` ${frameworkPackageUpdateCommand()}
12
+ `);process.exit(0)}if(changes.length>0||manifestChanges.length>0||projectManifestChanges.length>0||options.force){console.log(` Installing\u2026
13
+ `);if((await runCommand(frameworkPackageUpdateCommand(),{cwd:projectRoot})).isErr){console.error("\n\u2717 The install step failed. Your package.json was updated \u2014 resolve the error and re-run `bun update`.\n");process.exit(1)}}const defaultsPackageRoot=join(projectRoot,"node_modules/@stacksjs/defaults"),structureChanges=existsSync(join(defaultsPackageRoot,"package.json"))?syncPackageProjectFiles(projectRoot,defaultsPackageRoot):[],tsconfigChanges=migratePackageProjectTsconfig(projectRoot);if(structureChanges.length>0||tsconfigChanges.length>0){const added=structureChanges.filter((change)=>change.action==="add").length,updated=structureChanges.filter((change)=>change.action==="update").length+tsconfigChanges.length,removed=structureChanges.filter((change)=>change.action==="remove").length;console.log(` Project structure: +${added} ~${updated} -${removed}`)}for(const provider of detectProjectAiProviders(projectRoot))if((await runCommand(`./buddy setup:ai ${provider} --force`,{cwd:projectRoot})).isErr){console.error(`
159
14
  \u2717 AI setup refresh failed for ${provider}. Re-run \`buddy setup:ai ${provider} --force\`.
160
- `);
161
- process.exit(1);
162
- }
163
- if (!(changes.length > 0 || manifestChanges.length > 0 || projectManifestChanges.length > 0 || structureChanges.length > 0 || tsconfigChanges.length > 0) && !options.force)
164
- console.log(`
15
+ `);process.exit(1)}if(!(changes.length>0||manifestChanges.length>0||projectManifestChanges.length>0||structureChanges.length>0||tsconfigChanges.length>0)&&!options.force)console.log(`
165
16
  \u2714 Already up to date \u2014 dependencies and managed project files match the target.
166
- `);
167
- else
168
- console.log(`
17
+ `);else console.log(`
169
18
  \u2714 Upgraded to stacks@${target}. Review the changelog: https://github.com/stacksjs/stacks/releases/tag/v${target}
170
- `);
171
- process.exit(0);
172
- }
173
- export function resolveManifestSpec(name, spec, target) {
174
- if (name !== "stacks" && !name.startsWith("@stacksjs/"))
175
- return null;
176
- if (spec.startsWith("workspace:"))
177
- return `^${target}`;
178
- if (baseVersion(spec) === target)
179
- return null;
180
- if (!/^[\^~]?\d/.test(spec))
181
- return null;
182
- return `${/^[\^~]/.test(spec) ? spec[0] : ""}${target}`;
183
- }
184
- export function reconcileVendoredManifests(projectRoot, target, options = {}) {
185
- const root = join(projectRoot, "storage/framework");
186
- if (!existsSync(root))
187
- return [];
188
- const changes = [], walk = (dir) => {
189
- let entries;
190
- try {
191
- entries = readdirSync(dir);
192
- } catch {
193
- return;
194
- }
195
- for (const entry of entries) {
196
- if (entry === "node_modules" || entry === "dist" || entry === ".git")
197
- continue;
198
- const full = join(dir, entry);
199
- let stat;
200
- try {
201
- stat = statSync(full);
202
- } catch {
203
- continue;
204
- }
205
- if (stat.isDirectory()) {
206
- walk(full);
207
- continue;
208
- }
209
- if (entry !== "package.json")
210
- continue;
211
- let raw;
212
- try {
213
- raw = readFileSync(full, "utf-8");
214
- } catch {
215
- continue;
216
- }
217
- let pkg;
218
- try {
219
- pkg = JSON.parse(raw);
220
- } catch {
221
- continue;
222
- }
223
- let touched = !1;
224
- for (const field of ["dependencies", "devDependencies"]) {
225
- const deps = pkg[field];
226
- if (!deps)
227
- continue;
228
- for (const [name, spec] of Object.entries(deps)) {
229
- const next = resolveManifestSpec(name, spec, target);
230
- if (!next)
231
- continue;
232
- changes.push({ file: relative(projectRoot, full), name, from: spec, to: next });
233
- deps[name] = next;
234
- touched = !0;
235
- }
236
- }
237
- if (touched && !options.dryRun) {
238
- const suffix = raw.endsWith(`
239
- `) ? `
240
- ` : "";
241
- writeFileSync(full, `${JSON.stringify(pkg, null, 2)}${suffix}`);
242
- }
243
- }
244
- };
245
- walk(root);
246
- return changes;
247
- }
19
+ `);process.exit(0)}export function resolveManifestSpec(name,spec,target){if(name!=="stacks"&&!name.startsWith("@stacksjs/"))return null;if(spec.startsWith("workspace:"))return`^${target}`;if(baseVersion(spec)===target)return null;if(!/^[\^~]?\d/.test(spec))return null;return`${/^[\^~]/.test(spec)?spec[0]:""}${target}`}export function reconcileVendoredManifests(projectRoot,target,options={}){const root=join(projectRoot,"storage/framework");if(!existsSync(root))return[];const changes=[],walk=(dir)=>{let entries;try{entries=readdirSync(dir)}catch{return}for(const entry of entries){if(entry==="node_modules"||entry==="dist"||entry===".git")continue;const full=join(dir,entry);let stat;try{stat=statSync(full)}catch{continue}if(stat.isDirectory()){walk(full);continue}if(entry!=="package.json")continue;let raw;try{raw=readFileSync(full,"utf-8")}catch{continue}let pkg;try{pkg=JSON.parse(raw)}catch{continue}let touched=!1;for(const field of["dependencies","devDependencies"]){const deps=pkg[field];if(!deps)continue;for(const[name,spec]of Object.entries(deps)){const next=resolveManifestSpec(name,spec,target);if(!next)continue;changes.push({file:relative(projectRoot,full),name,from:spec,to:next});deps[name]=next;touched=!0}}if(touched&&!options.dryRun){const suffix=raw.endsWith(`
20
+ `)?`
21
+ `:"";writeFileSync(full,`${JSON.stringify(pkg,null,2)}${suffix}`)}}};walk(root);return changes}
@@ -1,41 +1,4 @@
1
- import { $ } from "bun";
2
- import process from "node:process";
3
- import { italic, runCommand } from "@stacksjs/cli";
4
- import { log } from "@stacksjs/logging";
5
- import { path as p } from "@stacksjs/path";
6
- import { writeFile } from "@stacksjs/storage";
7
- import { ExitCode } from "@stacksjs/types";
8
- const homePath = (await $`echo $HOME`.text()).trim(), zshrcPath = p.join(homePath, ".zshrc"), pluginPath = p.shellPath("src/buddy.plugin.zsh"), customPath = p.join(homePath, ".oh-my-zsh/custom/plugins/buddy/");
9
- log.info(`Setting up Oh My Zsh via ${zshrcPath}...`);
10
- $.cwd(p.dirname(zshrcPath));
11
- let data = await $`cat ${p.basename(zshrcPath)}`.text();
12
- const pluginLineRegex = /^(?!#).*plugins=\(([^)]+)\)/m, match = data.match(pluginLineRegex);
13
- if (match) {
14
- const plugins = match[1]?.split(/\s+/).filter(Boolean);
15
- if (!plugins) {
16
- log.error("Maybe the plugins line in your .zshrc file could not be found? If this continues being an issue, please reach out to us on Discord.");
17
- process.exit(ExitCode.FatalError);
18
- }
19
- if (!plugins.includes("buddy")) {
20
- plugins.push("buddy");
21
- const newPluginLine = `plugins=(
22
- ${plugins.map((plugin) => plugin.trim()).join(`
1
+ import{$}from"bun";import process from"node:process";import{italic,runCommand}from"@stacksjs/cli";import{log}from"@stacksjs/logging";import{path as p}from"@stacksjs/path";import{writeFile}from"@stacksjs/storage";import{ExitCode}from"@stacksjs/types";const homePath=(await $`echo $HOME`.text()).trim(),zshrcPath=p.join(homePath,".zshrc"),pluginPath=p.shellPath("src/buddy.plugin.zsh"),customPath=p.join(homePath,".oh-my-zsh/custom/plugins/buddy/");log.info(`Setting up Oh My Zsh via ${zshrcPath}...`);$.cwd(p.dirname(zshrcPath));let data=await $`cat ${p.basename(zshrcPath)}`.text();const pluginLineRegex=/^(?!#).*plugins=\(([^)]+)\)/m,match=data.match(pluginLineRegex);if(match){const plugins=match[1]?.split(/\s+/).filter(Boolean);if(!plugins){log.error("Maybe the plugins line in your .zshrc file could not be found? If this continues being an issue, please reach out to us on Discord.");process.exit(ExitCode.FatalError)}if(!plugins.includes("buddy")){plugins.push("buddy");const newPluginLine=`plugins=(
2
+ ${plugins.map((plugin)=>plugin.trim()).join(`
23
3
  `)}
24
- )`;
25
- data = data.replace(pluginLineRegex, newPluginLine);
26
- await writeFile(zshrcPath, data);
27
- log.info(`Copying buddy zsh plugin ${pluginPath} to ${customPath}...`);
28
- await runCommand(`mkdir -p ${customPath}`);
29
- await runCommand(`cp -rf ${pluginPath} ${customPath}`);
30
- log.success("Copied buddy zsh plugin");
31
- } else {
32
- log.info("Buddy is already set up");
33
- log.info("Ensuring `buddy` is updated...");
34
- await runCommand(`cp -rf ${pluginPath} ${customPath}`);
35
- log.success("Updated buddy zsh plugin to latest version");
36
- }
37
- }
38
- log.success("Oh My Zsh Setup Complete");
39
- log.info(italic("To see changes reflect, you may need to open a new terminal window"));
40
- if (process.env.TERM_PROGRAM === "vscode")
41
- log.info("\u2318\u21E7P terminal.create.new.terminal");
4
+ )`;data=data.replace(pluginLineRegex,newPluginLine);await writeFile(zshrcPath,data);log.info(`Copying buddy zsh plugin ${pluginPath} to ${customPath}...`);await runCommand(`mkdir -p ${customPath}`);await runCommand(`cp -rf ${pluginPath} ${customPath}`);log.success("Copied buddy zsh plugin")}else{log.info("Buddy is already set up");log.info("Ensuring `buddy` is updated...");await runCommand(`cp -rf ${pluginPath} ${customPath}`);log.success("Updated buddy zsh plugin to latest version")}}log.success("Oh My Zsh Setup Complete");log.info(italic("To see changes reflect, you may need to open a new terminal window"));if(process.env.TERM_PROGRAM==="vscode")log.info("\u2318\u21E7P terminal.create.new.terminal");
package/dist/upgrade.js CHANGED
@@ -1,38 +1 @@
1
- import { readFileSync } from "node:fs";
2
- import process from "node:process";
3
- import { intro, outro, runCommand } from "@stacksjs/cli";
4
- import { NpmScript } from "@stacksjs/enums";
5
- import { log } from "@stacksjs/logging";
6
- import { projectPath } from "@stacksjs/path";
7
- import * as storage from "@stacksjs/storage";
8
- import { ExitCode } from "@stacksjs/types";
9
- const { version } = JSON.parse(readFileSync(new URL("../package.json", import.meta.url), "utf8"));
10
- export function checkForUncommittedChanges(options) {
11
- try {
12
- console.log("checkForUncommittedChanges", options);
13
- } catch (error) {
14
- console.error(error);
15
- }
16
- }
17
- export async function downloadFrameworkUpdate(options) {
18
- const tempFolderName = "updates", tempUpdatePath = projectPath(tempFolderName);
19
- if (storage.doesFolderExist(tempUpdatePath))
20
- await storage.deleteFolder(tempUpdatePath);
21
- log.info("Downloading framework updates...");
22
- await runCommand(`giget stacks ${tempFolderName}`, options);
23
- log.success(`Your framework updated correctly to version: v${version}`);
24
- }
25
- export async function updateDependencies() {
26
- const perf = await intro("buddy upgrade:dependencies"), result = await runCommand(NpmScript.UpgradeDependencies, {
27
- cwd: projectPath()
28
- });
29
- if (result.isErr) {
30
- await outro("While running the upgrade:dependencies command, there was an issue", { startTime: perf, useSeconds: !0 }, result.error);
31
- process.exit(ExitCode.FatalError);
32
- }
33
- await outro("Freshly updated your dependencies.", {
34
- startTime: perf,
35
- useSeconds: !0
36
- });
37
- process.exit(ExitCode.Success);
38
- }
1
+ import{readFileSync}from"node:fs";import process from"node:process";import{intro,outro,runCommand}from"@stacksjs/cli";import{NpmScript}from"@stacksjs/enums";import{log}from"@stacksjs/logging";import{projectPath}from"@stacksjs/path";import*as storage from"@stacksjs/storage";import{ExitCode}from"@stacksjs/types";const{version}=JSON.parse(readFileSync(new URL("../package.json",import.meta.url),"utf8"));export function checkForUncommittedChanges(options){try{console.log("checkForUncommittedChanges",options)}catch(error){console.error(error)}}export async function downloadFrameworkUpdate(options){const tempFolderName="updates",tempUpdatePath=projectPath(tempFolderName);if(storage.doesFolderExist(tempUpdatePath))await storage.deleteFolder(tempUpdatePath);log.info("Downloading framework updates...");await runCommand(`giget stacks ${tempFolderName}`,options);log.success(`Your framework updated correctly to version: v${version}`)}export async function updateDependencies(){const perf=await intro("buddy upgrade:dependencies"),result=await runCommand(NpmScript.UpgradeDependencies,{cwd:projectPath()});if(result.isErr){await outro("While running the upgrade:dependencies command, there was an issue",{startTime:perf,useSeconds:!0},result.error);process.exit(ExitCode.FatalError)}await outro("Freshly updated your dependencies.",{startTime:perf,useSeconds:!0});process.exit(ExitCode.Success)}
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.257",
5
+ "version": "0.70.259",
6
6
  "description": "The Stacks actions.",
7
7
  "author": "Chris Breuer",
8
8
  "contributors": [
@@ -59,33 +59,33 @@
59
59
  "prepublishOnly": "bun run build"
60
60
  },
61
61
  "dependencies": {
62
- "@stacksjs/config": "0.70.257",
62
+ "@stacksjs/config": "0.70.259",
63
63
  "@stacksjs/bumpx": "^0.2.6",
64
64
  "@stacksjs/bunpress": "^0.1.18",
65
65
  "@stacksjs/logsmith": "^0.2.3",
66
- "@stacksjs/registry": "0.70.257",
66
+ "@stacksjs/registry": "0.70.259",
67
67
  "@stacksjs/stx": "^0.2.148",
68
- "@stacksjs/ts-cloud": "^0.7.92",
68
+ "@stacksjs/ts-cloud": "^0.7.94",
69
69
  "@stacksjs/ts-md": "^0.1.1"
70
70
  },
71
71
  "devDependencies": {
72
- "@stacksjs/api": "0.70.257",
73
- "@stacksjs/cli": "0.70.257",
74
- "@stacksjs/database": "0.70.257",
72
+ "@stacksjs/api": "0.70.259",
73
+ "@stacksjs/cli": "0.70.259",
74
+ "@stacksjs/database": "0.70.259",
75
75
  "@stacksjs/tlsx": "^0.13.2",
76
76
  "better-dx": "^0.2.17",
77
- "@stacksjs/dns": "0.70.257",
78
- "@stacksjs/enums": "0.70.257",
79
- "@stacksjs/env": "0.70.257",
80
- "@stacksjs/error-handling": "0.70.257",
81
- "@stacksjs/image": "0.70.257",
82
- "@stacksjs/logging": "0.70.257",
83
- "@stacksjs/path": "0.70.257",
84
- "@stacksjs/security": "0.70.257",
85
- "@stacksjs/storage": "0.70.257",
86
- "@stacksjs/strings": "0.70.257",
87
- "@stacksjs/utils": "0.70.257",
88
- "@stacksjs/validation": "0.70.257"
77
+ "@stacksjs/dns": "0.70.259",
78
+ "@stacksjs/enums": "0.70.259",
79
+ "@stacksjs/env": "0.70.259",
80
+ "@stacksjs/error-handling": "0.70.259",
81
+ "@stacksjs/image": "0.70.259",
82
+ "@stacksjs/logging": "0.70.259",
83
+ "@stacksjs/path": "0.70.259",
84
+ "@stacksjs/security": "0.70.259",
85
+ "@stacksjs/storage": "0.70.259",
86
+ "@stacksjs/strings": "0.70.259",
87
+ "@stacksjs/utils": "0.70.259",
88
+ "@stacksjs/validation": "0.70.259"
89
89
  },
90
90
  "peerDependencies": {
91
91
  "pickier": "^0.1.35"