stacks 0.49.3 → 0.51.0
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/README.md +2 -2
- package/auto-imports.d.ts +474 -50
- package/buddy/README.md +2 -2
- package/buddy/node_modules/.bin/tsc +2 -2
- package/buddy/node_modules/.bin/tsserver +2 -2
- package/buddy/package.json +5 -5
- package/buddy/src/cli.ts +1 -1
- package/buddy/src/commands/add.ts +4 -0
- package/buddy/src/commands/build.ts +13 -1
- package/buddy/src/commands/changelog.ts +2 -0
- package/buddy/src/commands/clean.ts +2 -0
- package/buddy/src/commands/commit.ts +2 -0
- package/buddy/src/commands/create.ts +2 -0
- package/buddy/src/commands/dev.ts +9 -3
- package/buddy/src/commands/example.ts +6 -2
- package/buddy/src/commands/fresh.ts +2 -0
- package/buddy/src/commands/generate.ts +9 -0
- package/buddy/src/commands/index.ts +2 -0
- package/buddy/src/commands/key.ts +2 -0
- package/buddy/src/commands/lint.ts +3 -0
- package/buddy/src/commands/make.ts +11 -0
- package/buddy/src/commands/onboarding.ts +28 -0
- package/buddy/src/commands/preinstall.ts +2 -0
- package/buddy/src/commands/prepublish.ts +2 -0
- package/buddy/src/commands/release.ts +2 -2
- package/buddy/src/commands/setting.ts +28 -0
- package/buddy/src/commands/setup.ts +3 -0
- package/buddy/src/commands/test.ts +13 -8
- package/buddy/src/commands/types.ts +3 -0
- package/buddy/src/commands/update.ts +12 -5
- package/components/vue/package.json +1 -1
- package/components/web/package.json +1 -1
- package/core/actions/node_modules/.bin/mkdist +2 -2
- package/core/actions/node_modules/.bin/tsc +2 -2
- package/core/actions/node_modules/.bin/tsserver +2 -2
- package/core/actions/package.json +6 -5
- package/core/actions/src/build-component-libs.ts +1 -1
- package/core/actions/src/build-core.ts +1 -1
- package/core/actions/src/build-stacks.ts +1 -1
- package/core/actions/src/bump.ts +1 -1
- package/core/actions/src/changelog.ts +1 -1
- package/core/actions/src/dev-components.ts +1 -1
- package/core/actions/src/fix-lint-issues.ts +1 -1
- package/core/actions/src/fresh.ts +1 -1
- package/core/actions/src/generate-onboarding.ts +3 -0
- package/core/actions/src/generate-settings.ts +4 -0
- package/core/actions/src/generate.ts +4 -4
- package/core/actions/src/lint.ts +1 -1
- package/core/actions/src/prepublish.ts +1 -1
- package/core/actions/src/release.ts +1 -1
- package/core/actions/src/test-coverage.ts +1 -1
- package/core/actions/src/test-feature.ts +1 -1
- package/core/actions/src/test-ui.ts +1 -1
- package/core/actions/src/test-unit.ts +1 -1
- package/core/actions/src/test.ts +1 -1
- package/core/actions/src/typecheck.ts +1 -1
- package/core/ai/node_modules/.bin/mkdist +2 -2
- package/core/ai/node_modules/.bin/tsc +2 -2
- package/core/ai/node_modules/.bin/tsserver +2 -2
- package/core/ai/package.json +5 -5
- package/core/alias/node_modules/.bin/mkdist +2 -2
- package/core/alias/node_modules/.bin/tsc +2 -2
- package/core/alias/node_modules/.bin/tsserver +2 -2
- package/core/alias/package.json +5 -5
- package/core/alias/src/index.ts +4 -4
- package/core/arrays/node_modules/.bin/mkdist +2 -2
- package/core/arrays/node_modules/.bin/tsc +2 -2
- package/core/arrays/node_modules/.bin/tsserver +2 -2
- package/core/arrays/package.json +5 -5
- package/core/auth/node_modules/.bin/mkdist +2 -2
- package/core/auth/node_modules/.bin/tsc +2 -2
- package/core/auth/node_modules/.bin/tsserver +2 -2
- package/core/auth/package.json +5 -5
- package/core/build/node_modules/.bin/mkdist +2 -2
- package/core/build/node_modules/.bin/tsc +2 -2
- package/core/build/node_modules/.bin/tsserver +2 -2
- package/core/build/node_modules/.bin/vite +2 -2
- package/core/build/node_modules/.bin/vite-ssg +2 -2
- package/core/build/node_modules/.bin/vue-docgen-web-types +2 -2
- package/core/build/package.json +9 -9
- package/core/build/src/stacks.ts +45 -22
- package/core/build/src/vue-components.ts +4 -10
- package/core/cache/node_modules/.bin/mkdist +2 -2
- package/core/cache/node_modules/.bin/tsc +2 -2
- package/core/cache/node_modules/.bin/tsserver +2 -2
- package/core/cache/package.json +8 -8
- package/core/chat/node_modules/.bin/mkdist +2 -2
- package/core/chat/node_modules/.bin/tsc +2 -2
- package/core/chat/node_modules/.bin/tsserver +2 -2
- package/core/chat/package.json +9 -9
- package/core/cli/package.json +4 -4
- package/core/cli/src/actions/index.ts +0 -1
- package/core/cli/src/index.ts +1 -0
- package/core/cli/src/{actions/run.ts → run.ts} +3 -3
- package/core/cloud/node_modules/.bin/mkdist +2 -2
- package/core/cloud/node_modules/.bin/tsc +2 -2
- package/core/cloud/node_modules/.bin/tsserver +2 -2
- package/core/cloud/package.json +5 -5
- package/core/collections/node_modules/.bin/mkdist +2 -2
- package/core/collections/node_modules/.bin/tsc +2 -2
- package/core/collections/node_modules/.bin/tsserver +2 -2
- package/core/collections/package.json +5 -5
- package/core/config/node_modules/.bin/mkdist +2 -2
- package/core/config/node_modules/.bin/tsc +2 -2
- package/core/config/node_modules/.bin/tsserver +2 -2
- package/core/config/package.json +5 -5
- package/core/config/src/helpers.ts +1 -1
- package/core/config/src/index.ts +17 -14
- package/core/dashboard/package.json +4 -4
- package/core/database/node_modules/.bin/mkdist +2 -2
- package/core/database/node_modules/.bin/tsc +2 -2
- package/core/database/node_modules/.bin/tsserver +2 -2
- package/core/database/package.json +5 -5
- package/core/datetime/node_modules/.bin/mkdist +2 -2
- package/core/datetime/node_modules/.bin/tsc +2 -2
- package/core/datetime/node_modules/.bin/tsserver +2 -2
- package/core/datetime/package.json +5 -5
- package/core/desktop/node_modules/.bin/mkdist +2 -2
- package/core/desktop/node_modules/.bin/tsc +2 -2
- package/core/desktop/node_modules/.bin/tsserver +2 -2
- package/core/desktop/package.json +7 -7
- package/core/docs/node_modules/.bin/mkdist +2 -2
- package/core/docs/node_modules/.bin/tsc +2 -2
- package/core/docs/node_modules/.bin/tsserver +2 -2
- package/core/docs/node_modules/.bin/vitepress +2 -2
- package/core/docs/package.json +6 -6
- package/core/domains/node_modules/.bin/mkdist +2 -2
- package/core/domains/node_modules/.bin/tsc +2 -2
- package/core/domains/node_modules/.bin/tsserver +2 -2
- package/core/domains/package.json +5 -5
- package/core/drivers/node_modules/.bin/mkdist +2 -2
- package/core/drivers/node_modules/.bin/tsc +2 -2
- package/core/drivers/node_modules/.bin/tsserver +2 -2
- package/core/drivers/package.json +5 -5
- package/core/email/node_modules/.bin/mkdist +2 -2
- package/core/email/node_modules/.bin/tsc +2 -2
- package/core/email/node_modules/.bin/tsserver +2 -2
- package/core/email/package.json +16 -16
- package/core/email/src/drivers/sendgrid.ts +6 -6
- package/core/error-handling/node_modules/.bin/mkdist +2 -2
- package/core/error-handling/node_modules/.bin/tsc +2 -2
- package/core/error-handling/node_modules/.bin/tsserver +2 -2
- package/core/error-handling/package.json +5 -5
- package/core/events/node_modules/.bin/mkdist +2 -2
- package/core/events/node_modules/.bin/tsc +2 -2
- package/core/events/node_modules/.bin/tsserver +2 -2
- package/core/events/package.json +5 -5
- package/core/git/node_modules/.bin/changelogen +2 -2
- package/core/git/node_modules/.bin/mkdist +2 -2
- package/core/git/node_modules/.bin/tsc +2 -2
- package/core/git/node_modules/.bin/tsserver +2 -2
- package/core/git/package.json +7 -7
- package/core/health/node_modules/.bin/mkdist +2 -2
- package/core/health/node_modules/.bin/tsc +2 -2
- package/core/health/node_modules/.bin/tsserver +2 -2
- package/core/health/package.json +5 -5
- package/core/lint/node_modules/.bin/eslint +2 -2
- package/core/lint/node_modules/.bin/mkdist +2 -2
- package/core/lint/node_modules/.bin/tsc +2 -2
- package/core/lint/node_modules/.bin/tsserver +2 -2
- package/core/lint/package.json +7 -7
- package/core/logging/node_modules/.bin/mkdist +2 -2
- package/core/logging/node_modules/.bin/tsc +2 -2
- package/core/logging/node_modules/.bin/tsserver +2 -2
- package/core/logging/package.json +5 -5
- package/core/modules/node_modules/.bin/mkdist +2 -2
- package/core/modules/node_modules/.bin/tsc +2 -2
- package/core/modules/node_modules/.bin/tsserver +2 -2
- package/core/modules/package.json +5 -5
- package/core/notifications/node_modules/.bin/mkdist +2 -2
- package/core/notifications/node_modules/.bin/tsc +2 -2
- package/core/notifications/node_modules/.bin/tsserver +2 -2
- package/core/notifications/package.json +26 -26
- package/core/objects/node_modules/.bin/mkdist +2 -2
- package/core/objects/node_modules/.bin/tsc +2 -2
- package/core/objects/node_modules/.bin/tsserver +2 -2
- package/core/objects/package.json +5 -5
- package/core/pages/node_modules/.bin/mkdist +17 -0
- package/core/pages/node_modules/.bin/tsc +17 -0
- package/core/pages/node_modules/.bin/tsserver +17 -0
- package/core/pages/package.json +55 -0
- package/core/pages/src/index.ts +19 -0
- package/core/pages/tests/example.test.ts +7 -0
- package/core/path/node_modules/.bin/mkdist +2 -2
- package/core/path/node_modules/.bin/tsc +2 -2
- package/core/path/node_modules/.bin/tsserver +2 -2
- package/core/path/package.json +6 -6
- package/core/path/src/index.ts +48 -3
- package/core/payments/node_modules/.bin/mkdist +2 -2
- package/core/payments/node_modules/.bin/tsc +2 -2
- package/core/payments/node_modules/.bin/tsserver +2 -2
- package/core/payments/package.json +5 -5
- package/core/push/node_modules/.bin/mkdist +2 -2
- package/core/push/node_modules/.bin/tsc +2 -2
- package/core/push/node_modules/.bin/tsserver +2 -2
- package/core/push/package.json +7 -7
- package/core/queue/node_modules/.bin/mkdist +2 -2
- package/core/queue/node_modules/.bin/tsc +2 -2
- package/core/queue/node_modules/.bin/tsserver +2 -2
- package/core/queue/package.json +5 -5
- package/core/realtime/node_modules/.bin/mkdist +2 -2
- package/core/realtime/node_modules/.bin/tsc +2 -2
- package/core/realtime/node_modules/.bin/tsserver +2 -2
- package/core/realtime/package.json +5 -5
- package/core/router/node_modules/.bin/mkdist +2 -2
- package/core/router/node_modules/.bin/tsc +2 -2
- package/core/router/node_modules/.bin/tsserver +2 -2
- package/core/router/package.json +5 -5
- package/core/search-engine/node_modules/.bin/mkdist +2 -2
- package/core/search-engine/node_modules/.bin/tsc +2 -2
- package/core/search-engine/node_modules/.bin/tsserver +2 -2
- package/core/search-engine/package.json +7 -7
- package/core/security/node_modules/.bin/mkdist +2 -2
- package/core/security/node_modules/.bin/tsc +2 -2
- package/core/security/node_modules/.bin/tsserver +2 -2
- package/core/security/package.json +5 -5
- package/core/security/src/crypt.ts +2 -2
- package/core/server/node_modules/.bin/mkdist +2 -2
- package/core/server/node_modules/.bin/nitro +2 -2
- package/core/server/node_modules/.bin/nitropack +2 -2
- package/core/server/node_modules/.bin/tsc +2 -2
- package/core/server/node_modules/.bin/tsserver +2 -2
- package/core/server/node_modules/.bin/vite +2 -2
- package/core/server/package.json +7 -7
- package/core/sms/node_modules/.bin/mkdist +2 -2
- package/core/sms/node_modules/.bin/tsc +2 -2
- package/core/sms/node_modules/.bin/tsserver +2 -2
- package/core/sms/package.json +15 -15
- package/core/storage/node_modules/.bin/mkdist +2 -2
- package/core/storage/node_modules/.bin/tsc +2 -2
- package/core/storage/node_modules/.bin/tsserver +2 -2
- package/core/storage/package.json +5 -5
- package/core/storage/src/index.ts +15 -0
- package/core/strings/node_modules/.bin/mkdist +2 -2
- package/core/strings/node_modules/.bin/tsc +2 -2
- package/core/strings/node_modules/.bin/tsserver +2 -2
- package/core/strings/package.json +7 -7
- package/core/tables/node_modules/.bin/mkdist +2 -2
- package/core/tables/node_modules/.bin/tsc +2 -2
- package/core/tables/node_modules/.bin/tsserver +2 -2
- package/core/tables/node_modules/.bin/vite +2 -2
- package/core/tables/package.json +5 -5
- package/core/testing/node_modules/.bin/mkdist +2 -2
- package/core/testing/node_modules/.bin/playwright +2 -2
- package/core/testing/node_modules/.bin/tsc +2 -2
- package/core/testing/node_modules/.bin/tsserver +2 -2
- package/core/testing/node_modules/.bin/vitest +2 -2
- package/core/testing/package.json +9 -9
- package/core/types/node_modules/.bin/mkdist +2 -2
- package/core/types/node_modules/.bin/tsc +2 -2
- package/core/types/node_modules/.bin/tsserver +2 -2
- package/core/types/node_modules/.bin/vite-ssg +2 -2
- package/core/types/node_modules/.bin/vitepress +2 -2
- package/core/types/package.json +10 -10
- package/core/types/src/cli.ts +13 -0
- package/core/types/src/library.ts +1 -1
- package/core/types/src/pages.ts +10 -8
- package/core/ui/node_modules/.bin/mkdist +2 -2
- package/core/ui/node_modules/.bin/tsc +2 -2
- package/core/ui/node_modules/.bin/tsserver +2 -2
- package/core/ui/node_modules/.bin/vue-tsc +2 -2
- package/core/ui/package.json +9 -9
- package/core/ui/src/index.ts +1 -1
- package/core/ui/src/unocss.ts +1 -1
- package/core/utils/node_modules/.bin/mkdist +2 -2
- package/core/utils/node_modules/.bin/rimraf +2 -2
- package/core/utils/node_modules/.bin/tsc +2 -2
- package/core/utils/node_modules/.bin/tsserver +2 -2
- package/core/utils/package.json +11 -11
- package/core/utils/src/helpers.ts +4 -2
- package/core/validation/README.md +53 -0
- package/core/validation/node_modules/.bin/mkdist +17 -0
- package/core/validation/node_modules/.bin/tsc +17 -0
- package/core/validation/node_modules/.bin/tsserver +17 -0
- package/core/validation/package.json +55 -0
- package/core/validation/src/index.ts +3 -0
- package/core/validation/tests/example.test.ts +7 -0
- package/core/x-ray/node_modules/.bin/mkdist +2 -2
- package/core/x-ray/node_modules/.bin/tsc +2 -2
- package/core/x-ray/node_modules/.bin/tsserver +2 -2
- package/core/x-ray/package.json +5 -5
- package/functions/package.json +1 -1
- package/package.json +5 -5
- package/pages/node_modules/.bin/mkdist +17 -0
- package/pages/node_modules/.bin/tsc +17 -0
- package/pages/node_modules/.bin/tsserver +17 -0
- package/pages/package.json +55 -0
- package/pages/src/index.ts +19 -0
- package/pages/tests/example.test.ts +7 -0
- package/shims.d.ts +0 -12
- package/tsconfig.json +2 -0
- package/core/tables/dist/index.html +0 -15
- package/core/tables/old.vite.config.ts +0 -97
package/core/types/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/types",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
5
|
-
"packageManager": "pnpm@7.
|
|
4
|
+
"version": "0.51.0",
|
|
5
|
+
"packageManager": "pnpm@7.26.3",
|
|
6
6
|
"description": "The Stacks framework types.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"license": "MIT",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"README.md"
|
|
34
34
|
],
|
|
35
35
|
"engines": {
|
|
36
|
-
"node": ">=v18.
|
|
37
|
-
"pnpm": ">=7.
|
|
36
|
+
"node": ">=v18.14.0",
|
|
37
|
+
"pnpm": ">=7.26.3"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "mkdist -d",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@rollup/pluginutils": "^5.0.2",
|
|
51
51
|
"@types/bcryptjs": "^2.4.2",
|
|
52
52
|
"@types/crypto-js": "^4.1.1",
|
|
53
|
-
"@types/eslint": "^8.
|
|
53
|
+
"@types/eslint": "^8.21.0",
|
|
54
54
|
"@types/fs-extra": "^11.0.1",
|
|
55
55
|
"@types/markdown-it-link-attributes": "^3.0.1",
|
|
56
56
|
"@types/minimatch": "^5.1.2",
|
|
@@ -61,12 +61,12 @@
|
|
|
61
61
|
"cac": "^6.7.14",
|
|
62
62
|
"markdown-it": "^13.0.1",
|
|
63
63
|
"mkdist": "^1.1.0",
|
|
64
|
-
"typescript": "^4.9.
|
|
65
|
-
"unplugin-auto-import": "^0.
|
|
66
|
-
"unplugin-vue-components": "^0.
|
|
67
|
-
"vite-plugin-inspect": "^0.7.
|
|
64
|
+
"typescript": "^4.9.5",
|
|
65
|
+
"unplugin-auto-import": "^0.13.0",
|
|
66
|
+
"unplugin-vue-components": "^0.23.0",
|
|
67
|
+
"vite-plugin-inspect": "^0.7.15",
|
|
68
68
|
"vite-plugin-vue-layouts": "^0.7.0",
|
|
69
69
|
"vite-ssg": "^0.22.1",
|
|
70
|
-
"vitepress": "1.0.0-alpha.
|
|
70
|
+
"vitepress": "1.0.0-alpha.45"
|
|
71
71
|
}
|
|
72
72
|
}
|
package/core/types/src/cli.ts
CHANGED
|
@@ -40,6 +40,17 @@ export interface CliOptions {
|
|
|
40
40
|
*/
|
|
41
41
|
debug?: boolean
|
|
42
42
|
|
|
43
|
+
/**
|
|
44
|
+
* **Verbosity Mode**
|
|
45
|
+
*
|
|
46
|
+
* When your application is in verbose mode, a different level of information,
|
|
47
|
+
* like useful outputs for debugging reasons, will be shown. When
|
|
48
|
+
* disabled, it defaults to the "normal experience."
|
|
49
|
+
*
|
|
50
|
+
* @default false
|
|
51
|
+
*/
|
|
52
|
+
verbose?: boolean
|
|
53
|
+
|
|
43
54
|
/**
|
|
44
55
|
* **Current Work Directory**
|
|
45
56
|
*
|
|
@@ -233,6 +244,8 @@ export const enum Action {
|
|
|
233
244
|
Changelog = 'changelog', // wip
|
|
234
245
|
Fresh = 'fresh', // ✅
|
|
235
246
|
GeneratePackageJsons = 'generate-package-jsons', // ✅
|
|
247
|
+
GenerateSettings = 'generate-settings',
|
|
248
|
+
GenerateOnboarding = 'generate-onboarding',
|
|
236
249
|
Lint = 'lint', // ✅
|
|
237
250
|
LintFix = 'lint-fix', // ✅
|
|
238
251
|
Test = 'test', // ✅
|
package/core/types/src/pages.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
export interface PagesOption {
|
|
2
|
+
onboarding: {
|
|
3
|
+
path: string
|
|
4
|
+
pages: string[]
|
|
5
|
+
}
|
|
6
|
+
settings: {
|
|
7
|
+
path: string
|
|
8
|
+
pages: string[]
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="$NODE_PATH:/home/runner/work/stacks/stacks/node_modules/.pnpm/node_modules"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/mkdist@1.1.0_typescript@4.9.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/mkdist@1.1.0_typescript@4.9.5/node_modules/mkdist/dist/cli.cjs" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../../node_modules/.pnpm/mkdist@1.1.0_typescript@4.9.
|
|
16
|
+
exec node "$basedir/../../../../../node_modules/.pnpm/mkdist@1.1.0_typescript@4.9.5/node_modules/mkdist/dist/cli.cjs" "$@"
|
|
17
17
|
fi
|
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="$NODE_PATH:/home/runner/work/stacks/stacks/node_modules/.pnpm/node_modules"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/typescript@4.9.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/bin/tsc" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../../node_modules/.pnpm/typescript@4.9.
|
|
16
|
+
exec node "$basedir/../../../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/bin/tsc" "$@"
|
|
17
17
|
fi
|
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="$NODE_PATH:/home/runner/work/stacks/stacks/node_modules/.pnpm/node_modules"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/typescript@4.9.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/bin/tsserver" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../../node_modules/.pnpm/typescript@4.9.
|
|
16
|
+
exec node "$basedir/../../../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/bin/tsserver" "$@"
|
|
17
17
|
fi
|
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="$NODE_PATH:/home/runner/work/stacks/stacks/node_modules/.pnpm/node_modules"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/vue-tsc@1.0.24_typescript@4.9.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/vue-tsc@1.0.24_typescript@4.9.5/node_modules/vue-tsc/bin/vue-tsc.js" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../../node_modules/.pnpm/vue-tsc@1.0.24_typescript@4.9.
|
|
16
|
+
exec node "$basedir/../../../../../node_modules/.pnpm/vue-tsc@1.0.24_typescript@4.9.5/node_modules/vue-tsc/bin/vue-tsc.js" "$@"
|
|
17
17
|
fi
|
package/core/ui/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/ui",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
5
|
-
"packageManager": "pnpm@7.
|
|
4
|
+
"version": "0.51.0",
|
|
5
|
+
"packageManager": "pnpm@7.26.3",
|
|
6
6
|
"description": "The Stacks atomic UI engine, powered by UnoCSS.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"license": "MIT",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"README.md"
|
|
38
38
|
],
|
|
39
39
|
"engines": {
|
|
40
|
-
"node": ">=v18.
|
|
41
|
-
"pnpm": ">=7.
|
|
40
|
+
"node": ">=v18.14.0",
|
|
41
|
+
"pnpm": ">=7.26.3"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"build": "mkdist -d",
|
|
@@ -52,15 +52,15 @@
|
|
|
52
52
|
"@julr/unocss-preset-forms": "^0.0.2",
|
|
53
53
|
"@stacksjs/build": "workspace:*",
|
|
54
54
|
"@stacksjs/config": "workspace:*",
|
|
55
|
-
"@unocss/transformer-compile-class": "^0.
|
|
56
|
-
"pinia": "^2.0.
|
|
57
|
-
"unocss": "^0.
|
|
58
|
-
"vue": "^3.2.
|
|
55
|
+
"@unocss/transformer-compile-class": "^0.49.4",
|
|
56
|
+
"pinia": "^2.0.30",
|
|
57
|
+
"unocss": "^0.49.4",
|
|
58
|
+
"vue": "^3.2.47",
|
|
59
59
|
"vue-tsc": "^1.0.24"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@stacksjs/testing": "workspace:*",
|
|
63
63
|
"mkdist": "^1.1.0",
|
|
64
|
-
"typescript": "^4.9.
|
|
64
|
+
"typescript": "^4.9.5"
|
|
65
65
|
}
|
|
66
66
|
}
|
package/core/ui/src/index.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as CssEngine from 'unocss'
|
|
2
2
|
import { presetForms } from '@julr/unocss-preset-forms'
|
|
3
3
|
import transformerCompileClass from '@unocss/transformer-compile-class'
|
|
4
|
-
import { ui as options } from '@stacksjs/config'
|
|
5
4
|
import * as UiEngine from 'vue'
|
|
6
5
|
import * as Store from 'pinia'
|
|
6
|
+
import { ui as options } from '../../../../config/ui'
|
|
7
7
|
import config from './unocss'
|
|
8
8
|
|
|
9
9
|
export default {
|
package/core/ui/src/unocss.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type { UserConfig } from 'unocss'
|
|
|
2
2
|
import { defineConfig, presetIcons, presetTypography, presetWebFonts, presetWind, transformerDirectives, transformerVariantGroup } from 'unocss'
|
|
3
3
|
import { presetForms } from '@julr/unocss-preset-forms'
|
|
4
4
|
import transformerCompileClass from '@unocss/transformer-compile-class'
|
|
5
|
-
import { ui } from '
|
|
5
|
+
import { ui } from '../../../../config/ui'
|
|
6
6
|
|
|
7
7
|
const config: UserConfig = defineConfig({
|
|
8
8
|
shortcuts: ui.shortcuts,
|
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="$NODE_PATH:/home/runner/work/stacks/stacks/node_modules/.pnpm/node_modules"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/mkdist@1.1.0_typescript@4.9.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/mkdist@1.1.0_typescript@4.9.5/node_modules/mkdist/dist/cli.cjs" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../../node_modules/.pnpm/mkdist@1.1.0_typescript@4.9.
|
|
16
|
+
exec node "$basedir/../../../../../node_modules/.pnpm/mkdist@1.1.0_typescript@4.9.5/node_modules/mkdist/dist/cli.cjs" "$@"
|
|
17
17
|
fi
|
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="$NODE_PATH:/home/runner/work/stacks/stacks/node_modules/.pnpm/node_modules"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/rimraf@4.1.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/rimraf@4.1.2/node_modules/rimraf/dist/cjs/src/bin.js" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../../node_modules/.pnpm/rimraf@4.1.
|
|
16
|
+
exec node "$basedir/../../../../../node_modules/.pnpm/rimraf@4.1.2/node_modules/rimraf/dist/cjs/src/bin.js" "$@"
|
|
17
17
|
fi
|
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="$NODE_PATH:/home/runner/work/stacks/stacks/node_modules/.pnpm/node_modules"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/typescript@4.9.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/bin/tsc" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../../node_modules/.pnpm/typescript@4.9.
|
|
16
|
+
exec node "$basedir/../../../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/bin/tsc" "$@"
|
|
17
17
|
fi
|
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="$NODE_PATH:/home/runner/work/stacks/stacks/node_modules/.pnpm/node_modules"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/typescript@4.9.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/bin/tsserver" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../../node_modules/.pnpm/typescript@4.9.
|
|
16
|
+
exec node "$basedir/../../../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/bin/tsserver" "$@"
|
|
17
17
|
fi
|
package/core/utils/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/utils",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
5
|
-
"packageManager": "pnpm@7.
|
|
4
|
+
"version": "0.51.0",
|
|
5
|
+
"packageManager": "pnpm@7.26.3",
|
|
6
6
|
"description": "The Stacks helper functions.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"license": "MIT",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"README.md"
|
|
38
38
|
],
|
|
39
39
|
"engines": {
|
|
40
|
-
"node": ">=v18.
|
|
41
|
-
"pnpm": ">=7.
|
|
40
|
+
"node": ">=v18.14.0",
|
|
41
|
+
"pnpm": ">=7.26.3"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"build": "mkdist -d",
|
|
@@ -54,11 +54,11 @@
|
|
|
54
54
|
"@stacksjs/path": "workspace:*",
|
|
55
55
|
"@stacksjs/storage": "workspace:*",
|
|
56
56
|
"@stacksjs/types": "workspace:*",
|
|
57
|
-
"@vueuse/core": "^9.
|
|
58
|
-
"@vueuse/head": "^1.0.
|
|
59
|
-
"@vueuse/math": "^9.
|
|
60
|
-
"@vueuse/shared": "^9.
|
|
61
|
-
"defu": "^6.1.
|
|
57
|
+
"@vueuse/core": "^9.12.0",
|
|
58
|
+
"@vueuse/head": "^1.0.24",
|
|
59
|
+
"@vueuse/math": "^9.12.0",
|
|
60
|
+
"@vueuse/shared": "^9.12.0",
|
|
61
|
+
"defu": "^6.1.2",
|
|
62
62
|
"detect-indent": "^7.0.1",
|
|
63
63
|
"detect-newline": "^4.0.0",
|
|
64
64
|
"dinero.js": "2.0.0-alpha.13",
|
|
@@ -66,13 +66,13 @@
|
|
|
66
66
|
"fast-glob": "^3.2.12",
|
|
67
67
|
"kolorist": "1.6.0",
|
|
68
68
|
"p-limit": "^4.0.0",
|
|
69
|
-
"rimraf": "^4.1.
|
|
69
|
+
"rimraf": "^4.1.2",
|
|
70
70
|
"throttle-debounce": "^5.0.0"
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
73
73
|
"@stacksjs/testing": "workspace:*",
|
|
74
74
|
"@types/throttle-debounce": "^5.0.0",
|
|
75
75
|
"mkdist": "^1.1.0",
|
|
76
|
-
"typescript": "^4.9.
|
|
76
|
+
"typescript": "^4.9.5"
|
|
77
77
|
}
|
|
78
78
|
}
|
|
@@ -62,8 +62,10 @@ export function determineResetPreset(preset?: string) {
|
|
|
62
62
|
|
|
63
63
|
export function env(key?: string, fallback?: any) {
|
|
64
64
|
// console.log('isClient', isClient)
|
|
65
|
-
|
|
66
|
-
|
|
65
|
+
if (key && import.meta?.env) {
|
|
66
|
+
// console.log('key', key, 'fallback', import.meta?.env[key])
|
|
67
|
+
return import.meta.env[key]
|
|
68
|
+
}
|
|
67
69
|
|
|
68
70
|
return fallback
|
|
69
71
|
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# Stacks Validation
|
|
2
|
+
|
|
3
|
+
This package contains the Stacks Validation system.
|
|
4
|
+
|
|
5
|
+
## ☘️ Features
|
|
6
|
+
|
|
7
|
+
- **Validation** - Validate data against a schema
|
|
8
|
+
|
|
9
|
+
## 🤖 Usage
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
pnpm i -D @stacksjs/validation
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Now, you can use it in your project:
|
|
16
|
+
|
|
17
|
+
```js
|
|
18
|
+
import { validate } from '@stacksjs/validation'
|
|
19
|
+
|
|
20
|
+
// wip
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
To view the full documentation, please visit [https://stacksjs.dev/validation](https://stacksjs.dev/validation).
|
|
24
|
+
|
|
25
|
+
## 🧪 Testing
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
pnpm test
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## 📈 Changelog
|
|
32
|
+
|
|
33
|
+
Please see our [releases](https://github.com/stacksjs/stacks/releases) page for more information on what has changed recently.
|
|
34
|
+
|
|
35
|
+
## 💪🏼 Contributing
|
|
36
|
+
|
|
37
|
+
Please review the [Contributing Guide](https://github.com/stacksjs/contributing) for details.
|
|
38
|
+
|
|
39
|
+
## 🏝 Community
|
|
40
|
+
|
|
41
|
+
For help, discussion about best practices, or any other conversation that would benefit from being searchable:
|
|
42
|
+
|
|
43
|
+
[Discussions on GitHub](https://github.com/stacksjs/stacks/discussions)
|
|
44
|
+
|
|
45
|
+
For casual chit-chat with others using this package:
|
|
46
|
+
|
|
47
|
+
[Join the Stacks Discord Server](https://discord.ow3.org)
|
|
48
|
+
|
|
49
|
+
## 📄 License
|
|
50
|
+
|
|
51
|
+
The MIT License (MIT). Please see [LICENSE](https://github.com/stacksjs/stacks/tree/main/LICENSE.md) for more information.
|
|
52
|
+
|
|
53
|
+
Made with ❤️
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
+
|
|
4
|
+
case `uname` in
|
|
5
|
+
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
|
6
|
+
esac
|
|
7
|
+
|
|
8
|
+
if [ -z "$NODE_PATH" ]; then
|
|
9
|
+
export NODE_PATH="/home/runner/work/stacks/stacks/node_modules/.pnpm/node_modules"
|
|
10
|
+
else
|
|
11
|
+
export NODE_PATH="$NODE_PATH:/home/runner/work/stacks/stacks/node_modules/.pnpm/node_modules"
|
|
12
|
+
fi
|
|
13
|
+
if [ -x "$basedir/node" ]; then
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/mkdist@1.1.0_typescript@4.9.5/node_modules/mkdist/dist/cli.cjs" "$@"
|
|
15
|
+
else
|
|
16
|
+
exec node "$basedir/../../../../../node_modules/.pnpm/mkdist@1.1.0_typescript@4.9.5/node_modules/mkdist/dist/cli.cjs" "$@"
|
|
17
|
+
fi
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
+
|
|
4
|
+
case `uname` in
|
|
5
|
+
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
|
6
|
+
esac
|
|
7
|
+
|
|
8
|
+
if [ -z "$NODE_PATH" ]; then
|
|
9
|
+
export NODE_PATH="/home/runner/work/stacks/stacks/node_modules/.pnpm/node_modules"
|
|
10
|
+
else
|
|
11
|
+
export NODE_PATH="$NODE_PATH:/home/runner/work/stacks/stacks/node_modules/.pnpm/node_modules"
|
|
12
|
+
fi
|
|
13
|
+
if [ -x "$basedir/node" ]; then
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/bin/tsc" "$@"
|
|
15
|
+
else
|
|
16
|
+
exec node "$basedir/../../../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/bin/tsc" "$@"
|
|
17
|
+
fi
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
+
|
|
4
|
+
case `uname` in
|
|
5
|
+
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
|
6
|
+
esac
|
|
7
|
+
|
|
8
|
+
if [ -z "$NODE_PATH" ]; then
|
|
9
|
+
export NODE_PATH="/home/runner/work/stacks/stacks/node_modules/.pnpm/node_modules"
|
|
10
|
+
else
|
|
11
|
+
export NODE_PATH="$NODE_PATH:/home/runner/work/stacks/stacks/node_modules/.pnpm/node_modules"
|
|
12
|
+
fi
|
|
13
|
+
if [ -x "$basedir/node" ]; then
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/bin/tsserver" "$@"
|
|
15
|
+
else
|
|
16
|
+
exec node "$basedir/../../../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/bin/tsserver" "$@"
|
|
17
|
+
fi
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@stacksjs/validation",
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "0.51.0",
|
|
5
|
+
"packageManager": "pnpm@7.26.3",
|
|
6
|
+
"description": "The Stacks Validation methods.",
|
|
7
|
+
"author": "Chris Breuer",
|
|
8
|
+
"license": "MIT",
|
|
9
|
+
"funding": "https://github.com/sponsors/chrisbbreuer",
|
|
10
|
+
"homepage": "https://github.com/stacksjs/stacks/tree/main/.stacks/core/validation#readme",
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "git+https://github.com/stacksjs/stacks.git",
|
|
14
|
+
"directory": "./.stacks/core/validation"
|
|
15
|
+
},
|
|
16
|
+
"bugs": {
|
|
17
|
+
"url": "https://github.com/stacksjs/stacks/issues"
|
|
18
|
+
},
|
|
19
|
+
"keywords": [
|
|
20
|
+
"validation",
|
|
21
|
+
"yup",
|
|
22
|
+
"utilities",
|
|
23
|
+
"functions",
|
|
24
|
+
"stacks"
|
|
25
|
+
],
|
|
26
|
+
"main": "dist/index.mjs",
|
|
27
|
+
"module": "dist/index.mjs",
|
|
28
|
+
"types": "dist/index.d.ts",
|
|
29
|
+
"contributors": [
|
|
30
|
+
"Chris Breuer <chris@ow3.org>"
|
|
31
|
+
],
|
|
32
|
+
"files": [
|
|
33
|
+
"dist",
|
|
34
|
+
"README.md"
|
|
35
|
+
],
|
|
36
|
+
"engines": {
|
|
37
|
+
"node": ">=v18.14.0",
|
|
38
|
+
"pnpm": ">=7.26.3"
|
|
39
|
+
},
|
|
40
|
+
"scripts": {
|
|
41
|
+
"build": "mkdist -d",
|
|
42
|
+
"dev": "mkdist -d",
|
|
43
|
+
"prepublishOnly": "pnpm run build",
|
|
44
|
+
"typecheck": "tsc --noEmit"
|
|
45
|
+
},
|
|
46
|
+
"peerDependencies": {
|
|
47
|
+
"zod": "^3.20.2"
|
|
48
|
+
},
|
|
49
|
+
"devDependencies": {
|
|
50
|
+
"@stacksjs/path": "workspace:*",
|
|
51
|
+
"@stacksjs/testing": "workspace:*",
|
|
52
|
+
"mkdist": "^1.1.0",
|
|
53
|
+
"typescript": "^4.9.5"
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="$NODE_PATH:/home/runner/work/stacks/stacks/node_modules/.pnpm/node_modules"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/mkdist@1.1.0_typescript@4.9.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/mkdist@1.1.0_typescript@4.9.5/node_modules/mkdist/dist/cli.cjs" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../../node_modules/.pnpm/mkdist@1.1.0_typescript@4.9.
|
|
16
|
+
exec node "$basedir/../../../../../node_modules/.pnpm/mkdist@1.1.0_typescript@4.9.5/node_modules/mkdist/dist/cli.cjs" "$@"
|
|
17
17
|
fi
|
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="$NODE_PATH:/home/runner/work/stacks/stacks/node_modules/.pnpm/node_modules"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/typescript@4.9.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/bin/tsc" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../../node_modules/.pnpm/typescript@4.9.
|
|
16
|
+
exec node "$basedir/../../../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/bin/tsc" "$@"
|
|
17
17
|
fi
|
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="$NODE_PATH:/home/runner/work/stacks/stacks/node_modules/.pnpm/node_modules"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/typescript@4.9.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/bin/tsserver" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../../node_modules/.pnpm/typescript@4.9.
|
|
16
|
+
exec node "$basedir/../../../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/bin/tsserver" "$@"
|
|
17
17
|
fi
|
package/core/x-ray/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/x-ray",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
5
|
-
"packageManager": "pnpm@7.
|
|
4
|
+
"version": "0.51.0",
|
|
5
|
+
"packageManager": "pnpm@7.26.3",
|
|
6
6
|
"description": "All you need to debug, log & analyze.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"license": "MIT",
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"README.md"
|
|
39
39
|
],
|
|
40
40
|
"engines": {
|
|
41
|
-
"node": ">=v18.
|
|
42
|
-
"pnpm": ">=7.
|
|
41
|
+
"node": ">=v18.14.0",
|
|
42
|
+
"pnpm": ">=7.26.3"
|
|
43
43
|
},
|
|
44
44
|
"scripts": {
|
|
45
45
|
"build": "echo 'wip'",
|
|
@@ -58,6 +58,6 @@
|
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@stacksjs/testing": "workspace:*",
|
|
60
60
|
"mkdist": "^1.1.0",
|
|
61
|
-
"typescript": "^4.9.
|
|
61
|
+
"typescript": "^4.9.5"
|
|
62
62
|
}
|
|
63
63
|
}
|
package/functions/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stacks",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
5
|
-
"packageManager": "pnpm@7.
|
|
4
|
+
"version": "0.51.0",
|
|
5
|
+
"packageManager": "pnpm@7.26.3",
|
|
6
6
|
"description": "The Stacks framework.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"license": "MIT",
|
|
@@ -60,12 +60,12 @@
|
|
|
60
60
|
"components.d.ts"
|
|
61
61
|
],
|
|
62
62
|
"engines": {
|
|
63
|
-
"node": ">=v18.
|
|
64
|
-
"pnpm": ">=7.
|
|
63
|
+
"node": ">=v18.14.0",
|
|
64
|
+
"pnpm": ">=7.26.3"
|
|
65
65
|
},
|
|
66
66
|
"web-types": "./web-types.json",
|
|
67
67
|
"dependencies": {
|
|
68
|
-
"@stacksjs/buddy": "0.
|
|
68
|
+
"@stacksjs/buddy": "0.51.0"
|
|
69
69
|
},
|
|
70
70
|
"scripts": {
|
|
71
71
|
"buddy": "esno ./buddy/src/cli.ts",
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
+
|
|
4
|
+
case `uname` in
|
|
5
|
+
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
|
6
|
+
esac
|
|
7
|
+
|
|
8
|
+
if [ -z "$NODE_PATH" ]; then
|
|
9
|
+
export NODE_PATH="/home/runner/work/stacks/stacks/node_modules/.pnpm/node_modules"
|
|
10
|
+
else
|
|
11
|
+
export NODE_PATH="$NODE_PATH:/home/runner/work/stacks/stacks/node_modules/.pnpm/node_modules"
|
|
12
|
+
fi
|
|
13
|
+
if [ -x "$basedir/node" ]; then
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/mkdist@1.1.0_typescript@4.9.5/node_modules/mkdist/dist/cli.cjs" "$@"
|
|
15
|
+
else
|
|
16
|
+
exec node "$basedir/../../../../../node_modules/.pnpm/mkdist@1.1.0_typescript@4.9.5/node_modules/mkdist/dist/cli.cjs" "$@"
|
|
17
|
+
fi
|