stacks 0.58.21 → 0.58.24
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/README.md +0 -1
- package/core/custom-elements.json +1 -11
- package/core/src/actions/build.ts +1 -1
- package/core/src/actions/dist/src/build.js +9 -14
- package/core/src/actions/dist/src/generate/component-meta.js +2 -0
- package/core/src/actions/dist/src/generate/ide-helpers.js +8 -1
- package/core/src/actions/dist/src/generate/index.js +9 -15
- package/core/src/actions/dist/src/generate/vscode-custom-data.js +9 -1
- package/core/src/actions/dist/src/helpers/vscode-custom-data.js +8 -1
- package/core/src/actions/dist/src/index.js +11 -17
- package/core/src/actions/dist/src/release.js +11 -16
- package/core/src/actions/dist/src/upgrade.js +1 -1
- package/core/src/actions/package.json +1 -1
- package/core/src/actions/src/generate/component-meta.ts +4 -0
- package/core/src/actions/src/generate/ide-helpers.ts +2 -4
- package/core/src/actions/src/generate/index.ts +10 -19
- package/core/src/actions/src/generate/types.ts +6 -0
- package/core/src/actions/src/generate/vscode-custom-data.ts +5 -2
- package/core/src/actions/src/generate/web-types.ts +2 -0
- package/core/src/actions/src/helpers/vscode-custom-data.ts +8 -1
- package/core/src/ai/package.json +1 -1
- package/core/src/alias/package.json +1 -1
- package/core/src/analytics/package.json +1 -1
- package/core/src/api/package.json +1 -1
- package/core/src/arrays/package.json +1 -1
- package/core/src/auth/package.json +1 -1
- package/core/src/buddy/README.md +0 -1
- package/core/src/buddy/dist/{chunk-815e657d8c6ba584.js → chunk-fd47b42fb923a4be.js} +3 -9
- package/core/src/buddy/dist/cli.js +6 -4
- package/core/src/buddy/dist/index.js +1 -1
- package/core/src/buddy/package.json +1 -1
- package/core/src/buddy/src/cli.ts +7 -7
- package/core/src/buddy/src/commands/generate.ts +2 -13
- package/core/src/build/package.json +1 -1
- package/core/src/bun-create/bud/package.json +1 -2
- package/core/src/bun-create/buddy/package.json +1 -2
- package/core/src/bun-create/stack/package.json +1 -2
- package/core/src/bun-create/stacks/package.json +1 -2
- package/core/src/bun-create/stx/package.json +1 -2
- package/core/src/bun-plugin-yaml/package.json +1 -1
- package/core/src/cache/package.json +1 -1
- package/core/src/chat/package.json +1 -1
- package/core/src/cli/dist/index.js +1 -1
- package/core/src/cli/package.json +1 -1
- package/core/src/cloud/package.json +1 -1
- package/core/src/cloud/src/cloud/aws-sdk-layer/nodejs/package.json +1 -1
- package/core/src/cloud/src/server/package.json +1 -1
- package/core/src/collections/package.json +1 -1
- package/core/src/config/package.json +1 -1
- package/core/src/database/package.json +1 -1
- package/core/src/datetime/package.json +1 -1
- package/core/src/desktop/package.json +1 -1
- package/core/src/development/package.json +1 -1
- package/core/src/dns/package.json +1 -1
- package/core/src/docs/package.json +1 -1
- package/core/src/email/package.json +1 -1
- package/core/src/enums/dist/index.js +0 -1
- package/core/src/enums/package.json +1 -1
- package/core/src/enums/src/index.ts +0 -1
- package/core/src/env/package.json +1 -1
- package/core/src/error-handling/package.json +1 -1
- package/core/src/eslint-config/package.json +1 -1
- package/core/src/events/package.json +1 -1
- package/core/src/faker/package.json +1 -1
- package/core/src/git/package.json +1 -1
- package/core/src/health/package.json +1 -1
- package/core/src/http/package.json +1 -1
- package/core/src/lint/package.json +1 -1
- package/core/src/logging/package.json +1 -1
- package/core/src/music/package.json +1 -1
- package/core/src/notifications/package.json +1 -1
- package/core/src/objects/package.json +1 -1
- package/core/src/orm/package.json +1 -1
- package/core/src/path/dist/index.js +1 -1
- package/core/src/path/package.json +1 -1
- package/core/src/path/src/index.ts +1 -1
- package/core/src/payments/package.json +1 -1
- package/core/src/push/package.json +1 -1
- package/core/src/query-builder/package.json +1 -1
- package/core/src/queue/package.json +1 -1
- package/core/src/realtime/package.json +1 -1
- package/core/src/repl/package.json +1 -1
- package/core/src/router/dist/index.js +1 -1
- package/core/src/router/package.json +1 -1
- package/core/src/scheduler/package.json +1 -1
- package/core/src/search-engine/package.json +1 -1
- package/core/src/security/package.json +1 -1
- package/core/src/server/package.json +1 -1
- package/core/src/signals/package.json +1 -1
- package/core/src/slug/package.json +1 -1
- package/core/src/sms/package.json +1 -1
- package/core/src/storage/package.json +1 -1
- package/core/src/strings/package.json +1 -1
- package/core/src/tables/package.json +1 -1
- package/core/src/testing/package.json +1 -1
- package/core/src/tinker/package.json +1 -1
- package/core/src/tunnel/package.json +1 -1
- package/core/src/types/package.json +1 -1
- package/core/src/types/src/cli.ts +1 -1
- package/core/src/ui/package.json +2 -2
- package/core/src/utils/dist/index.js +2 -2
- package/core/src/utils/package.json +1 -1
- package/core/src/utils/src/helpers.ts +1 -1
- package/core/src/validation/package.json +1 -1
- package/core/src/vite/dist/index.js +1 -1
- package/core/src/vite/package.json +1 -1
- package/core/src/vite-plugin-vue-layouts/package.json +1 -1
- package/core/src/whois/package.json +1 -1
- package/core/src/x-ray/package.json +1 -1
- package/ide/vscode/package.json +1 -1
- package/package.json +6 -6
- package/core/src/actions/dist/src/generate/vue-compat.js +0 -18
- package/core/src/actions/dist/src/helpers/vue-compat.js +0 -16
- package/core/src/actions/src/generate/vue-compat.ts +0 -10
- package/core/src/actions/src/helpers/vue-compat.ts +0 -16
|
@@ -69,7 +69,7 @@ function corePath(path) {
|
|
|
69
69
|
return frameworkPath(`core/src/${path || ""}`);
|
|
70
70
|
}
|
|
71
71
|
function customElementsDataPath() {
|
|
72
|
-
return
|
|
72
|
+
return frameworkPath("core/custom-elements.json");
|
|
73
73
|
}
|
|
74
74
|
function databasePath(path) {
|
|
75
75
|
return corePath(`database/${path || ""}`);
|
|
@@ -132,7 +132,7 @@ export function corePath(path?: string) {
|
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
export function customElementsDataPath() {
|
|
135
|
-
return
|
|
135
|
+
return frameworkPath('core/custom-elements.json')
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
export function databasePath(path?: string) {
|
|
@@ -272,7 +272,7 @@ function corePath(path2) {
|
|
|
272
272
|
return frameworkPath(`core/src/${path2 || ""}`);
|
|
273
273
|
}
|
|
274
274
|
function customElementsDataPath() {
|
|
275
|
-
return
|
|
275
|
+
return frameworkPath("core/custom-elements.json");
|
|
276
276
|
}
|
|
277
277
|
function databasePath(path2) {
|
|
278
278
|
return corePath(`database/${path2 || ""}`);
|
|
@@ -202,7 +202,7 @@ export type DevOptions = {
|
|
|
202
202
|
[key in DevOption]: boolean;
|
|
203
203
|
} & CliOptions
|
|
204
204
|
|
|
205
|
-
export type GeneratorOption = 'types' | 'entries' | 'webTypes' | 'customData' | 'ideHelpers' | '
|
|
205
|
+
export type GeneratorOption = 'types' | 'entries' | 'webTypes' | 'customData' | 'ideHelpers' | 'componentMeta'
|
|
206
206
|
export type GeneratorOptions = {
|
|
207
207
|
[key in GeneratorOption]?: boolean;
|
|
208
208
|
} & CliOptions
|
package/core/src/ui/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/ui",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.58.
|
|
4
|
+
"version": "0.58.24",
|
|
5
5
|
"description": "The Stacks UI engine.",
|
|
6
6
|
"author": "Chris Breuer",
|
|
7
7
|
"license": "MIT",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"@iconify-json/heroicons": "^1.1.19",
|
|
73
73
|
"@iconify-json/heroicons-outline": "^1.1.10",
|
|
74
74
|
"@iconify-json/heroicons-solid": "^1.1.11",
|
|
75
|
-
"@iconify/json": "^2.2.
|
|
75
|
+
"@iconify/json": "^2.2.168",
|
|
76
76
|
"@julr/unocss-preset-forms": "^0.1.0",
|
|
77
77
|
"@stacksjs/build": "workspace:*",
|
|
78
78
|
"@stacksjs/config": "workspace:*",
|
|
@@ -158,7 +158,7 @@ var websiteSrc = [
|
|
|
158
158
|
var websiteSourceHash = config2.app.docMode === true ? hashPaths(docsSrc) : hashPaths(websiteSrc);
|
|
159
159
|
// src/helpers.ts
|
|
160
160
|
import {log, runCommand} from "@stacksjs/cli";
|
|
161
|
-
import {err, ok} from "@stacksjs/error-handling";
|
|
161
|
+
import {err, handleError, ok} from "@stacksjs/error-handling";
|
|
162
162
|
import {frameworkPath, projectPath} from "@stacksjs/path";
|
|
163
163
|
import * as storage2 from "@stacksjs/storage";
|
|
164
164
|
import {Action} from "@stacksjs/enums";
|
|
@@ -884,7 +884,7 @@ function prettyBytes(number, options) {
|
|
|
884
884
|
return prefix + numberString + separator + unit;
|
|
885
885
|
}
|
|
886
886
|
// package.json
|
|
887
|
-
var version = "0.58.
|
|
887
|
+
var version = "0.58.24";
|
|
888
888
|
export {
|
|
889
889
|
wordChar,
|
|
890
890
|
wordBoundary,
|
|
@@ -3,7 +3,7 @@ import type { AddressInfo } from 'node:net'
|
|
|
3
3
|
// import { runAction } from '@stacksjs/actions'
|
|
4
4
|
import { log, runCommand } from '@stacksjs/cli'
|
|
5
5
|
import type { Result } from '@stacksjs/error-handling'
|
|
6
|
-
import { err, ok } from '@stacksjs/error-handling'
|
|
6
|
+
import { err, handleError, ok } from '@stacksjs/error-handling'
|
|
7
7
|
import { frameworkPath, projectPath } from '@stacksjs/path'
|
|
8
8
|
import * as storage from '@stacksjs/storage'
|
|
9
9
|
import type { CliOptions, Manifest, StacksError, SyncSubprocess } from '@stacksjs/types'
|
|
@@ -607,7 +607,7 @@ var web_components_default = defineConfig(({ command }) => {
|
|
|
607
607
|
// src/plugin/docs.ts
|
|
608
608
|
import {kolorist as c2} from "@stacksjs/cli";
|
|
609
609
|
// package.json
|
|
610
|
-
var version = "0.58.
|
|
610
|
+
var version = "0.58.24";
|
|
611
611
|
|
|
612
612
|
// src/plugin/docs.ts
|
|
613
613
|
var docsEngine = {
|
package/ide/vscode/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stacks",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.58.
|
|
4
|
+
"version": "0.58.24",
|
|
5
5
|
"description": "The Stacks framework.",
|
|
6
6
|
"author": "Chris Breuer",
|
|
7
7
|
"license": "MIT",
|
|
@@ -408,14 +408,14 @@
|
|
|
408
408
|
"release": "bun buddy release",
|
|
409
409
|
"changelog": "bun buddy changelog",
|
|
410
410
|
"generate": "bun buddy generate",
|
|
411
|
+
"generate:types": "bun ./core/src/actions/src/generate/types.ts",
|
|
411
412
|
"generate:entries": "bun buddy generate:entries",
|
|
412
|
-
"generate:
|
|
413
|
-
"generate:vscode-custom-data": "bun ./src/actions/src/generate/vscode-custom-data.ts",
|
|
413
|
+
"generate:vscode-custom-data": "bun ./core/src/actions/src/generate/vscode-custom-data.ts",
|
|
414
414
|
"generate:web-types": "vue-docgen-web-types -c ./src/build/web-types.config.cjs",
|
|
415
|
-
"generate:component-meta": "bun ./src/actions/src/generate/component-meta.ts",
|
|
416
|
-
"generate:ide-helpers": "bun ./src/actions/src/generate/ide-helpers.ts",
|
|
415
|
+
"generate:component-meta": "bun ./core/src/actions/src/generate/component-meta.ts",
|
|
416
|
+
"generate:ide-helpers": "bun ./core/src/actions/src/generate/ide-helpers.ts",
|
|
417
417
|
"generate:all": "bun buddy generate:all",
|
|
418
|
-
"types:generate": "vue-tsc --declaration --emitDeclarationOnly && bun ./src/actions/src/copy-types.ts",
|
|
418
|
+
"types:generate": "vue-tsc --declaration --emitDeclarationOnly && bun ./core/src/actions/src/copy-types.ts",
|
|
419
419
|
"types:fix": "bun actions/src/fix-types.ts",
|
|
420
420
|
"add": "bun buddy add",
|
|
421
421
|
"test": "bun buddy test",
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env bun
|
|
2
|
-
// @bun
|
|
3
|
-
|
|
4
|
-
// src/helpers/vue-compat.ts
|
|
5
|
-
import {fs, glob} from "@stacksjs/storage";
|
|
6
|
-
async function generateVueCompat(paths) {
|
|
7
|
-
const files = await glob(paths, {
|
|
8
|
-
onlyFiles: true
|
|
9
|
-
});
|
|
10
|
-
for (const f of files) {
|
|
11
|
-
const raw = await fs.readFile(f, "utf-8");
|
|
12
|
-
const changed = raw.replace(/"@vue\/composition-api"/g, "\'vue-demi\'").replace(/"vue"/g, "\'vue-demi\'").replace(/'vue'/g, "\'vue-demi\'");
|
|
13
|
-
await fs.writeFile(f, changed, "utf-8");
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
// src/generate/vue-compat.ts
|
|
18
|
-
await generateVueCompat(["wip"]);
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
// src/helpers/vue-compat.ts
|
|
3
|
-
import {fs, glob} from "@stacksjs/storage";
|
|
4
|
-
async function generateVueCompat(paths) {
|
|
5
|
-
const files = await glob(paths, {
|
|
6
|
-
onlyFiles: true
|
|
7
|
-
});
|
|
8
|
-
for (const f of files) {
|
|
9
|
-
const raw = await fs.readFile(f, "utf-8");
|
|
10
|
-
const changed = raw.replace(/"@vue\/composition-api"/g, "\'vue-demi\'").replace(/"vue"/g, "\'vue-demi\'").replace(/'vue'/g, "\'vue-demi\'");
|
|
11
|
-
await fs.writeFile(f, changed, "utf-8");
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
export {
|
|
15
|
-
generateVueCompat
|
|
16
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { fs, glob } from '@stacksjs/storage'
|
|
2
|
-
|
|
3
|
-
export async function generateVueCompat(paths: string[]) {
|
|
4
|
-
const files = await glob(paths, {
|
|
5
|
-
onlyFiles: true,
|
|
6
|
-
})
|
|
7
|
-
|
|
8
|
-
for (const f of files) {
|
|
9
|
-
const raw = await fs.readFile(f, 'utf-8')
|
|
10
|
-
const changed = raw
|
|
11
|
-
.replace(/"@vue\/composition-api"/g, '\'vue-demi\'')
|
|
12
|
-
.replace(/"vue"/g, '\'vue-demi\'')
|
|
13
|
-
.replace(/'vue'/g, '\'vue-demi\'')
|
|
14
|
-
await fs.writeFile(f, changed, 'utf-8')
|
|
15
|
-
}
|
|
16
|
-
}
|