stacks 0.58.69 → 0.58.70
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/core/actions/dist/src/upgrade.js +1 -1
- package/core/actions/package.json +1 -1
- package/core/ai/package.json +1 -1
- package/core/alias/package.json +1 -1
- package/core/analytics/package.json +1 -1
- package/core/api/package.json +1 -1
- package/core/arrays/package.json +1 -1
- package/core/auth/package.json +1 -1
- package/core/buddy/package.json +1 -1
- package/core/buddy/src/commands/cloud.ts +3 -1
- package/core/build/package.json +1 -1
- package/core/bun-create/bud/package.json +1 -1
- package/core/bun-create/buddy/package.json +1 -1
- package/core/bun-create/stack/package.json +1 -1
- package/core/bun-create/stacks/package.json +1 -1
- package/core/bun-create/stx/package.json +1 -1
- package/core/bun-plugin-yaml/package.json +1 -1
- package/core/cache/package.json +1 -1
- package/core/chat/package.json +1 -1
- package/core/cli/dist/index.js +1 -1
- package/core/cli/package.json +1 -1
- package/core/cloud/package.json +1 -1
- package/core/cloud/src/cloud/aws-sdk-layer/nodejs/package.json +1 -1
- package/core/cloud/src/cloud/router-layer/nodejs/package.json +2 -2
- package/core/cloud/zip.ts +11 -2
- package/core/collections/package.json +1 -1
- package/core/config/package.json +1 -1
- package/core/database/package.json +1 -1
- package/core/datetime/package.json +1 -1
- package/core/desktop/package.json +1 -1
- package/core/development/package.json +1 -1
- package/core/dns/package.json +1 -1
- package/core/docs/package.json +1 -1
- package/core/email/package.json +1 -1
- package/core/enums/package.json +1 -1
- package/core/env/package.json +1 -1
- package/core/error-handling/package.json +1 -1
- package/core/eslint-config/package.json +1 -1
- package/core/events/package.json +1 -1
- package/core/faker/package.json +1 -1
- package/core/git/package.json +1 -1
- package/core/health/package.json +1 -1
- package/core/http/package.json +1 -1
- package/core/lint/package.json +1 -1
- package/core/logging/package.json +1 -1
- package/core/notifications/package.json +1 -1
- package/core/objects/package.json +1 -1
- package/core/orm/package.json +1 -1
- package/core/path/package.json +1 -1
- package/core/payments/package.json +1 -1
- package/core/push/package.json +1 -1
- package/core/query-builder/package.json +1 -1
- package/core/queue/package.json +1 -1
- package/core/raycast/package.json +1 -1
- package/core/realtime/package.json +1 -1
- package/core/repl/package.json +1 -1
- package/core/router/dist/index.js +1 -1
- package/core/router/package.json +1 -1
- package/core/router/src/router.ts +1 -1
- package/core/scheduler/package.json +1 -1
- package/core/search-engine/package.json +1 -1
- package/core/security/package.json +1 -1
- package/core/server/package.json +1 -1
- package/core/signals/package.json +1 -1
- package/core/slug/package.json +1 -1
- package/core/sms/package.json +1 -1
- package/core/storage/package.json +1 -1
- package/core/strings/package.json +1 -1
- package/core/tables/package.json +1 -1
- package/core/testing/package.json +1 -1
- package/core/tinker/package.json +1 -1
- package/core/tunnel/package.json +1 -1
- package/core/types/package.json +1 -1
- package/core/ui/package.json +1 -1
- package/core/utils/dist/index.js +1 -1
- package/core/utils/package.json +1 -1
- package/core/validation/package.json +1 -1
- package/core/vite/dist/index.js +1 -1
- package/core/vite/package.json +1 -1
- package/core/whois/package.json +1 -1
- package/core/x-ray/package.json +1 -1
- package/core/zsh-buddy/package.json +1 -1
- package/ide/vscode/package.json +1 -1
- package/package.json +1 -1
|
@@ -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.70";
|
|
11
11
|
|
|
12
12
|
// src/upgrade.ts
|
|
13
13
|
function checkForUncommittedChanges(options) {
|
package/core/ai/package.json
CHANGED
package/core/alias/package.json
CHANGED
package/core/api/package.json
CHANGED
package/core/arrays/package.json
CHANGED
package/core/auth/package.json
CHANGED
package/core/buddy/package.json
CHANGED
|
@@ -102,6 +102,7 @@ export function cloud(buddy: CLI) {
|
|
|
102
102
|
.alias('cloud:rm')
|
|
103
103
|
.alias('undeploy')
|
|
104
104
|
.option('--jump-box', 'Remove the jump-box', { default: false })
|
|
105
|
+
// .option('--realtime-cdn-logs', 'Remove the CDN Realtime Log Stream', { default: false }) // TODO: implement this
|
|
105
106
|
.option('-p, --project', descriptions.project, { default: false })
|
|
106
107
|
.option('--verbose', descriptions.verbose, { default: false })
|
|
107
108
|
.action(async (options: CloudCliOptions) => {
|
|
@@ -185,7 +186,8 @@ export function cloud(buddy: CLI) {
|
|
|
185
186
|
|
|
186
187
|
buddy
|
|
187
188
|
.command('cloud:optimize-cost', descriptions.optimizeCost)
|
|
188
|
-
.option('--jump-box', 'Remove the jump-box', { default: true })
|
|
189
|
+
.option('--jump-box', 'Remove the jump-box', { default: true }) // removes the ec2 instance
|
|
190
|
+
// .option('--realtime-cdn-logs', 'Remove the CDN Realtime Log Stream', { default: true }) // TODO: implement this - removes the Kinesis Data Stream
|
|
189
191
|
.option('-p, --project', descriptions.project, { default: false })
|
|
190
192
|
.option('--verbose', descriptions.verbose, { default: false })
|
|
191
193
|
.action(async (options: CloudCliOptions) => {
|
package/core/build/package.json
CHANGED
package/core/cache/package.json
CHANGED
package/core/chat/package.json
CHANGED
package/core/cli/dist/index.js
CHANGED
|
@@ -502,7 +502,7 @@ import {log as log3} from "@stacksjs/logging";
|
|
|
502
502
|
import {ExitCode as ExitCode2} from "@stacksjs/types";
|
|
503
503
|
import {bgCyan as bgCyan2, bold as bold2, cyan as cyan2, dim as dim2, gray as gray2, green as green2, italic as italic2} from "kolorist";
|
|
504
504
|
// package.json
|
|
505
|
-
var version = "0.58.
|
|
505
|
+
var version = "0.58.70";
|
|
506
506
|
|
|
507
507
|
// src/helpers.ts
|
|
508
508
|
async function intro(command2, options) {
|
package/core/cli/package.json
CHANGED
package/core/cloud/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stacks-router-layer",
|
|
3
|
-
"version": "0.58.
|
|
3
|
+
"version": "0.58.70",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "",
|
|
6
6
|
"license": "MIT",
|
|
@@ -10,6 +10,6 @@
|
|
|
10
10
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@stacksjs/router": "^0.58.
|
|
13
|
+
"@stacksjs/router": "^0.58.69"
|
|
14
14
|
}
|
|
15
15
|
}
|
package/core/cloud/zip.ts
CHANGED
|
@@ -1,8 +1,17 @@
|
|
|
1
1
|
import { log, runCommand } from '@stacksjs/cli'
|
|
2
2
|
|
|
3
|
-
const result = await runCommand('zip -r
|
|
3
|
+
const result = await runCommand('zip -r ./dist.zip dist/origin-request.js package.json', {
|
|
4
4
|
cwd: import.meta.dir,
|
|
5
5
|
})
|
|
6
6
|
|
|
7
|
-
if (result.isErr())
|
|
7
|
+
if (result.isErr()) {
|
|
8
8
|
log.error(result.error)
|
|
9
|
+
}
|
|
10
|
+
else {
|
|
11
|
+
// need to move the file to ../../cloud/dist.zip
|
|
12
|
+
await runCommand('mv -f dist.zip ../../cloud/dist.zip', {
|
|
13
|
+
cwd: import.meta.dir,
|
|
14
|
+
})
|
|
15
|
+
|
|
16
|
+
log.success('Created & moved dist.zip')
|
|
17
|
+
}
|
package/core/config/package.json
CHANGED
package/core/dns/package.json
CHANGED
package/core/docs/package.json
CHANGED
package/core/email/package.json
CHANGED
package/core/enums/package.json
CHANGED
package/core/env/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.58.
|
|
4
|
+
"version": "0.58.70",
|
|
5
5
|
"description": "The Stacks.js ESLint config preset, heavily inspired by Anthony's ESLint config.",
|
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
|
|
7
7
|
"license": "MIT",
|
package/core/events/package.json
CHANGED
package/core/faker/package.json
CHANGED
package/core/git/package.json
CHANGED
package/core/health/package.json
CHANGED
package/core/http/package.json
CHANGED
package/core/lint/package.json
CHANGED
package/core/orm/package.json
CHANGED
package/core/path/package.json
CHANGED
package/core/push/package.json
CHANGED
package/core/queue/package.json
CHANGED
package/core/repl/package.json
CHANGED
|
@@ -1366,7 +1366,7 @@ class Router {
|
|
|
1366
1366
|
}
|
|
1367
1367
|
async job(path5) {
|
|
1368
1368
|
if (path5.includes("api/"))
|
|
1369
|
-
pascalCase(path5.replace(/^api\/?|^\//, ""));
|
|
1369
|
+
path5 = pascalCase(path5.replace(/^api\/?|^\//, ""));
|
|
1370
1370
|
const jobModule = await import(path2.userJobsPath(`${path5}Job.ts`.replace(/JobJob/, "Job")));
|
|
1371
1371
|
const callback = jobModule.default.handle;
|
|
1372
1372
|
this.addRoute("GET", path5, callback, 200);
|
package/core/router/package.json
CHANGED
|
@@ -76,7 +76,7 @@ export class Router implements RouterInterface {
|
|
|
76
76
|
|
|
77
77
|
public async job(path: Route['url']): Promise<this> {
|
|
78
78
|
if (path.includes('api/')) // TODO: once the api prefix is removed from the router/api, remove this
|
|
79
|
-
pascalCase(path.replace(/^api\/?|^\//, ''))
|
|
79
|
+
path = pascalCase(path.replace(/^api\/?|^\//, ''))
|
|
80
80
|
|
|
81
81
|
// removes the potential `JobJob` suffix in case the user does not choose to use the Job suffix in their file name
|
|
82
82
|
const jobModule = await import(p.userJobsPath(`${path}Job.ts`.replace(/JobJob/, 'Job')))
|
package/core/server/package.json
CHANGED
package/core/slug/package.json
CHANGED
package/core/sms/package.json
CHANGED
package/core/tables/package.json
CHANGED
package/core/tinker/package.json
CHANGED
package/core/tunnel/package.json
CHANGED
package/core/types/package.json
CHANGED
package/core/ui/package.json
CHANGED
package/core/utils/dist/index.js
CHANGED
package/core/utils/package.json
CHANGED
package/core/vite/dist/index.js
CHANGED
|
@@ -609,7 +609,7 @@ var web_components_default = defineConfig6(({ command }) => {
|
|
|
609
609
|
// src/plugin/docs.ts
|
|
610
610
|
import {kolorist as c2} from "@stacksjs/cli";
|
|
611
611
|
// package.json
|
|
612
|
-
var version = "0.58.
|
|
612
|
+
var version = "0.58.70";
|
|
613
613
|
|
|
614
614
|
// src/plugin/docs.ts
|
|
615
615
|
var docsEngine = {
|
package/core/vite/package.json
CHANGED
package/core/whois/package.json
CHANGED
package/core/x-ray/package.json
CHANGED
package/ide/vscode/package.json
CHANGED