stacks 0.70.22 → 0.70.53
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 +18 -26
- package/package.json +62 -66
package/README.md
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
# Rapid App & Library Development
|
|
4
4
|
|
|
5
|
-
[![npm version]
|
|
6
|
-
[![GitHub Actions]
|
|
5
|
+
[](https://npmjs.com/package/stacks)
|
|
6
|
+
[](https://github.com/stacksjs/stacks/actions?query=workflow%3Aci)
|
|
7
7
|
[](http://commitizen.github.io/cz-cli/)
|
|
8
|
-
[![npm downloads]
|
|
8
|
+
[](https://npmjs.com/package/stacks)
|
|
9
9
|
<!-- [![Codecov][codecov-src]][codecov-href] -->
|
|
10
10
|
|
|
11
11
|
> [!WARNING]
|
|
@@ -31,10 +31,10 @@ In other words, Stacks helps you, as a developer, every step along the way—in
|
|
|
31
31
|
It’s incredibly easy to get started with this framework. Simply run the following command in your terminal:
|
|
32
32
|
|
|
33
33
|
```bash
|
|
34
|
-
curl -Ssf stacksjs.
|
|
34
|
+
curl -Ssf stacksjs.com/install | sh # wip
|
|
35
35
|
|
|
36
|
-
# alternatively, if Bun >= v1.1.11 is installed already
|
|
37
|
-
# you may also get started via
|
|
36
|
+
# alternatively, if Bun >= v1.1.11 is installed already
|
|
37
|
+
# you may also get started via
|
|
38
38
|
bunx stacks new my-project
|
|
39
39
|
```
|
|
40
40
|
|
|
@@ -112,7 +112,7 @@ buddy development # `buddy dev` alias
|
|
|
112
112
|
|
|
113
113
|
buddy share # creates a sharable link to your local project
|
|
114
114
|
|
|
115
|
-
# for Laravel folks, `serve` may ring more familiar than the `dev` name. Hence, we aliased it
|
|
115
|
+
# for Laravel folks, `serve` may ring more familiar than the `dev` name. Hence, we aliased it
|
|
116
116
|
buddy serve
|
|
117
117
|
buddy serve:components
|
|
118
118
|
buddy serve:desktop
|
|
@@ -128,7 +128,6 @@ buddy build:library # builds any or all libraries
|
|
|
128
128
|
buddy build:functions # builds function library
|
|
129
129
|
buddy build:components # builds Vue component library & Web Component library
|
|
130
130
|
buddy build:web-components # builds framework agnostic Web Component library (i.e. Custom Elements)
|
|
131
|
-
buddy build:vue-components # builds Vue 2 & 3-ready Component library
|
|
132
131
|
buddy build:all # builds all your code
|
|
133
132
|
|
|
134
133
|
# `buddy build` aliases
|
|
@@ -138,7 +137,6 @@ buddy prod:desktop
|
|
|
138
137
|
buddy prod:library
|
|
139
138
|
buddy prod:views
|
|
140
139
|
buddy prod:functions
|
|
141
|
-
buddy prod:vue-components
|
|
142
140
|
buddy prod:web-components
|
|
143
141
|
buddy prod:all
|
|
144
142
|
buddy production # `buddy prod` alias
|
|
@@ -162,21 +160,15 @@ buddy migrate # runs database migrations
|
|
|
162
160
|
buddy migrate:dns # sets the ./config/dns.ts file
|
|
163
161
|
|
|
164
162
|
buddy dns example.com # list all DNS records for example.com
|
|
165
|
-
buddy dns example.com --type MX # list MX records for example.com
|
|
163
|
+
buddy dns example.com --type MX # list MX records for example.com
|
|
166
164
|
|
|
167
|
-
buddy https
|
|
165
|
+
buddy https example.com/api/hello
|
|
168
166
|
# http [flags] [METHOD] URL [ITEM [ITEM]]
|
|
169
167
|
buddy http --help
|
|
170
|
-
buddy http PUT
|
|
171
|
-
buddy http -v
|
|
172
|
-
buddy http
|
|
173
|
-
buddy http
|
|
174
|
-
buddy http -a USERNAME POST https://api.github.com/repos/httpie/cli/issues/83/comments body='HTTPie is awesome! :heart:'
|
|
175
|
-
buddy http pie.dev/post < files/data.json
|
|
176
|
-
buddy http pie.dev/image/png > image.png
|
|
177
|
-
buddy http --download pie.dev/image/png
|
|
178
|
-
buddy http --session=logged-in -a username:password pie.dev/get API-Key:123
|
|
179
|
-
buddy http --session=logged-in pie.dev/headers
|
|
168
|
+
buddy http PUT example.com/api/put X-API-Token:123 name=John # Custom HTTP method, HTTP headers and JSON data
|
|
169
|
+
buddy http -v example.com/api/get # See the request that is being sent using one of the output options
|
|
170
|
+
buddy http POST example.com/api/post hello=World # submitting forms
|
|
171
|
+
buddy http -a USERNAME POST https://api.github.com/repos/user/repo/issues/83/comments body='Great feature! :heart:'
|
|
180
172
|
buddy http localhost:8000 Host:example.com
|
|
181
173
|
|
|
182
174
|
buddy lint # runs linter
|
|
@@ -221,11 +213,11 @@ buddy types:generate # generates types for your components, functions, & views
|
|
|
221
213
|
buddy types:fix # auto-fixes types for your components, functions, & views
|
|
222
214
|
|
|
223
215
|
buddy domains # alias for `buddy domains:list`
|
|
224
|
-
buddy domains:add stacksjs.
|
|
225
|
-
buddy domains:remove stacksjs.
|
|
216
|
+
buddy domains:add stacksjs.com # adds a domain
|
|
217
|
+
buddy domains:remove stacksjs.com # removes a domain
|
|
226
218
|
buddy domains:list # lists all domains
|
|
227
219
|
buddy domains:update # apply ./config/dns.ts updates
|
|
228
|
-
buddy domains:purchase stacksjs.
|
|
220
|
+
buddy domains:purchase stacksjs.com # purchase a new domain
|
|
229
221
|
|
|
230
222
|
# test your stack
|
|
231
223
|
buddy test # runs test suite (unit & e2e)
|
|
@@ -233,7 +225,7 @@ buddy test:coverage # runs test coverage
|
|
|
233
225
|
buddy test:types # runs typecheck
|
|
234
226
|
|
|
235
227
|
# the CLI may be triggered in any
|
|
236
|
-
# of the following syntax
|
|
228
|
+
# of the following syntax
|
|
237
229
|
stx fresh
|
|
238
230
|
buddy fresh
|
|
239
231
|
bud fresh
|
|
@@ -258,7 +250,7 @@ _Develop dynamic UIs with helpers for atomic design, and much more._
|
|
|
258
250
|
- 🖥️ **Desktop** _transforms your web app into a desktop app, plus more_
|
|
259
251
|
- 📝 **Documentation** _markdown-based documentation, auto-generated_
|
|
260
252
|
- 📚 **Library** _auto-builds & manages component & function libraries_
|
|
261
|
-
- ⚡️ Powered by Bun, Tauri,
|
|
253
|
+
- ⚡️ Powered by Bun, Tauri, Headwind, Vite, VitePress and Vue
|
|
262
254
|
|
|
263
255
|
### Backend Development
|
|
264
256
|
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stacks",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.70.
|
|
4
|
+
"version": "0.70.53",
|
|
5
5
|
"description": "The Stacks framework.",
|
|
6
6
|
"author": "Chris Breuer",
|
|
7
7
|
"contributors": [
|
|
8
|
-
"Chris Breuer <chris@stacksjs.
|
|
8
|
+
"Chris Breuer <chris@stacksjs.com>"
|
|
9
9
|
],
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"funding": "https://github.com/sponsors/chrisbbreuer",
|
|
@@ -100,6 +100,14 @@
|
|
|
100
100
|
"types": "./collections/dist/index.d.ts",
|
|
101
101
|
"import": "./collections/dist/index.js"
|
|
102
102
|
},
|
|
103
|
+
"./cms": {
|
|
104
|
+
"types": "./cms/dist/index.d.ts",
|
|
105
|
+
"import": "./cms/dist/index.js"
|
|
106
|
+
},
|
|
107
|
+
"./commerce": {
|
|
108
|
+
"types": "./commerce/dist/index.d.ts",
|
|
109
|
+
"import": "./commerce/dist/index.js"
|
|
110
|
+
},
|
|
103
111
|
"./config": {
|
|
104
112
|
"types": "./config/dist/index.d.ts",
|
|
105
113
|
"import": "./config/dist/index.js"
|
|
@@ -173,7 +181,7 @@
|
|
|
173
181
|
"import": "./objects/dist/index.js"
|
|
174
182
|
},
|
|
175
183
|
"./orm": {
|
|
176
|
-
"types": "./orm/dist/index.d.ts",
|
|
184
|
+
"types": "./orm/dist/src/index.d.ts",
|
|
177
185
|
"import": "./orm/dist/index.js"
|
|
178
186
|
},
|
|
179
187
|
"./path": {
|
|
@@ -224,10 +232,6 @@
|
|
|
224
232
|
"types": "./server/dist/index.d.ts",
|
|
225
233
|
"import": "./server/dist/index.js"
|
|
226
234
|
},
|
|
227
|
-
"./signals": {
|
|
228
|
-
"types": "./signals/dist/index.d.ts",
|
|
229
|
-
"import": "./signals/dist/index.js"
|
|
230
|
-
},
|
|
231
235
|
"./slug": {
|
|
232
236
|
"types": "./slug/dist/index.d.ts",
|
|
233
237
|
"import": "./slug/dist/index.js"
|
|
@@ -236,14 +240,6 @@
|
|
|
236
240
|
"types": "./sms/dist/index.d.ts",
|
|
237
241
|
"import": "./sms/dist/index.js"
|
|
238
242
|
},
|
|
239
|
-
"./stepper": {
|
|
240
|
-
"types": "./components/stepper/dist/index.d.ts",
|
|
241
|
-
"import": "./components/stepper/dist/index.js"
|
|
242
|
-
},
|
|
243
|
-
"./modal": {
|
|
244
|
-
"types": "./components/modal/dist/index.d.ts",
|
|
245
|
-
"import": "./components/modal/dist/index.js"
|
|
246
|
-
},
|
|
247
243
|
"./storage": {
|
|
248
244
|
"types": "./storage/dist/index.d.ts",
|
|
249
245
|
"import": "./storage/dist/index.js"
|
|
@@ -279,6 +275,10 @@
|
|
|
279
275
|
"./validation": {
|
|
280
276
|
"types": "./validation/dist/index.d.ts",
|
|
281
277
|
"import": "./validation/dist/index.js"
|
|
278
|
+
},
|
|
279
|
+
"./skills": {
|
|
280
|
+
"types": "./skills/dist/index.d.ts",
|
|
281
|
+
"import": "./skills/dist/index.js"
|
|
282
282
|
}
|
|
283
283
|
},
|
|
284
284
|
"types": "./types/dist/index.d.ts",
|
|
@@ -288,60 +288,56 @@
|
|
|
288
288
|
],
|
|
289
289
|
"scripts": {
|
|
290
290
|
"buddy": "bun run ./buddy/src/cli.ts",
|
|
291
|
-
"build": "
|
|
291
|
+
"build": "bun ./build.ts",
|
|
292
292
|
"up": "bun update",
|
|
293
293
|
"up:latest": "bun update --latest"
|
|
294
294
|
},
|
|
295
295
|
"web-types": "./web-types.json",
|
|
296
296
|
"dependencies": {
|
|
297
|
-
"@stacksjs/actions": "0.70.
|
|
298
|
-
"@stacksjs/ai": "0.70.
|
|
299
|
-
"@stacksjs/alias": "0.70.
|
|
300
|
-
"@stacksjs/arrays": "0.70.
|
|
301
|
-
"@stacksjs/auth": "0.70.
|
|
302
|
-
"@stacksjs/buddy": "0.70.
|
|
303
|
-
"@stacksjs/build": "0.70.
|
|
304
|
-
"@stacksjs/cache": "0.70.
|
|
305
|
-
"@stacksjs/cli": "0.70.
|
|
306
|
-
"@stacksjs/cloud": "0.70.
|
|
307
|
-
"@stacksjs/collections": "0.70.
|
|
308
|
-
"@stacksjs/config": "0.70.
|
|
309
|
-
"@stacksjs/database": "0.70.
|
|
310
|
-
"@stacksjs/desktop": "0.70.
|
|
311
|
-
"
|
|
312
|
-
"@stacksjs/dns": "0.70.
|
|
313
|
-
"@stacksjs/
|
|
314
|
-
"@stacksjs/
|
|
315
|
-
"@stacksjs/
|
|
316
|
-
"@stacksjs/
|
|
317
|
-
"@stacksjs/
|
|
318
|
-
"@stacksjs/
|
|
319
|
-
"@stacksjs/
|
|
320
|
-
"@stacksjs/
|
|
321
|
-
"@stacksjs/
|
|
322
|
-
"@stacksjs/
|
|
323
|
-
"@stacksjs/
|
|
324
|
-
"@stacksjs/
|
|
325
|
-
"@stacksjs/
|
|
326
|
-
"@stacksjs/
|
|
327
|
-
"@stacksjs/
|
|
328
|
-
"@stacksjs/
|
|
329
|
-
"@stacksjs/
|
|
330
|
-
"@stacksjs/
|
|
331
|
-
"@stacksjs/
|
|
332
|
-
"@stacksjs/
|
|
333
|
-
"@stacksjs/
|
|
334
|
-
"@stacksjs/
|
|
335
|
-
"@stacksjs/
|
|
336
|
-
"@stacksjs/
|
|
337
|
-
"@stacksjs/
|
|
338
|
-
"@stacksjs/
|
|
339
|
-
"@stacksjs/
|
|
340
|
-
"@stacksjs/
|
|
341
|
-
"
|
|
342
|
-
"@stacksjs/utils": "0.70.18",
|
|
343
|
-
"@stacksjs/validation": "0.70.18",
|
|
344
|
-
"@stacksjs/vite-config": "0.70.18",
|
|
345
|
-
"@stacksjs/vite-plugin": "0.70.18"
|
|
297
|
+
"@stacksjs/actions": "^0.70.53",
|
|
298
|
+
"@stacksjs/ai": "^0.70.53",
|
|
299
|
+
"@stacksjs/alias": "^0.70.53",
|
|
300
|
+
"@stacksjs/arrays": "^0.70.53",
|
|
301
|
+
"@stacksjs/auth": "^0.70.53",
|
|
302
|
+
"@stacksjs/buddy": "^0.70.53",
|
|
303
|
+
"@stacksjs/build": "^0.70.53",
|
|
304
|
+
"@stacksjs/cache": "^0.70.53",
|
|
305
|
+
"@stacksjs/cli": "^0.70.53",
|
|
306
|
+
"@stacksjs/cloud": "^0.70.53",
|
|
307
|
+
"@stacksjs/collections": "^0.70.53",
|
|
308
|
+
"@stacksjs/config": "^0.70.53",
|
|
309
|
+
"@stacksjs/database": "^0.70.53",
|
|
310
|
+
"@stacksjs/desktop": "^0.70.53",
|
|
311
|
+
"better-dx": "^0.2.12",
|
|
312
|
+
"@stacksjs/dns": "^0.70.53",
|
|
313
|
+
"@stacksjs/email": "^0.70.53",
|
|
314
|
+
"@stacksjs/enums": "^0.70.53",
|
|
315
|
+
"@stacksjs/env": "^0.70.53",
|
|
316
|
+
"@stacksjs/error-handling": "^0.70.53",
|
|
317
|
+
"@stacksjs/events": "^0.70.53",
|
|
318
|
+
"@stacksjs/git": "^0.70.53",
|
|
319
|
+
"@stacksjs/health": "^0.70.53",
|
|
320
|
+
"@stacksjs/lint": "^0.70.53",
|
|
321
|
+
"@stacksjs/logging": "^0.70.53",
|
|
322
|
+
"@stacksjs/notifications": "^0.70.53",
|
|
323
|
+
"@stacksjs/objects": "^0.70.53",
|
|
324
|
+
"@stacksjs/orm": "^0.70.53",
|
|
325
|
+
"@stacksjs/path": "^0.70.53",
|
|
326
|
+
"@stacksjs/payments": "^0.70.53",
|
|
327
|
+
"@stacksjs/realtime": "^0.70.53",
|
|
328
|
+
"@stacksjs/router": "^0.70.53",
|
|
329
|
+
"@stacksjs/search-engine": "^0.70.53",
|
|
330
|
+
"@stacksjs/security": "^0.70.53",
|
|
331
|
+
"@stacksjs/server": "^0.70.53",
|
|
332
|
+
"@stacksjs/storage": "^0.70.53",
|
|
333
|
+
"@stacksjs/strings": "^0.70.53",
|
|
334
|
+
"@stacksjs/tlsx": "^0.13.0",
|
|
335
|
+
"@stacksjs/tunnel": "^0.70.53",
|
|
336
|
+
"@stacksjs/types": "^0.70.53",
|
|
337
|
+
"@stacksjs/ui": "^0.70.53",
|
|
338
|
+
"@stacksjs/utils": "^0.70.53",
|
|
339
|
+
"@stacksjs/skills": "^0.70.53",
|
|
340
|
+
"@stacksjs/validation": "^0.70.53",
|
|
341
|
+
"bun-query-builder": "^0.1.26"
|
|
346
342
|
}
|
|
347
|
-
}
|
|
343
|
+
}
|