stacks 0.58.50 → 0.58.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/core/actions/dist/src/deploy/index.js +2 -2
- package/core/actions/dist/src/upgrade.js +1 -1
- package/core/actions/package.json +1 -1
- package/core/actions/src/build/cli.ts +1 -1
- package/core/actions/src/build/server.ts +9 -0
- package/core/actions/src/deploy/index.ts +2 -2
- package/core/actions/tsconfig.json +3 -0
- package/core/ai/package.json +1 -1
- package/core/ai/tsconfig.json +3 -0
- package/core/alias/package.json +1 -1
- package/core/alias/tsconfig.json +3 -0
- package/core/analytics/package.json +1 -1
- package/core/analytics/tsconfig.json +3 -0
- package/core/api/package.json +1 -1
- package/core/api/tsconfig.json +3 -0
- package/core/arrays/package.json +1 -1
- package/core/arrays/tsconfig.json +3 -0
- package/core/auth/package.json +1 -1
- package/core/auth/tsconfig.json +3 -0
- package/core/buddy/dist/{chunk-91084836e95161e8.js → chunk-d52e40a990b45728.js} +152 -84
- package/core/buddy/dist/cli.js +4 -1
- package/core/buddy/dist/index.js +3 -1
- package/core/buddy/package.json +1 -1
- package/core/buddy/src/cli.ts +2 -0
- package/core/buddy/src/commands/build.ts +17 -1
- package/core/buddy/src/commands/deploy.ts +2 -2
- package/core/buddy/src/commands/index.ts +1 -0
- package/core/buddy/src/commands/list.ts +39 -0
- package/core/buddy/src/commands/setup.ts +57 -1
- package/core/buddy/tsconfig.json +3 -0
- package/core/build/package.json +1 -1
- package/core/build/tsconfig.json +3 -0
- package/core/bun-create/bud/package.json +1 -1
- package/core/bun-create/buddy/package.json +1 -1
- package/core/bun-create/stack/package.json +1 -1
- package/core/bun-create/stacks/package.json +1 -1
- package/core/bun-create/stx/package.json +2 -1
- package/core/bun-plugin-yaml/package.json +1 -1
- package/core/bun-plugin-yaml/tsconfig.json +3 -0
- package/core/cache/package.json +1 -1
- package/core/cache/tsconfig.json +3 -0
- package/core/chat/package.json +8 -8
- package/core/chat/tsconfig.json +3 -0
- package/core/cli/dist/index.js +1 -1
- package/core/cli/package.json +1 -1
- package/core/cli/tsconfig.json +3 -0
- package/core/cloud/build.ts +1 -1
- package/core/cloud/deploy.ts +10 -1
- package/core/cloud/dist/index.js +167 -807
- package/core/cloud/package.json +2 -3
- package/core/cloud/src/cloud/aws-sdk-layer/nodejs/package.json +1 -1
- package/core/cloud/src/cloud/cdn.ts +59 -6
- package/core/cloud/src/cloud/compute.ts +29 -19
- package/core/cloud/src/cloud/dns.ts +8 -0
- package/core/cloud/src/cloud/index.ts +8 -2
- package/core/cloud/src/cloud/queue.ts +46 -0
- package/core/cloud/src/cloud/router-layer/nodejs/package.json +2 -2
- package/core/cloud/src/cloud/security.ts +1 -1
- package/core/cloud/src/helpers.ts +13 -1
- package/core/cloud/tsconfig.json +3 -0
- package/core/collections/package.json +1 -1
- package/core/collections/tsconfig.json +3 -0
- package/core/config/dist/index.js +154 -83
- package/core/config/package.json +2 -2
- package/core/config/tsconfig.json +3 -0
- package/core/database/package.json +1 -1
- package/core/database/src/kysely-bun-worker/mitt.ts +1 -1
- package/core/database/tsconfig.json +3 -0
- package/core/datetime/package.json +1 -1
- package/core/datetime/tsconfig.json +3 -0
- package/core/desktop/package.json +1 -1
- package/core/desktop/tsconfig.json +3 -0
- package/core/development/package.json +1 -1
- package/core/development/tsconfig.json +3 -0
- package/core/dns/package.json +1 -1
- package/core/dns/tsconfig.json +3 -0
- package/core/docs/package.json +1 -1
- package/core/docs/tsconfig.json +3 -0
- package/core/email/package.json +12 -12
- package/core/email/tsconfig.json +3 -0
- package/core/enums/dist/index.js +1 -0
- package/core/enums/package.json +1 -1
- package/core/enums/src/index.ts +1 -0
- package/core/enums/tsconfig.json +3 -0
- package/core/env/package.json +1 -1
- package/core/env/tsconfig.json +3 -0
- package/core/error-handling/package.json +1 -1
- package/core/error-handling/tsconfig.json +3 -0
- package/core/eslint-config/package.json +3 -3
- package/core/eslint-config/src/configs/typescript.ts +1 -0
- package/core/eslint-config/src/factory.ts +1 -0
- package/core/events/package.json +1 -1
- package/core/events/src/index.ts +3 -6
- package/core/events/tsconfig.json +3 -0
- package/core/faker/package.json +1 -1
- package/core/faker/tsconfig.json +3 -0
- package/core/git/package.json +1 -1
- package/core/git/tsconfig.json +3 -0
- package/core/health/package.json +1 -1
- package/core/health/tsconfig.json +3 -0
- package/core/http/package.json +1 -1
- package/core/http/tsconfig.json +3 -0
- package/core/lint/package.json +1 -1
- package/core/lint/tsconfig.json +3 -0
- package/core/logging/package.json +1 -1
- package/core/logging/tsconfig.json +3 -0
- package/core/notifications/package.json +22 -22
- package/core/notifications/tsconfig.json +3 -0
- package/core/objects/package.json +1 -1
- package/core/objects/tsconfig.json +3 -0
- package/core/orm/package.json +1 -1
- package/core/orm/tsconfig.json +3 -0
- package/core/path/package.json +1 -1
- package/core/path/tsconfig.json +3 -0
- package/core/payments/dist/index.js +21 -3
- package/core/payments/package.json +1 -1
- package/core/payments/tsconfig.json +3 -0
- package/core/push/package.json +5 -5
- package/core/push/tsconfig.json +3 -0
- package/core/query-builder/package.json +1 -1
- package/core/query-builder/tsconfig.json +3 -0
- package/core/queue/package.json +1 -1
- package/core/queue/tsconfig.json +3 -0
- package/core/raycast/package.json +1 -1
- package/core/realtime/package.json +1 -1
- package/core/realtime/tsconfig.json +3 -0
- package/core/repl/package.json +1 -1
- package/core/repl/tsconfig.json +3 -0
- package/core/router/dist/index.js +3 -4
- package/core/router/package.json +1 -1
- package/core/router/src/router.ts +11 -11
- package/core/router/src/server.ts +4 -4
- package/core/router/tsconfig.json +3 -0
- package/core/scheduler/build.ts +1 -1
- package/core/scheduler/dist/index.js +682 -152
- package/core/scheduler/package.json +7 -4
- package/core/scheduler/src/constants.ts +81 -0
- package/core/scheduler/src/errors.ts +7 -0
- package/core/scheduler/src/index.ts +15 -317
- package/core/scheduler/src/job.ts +315 -0
- package/core/scheduler/src/schedule.ts +111 -0
- package/core/scheduler/src/time.ts +823 -0
- package/core/scheduler/src/types/cron.ts +98 -0
- package/core/scheduler/src/types/utils.ts +14 -0
- package/core/scheduler/src/utils.ts +19 -0
- package/core/scheduler/tests/cron.fuzz.ts +120 -0
- package/core/scheduler/tests/cron.test.ts +1241 -0
- package/core/scheduler/tests/crontime.test.ts +778 -0
- package/core/scheduler/tsconfig.json +3 -0
- package/core/search-engine/package.json +1 -1
- package/core/search-engine/tsconfig.json +3 -0
- package/core/security/package.json +1 -1
- package/core/security/tsconfig.json +3 -0
- package/core/server/package.json +1 -1
- package/core/server/tsconfig.json +3 -0
- package/core/signals/package.json +1 -1
- package/core/signals/tsconfig.json +3 -0
- package/core/slug/package.json +1 -1
- package/core/slug/tsconfig.json +3 -0
- package/core/sms/package.json +11 -11
- package/core/sms/tsconfig.json +3 -0
- package/core/storage/package.json +1 -1
- package/core/storage/tsconfig.json +3 -0
- package/core/strings/package.json +1 -1
- package/core/strings/tsconfig.json +3 -0
- package/core/tables/package.json +1 -1
- package/core/tables/tsconfig.json +3 -0
- package/core/testing/package.json +1 -1
- package/core/testing/tsconfig.json +3 -0
- package/core/tinker/package.json +1 -1
- package/core/tinker/tsconfig.json +3 -0
- package/core/tunnel/package.json +1 -1
- package/core/tunnel/tsconfig.json +3 -0
- package/core/types/package.json +3 -3
- package/core/types/src/app.ts +2 -2
- package/core/types/src/cli.ts +1 -1
- package/core/types/src/cloud.ts +5 -1
- package/core/types/src/cron-jobs.ts +1 -0
- package/core/types/src/queue.ts +3 -1
- package/core/types/tsconfig.json +3 -0
- package/core/ui/package.json +4 -4
- package/core/ui/tsconfig.json +3 -0
- package/core/utils/dist/index.js +1 -1
- package/core/utils/package.json +1 -1
- package/core/utils/src/promise.ts +2 -2
- package/core/utils/tsconfig.json +3 -0
- package/core/validation/package.json +1 -1
- package/core/validation/src/rules.ts +3 -3
- package/core/validation/tsconfig.json +3 -0
- package/core/vite/dist/index.js +1 -1
- package/core/vite/package.json +1 -1
- package/core/vite/tsconfig.json +3 -0
- package/core/whois/package.json +1 -1
- package/core/whois/tsconfig.json +3 -0
- package/core/x-ray/package.json +1 -1
- package/core/x-ray/tsconfig.json +3 -0
- package/core/zsh-buddy/README.md +6 -2
- package/core/zsh-buddy/buddy.plugin.zsh +109 -0
- package/core/zsh-buddy/package.json +1 -1
- package/ide/dictionary.txt +2 -0
- package/ide/vscode/package.json +1 -1
- package/package.json +1 -1
- package/buddy +0 -2
- package/core/actions/src/zip/api.ts +0 -22
- package/core/bud +0 -2
- package/core/cloud/buddy +0 -2
- package/core/cloud/src/cloud/package/README.md +0 -59
- package/core/cloud/src/cloud/package/package.json +0 -63
- package/core/scheduler/tests/example.test.ts +0 -5
package/ide/vscode/package.json
CHANGED
package/package.json
CHANGED
package/buddy
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
// TODO: we likely won't need this once we use docker images for the runtime
|
|
2
|
-
// zip the api for deployment
|
|
3
|
-
import { log } from '@stacksjs/logging'
|
|
4
|
-
import { path as p } from '@stacksjs/path'
|
|
5
|
-
import { zip } from '@stacksjs/storage'
|
|
6
|
-
|
|
7
|
-
log.info('zipping your API for Lambda usage...')
|
|
8
|
-
|
|
9
|
-
const from = [
|
|
10
|
-
'bootstrap',
|
|
11
|
-
'runtime.ts',
|
|
12
|
-
'server.js',
|
|
13
|
-
]
|
|
14
|
-
|
|
15
|
-
const to = p.projectStoragePath('framework/cloud/api.zip')
|
|
16
|
-
|
|
17
|
-
// zip all the paths into a single file
|
|
18
|
-
await zip(from, to, {
|
|
19
|
-
cwd: p.cloudPath('src/runtime'),
|
|
20
|
-
})
|
|
21
|
-
|
|
22
|
-
log.info('Zipped your API')
|
package/core/bud
DELETED
package/core/cloud/buddy
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
# Stacks Router
|
|
2
|
-
|
|
3
|
-
This package contains the Stacks Router.
|
|
4
|
-
|
|
5
|
-
## ☘️ Features
|
|
6
|
-
|
|
7
|
-
wip
|
|
8
|
-
|
|
9
|
-
- ⚡️
|
|
10
|
-
|
|
11
|
-
wip
|
|
12
|
-
|
|
13
|
-
## 🤖 Usage
|
|
14
|
-
|
|
15
|
-
wip
|
|
16
|
-
|
|
17
|
-
```bash
|
|
18
|
-
bun install -d @stacksjs/actions
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
Now, you can use it in your project:
|
|
22
|
-
|
|
23
|
-
```js
|
|
24
|
-
import * as router from '@stacksjs/router'
|
|
25
|
-
|
|
26
|
-
// wip
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
Learn more in the docs.
|
|
30
|
-
|
|
31
|
-
## 🧪 Testing
|
|
32
|
-
|
|
33
|
-
```bash
|
|
34
|
-
bun test
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
## 📈 Changelog
|
|
38
|
-
|
|
39
|
-
Please see our [releases](https://github.com/stacksjs/stacks/releases) page for more information on what has changed recently.
|
|
40
|
-
|
|
41
|
-
## 🚜 Contributing
|
|
42
|
-
|
|
43
|
-
Please review the [Contributing Guide](https://github.com/stacksjs/contributing) for details.
|
|
44
|
-
|
|
45
|
-
## 🏝 Community
|
|
46
|
-
|
|
47
|
-
For help, discussion about best practices, or any other conversation that would benefit from being searchable:
|
|
48
|
-
|
|
49
|
-
[Discussions on GitHub](https://github.com/stacksjs/stacks/discussions)
|
|
50
|
-
|
|
51
|
-
For casual chit-chat with others using this package:
|
|
52
|
-
|
|
53
|
-
[Join the Stacks Discord Server](https://discord.gg/stacksjs)
|
|
54
|
-
|
|
55
|
-
## 📄 License
|
|
56
|
-
|
|
57
|
-
The MIT License (MIT). Please see [LICENSE](https://github.com/stacksjs/stacks/tree/main/LICENSE.md) for more information.
|
|
58
|
-
|
|
59
|
-
Made with 💙
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@stacksjs/router",
|
|
3
|
-
"type": "module",
|
|
4
|
-
"version": "0.58.50",
|
|
5
|
-
"description": "The Stacks framework router.",
|
|
6
|
-
"author": "Chris Breuer",
|
|
7
|
-
"license": "MIT",
|
|
8
|
-
"funding": "https://github.com/sponsors/chrisbbreuer",
|
|
9
|
-
"homepage": "https://github.com/stacksjs/stacks/tree/main/storage/framework/core/router#readme",
|
|
10
|
-
"repository": {
|
|
11
|
-
"type": "git",
|
|
12
|
-
"url": "git+https://github.com/stacksjs/stacks.git",
|
|
13
|
-
"directory": "./storage/framework/core/router"
|
|
14
|
-
},
|
|
15
|
-
"bugs": {
|
|
16
|
-
"url": "https://github.com/stacksjs/stacks/issues"
|
|
17
|
-
},
|
|
18
|
-
"keywords": [
|
|
19
|
-
"router",
|
|
20
|
-
"stacks",
|
|
21
|
-
"framework",
|
|
22
|
-
"typescript",
|
|
23
|
-
"javascript"
|
|
24
|
-
],
|
|
25
|
-
"exports": {
|
|
26
|
-
".": {
|
|
27
|
-
"bun": "./src/index.ts",
|
|
28
|
-
"import": "./dist/index.js"
|
|
29
|
-
},
|
|
30
|
-
"./*": {
|
|
31
|
-
"bun": "./src/*",
|
|
32
|
-
"import": "./dist/*"
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
"module": "dist/index.js",
|
|
36
|
-
"types": "dist/index.d.ts",
|
|
37
|
-
"contributors": [
|
|
38
|
-
"Chris Breuer <chris@stacksjs.org>"
|
|
39
|
-
],
|
|
40
|
-
"files": [
|
|
41
|
-
"README.md",
|
|
42
|
-
"dist",
|
|
43
|
-
"src"
|
|
44
|
-
],
|
|
45
|
-
"scripts": {
|
|
46
|
-
"build": "bun --bun build.ts",
|
|
47
|
-
"typecheck": "bun --bun tsc --noEmit",
|
|
48
|
-
"prepublishOnly": "bun --bun run build"
|
|
49
|
-
},
|
|
50
|
-
"peerDependencies": {
|
|
51
|
-
"@stacksjs/config": "latest",
|
|
52
|
-
"unplugin-vue-router": "^0.7.0",
|
|
53
|
-
"vue-router": "^4.2.5"
|
|
54
|
-
},
|
|
55
|
-
"dependencies": {
|
|
56
|
-
"@stacksjs/config": "latest",
|
|
57
|
-
"unplugin-vue-router": "^0.7.0",
|
|
58
|
-
"vue-router": "^4.2.5"
|
|
59
|
-
},
|
|
60
|
-
"devDependencies": {
|
|
61
|
-
"@stacksjs/development": "latest"
|
|
62
|
-
}
|
|
63
|
-
}
|