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
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { CLI } from '@stacksjs/types'
|
|
2
|
+
import { intro, log, outro } from '@stacksjs/cli'
|
|
3
|
+
import { Action } from '@stacksjs/types'
|
|
4
|
+
import { runAction } from '@stacksjs/actions'
|
|
5
|
+
|
|
6
|
+
async function setting(buddy: CLI) {
|
|
7
|
+
const descriptions = {
|
|
8
|
+
command: 'Generate Setting Pages',
|
|
9
|
+
verbose: 'Enable verbose output',
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
buddy
|
|
13
|
+
.command('page:setting', descriptions.command)
|
|
14
|
+
.option('--verbose', descriptions.verbose, { default: false })
|
|
15
|
+
.action(async () => {
|
|
16
|
+
const startTime = await intro('buddy page:setting')
|
|
17
|
+
const result = await runAction(Action.GenerateSettings)
|
|
18
|
+
|
|
19
|
+
if (result.isErr()) {
|
|
20
|
+
log.error('Something went wrong when generating', result.error)
|
|
21
|
+
process.exit()
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
outro('Pages generated successfully', { startTime })
|
|
25
|
+
})
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export { setting }
|
|
@@ -5,11 +5,13 @@ async function setup(buddy: CLI) {
|
|
|
5
5
|
const descriptions = {
|
|
6
6
|
ensure: 'This command checks whether Node is installed. pnpm is checked via `only-allow` preinstall hook',
|
|
7
7
|
setup: 'This command installs Node & pnpm',
|
|
8
|
+
verbose: 'Enable verbose output',
|
|
8
9
|
debug: 'Enable debug mode',
|
|
9
10
|
}
|
|
10
11
|
|
|
11
12
|
buddy
|
|
12
13
|
.command('ensure', descriptions.ensure)
|
|
14
|
+
.option('--verbose', descriptions.verbose, { default: false })
|
|
13
15
|
.option('--debug', descriptions.debug, { default: false })
|
|
14
16
|
.action(async (options: CliOptions) => {
|
|
15
17
|
await runCommand('pnpm install', options)
|
|
@@ -17,6 +19,7 @@ async function setup(buddy: CLI) {
|
|
|
17
19
|
|
|
18
20
|
buddy
|
|
19
21
|
.command('setup', descriptions.setup)
|
|
22
|
+
.option('--verbose', descriptions.verbose, { default: false })
|
|
20
23
|
.option('--debug', descriptions.debug, { default: false })
|
|
21
24
|
.action(async (options: CliOptions) => {
|
|
22
25
|
await runCommand('pnpm env use', options)
|
|
@@ -10,16 +10,17 @@ async function test(buddy: CLI) {
|
|
|
10
10
|
types: 'Typechecks your codebase',
|
|
11
11
|
coverage: 'Generates a test coverage report',
|
|
12
12
|
ui: 'Runs your test suite in the browser',
|
|
13
|
-
|
|
13
|
+
verbose: 'Enable verbose output',
|
|
14
14
|
unit: 'Runs your unit tests',
|
|
15
15
|
feature: 'Runs your feature tests',
|
|
16
16
|
showReport: 'Show the test report',
|
|
17
|
+
debug: 'Enable debug mode',
|
|
17
18
|
}
|
|
18
19
|
|
|
19
20
|
buddy
|
|
20
21
|
.command('test', descriptions.command)
|
|
21
22
|
.option('--ui', descriptions.ui, { default: false })
|
|
22
|
-
.option('--
|
|
23
|
+
.option('--verbose', descriptions.verbose, { default: true })
|
|
23
24
|
.action(async (options: TestOptions) => {
|
|
24
25
|
const perf = await intro('buddy test')
|
|
25
26
|
const result = await runAction(Action.Test, { ...options, cwd: projectPath() })
|
|
@@ -34,10 +35,11 @@ async function test(buddy: CLI) {
|
|
|
34
35
|
|
|
35
36
|
buddy
|
|
36
37
|
.command('test:unit', descriptions.unit)
|
|
38
|
+
.option('--verbose', descriptions.verbose, { default: false })
|
|
37
39
|
.option('--debug', descriptions.debug, { default: false })
|
|
38
40
|
.action(async (options: TestOptions) => {
|
|
39
41
|
const perf = await intro('buddy test:unit')
|
|
40
|
-
const result = await runAction(Action.TestUnit, { ...options,
|
|
42
|
+
const result = await runAction(Action.TestUnit, { ...options, verbose: true, cwd: projectPath() })
|
|
41
43
|
|
|
42
44
|
if (result.isErr()) {
|
|
43
45
|
outro('While running `buddy test:unit`, there was an issue', { startTime: perf, useSeconds: true, isError: true }, result.error)
|
|
@@ -50,15 +52,16 @@ async function test(buddy: CLI) {
|
|
|
50
52
|
buddy
|
|
51
53
|
.command('test:feature', descriptions.feature)
|
|
52
54
|
.option('--show-report', descriptions.showReport, { default: false })
|
|
55
|
+
.option('--verbose', descriptions.verbose, { default: false })
|
|
53
56
|
.option('--debug', descriptions.debug, { default: false })
|
|
54
57
|
.action(async (options: TestOptions) => {
|
|
55
58
|
const perf = await intro('buddy test:feature')
|
|
56
59
|
let result
|
|
57
60
|
|
|
58
61
|
if (options.showReport)
|
|
59
|
-
result = await runAction(Action.ShowFeatureTestReport, { ...options,
|
|
62
|
+
result = await runAction(Action.ShowFeatureTestReport, { ...options, verbose: true, cwd: projectPath() })
|
|
60
63
|
else
|
|
61
|
-
result = await runAction(Action.TestFeature, { ...options,
|
|
64
|
+
result = await runAction(Action.TestFeature, { ...options, verbose: true, cwd: projectPath() })
|
|
62
65
|
|
|
63
66
|
if (result.isErr()) {
|
|
64
67
|
outro('While running `buddy test:feature`, there was an issue', { startTime: perf, useSeconds: true, isError: true }, result.error)
|
|
@@ -70,10 +73,11 @@ async function test(buddy: CLI) {
|
|
|
70
73
|
|
|
71
74
|
buddy
|
|
72
75
|
.command('test:ui', descriptions.command)
|
|
76
|
+
.option('--verbose', descriptions.verbose, { default: false })
|
|
73
77
|
.option('--debug', descriptions.debug, { default: false })
|
|
74
78
|
.action(async (options: TestOptions) => {
|
|
75
79
|
const perf = await intro('buddy test:ui')
|
|
76
|
-
const result = await runAction(Action.TestUi, { ...options,
|
|
80
|
+
const result = await runAction(Action.TestUi, { ...options, verbose: true, cwd: projectPath() })
|
|
77
81
|
|
|
78
82
|
if (result.isErr()) {
|
|
79
83
|
outro('While running `buddy test:ui`, there was an issue', { startTime: perf, useSeconds: true, isError: true }, result.error)
|
|
@@ -86,10 +90,11 @@ async function test(buddy: CLI) {
|
|
|
86
90
|
buddy
|
|
87
91
|
.command('test:types', descriptions.types)
|
|
88
92
|
.alias('typecheck')
|
|
93
|
+
.option('--verbose', descriptions.verbose, { default: false })
|
|
89
94
|
.option('--debug', descriptions.debug, { default: false })
|
|
90
95
|
.action(async (options: TestOptions) => {
|
|
91
96
|
const perf = await intro('buddy test:types')
|
|
92
|
-
const result = await runAction(Action.Typecheck, { ...options,
|
|
97
|
+
const result = await runAction(Action.Typecheck, { ...options, verbose: true, cwd: projectPath() })
|
|
93
98
|
|
|
94
99
|
if (result.isErr()) {
|
|
95
100
|
outro('While running `buddy test:types`, there was an issue', { startTime: perf, useSeconds: true, isError: true }, result.error)
|
|
@@ -103,7 +108,7 @@ async function test(buddy: CLI) {
|
|
|
103
108
|
.command('test:coverage', descriptions.coverage)
|
|
104
109
|
.action(async (options: TestOptions) => {
|
|
105
110
|
const perf = await intro('buddy test:coverage')
|
|
106
|
-
const result = await runAction(Action.TestCoverage, { ...options, cwd: projectPath(),
|
|
111
|
+
const result = await runAction(Action.TestCoverage, { ...options, cwd: projectPath(), verbose: true })
|
|
107
112
|
|
|
108
113
|
if (result.isErr()) {
|
|
109
114
|
outro('While running `buddy test:coverage`, there was an issue', { startTime: perf, useSeconds: true, isError: true }, result.error)
|
|
@@ -5,11 +5,13 @@ async function types(buddy: CLI) {
|
|
|
5
5
|
const descriptions = {
|
|
6
6
|
generate: 'Generate the types of & for your library/libraries',
|
|
7
7
|
fix: 'wip',
|
|
8
|
+
verbose: 'Enable verbose output',
|
|
8
9
|
debug: 'Enable debug mode',
|
|
9
10
|
}
|
|
10
11
|
|
|
11
12
|
buddy
|
|
12
13
|
.command('types:generate', descriptions.generate)
|
|
14
|
+
.option('--verbose', descriptions.verbose, { default: false })
|
|
13
15
|
.option('--debug', descriptions.debug, { default: false })
|
|
14
16
|
.action(async () => {
|
|
15
17
|
await generateTypes()
|
|
@@ -17,6 +19,7 @@ async function types(buddy: CLI) {
|
|
|
17
19
|
|
|
18
20
|
buddy
|
|
19
21
|
.command('types:fix', descriptions.fix)
|
|
22
|
+
.option('--verbose', descriptions.verbose, { default: false })
|
|
20
23
|
.option('--debug', descriptions.debug, { default: false })
|
|
21
24
|
.action(async () => {
|
|
22
25
|
// await fixTypes()
|
|
@@ -12,8 +12,9 @@ async function update(buddy: CLI) {
|
|
|
12
12
|
node: 'Update Node to the version defined in ./node-version',
|
|
13
13
|
all: 'Update Node, package manager, project dependencies, and framework',
|
|
14
14
|
force: 'Overwrite possible local updates with remote framework updates',
|
|
15
|
-
debug: 'Enable debug mode',
|
|
16
15
|
select: 'What are you trying to update?',
|
|
16
|
+
verbose: 'Enable verbose output',
|
|
17
|
+
debug: 'Enable debug mode',
|
|
17
18
|
}
|
|
18
19
|
|
|
19
20
|
buddy
|
|
@@ -24,8 +25,9 @@ async function update(buddy: CLI) {
|
|
|
24
25
|
.option('-n, --node', descriptions.node, { default: false })
|
|
25
26
|
.option('-a, --all', descriptions.all, { default: false })
|
|
26
27
|
.option('-f, --force', descriptions.force, { default: false })
|
|
28
|
+
.option('--verbose', descriptions.verbose, { default: false })
|
|
27
29
|
.option('--debug', descriptions.debug, { default: false })
|
|
28
|
-
.example('buddy update -a --
|
|
30
|
+
.example('buddy update -a --verbose')
|
|
29
31
|
.action(async (options: UpdateOptions) => {
|
|
30
32
|
if (hasNoOptions(options)) {
|
|
31
33
|
const answers = await prompts.multiselect({
|
|
@@ -50,8 +52,9 @@ async function update(buddy: CLI) {
|
|
|
50
52
|
buddy
|
|
51
53
|
.command('update:framework', descriptions.framework)
|
|
52
54
|
.option('-f, --framework', descriptions.framework, { default: true })
|
|
55
|
+
.option('--verbose', descriptions.verbose, { default: false })
|
|
53
56
|
.option('--debug', descriptions.debug, { default: false })
|
|
54
|
-
.example('buddy update:framework --
|
|
57
|
+
.example('buddy update:framework --verbose')
|
|
55
58
|
.action(async (options: UpdateOptions) => {
|
|
56
59
|
await updateStacks(options)
|
|
57
60
|
})
|
|
@@ -59,9 +62,10 @@ async function update(buddy: CLI) {
|
|
|
59
62
|
buddy
|
|
60
63
|
.command('update:dependencies', descriptions.dependencies)
|
|
61
64
|
.option('-d, --dependencies', descriptions.dependencies, { default: true })
|
|
65
|
+
.option('--verbose', descriptions.verbose, { default: false })
|
|
62
66
|
.option('--debug', descriptions.debug, { default: false })
|
|
63
67
|
.alias('update:deps')
|
|
64
|
-
.example('buddy update:dependencies --
|
|
68
|
+
.example('buddy update:dependencies --verbose')
|
|
65
69
|
.action(async (options: UpdateOptions) => {
|
|
66
70
|
await updateStacks(options)
|
|
67
71
|
})
|
|
@@ -69,9 +73,10 @@ async function update(buddy: CLI) {
|
|
|
69
73
|
buddy
|
|
70
74
|
.command('update:package-manager', descriptions.packageManager)
|
|
71
75
|
.option('-p, --package-manager', descriptions.packageManager, { default: true })
|
|
76
|
+
.option('--verbose', descriptions.verbose, { default: false })
|
|
72
77
|
.option('--debug', descriptions.debug, { default: false })
|
|
73
78
|
.alias('update:pm')
|
|
74
|
-
.example('buddy update:package-manager 7.16.1 --
|
|
79
|
+
.example('buddy update:package-manager 7.16.1 --verbose')
|
|
75
80
|
.example('buddy update:package-manager latest')
|
|
76
81
|
.action(async (options: UpdateOptions) => {
|
|
77
82
|
options.version = 'latest'
|
|
@@ -87,6 +92,7 @@ async function update(buddy: CLI) {
|
|
|
87
92
|
buddy
|
|
88
93
|
.command('update:node', descriptions.node)
|
|
89
94
|
.option('-n, --node', descriptions.node, { default: true })
|
|
95
|
+
.option('--verbose', descriptions.verbose, { default: false })
|
|
90
96
|
.option('--debug', descriptions.debug, { default: false })
|
|
91
97
|
.action(async (options: UpdateOptions) => {
|
|
92
98
|
await updateStacks(options)
|
|
@@ -95,6 +101,7 @@ async function update(buddy: CLI) {
|
|
|
95
101
|
buddy
|
|
96
102
|
.command('update:all', descriptions.all)
|
|
97
103
|
.option('-a, --all', descriptions.all, { default: true })
|
|
104
|
+
.option('--verbose', descriptions.verbose, { default: false })
|
|
98
105
|
.option('--debug', descriptions.debug, { default: false })
|
|
99
106
|
.action(async (options: UpdateOptions) => {
|
|
100
107
|
await updateStacks(options)
|
|
@@ -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
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/actions",
|
|
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 actions.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"license": "MIT",
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"README.md"
|
|
37
37
|
],
|
|
38
38
|
"engines": {
|
|
39
|
-
"node": ">=v18.
|
|
40
|
-
"pnpm": ">=7.
|
|
39
|
+
"node": ">=v18.14.0",
|
|
40
|
+
"pnpm": ">=7.26.3"
|
|
41
41
|
},
|
|
42
42
|
"scripts": {
|
|
43
43
|
"build": "mkdist -d",
|
|
@@ -49,6 +49,7 @@
|
|
|
49
49
|
"@stacksjs/cli": "workspace:*",
|
|
50
50
|
"@stacksjs/config": "workspace:*",
|
|
51
51
|
"@stacksjs/logging": "workspace:*",
|
|
52
|
+
"@stacksjs/pages": "workspace:*",
|
|
52
53
|
"@stacksjs/path": "workspace:*",
|
|
53
54
|
"@stacksjs/security": "workspace:*",
|
|
54
55
|
"@stacksjs/storage": "workspace:*",
|
|
@@ -64,6 +65,6 @@
|
|
|
64
65
|
"devDependencies": {
|
|
65
66
|
"@stacksjs/testing": "workspace:*",
|
|
66
67
|
"mkdist": "^1.1.0",
|
|
67
|
-
"typescript": "^4.9.
|
|
68
|
+
"typescript": "^4.9.5"
|
|
68
69
|
}
|
|
69
70
|
}
|
|
@@ -5,7 +5,7 @@ import { runCommand } from '@stacksjs/cli'
|
|
|
5
5
|
log.info('Building Component Libraries...')
|
|
6
6
|
|
|
7
7
|
// run the `npx mkdist -d` command to build the dist folder
|
|
8
|
-
const result = await runCommand('npx mkdist -d', {
|
|
8
|
+
const result = await runCommand('npx mkdist -d', { verbose: true, cwd: frameworkPath() })
|
|
9
9
|
|
|
10
10
|
if (result.isErr()) {
|
|
11
11
|
log.error('There was an error running `npx mkdist -d`.', result.error)
|
|
@@ -4,4 +4,4 @@ import { runCommands } from '@stacksjs/cli'
|
|
|
4
4
|
await runCommands([
|
|
5
5
|
'pnpm --filter \'./core/**\' --filter=\'!./core/config\' --filter=\'!./core/x-ray\' build', // command to build the core packages, excluding the config & x-ray package
|
|
6
6
|
'pnpm --filter \'./core/config\' build', // command to build the config package
|
|
7
|
-
], {
|
|
7
|
+
], { verbose: true, cwd: frameworkPath(), shell: true })
|
|
@@ -6,4 +6,4 @@ await runCommands([
|
|
|
6
6
|
'pnpm build:cli', // command to build the Buddy CLI
|
|
7
7
|
'pnpm build:core', // command to build the Stacks Core
|
|
8
8
|
'cp -a ./core/. ./', // copy the core stacks to the famework's root
|
|
9
|
-
], {
|
|
9
|
+
], { verbose: true, cwd: frameworkPath() })
|
package/core/actions/src/bump.ts
CHANGED
|
@@ -3,5 +3,5 @@ import { frameworkPath } from '@stacksjs/path'
|
|
|
3
3
|
|
|
4
4
|
await runCommand(
|
|
5
5
|
'npx bumpp ./package.json ./buddy/package.json ./core/**/package.json ./vscode/package.json --execute "pnpm buddy changelog" --all',
|
|
6
|
-
{
|
|
6
|
+
{ verbose: true, cwd: frameworkPath(), shell: true },
|
|
7
7
|
)
|
|
@@ -3,5 +3,5 @@ import { projectPath } from '@stacksjs/path'
|
|
|
3
3
|
|
|
4
4
|
await runCommand(
|
|
5
5
|
'changelogen --output CHANGELOG.md --from $(git describe --abbrev=0 --tags HEAD^) --to $(git describe)',
|
|
6
|
-
{
|
|
6
|
+
{ verbose: true, cwd: projectPath(), shell: true },
|
|
7
7
|
)
|
|
@@ -2,4 +2,4 @@ import { runCommand } from '@stacksjs/cli'
|
|
|
2
2
|
import { frameworkPath } from '@stacksjs/path'
|
|
3
3
|
import { NpmScript } from '@stacksjs/types'
|
|
4
4
|
|
|
5
|
-
await runCommand(NpmScript.DevComponents, { cwd: frameworkPath(),
|
|
5
|
+
await runCommand(NpmScript.DevComponents, { cwd: frameworkPath(), verbose: true })
|
|
@@ -39,7 +39,7 @@ export async function generate(options: GeneratorOptions) {
|
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
export async function libEntries(options: GeneratorOptions) {
|
|
42
|
-
const result = await runCommand('esno .stacks/core/actions/src/generate-package-json.ts', { ...options,
|
|
42
|
+
const result = await runCommand('esno .stacks/core/actions/src/generate-package-json.ts', { ...options, verbose: true, cwd: projectPath() })
|
|
43
43
|
|
|
44
44
|
if (result.isErr()) {
|
|
45
45
|
log.error('There was an error generating your library entry points.', result.error)
|
|
@@ -79,7 +79,7 @@ export async function vsCodeCustomData(options?: GeneratorOptions) {
|
|
|
79
79
|
process.exit()
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
await runAction(Action.LintFix, {
|
|
82
|
+
await runAction(Action.LintFix, { verbose: true }) // the generated json file needs to be linted
|
|
83
83
|
log.success('Successfully generated the custom-elements.json file')
|
|
84
84
|
}
|
|
85
85
|
|
|
@@ -91,7 +91,7 @@ export async function ideHelpers(options?: GeneratorOptions) {
|
|
|
91
91
|
process.exit()
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
await runAction(Action.LintFix, {
|
|
94
|
+
await runAction(Action.LintFix, { verbose: true }) // the generated json file needs to be linted
|
|
95
95
|
log.success('Successfully generated IDE helpers')
|
|
96
96
|
}
|
|
97
97
|
|
|
@@ -103,7 +103,7 @@ export async function componentMeta(options?: GeneratorOptions) {
|
|
|
103
103
|
process.exit()
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
-
await runAction(Action.LintFix, {
|
|
106
|
+
await runAction(Action.LintFix, { verbose: true }) // the generated json file needs to be linted
|
|
107
107
|
log.success('Successfully generated component meta information')
|
|
108
108
|
}
|
|
109
109
|
|
package/core/actions/src/lint.ts
CHANGED
|
@@ -2,4 +2,4 @@ import { runCommand } from '@stacksjs/cli'
|
|
|
2
2
|
import { projectPath } from '@stacksjs/path'
|
|
3
3
|
import { NpmScript } from '@stacksjs/types'
|
|
4
4
|
|
|
5
|
-
await runCommand(NpmScript.Lint, { cwd: projectPath(),
|
|
5
|
+
await runCommand(NpmScript.Lint, { cwd: projectPath(), verbose: true })
|
|
@@ -6,7 +6,7 @@ import { NpmScript } from '@stacksjs/types'
|
|
|
6
6
|
log.info('Running prepublish command...')
|
|
7
7
|
|
|
8
8
|
// right before we publish, we need to build Stacks
|
|
9
|
-
const result = await runNpmScript(NpmScript.BuildStacks, {
|
|
9
|
+
const result = await runNpmScript(NpmScript.BuildStacks, { verbose: true, cwd: runtimePath() }) // TODO: add flag for debug mode
|
|
10
10
|
|
|
11
11
|
if (result.isErr()) {
|
|
12
12
|
log.error('There was an error while prepublishing your stack, during the process of building Stacks.', result.error)
|
|
@@ -9,6 +9,6 @@ await runActions([
|
|
|
9
9
|
Action.LintFix, // ensure there are no lint errors
|
|
10
10
|
// Action.Test, // run the tests
|
|
11
11
|
Action.Bump, // bump the versions, create the git (version) tag, generate the changelog, commit & push the changes
|
|
12
|
-
], {
|
|
12
|
+
], { verbose: true, cwd: frameworkPath() }) // debug mode needs to be enabled to see the output due to the interactive prompts
|
|
13
13
|
|
|
14
14
|
// log.success('Successfully released the Stacks framework')
|
|
@@ -2,4 +2,4 @@ import { NpmScript } from '@stacksjs/types'
|
|
|
2
2
|
import { runCommand } from '@stacksjs/cli'
|
|
3
3
|
import { frameworkPath } from '@stacksjs/path'
|
|
4
4
|
|
|
5
|
-
await runCommand(NpmScript.TestCoverage, { cwd: frameworkPath(),
|
|
5
|
+
await runCommand(NpmScript.TestCoverage, { cwd: frameworkPath(), verbose: true })
|
|
@@ -2,4 +2,4 @@ import { NpmScript } from '@stacksjs/types'
|
|
|
2
2
|
import { runCommand } from '@stacksjs/cli'
|
|
3
3
|
import { frameworkPath } from '@stacksjs/path'
|
|
4
4
|
|
|
5
|
-
await runCommand(NpmScript.TestFeature, {
|
|
5
|
+
await runCommand(NpmScript.TestFeature, { verbose: true, cwd: frameworkPath() })
|
|
@@ -2,4 +2,4 @@ import { NpmScript } from '@stacksjs/types'
|
|
|
2
2
|
import { runCommand } from '@stacksjs/cli'
|
|
3
3
|
import { frameworkPath } from '@stacksjs/path'
|
|
4
4
|
|
|
5
|
-
await runCommand(NpmScript.TestUi, {
|
|
5
|
+
await runCommand(NpmScript.TestUi, { verbose: true, cwd: frameworkPath() })
|
|
@@ -2,4 +2,4 @@ import { NpmScript } from '@stacksjs/types'
|
|
|
2
2
|
import { runCommand } from '@stacksjs/cli'
|
|
3
3
|
import { frameworkPath } from '@stacksjs/path'
|
|
4
4
|
|
|
5
|
-
await runCommand(NpmScript.TestUnit, {
|
|
5
|
+
await runCommand(NpmScript.TestUnit, { verbose: true, cwd: frameworkPath() })
|
package/core/actions/src/test.ts
CHANGED
|
@@ -2,4 +2,4 @@ import { NpmScript } from '@stacksjs/types'
|
|
|
2
2
|
import { runCommand } from '@stacksjs/cli'
|
|
3
3
|
import { frameworkPath } from '@stacksjs/path'
|
|
4
4
|
|
|
5
|
-
await runCommand(NpmScript.Test, {
|
|
5
|
+
await runCommand(NpmScript.Test, { verbose: true, cwd: frameworkPath() })
|
|
@@ -2,4 +2,4 @@ import { NpmScript } from '@stacksjs/types'
|
|
|
2
2
|
import { runCommands } from '@stacksjs/cli'
|
|
3
3
|
import { projectPath } from '@stacksjs/path'
|
|
4
4
|
|
|
5
|
-
await runCommands([NpmScript.TestTypes], { cwd: projectPath(), spinnerText: 'Type checking...',
|
|
5
|
+
await runCommands([NpmScript.TestTypes], { cwd: projectPath(), spinnerText: 'Type checking...', verbose: true })
|
|
@@ -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/ai/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/ai",
|
|
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": "Stacks Artificial Intelligence.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"license": "MIT",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"README.md"
|
|
35
35
|
],
|
|
36
36
|
"engines": {
|
|
37
|
-
"node": ">=v18.
|
|
38
|
-
"pnpm": ">=7.
|
|
37
|
+
"node": ">=v18.14.0",
|
|
38
|
+
"pnpm": ">=7.26.3"
|
|
39
39
|
},
|
|
40
40
|
"scripts": {
|
|
41
41
|
"build": "mkdist -d",
|
|
@@ -50,6 +50,6 @@
|
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@stacksjs/testing": "workspace:*",
|
|
52
52
|
"mkdist": "^1.1.0",
|
|
53
|
-
"typescript": "^4.9.
|
|
53
|
+
"typescript": "^4.9.5"
|
|
54
54
|
}
|
|
55
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
|