@stacksjs/buddy 0.42.2 β 0.43.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 +19 -17
- package/package.json +35 -38
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@ The goal of the Stacks framework is to _help you_ create & maintain frontends, b
|
|
|
14
14
|
|
|
15
15
|
Convention over configuration is our mantraβin beginner & expert-friendly ways.
|
|
16
16
|
|
|
17
|
-

|
|
17
|
+
<!--  -->
|
|
18
18
|
|
|
19
19
|
## Features
|
|
20
20
|
|
|
@@ -22,22 +22,22 @@ The Stacks framework is a harmony of the following engines:
|
|
|
22
22
|
|
|
23
23
|
### Stacks UI
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
_Develop UIs with helpers for atomic design, component libraries, and more._
|
|
26
26
|
|
|
27
27
|
- π§© Components _develop UI components with ease_
|
|
28
28
|
- π Library Mode _auto-builds Vue & Web component libraries_
|
|
29
29
|
- π Pages _SSG & PWA support using components_
|
|
30
30
|
- π₯οΈ Desktop _components as desktop elements, powered by Tauri_
|
|
31
|
-
- β‘οΈ Powered by Vue, Vite &
|
|
31
|
+
- β‘οΈ Powered by Vue, Vite, UnoCSS & Tauri
|
|
32
32
|
|
|
33
33
|
### Stacks Functions
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
_Develop serverless (or server) functions with countless helpers to build scalable & fast APIs._
|
|
36
36
|
|
|
37
37
|
- π€ **APIs** _scalability & maintainability built-in_
|
|
38
38
|
- ποΈ **Cache** Redis, DynamoDB, SingleStore, and more
|
|
39
39
|
- βοΈ **CLIs** _create beautiful CLIs for Linux, Windows, and Mac. Without requirements._
|
|
40
|
-
- π **Database** _MySQL, Postgres,
|
|
40
|
+
- π **Database** _MySQL, Postgres, PlanetScale, Supabase, Prisma, ..._
|
|
41
41
|
- πΎ **Errors** _native type-safe error handling_
|
|
42
42
|
- π’ **Notifications** _emails, SMSs, direct, and push notifications & webhooks_
|
|
43
43
|
- βοΈ **Queues** run your heavy workload in the background
|
|
@@ -45,12 +45,12 @@ Develop serverless (or server) functions with countless helpers to build scalabl
|
|
|
45
45
|
- π§ **Router** _smart routing, file-based or Laravel-like_
|
|
46
46
|
- π **Search Engine** _smart searching, advanced filtering & sorting, pagination, headless UI_
|
|
47
47
|
- πΎ **Storage** _easily create & make use of local & remote storages/file systems_
|
|
48
|
-
- πͺοΈ **Validation**
|
|
48
|
+
- πͺοΈ **Validation** _e2e type-safety (frontend & backend harmony)_
|
|
49
49
|
- π **X-Ray** _All you need to debug, log & analyze, easily_
|
|
50
50
|
|
|
51
51
|
### Stacks Cloud
|
|
52
52
|
|
|
53
|
-
Create your own cloud. _With a few commands._
|
|
53
|
+
Create your own Vercel-like cloud. _With a few commands._
|
|
54
54
|
|
|
55
55
|
- βοΈ **Server** _local development server & production-ready servers_
|
|
56
56
|
- β
οΈ **Serverless** _on-demand, auto-scaling, zero maintenance_
|
|
@@ -60,22 +60,23 @@ Create your own cloud. _With a few commands._
|
|
|
60
60
|
|
|
61
61
|
### Stacks CI/CD
|
|
62
62
|
|
|
63
|
-
|
|
63
|
+
_Focus on coding, not publishing._
|
|
64
64
|
|
|
65
65
|
- π **Deployment Manager** _take the sweat & stress out of production deployments (AWS, Vercel, Netlify, and more)_
|
|
66
66
|
- π« **Release Manager** _libraries (component & function) auto-published to npm, git helpers, and more_
|
|
67
67
|
|
|
68
68
|
### Stacks DX
|
|
69
69
|
|
|
70
|
-
|
|
70
|
+
_Enhanced productivity for developers. No more creating boilerplate._
|
|
71
71
|
|
|
72
|
-
- π©π½βπ§ **Linter & Formatter** _auto-configured & built into your IDE_
|
|
73
72
|
- π‘ **IDE Integration** _auto-completions, inline docs & a powerful VS Code setup_
|
|
74
|
-
-
|
|
75
|
-
-
|
|
76
|
-
-
|
|
73
|
+
- πͺ **Zero-Config** _yet highly configurableβconvention over configuration_
|
|
74
|
+
- π©π½βπ§ **Linter & Formatter** _auto-configured & built into your IDE_
|
|
75
|
+
- πͺπΌ **Type Strong** _built-in e2e type-safety_
|
|
76
|
+
- β¨ **Git workflows** _committing with ease_
|
|
77
|
+
- π **Auto Imports** _your components & functions, including date, string, array, & object helpers_
|
|
78
|
+
- π οΈ **Utilities** _Collections, VueUse, and more_
|
|
77
79
|
- π§ͺ **Testing** _unit & e2e tests powered by Vitest_
|
|
78
|
-
- πͺ **Zero-Config** _yet highly configurable. Convention over configuration_
|
|
79
80
|
|
|
80
81
|
No matter whether you are a beginner or an expert, the approachable Stacks design allows you to learn at your own pace, using our thorough documentation covering every aspect of the framework. Stacks is extremely beginner & expert-friendly.
|
|
81
82
|
|
|
@@ -88,9 +89,10 @@ Develop beautiful, reactive, composable UIs without learning a new set of langua
|
|
|
88
89
|
It's incredibly easy to get started with this framework. Simply run the following command in your terminal:
|
|
89
90
|
|
|
90
91
|
```bash
|
|
91
|
-
curl
|
|
92
|
+
sh <(curl stacksjs.dev)
|
|
92
93
|
|
|
93
|
-
# alternatively, if
|
|
94
|
+
# alternatively, if Node.js >= v18.12 is installed already,
|
|
95
|
+
# you may also get started via:
|
|
94
96
|
npx stacks new my-project
|
|
95
97
|
```
|
|
96
98
|
|
|
@@ -148,7 +150,7 @@ buddy dev:functions # stub local the functions
|
|
|
148
150
|
buddy dev:docs # start local docs dev server
|
|
149
151
|
buddy development # `buddy dev` alias
|
|
150
152
|
|
|
151
|
-
# for Laravel
|
|
153
|
+
# for Laravel folks, `serve` may ring more familiar than the `dev` name. Hence, we aliased it:
|
|
152
154
|
buddy serve
|
|
153
155
|
buddy serve:components
|
|
154
156
|
buddy serve:pages
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/buddy",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
5
|
-
"packageManager": "pnpm@7.17.
|
|
4
|
+
"version": "0.43.0",
|
|
5
|
+
"packageManager": "pnpm@7.17.1",
|
|
6
6
|
"description": "The Stacks runtime, named Buddy.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"license": "MIT",
|
|
@@ -51,38 +51,38 @@
|
|
|
51
51
|
],
|
|
52
52
|
"engines": {
|
|
53
53
|
"node": ">=v18.12.1",
|
|
54
|
-
"pnpm": ">=7.17.
|
|
54
|
+
"pnpm": ">=7.17.1"
|
|
55
55
|
},
|
|
56
|
-
"
|
|
57
|
-
"@stacksjs/actions": "0.
|
|
58
|
-
"@stacksjs/arrays": "0.
|
|
59
|
-
"@stacksjs/build": "0.
|
|
60
|
-
"@stacksjs/cli": "0.
|
|
61
|
-
"@stacksjs/cloud": "0.
|
|
62
|
-
"@stacksjs/collections": "0.
|
|
63
|
-
"@stacksjs/config": "0.
|
|
64
|
-
"@stacksjs/desktop": "0.
|
|
65
|
-
"@stacksjs/docs": "0.
|
|
66
|
-
"@stacksjs/error-handling": "0.
|
|
67
|
-
"@stacksjs/git": "0.
|
|
68
|
-
"@stacksjs/lint": "0.
|
|
69
|
-
"@stacksjs/modules": "0.
|
|
70
|
-
"@stacksjs/objects": "0.
|
|
71
|
-
"@stacksjs/path": "0.
|
|
72
|
-
"@stacksjs/router": "0.
|
|
73
|
-
"@stacksjs/security": "0.
|
|
74
|
-
"@stacksjs/server": "0.
|
|
75
|
-
"@stacksjs/storage": "0.
|
|
76
|
-
"@stacksjs/strings": "0.
|
|
77
|
-
"@stacksjs/testing": "0.
|
|
78
|
-
"@stacksjs/types": "0.
|
|
79
|
-
"@stacksjs/ui": "0.
|
|
80
|
-
"@stacksjs/utils": "0.
|
|
81
|
-
"@stacksjs/x-ray": "0.
|
|
56
|
+
"peerDependencies": {
|
|
57
|
+
"@stacksjs/actions": "0.43.0",
|
|
58
|
+
"@stacksjs/arrays": "0.43.0",
|
|
59
|
+
"@stacksjs/build": "0.43.0",
|
|
60
|
+
"@stacksjs/cli": "0.43.0",
|
|
61
|
+
"@stacksjs/cloud": "0.43.0",
|
|
62
|
+
"@stacksjs/collections": "0.43.0",
|
|
63
|
+
"@stacksjs/config": "0.43.0",
|
|
64
|
+
"@stacksjs/desktop": "0.43.0",
|
|
65
|
+
"@stacksjs/docs": "0.43.0",
|
|
66
|
+
"@stacksjs/error-handling": "0.43.0",
|
|
67
|
+
"@stacksjs/git": "0.43.0",
|
|
68
|
+
"@stacksjs/lint": "0.43.0",
|
|
69
|
+
"@stacksjs/modules": "0.43.0",
|
|
70
|
+
"@stacksjs/objects": "0.43.0",
|
|
71
|
+
"@stacksjs/path": "0.43.0",
|
|
72
|
+
"@stacksjs/router": "0.43.0",
|
|
73
|
+
"@stacksjs/security": "0.43.0",
|
|
74
|
+
"@stacksjs/server": "0.43.0",
|
|
75
|
+
"@stacksjs/storage": "0.43.0",
|
|
76
|
+
"@stacksjs/strings": "0.43.0",
|
|
77
|
+
"@stacksjs/testing": "0.43.0",
|
|
78
|
+
"@stacksjs/types": "0.43.0",
|
|
79
|
+
"@stacksjs/ui": "0.43.0",
|
|
80
|
+
"@stacksjs/utils": "0.43.0",
|
|
81
|
+
"@stacksjs/x-ray": "0.43.0"
|
|
82
82
|
},
|
|
83
83
|
"devDependencies": {
|
|
84
84
|
"only-allow": "^1.1.1",
|
|
85
|
-
"pnpm": ">=7.17.
|
|
85
|
+
"pnpm": ">=7.17.1",
|
|
86
86
|
"typescript": "^4.9.3"
|
|
87
87
|
},
|
|
88
88
|
"config": {
|
|
@@ -122,10 +122,8 @@
|
|
|
122
122
|
"build:pages": "npx vite-ssg build ./pages -c ./core/build/src/pages.ts",
|
|
123
123
|
"build:core": "pnpm --filter './core/**' --filter='!./core/config' build && pnpm --filter './core/config' build",
|
|
124
124
|
"build:cli": "npx unbuild",
|
|
125
|
-
"build:runtime": "pnpm run build:cli
|
|
126
|
-
"build:
|
|
127
|
-
"build:osx": "caxa --input \"dist\" --output \"dist/caxa/stacks.app\" -- \"{{caxa}}/node_modules/.bin/node\" \"{{caxa}}/index.js\"",
|
|
128
|
-
"build:unix": "caxa --input \"dist\" --output \"stxx\" -- \"{{caxa}}/node_modules/.bin/node\" \"{{caxa}}/index.mjs\"",
|
|
125
|
+
"build:runtime": "pnpm run build:cli",
|
|
126
|
+
"build:desktop": "wip",
|
|
129
127
|
"build:stacks": "npx mkdist -d && pnpm build:cli && pnpm build:core",
|
|
130
128
|
"build:all": "wip",
|
|
131
129
|
"prod": "pnpm run build",
|
|
@@ -175,9 +173,8 @@
|
|
|
175
173
|
"types:fix": "esno actions/src/fix-types.ts",
|
|
176
174
|
"add": "pnpm buddy add",
|
|
177
175
|
"test": "vitest --config vitest.config.ts",
|
|
178
|
-
"test:
|
|
179
|
-
"test:
|
|
180
|
-
"test:
|
|
181
|
-
"test:types": "vue-tsc --noEmit"
|
|
176
|
+
"test:ui": "pnpm buddy test:ui",
|
|
177
|
+
"test:coverage": "pnpm buddy test:coverage",
|
|
178
|
+
"test:types": "pnpm buddy test:types"
|
|
182
179
|
}
|
|
183
180
|
}
|