stacks 0.58.62 → 0.58.63
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/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 +1 -1
- 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/dist/index.js +5 -0
- package/core/path/package.json +1 -1
- package/core/path/src/index.ts +5 -0
- 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 +5 -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.63";
|
|
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
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.63";
|
|
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
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.63",
|
|
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/dist/index.js
CHANGED
|
@@ -8,6 +8,9 @@ function actionsPath(path) {
|
|
|
8
8
|
function relativeActionsPath(path) {
|
|
9
9
|
return relative(projectPath(), actionsPath(path));
|
|
10
10
|
}
|
|
11
|
+
function userActionsPath(path) {
|
|
12
|
+
return appPath(`Actions/${path || ""}`);
|
|
13
|
+
}
|
|
11
14
|
function aiPath(path) {
|
|
12
15
|
return corePath(`ai/${path || ""}`);
|
|
13
16
|
}
|
|
@@ -311,6 +314,7 @@ function xRayPath(path) {
|
|
|
311
314
|
}
|
|
312
315
|
var path = {
|
|
313
316
|
actionsPath,
|
|
317
|
+
userActionsPath,
|
|
314
318
|
aiPath,
|
|
315
319
|
assetsPath,
|
|
316
320
|
relativeActionsPath,
|
|
@@ -425,6 +429,7 @@ export {
|
|
|
425
429
|
viewsPath,
|
|
426
430
|
validationPath,
|
|
427
431
|
utilsPath,
|
|
432
|
+
userActionsPath,
|
|
428
433
|
uiPath,
|
|
429
434
|
typesPath,
|
|
430
435
|
toNamespacedPath,
|
package/core/path/package.json
CHANGED
package/core/path/src/index.ts
CHANGED
|
@@ -23,6 +23,10 @@ export function relativeActionsPath(path?: string) {
|
|
|
23
23
|
return relative(projectPath(), actionsPath(path))
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
+
export function userActionsPath(path?: string) {
|
|
27
|
+
return appPath(`Actions/${path || ''}`)
|
|
28
|
+
}
|
|
29
|
+
|
|
26
30
|
/**
|
|
27
31
|
* Returns the path to the `ai` directory. The AI directory
|
|
28
32
|
* contains the core Stacks' AI logic which currently
|
|
@@ -460,6 +464,7 @@ export function xRayPath(path?: string) {
|
|
|
460
464
|
|
|
461
465
|
export const path = {
|
|
462
466
|
actionsPath,
|
|
467
|
+
userActionsPath,
|
|
463
468
|
aiPath,
|
|
464
469
|
assetsPath,
|
|
465
470
|
relativeActionsPath,
|
package/core/push/package.json
CHANGED
package/core/queue/package.json
CHANGED
package/core/repl/package.json
CHANGED
|
@@ -210,6 +210,9 @@ function actionsPath(path2) {
|
|
|
210
210
|
function relativeActionsPath(path2) {
|
|
211
211
|
return relative(projectPath(), actionsPath(path2));
|
|
212
212
|
}
|
|
213
|
+
function userActionsPath(path2) {
|
|
214
|
+
return appPath(`Actions/${path2 || ""}`);
|
|
215
|
+
}
|
|
213
216
|
function aiPath(path2) {
|
|
214
217
|
return corePath(`ai/${path2 || ""}`);
|
|
215
218
|
}
|
|
@@ -504,6 +507,7 @@ function xRayPath(path2) {
|
|
|
504
507
|
}
|
|
505
508
|
var path2 = {
|
|
506
509
|
actionsPath,
|
|
510
|
+
userActionsPath,
|
|
507
511
|
aiPath,
|
|
508
512
|
assetsPath,
|
|
509
513
|
relativeActionsPath,
|
|
@@ -786,7 +790,7 @@ class Router {
|
|
|
786
790
|
}
|
|
787
791
|
async get(path5, callback) {
|
|
788
792
|
if (typeof callback === "string") {
|
|
789
|
-
const actionModule = await import(path2.
|
|
793
|
+
const actionModule = await import(path2.userActionsPath(`${callback}.ts`));
|
|
790
794
|
callback = actionModule.default.handle;
|
|
791
795
|
}
|
|
792
796
|
this.addRoute("GET", path5, callback, 200);
|
package/core/router/package.json
CHANGED
|
@@ -50,7 +50,7 @@ export class Router implements RouterInterface {
|
|
|
50
50
|
// check if callback is a string and if it is, then import that module path and use the default.handle function as the callback
|
|
51
51
|
if (typeof callback === 'string') {
|
|
52
52
|
// import the module and use the default.handle function as the callback
|
|
53
|
-
const actionModule = await import(p.
|
|
53
|
+
const actionModule = await import(p.userActionsPath(`${callback}.ts`))
|
|
54
54
|
callback = actionModule.default.handle
|
|
55
55
|
}
|
|
56
56
|
|
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.63";
|
|
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