stacks 0.40.0 → 0.44.9
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/.gitignore +12 -0
- package/README.md +369 -27
- package/auto-imports.d.ts +862 -0
- package/buddy/README.md +414 -0
- package/{bin → buddy/bin}/stacks.mjs +0 -0
- package/buddy/build.config.ts +17 -0
- package/buddy/node_modules/.bin/only-allow +17 -0
- package/buddy/node_modules/.bin/pnpm +17 -0
- package/buddy/node_modules/.bin/pnpx +17 -0
- package/buddy/node_modules/.bin/tsc +17 -0
- package/buddy/node_modules/.bin/tsserver +17 -0
- package/buddy/node_modules/.bin/unbuild +17 -0
- package/buddy/package.json +183 -0
- package/buddy/src/cli.ts +49 -0
- package/buddy/src/commands/add.ts +63 -0
- package/buddy/src/commands/build.ts +111 -0
- package/buddy/src/commands/clean.ts +18 -0
- package/buddy/src/commands/commit.ts +18 -0
- package/buddy/src/commands/create.ts +129 -0
- package/buddy/src/commands/dev.ts +96 -0
- package/buddy/src/commands/example.ts +65 -0
- package/buddy/src/commands/fresh.ts +18 -0
- package/buddy/src/commands/generate.ts +110 -0
- package/buddy/src/commands/index.ts +18 -0
- package/buddy/src/commands/key.ts +18 -0
- package/buddy/src/commands/lint.ts +27 -0
- package/buddy/src/commands/make.ts +219 -0
- package/buddy/src/commands/preinstall.ts +18 -0
- package/buddy/src/commands/prepublish.ts +19 -0
- package/buddy/src/commands/release.ts +28 -0
- package/buddy/src/commands/setup.ts +26 -0
- package/buddy/src/commands/test.ts +41 -0
- package/buddy/src/commands/types.ts +26 -0
- package/buddy/src/commands/update.ts +108 -0
- package/buddy/src/index.ts +17 -0
- package/components/vue/dist/.gitkeep +0 -0
- package/components/vue/index.html +13 -0
- package/components/vue/main.ts +18 -0
- package/components/vue/package.json +41 -0
- package/components/web/dist/.gitkeep +0 -0
- package/components/web/package.json +41 -0
- package/components.d.ts +22 -0
- package/core/actions/README.md +58 -0
- package/core/actions/node_modules/.bin/esno +17 -0
- package/core/actions/node_modules/.bin/markdown-it +17 -0
- package/core/actions/node_modules/.bin/mkdist +17 -0
- package/core/actions/node_modules/.bin/tsc +17 -0
- package/core/actions/node_modules/.bin/tsserver +17 -0
- package/core/actions/package.json +68 -0
- package/core/actions/src/add.ts +32 -0
- package/core/actions/src/build.ts +93 -0
- package/core/actions/src/clean.ts +25 -0
- package/core/actions/src/commit.ts +19 -0
- package/core/actions/src/copy-types.ts +22 -0
- package/core/actions/src/dev.ts +55 -0
- package/core/actions/src/examples.ts +48 -0
- package/core/actions/src/fresh.ts +27 -0
- package/core/actions/src/generate-component-meta.ts +15 -0
- package/core/actions/src/generate-ide-helpers.ts +19 -0
- package/core/actions/src/generate-lib-entries.ts +17 -0
- package/core/actions/src/generate-package-json.ts +11 -0
- package/core/actions/src/generate-vscode-custom-data.ts +16 -0
- package/core/actions/src/generate-vue-compat.ts +10 -0
- package/core/actions/src/generate.ts +119 -0
- package/core/actions/src/helpers/component-meta.ts +93 -0
- package/core/actions/src/helpers/index.ts +6 -0
- package/core/actions/src/helpers/lib-entries.ts +130 -0
- package/core/actions/src/helpers/package-json.ts +95 -0
- package/core/actions/src/helpers/utils.ts +30 -0
- package/core/actions/src/helpers/vscode-custom-data.ts +28 -0
- package/core/actions/src/helpers/vue-compat.ts +17 -0
- package/core/actions/src/index.ts +1 -0
- package/core/actions/src/key.ts +48 -0
- package/core/actions/src/lint.ts +36 -0
- package/core/actions/src/make.ts +249 -0
- package/core/actions/src/preinstall.ts +27 -0
- package/core/actions/src/prepublish.ts +16 -0
- package/core/actions/src/release.ts +32 -0
- package/core/actions/src/test.ts +61 -0
- package/core/actions/src/types.ts +23 -0
- package/core/actions/src/update.ts +149 -0
- package/core/actions/test.ts +10 -0
- package/core/actions/tests/example.test.ts +7 -0
- package/core/ai/README.md +62 -0
- package/core/ai/node_modules/.bin/mkdist +17 -0
- package/core/ai/node_modules/.bin/tsc +17 -0
- package/core/ai/node_modules/.bin/tsserver +17 -0
- package/core/ai/package.json +55 -0
- package/core/ai/src/drivers/openai.ts +1 -0
- package/core/ai/src/index.ts +1 -0
- package/core/ai/tests/example.test.ts +7 -0
- package/core/alias/README.md +62 -0
- package/core/alias/node_modules/.bin/mkdist +17 -0
- package/core/alias/node_modules/.bin/tsc +17 -0
- package/core/alias/node_modules/.bin/tsserver +17 -0
- package/core/alias/package.json +51 -0
- package/core/alias/src/index.ts +84 -0
- package/core/alias/tests/example.test.ts +7 -0
- package/core/arrays/README.md +59 -0
- package/core/arrays/node_modules/.bin/mkdist +17 -0
- package/core/arrays/node_modules/.bin/tsc +17 -0
- package/core/arrays/node_modules/.bin/tsserver +17 -0
- package/core/arrays/package.json +55 -0
- package/core/arrays/src/index.ts +208 -0
- package/core/arrays/tests/example.test.ts +7 -0
- package/core/auth/README.md +59 -0
- package/core/auth/node_modules/.bin/mkdist +17 -0
- package/core/auth/node_modules/.bin/tsc +17 -0
- package/core/auth/node_modules/.bin/tsserver +17 -0
- package/core/auth/package.json +49 -0
- package/core/auth/src/index.ts +3 -0
- package/core/auth/tests/example.test.ts +7 -0
- package/core/build/README.md +59 -0
- package/core/build/entries/README.md +7 -0
- package/core/build/node_modules/.bin/mkdist +17 -0
- package/core/build/node_modules/.bin/tsc +17 -0
- package/core/build/node_modules/.bin/tsserver +17 -0
- package/core/build/node_modules/.bin/unbuild +17 -0
- package/core/build/node_modules/.bin/vite +17 -0
- package/core/build/node_modules/.bin/vite-ssg +17 -0
- package/core/build/node_modules/.bin/vue-docgen-web-types +17 -0
- package/core/build/package.json +76 -0
- package/core/build/src/desktop.ts +27 -0
- package/core/build/src/example-vue.ts +24 -0
- package/core/build/src/example-wc.ts +24 -0
- package/core/build/src/functions.ts +56 -0
- package/core/build/src/index.ts +7 -0
- package/core/build/src/pages.ts +50 -0
- package/core/build/src/stacks.ts +198 -0
- package/core/build/src/vue-components.ts +74 -0
- package/core/build/src/web-components.ts +61 -0
- package/core/build/tests/example.test.ts +7 -0
- package/core/build/web-types.config.cjs +4 -0
- package/core/build/web-types.ts +14 -0
- package/core/cache/README.md +59 -0
- package/core/cache/node_modules/.bin/mkdist +17 -0
- package/core/cache/node_modules/.bin/tsc +17 -0
- package/core/cache/node_modules/.bin/tsserver +17 -0
- package/core/cache/package.json +60 -0
- package/core/cache/src/drivers/dynamodb.ts +117 -0
- package/core/cache/src/drivers/memcached.ts +20 -0
- package/core/cache/src/drivers/redis.ts +41 -0
- package/core/cache/src/index.ts +3 -0
- package/core/cache/tests/DynamoDB.test.ts +149 -0
- package/core/cache/tests/Memcached.test.ts +52 -0
- package/core/cache/tests/Redis.test.ts +82 -0
- package/core/cache/vite.config.ts +7 -0
- package/core/cli/README.md +129 -0
- package/core/cli/node_modules/.bin/esno +17 -0
- package/core/cli/node_modules/.bin/mkdist +17 -0
- package/core/cli/package.json +69 -0
- package/core/cli/src/actions/index.ts +2 -0
- package/core/cli/src/actions/install.ts +22 -0
- package/core/cli/src/actions/run.ts +72 -0
- package/core/cli/src/command.ts +7 -0
- package/core/cli/src/console.ts +6 -0
- package/core/cli/src/helpers.ts +58 -0
- package/core/cli/src/index.ts +8 -0
- package/core/cli/src/spinner.ts +3 -0
- package/core/cli/src/utilities.ts +1 -0
- package/core/cli/tests/example.test.ts +7 -0
- package/core/cloud/README.md +59 -0
- package/core/cloud/dist/actions/README.md +53 -0
- package/core/cloud/node_modules/.bin/mkdist +17 -0
- package/core/cloud/node_modules/.bin/tsc +17 -0
- package/core/cloud/node_modules/.bin/tsserver +17 -0
- package/core/cloud/package.json +53 -0
- package/core/cloud/src/actions/README.md +53 -0
- package/core/cloud/src/index.ts +1 -0
- package/core/cloud/tests/example.test.ts +7 -0
- package/core/collections/README.md +71 -0
- package/core/collections/node_modules/.bin/mkdist +17 -0
- package/core/collections/node_modules/.bin/tsc +17 -0
- package/core/collections/node_modules/.bin/tsserver +17 -0
- package/core/collections/package.json +56 -0
- package/core/collections/src/index.ts +1 -0
- package/core/collections/tests/example.test.ts +7 -0
- package/core/config/README.md +53 -0
- package/core/config/build.config.ts +13 -0
- package/core/config/node_modules/.bin/mkdist +17 -0
- package/core/config/node_modules/.bin/tsc +17 -0
- package/core/config/node_modules/.bin/tsserver +17 -0
- package/core/config/node_modules/.bin/unbuild +17 -0
- package/core/config/package.json +53 -0
- package/core/config/src/helpers.ts +30 -0
- package/core/config/src/index.ts +17 -0
- package/core/config/tests/example.test.ts +7 -0
- package/core/dashboard/README.md +74 -0
- package/core/dashboard/node_modules/.bin/mkdist +17 -0
- package/core/dashboard/package.json +52 -0
- package/core/dashboard/src/index.ts +0 -0
- package/core/dashboard/tests/example.test.ts +7 -0
- package/core/database/README.md +59 -0
- package/core/database/node_modules/.bin/mkdist +17 -0
- package/core/database/node_modules/.bin/tsc +17 -0
- package/core/database/node_modules/.bin/tsserver +17 -0
- package/core/database/package.json +59 -0
- package/core/database/src/factory/index.ts +70 -0
- package/core/database/src/index.ts +3 -0
- package/core/database/src/migrations/index.ts +5 -0
- package/core/database/src/seeder/index.ts +10 -0
- package/core/database/tests/example.test.ts +7 -0
- package/core/datetime/README.md +66 -0
- package/core/datetime/node_modules/.bin/mkdist +17 -0
- package/core/datetime/node_modules/.bin/tsc +17 -0
- package/core/datetime/node_modules/.bin/tsserver +17 -0
- package/core/datetime/package.json +55 -0
- package/core/datetime/src/index.ts +6 -0
- package/core/datetime/tests/example.test.ts +7 -0
- package/core/desktop/README.md +49 -0
- package/core/desktop/node_modules/.bin/mkdist +17 -0
- package/core/desktop/node_modules/.bin/tauri +17 -0
- package/core/desktop/node_modules/.bin/tsc +17 -0
- package/core/desktop/node_modules/.bin/tsserver +17 -0
- package/core/desktop/package.json +69 -0
- package/core/desktop/src/drivers/tauri/index.ts +1 -0
- package/core/desktop/src/index.ts +1 -0
- package/core/desktop/tests/example.test.ts +7 -0
- package/core/docs/README.md +59 -0
- package/core/docs/node_modules/.bin/mkdist +17 -0
- package/core/docs/node_modules/.bin/tsc +17 -0
- package/core/docs/node_modules/.bin/tsserver +17 -0
- package/core/docs/node_modules/.bin/vitepress +17 -0
- package/core/docs/package.json +53 -0
- package/core/docs/src/index.ts +4 -0
- package/core/docs/tests/example.test.ts +7 -0
- package/core/domains/README.md +56 -0
- package/core/domains/node_modules/.bin/mkdist +17 -0
- package/core/domains/node_modules/.bin/tsc +17 -0
- package/core/domains/node_modules/.bin/tsserver +17 -0
- package/core/domains/package.json +52 -0
- package/core/domains/src/index.ts +1 -0
- package/core/domains/tests/example.test.ts +7 -0
- package/core/drivers/README.md +53 -0
- package/core/drivers/node_modules/.bin/mkdist +17 -0
- package/core/drivers/node_modules/.bin/tsc +17 -0
- package/core/drivers/node_modules/.bin/tsserver +17 -0
- package/core/drivers/package.json +53 -0
- package/core/drivers/src/index.ts +10 -0
- package/core/drivers/tests/example.test.ts +7 -0
- package/core/email/README.md +89 -0
- package/core/email/node_modules/.bin/mkdist +17 -0
- package/core/email/node_modules/.bin/tsc +17 -0
- package/core/email/node_modules/.bin/tsserver +17 -0
- package/core/email/package.json +57 -0
- package/core/email/src/index.ts +1 -0
- package/core/email/tests/example.test.ts +7 -0
- package/core/error-handling/README.md +131 -0
- package/core/error-handling/node_modules/.bin/mkdist +17 -0
- package/core/error-handling/node_modules/.bin/tsc +17 -0
- package/core/error-handling/node_modules/.bin/tsserver +17 -0
- package/core/error-handling/package.json +55 -0
- package/core/error-handling/src/index.ts +15 -0
- package/core/error-handling/tests/example.test.ts +7 -0
- package/core/git/README.md +69 -0
- package/core/git/node_modules/.bin/bumpp +17 -0
- package/core/git/node_modules/.bin/commitizen +17 -0
- package/core/git/node_modules/.bin/conventional-changelog +17 -0
- package/core/git/node_modules/.bin/cz +17 -0
- package/core/git/node_modules/.bin/giget +17 -0
- package/core/git/node_modules/.bin/git-cz +17 -0
- package/core/git/node_modules/.bin/mkdist +17 -0
- package/core/git/node_modules/.bin/simple-git-hooks +17 -0
- package/core/git/node_modules/.bin/tsc +17 -0
- package/core/git/node_modules/.bin/tsserver +17 -0
- package/core/git/package.json +59 -0
- package/core/git/src/index.ts +1 -0
- package/core/git/tests/example.test.ts +7 -0
- package/core/lint/README.md +73 -0
- package/core/lint/node_modules/.bin/eslint +17 -0
- package/core/lint/node_modules/.bin/lint-staged +17 -0
- package/core/lint/node_modules/.bin/mkdist +17 -0
- package/core/lint/node_modules/.bin/tsc +17 -0
- package/core/lint/node_modules/.bin/tsserver +17 -0
- package/core/lint/package.json +58 -0
- package/core/lint/src/index.ts +3 -0
- package/core/lint/tests/example.test.ts +7 -0
- package/core/logging/README.md +58 -0
- package/core/logging/debug-test.ts +8 -0
- package/core/logging/node_modules/.bin/mkdist +17 -0
- package/core/logging/node_modules/.bin/tsc +17 -0
- package/core/logging/node_modules/.bin/tsserver +17 -0
- package/core/logging/package.json +55 -0
- package/core/logging/src/index.ts +15 -0
- package/core/logging/tests/example.test.ts +7 -0
- package/core/modules/README.md +51 -0
- package/core/modules/node_modules/.bin/mkdist +17 -0
- package/core/modules/node_modules/.bin/tsc +17 -0
- package/core/modules/node_modules/.bin/tsserver +17 -0
- package/core/modules/package.json +54 -0
- package/core/modules/src/i18n.ts +23 -0
- package/core/modules/src/nprogress.ts +12 -0
- package/core/modules/src/pwa.ts +12 -0
- package/core/modules/tests/example.test.ts +7 -0
- package/core/notifications/README.md +89 -0
- package/core/notifications/build.config.ts +14 -0
- package/core/notifications/node_modules/.bin/maizzle +17 -0
- package/core/notifications/node_modules/.bin/mkdist +17 -0
- package/core/notifications/node_modules/.bin/tsc +17 -0
- package/core/notifications/node_modules/.bin/tsserver +17 -0
- package/core/notifications/node_modules/.bin/unbuild +17 -0
- package/core/notifications/package.json +88 -0
- package/core/notifications/src/drivers/chat/discord.ts +15 -0
- package/core/notifications/src/drivers/chat/index.ts +2 -0
- package/core/notifications/src/drivers/chat/slack.ts +22 -0
- package/core/notifications/src/drivers/email/actions/send.ts +36 -0
- package/core/notifications/src/drivers/email/emailjs.ts +21 -0
- package/core/notifications/src/drivers/email/index.ts +9 -0
- package/core/notifications/src/drivers/email/mailgun.ts +19 -0
- package/core/notifications/src/drivers/email/mailjet.ts +18 -0
- package/core/notifications/src/drivers/email/mandrill.ts +17 -0
- package/core/notifications/src/drivers/email/netcore.ts +17 -0
- package/core/notifications/src/drivers/email/nodemailer.ts +21 -0
- package/core/notifications/src/drivers/email/postmark.ts +17 -0
- package/core/notifications/src/drivers/email/sendgrid.ts +18 -0
- package/core/notifications/src/drivers/email/ses.ts +19 -0
- package/core/notifications/src/drivers/email/tailwind.config.ts +37 -0
- package/core/notifications/src/drivers/sms/gupshup.ts +21 -0
- package/core/notifications/src/drivers/sms/index.ts +8 -0
- package/core/notifications/src/drivers/sms/nexmo.ts +22 -0
- package/core/notifications/src/drivers/sms/plivo.ts +22 -0
- package/core/notifications/src/drivers/sms/sms77.ts +21 -0
- package/core/notifications/src/drivers/sms/sns.ts +22 -0
- package/core/notifications/src/drivers/sms/telnyx.ts +22 -0
- package/core/notifications/src/drivers/sms/termii.ts +21 -0
- package/core/notifications/src/drivers/sms/twilio.ts +22 -0
- package/core/notifications/src/index.ts +25 -0
- package/core/notifications/src/utils/config.ts +5 -0
- package/core/notifications/src/utils/template.html +8 -0
- package/core/notifications/tests/chat/Slack.test.ts +24 -0
- package/core/notifications/tests/email/Mailgun.test.ts +29 -0
- package/core/notifications/tests/email/Sendgrid.test.ts +30 -0
- package/core/notifications/tests/example.test.ts +7 -0
- package/core/notifications/tests/sms/Twilio.test.ts +27 -0
- package/core/objects/README.md +71 -0
- package/core/objects/node_modules/.bin/mkdist +17 -0
- package/core/objects/node_modules/.bin/tsc +17 -0
- package/core/objects/node_modules/.bin/tsserver +17 -0
- package/core/objects/package.json +53 -0
- package/core/objects/src/index.ts +130 -0
- package/core/objects/tests/example.test.ts +7 -0
- package/core/path/README.md +64 -0
- package/core/path/node_modules/.bin/mkdist +17 -0
- package/core/path/node_modules/.bin/tsc +17 -0
- package/core/path/node_modules/.bin/tsserver +17 -0
- package/core/path/package.json +55 -0
- package/core/path/src/index.ts +353 -0
- package/core/path/tests/example.test.ts +7 -0
- package/core/payments/README.md +64 -0
- package/core/payments/node_modules/.bin/mkdist +17 -0
- package/core/payments/node_modules/.bin/tsc +17 -0
- package/core/payments/node_modules/.bin/tsserver +17 -0
- package/core/payments/package.json +52 -0
- package/core/payments/src/drivers/stripe.ts +1 -0
- package/core/payments/src/index.ts +1 -0
- package/core/payments/tests/example.test.ts +7 -0
- package/core/realtime/README.md +59 -0
- package/core/realtime/node_modules/.bin/mkdist +17 -0
- package/core/realtime/node_modules/.bin/tsc +17 -0
- package/core/realtime/node_modules/.bin/tsserver +17 -0
- package/core/realtime/package.json +51 -0
- package/core/realtime/src/drivers/index.ts +3 -0
- package/core/realtime/src/index.ts +3 -0
- package/core/realtime/tests/example.test.ts +7 -0
- package/core/router/README.md +59 -0
- package/core/router/node_modules/.bin/mkdist +17 -0
- package/core/router/node_modules/.bin/tsc +17 -0
- package/core/router/node_modules/.bin/tsserver +17 -0
- package/core/router/package.json +54 -0
- package/core/router/src/index.ts +14 -0
- package/core/router/tests/example.test.ts +7 -0
- package/core/search-engine/README.md +66 -0
- package/core/search-engine/node_modules/.bin/mkdist +17 -0
- package/core/search-engine/node_modules/.bin/tsc +17 -0
- package/core/search-engine/node_modules/.bin/tsserver +17 -0
- package/core/search-engine/package.json +64 -0
- package/core/search-engine/src/drivers/meilisearch.ts +37 -0
- package/core/search-engine/src/helpers.ts +74 -0
- package/core/search-engine/src/index.ts +56 -0
- package/core/search-engine/tests/example.test.ts +7 -0
- package/core/security/README.md +66 -0
- package/core/security/node_modules/.bin/mkdist +17 -0
- package/core/security/node_modules/.bin/tsc +17 -0
- package/core/security/node_modules/.bin/tsserver +17 -0
- package/core/security/package.json +57 -0
- package/core/security/src/crypt.ts +14 -0
- package/core/security/src/hash.ts +52 -0
- package/core/security/src/index.ts +3 -0
- package/core/security/src/key.ts +11 -0
- package/core/security/tests/example.test.ts +7 -0
- package/core/server/README.md +51 -0
- package/core/server/node_modules/.bin/mkdist +17 -0
- package/core/server/node_modules/.bin/nitro +17 -0
- package/core/server/node_modules/.bin/nitropack +17 -0
- package/core/server/node_modules/.bin/tsc +17 -0
- package/core/server/node_modules/.bin/tsserver +17 -0
- package/core/server/node_modules/.bin/vite +17 -0
- package/core/server/package.json +59 -0
- package/core/server/src/config.ts +6 -0
- package/core/server/src/index.ts +5 -0
- package/core/server/src/nitro.config.ts +6 -0
- package/core/server/tests/example.test.ts +7 -0
- package/core/storage/README.md +74 -0
- package/core/storage/node_modules/.bin/mkdist +17 -0
- package/core/storage/node_modules/.bin/tsc +17 -0
- package/core/storage/node_modules/.bin/tsserver +17 -0
- package/core/storage/package.json +62 -0
- package/core/storage/src/index.ts +193 -0
- package/core/storage/tests/example.test.ts +7 -0
- package/core/strings/README.md +68 -0
- package/core/strings/build.config.ts +15 -0
- package/core/strings/node_modules/.bin/mkdist +17 -0
- package/core/strings/node_modules/.bin/tsc +17 -0
- package/core/strings/node_modules/.bin/tsserver +17 -0
- package/core/strings/node_modules/.bin/unbuild +17 -0
- package/core/strings/package.json +69 -0
- package/core/strings/src/index.ts +97 -0
- package/core/strings/tests/example.test.ts +7 -0
- package/core/testing/README.md +59 -0
- package/core/testing/node_modules/.bin/mkdist +17 -0
- package/core/testing/node_modules/.bin/tsc +17 -0
- package/core/testing/node_modules/.bin/tsserver +17 -0
- package/core/testing/node_modules/.bin/vitest +17 -0
- package/core/testing/package.json +57 -0
- package/core/testing/src/index.ts +1 -0
- package/core/types/README.md +59 -0
- package/core/types/node_modules/.bin/markdown-it +17 -0
- package/core/types/node_modules/.bin/mkdist +17 -0
- package/core/types/node_modules/.bin/tsc +17 -0
- package/core/types/node_modules/.bin/tsserver +17 -0
- package/core/types/node_modules/.bin/vite-ssg +17 -0
- package/core/types/node_modules/.bin/vitepress +17 -0
- package/core/types/package.json +71 -0
- package/core/types/src/app.ts +140 -0
- package/core/types/src/auto-imports.ts +3 -0
- package/core/types/src/build.ts +2 -0
- package/core/types/src/cli.ts +198 -0
- package/core/types/src/components.ts +66 -0
- package/core/types/src/database.ts +3 -0
- package/core/types/src/debug.ts +6 -0
- package/core/types/src/deploy.ts +11 -0
- package/core/types/src/docs.ts +3 -0
- package/core/types/src/errors.ts +6 -0
- package/core/types/src/exit-code.ts +10 -0
- package/core/types/src/fs.ts +17 -0
- package/core/types/src/git.ts +131 -0
- package/core/types/src/hashing.ts +107 -0
- package/core/types/src/i18n.ts +19 -0
- package/core/types/src/index.ts +28 -0
- package/core/types/src/inspect.ts +10 -0
- package/core/types/src/layout.ts +8 -0
- package/core/types/src/library.ts +148 -0
- package/core/types/src/manifest.ts +9 -0
- package/core/types/src/markdown.ts +198 -0
- package/core/types/src/notifications.ts +9 -0
- package/core/types/src/pages.ts +8 -0
- package/core/types/src/promise.ts +1 -0
- package/core/types/src/pwa.ts +8 -0
- package/core/types/src/search-engine.ts +118 -0
- package/core/types/src/ssg.ts +3 -0
- package/core/types/src/ui.ts +184 -0
- package/core/types/src/utils.ts +38 -0
- package/core/ui/README.md +66 -0
- package/core/ui/node_modules/.bin/mkdist +17 -0
- package/core/ui/node_modules/.bin/tsc +17 -0
- package/core/ui/node_modules/.bin/tsserver +17 -0
- package/core/ui/node_modules/.bin/vue-tsc +17 -0
- package/core/ui/package.json +66 -0
- package/core/ui/src/index.ts +17 -0
- package/core/ui/src/unocss.ts +45 -0
- package/core/ui/tests/example.test.ts +7 -0
- package/core/utils/node_modules/.bin/esno +17 -0
- package/core/utils/node_modules/.bin/mkdist +17 -0
- package/core/utils/node_modules/.bin/rimraf +17 -0
- package/core/utils/node_modules/.bin/tsc +17 -0
- package/core/utils/node_modules/.bin/tsserver +17 -0
- package/core/utils/package.json +77 -0
- package/core/utils/src/base.ts +10 -0
- package/core/utils/src/function.ts +32 -0
- package/core/utils/src/guards.ts +39 -0
- package/core/utils/src/helpers.ts +134 -0
- package/core/utils/src/index.ts +13 -0
- package/core/utils/src/is.ts +12 -0
- package/core/utils/src/p.ts +118 -0
- package/core/utils/src/promise.ts +91 -0
- package/core/utils/src/vendor.ts +1 -0
- package/core/utils/tests/example.test.ts +7 -0
- package/core/x-ray/README.md +55 -0
- package/core/x-ray/index.html +13 -0
- package/core/x-ray/node_modules/.bin/mkdist +17 -0
- package/core/x-ray/node_modules/.bin/tsc +17 -0
- package/core/x-ray/node_modules/.bin/tsserver +17 -0
- package/core/x-ray/package.json +63 -0
- package/core/x-ray/routes/index.ts +19 -0
- package/core/x-ray/src/client.ts +14 -0
- package/core/x-ray/src/desktop/api/nitro.config.ts +18 -0
- package/core/x-ray/src/desktop/api/routes/api/logs.ts +7 -0
- package/core/x-ray/src/desktop/api/routes/api/store-logs.ts +22 -0
- package/core/x-ray/src/desktop/api/src/types.ts +7 -0
- package/core/x-ray/src/desktop/api/storage/index.ts +7 -0
- package/core/x-ray/src/desktop/app.vue +377 -0
- package/core/x-ray/src/desktop/functions/http.ts +26 -0
- package/core/x-ray/src/desktop/functions/types.ts +7 -0
- package/core/x-ray/src/desktop/main.ts +14 -0
- package/core/x-ray/src/desktop/modules/counter/mod.vue +44 -0
- package/core/x-ray/src/desktop/modules/fetcher/mod.vue +63 -0
- package/core/x-ray/src/desktop/plugins/unified/unified-app.ts +5 -0
- package/core/x-ray/src/desktop/plugins/unified/unified-styles.scss +0 -0
- package/core/x-ray/src/desktop/services/http.ts +45 -0
- package/core/x-ray/src/desktop/styles/app.scss +0 -0
- package/core/x-ray/src/http.ts +26 -0
- package/core/x-ray/src/index.ts +42 -0
- package/core/x-ray/src/ray.config.js +27 -0
- package/core/x-ray/src/types.ts +7 -0
- package/core/x-ray/tests/example.test.ts +7 -0
- package/custom-elements.json +14 -0
- package/examples/vue/App.vue +12 -0
- package/examples/vue/favicon.png +0 -0
- package/examples/vue/index.html +20 -0
- package/examples/web/favicon.png +0 -0
- package/examples/web/index.html +13 -0
- package/functions/package.json +41 -0
- package/netlify.toml +18 -0
- package/package.json +69 -99
- package/pages/App.vue +26 -0
- package/pages/index.html +23 -0
- package/pages/main.ts +26 -0
- package/pages/public/_headers +3 -0
- package/pages/public/favicon-dark.svg +3 -0
- package/pages/public/favicon.svg +3 -0
- package/pages/public/pwa-192x192.png +0 -0
- package/pages/public/pwa-512x512.png +0 -0
- package/pages/public/safari-pinned-tab.svg +41 -0
- package/pages/styles/main.css +29 -0
- package/pages/styles/markdown.css +28 -0
- package/shims.d.ts +29 -0
- package/simple-git-hooks.cjs +4 -0
- package/tsconfig.json +115 -0
- package/vitest.config.ts +21 -0
- package/web-types.json +67 -0
package/.gitignore
ADDED
package/README.md
CHANGED
|
@@ -1,45 +1,362 @@
|
|
|
1
|
-
|
|
1
|
+

|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
# Rapid App Development
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
[![npm version][npm-version-src]][npm-version-href]
|
|
6
|
+
[![GitHub Actions][github-actions-src]][github-actions-href]
|
|
7
|
+
[](http://commitizen.github.io/cz-cli/)
|
|
8
|
+
[![npm downloads][npm-downloads-src]][npm-downloads-href]
|
|
9
|
+
<!-- [![Codecov][codecov-src]][codecov-href] -->
|
|
6
10
|
|
|
7
|
-
|
|
11
|
+
_Pre-release until public beta released. Coming December._
|
|
8
12
|
|
|
9
|
-
|
|
13
|
+
The goal of the framework is to _help you_ create & maintain frontends, backends, and clouds—without having to worry about the boilerplate. Stacks is a rapid application development framework, meeting all your full stack needs.
|
|
10
14
|
|
|
11
|
-
-
|
|
12
|
-
-
|
|
15
|
+
- Web & Desktop applications
|
|
16
|
+
- Serverless & traditional APIs
|
|
17
|
+
- Cloud infrastructure creation & maintenance
|
|
18
|
+
- Interactive CLIs
|
|
19
|
+
- Framework-agnostic component & function libraries
|
|
20
|
+
- Deployment & Release Manager _(CI & CD)_
|
|
13
21
|
|
|
14
|
-
|
|
22
|
+
Stacks helps you every step along the way—in beginner & expert-friendly ways, allowing you to focus on the _what_ and _why_ of your project.
|
|
15
23
|
|
|
16
|
-
|
|
17
|
-
- 🚜 Create one component, automatically generate a Vue & Web Component library
|
|
18
|
-
- 🎨 Optimized CSS engine for Vue & Web Components, and SSG pages _(defaults to Tailwind CSS utility classes)_
|
|
19
|
-
- 👣 Headless framework
|
|
20
|
-
- 🌳 Treeshaking for Vue & Web Components, and function libraries
|
|
21
|
-
- 💬 Fully-typed TypeScript definitions
|
|
22
|
-
- 📰 Automatically publishes your libraries to npm & creates your changelogs
|
|
23
|
-
- 🧙🏼♀️ Unified way to access hundreds of [icon sets](https://icon-sets.iconify.design)
|
|
24
|
-
— [Icons in Pure CSS](https://antfu.me/posts/icons-in-pure-css)
|
|
24
|
+
> “Convention over configuration” is the Stacks mantra. _- Chris_
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
<!--  -->
|
|
27
|
+
|
|
28
|
+
## Features
|
|
29
|
+
|
|
30
|
+
The Stacks framework is a harmony of several “engines” to build any web and/or desktop application, in highly scalable & privacy-friendly ways. It consists of the following engines:
|
|
31
|
+
|
|
32
|
+
### Stacks UI
|
|
33
|
+
|
|
34
|
+
_Develop dynamic UIs with helpers for atomic design, and much more._
|
|
35
|
+
|
|
36
|
+
- 🧩 **Components** _a Stacks primitive to develop user interfaces_
|
|
37
|
+
- 🤖 **Functions** _grant your UI superpowers_
|
|
38
|
+
- 🌐 **Web** _"a routing & templating engine that makes sense" using components—SSG & PWA ready_
|
|
39
|
+
- 🖥️ **Desktop** _components as desktop elements_
|
|
40
|
+
- 📚 **Library** _auto-builds component & function libraries_
|
|
41
|
+
- ⚡️ Powered by Vue, Vite, UnoCSS & Tauri
|
|
42
|
+
|
|
43
|
+
### Stacks Functions
|
|
44
|
+
|
|
45
|
+
_Develop serverless (or server) functions with countless helpers to build scalable & fast APIs._
|
|
46
|
+
|
|
47
|
+
- 🪄 **AI** _deep OpenAI integration_
|
|
48
|
+
- 🤖 **APIs** _scalability & maintainability built-in_
|
|
49
|
+
- 🏎️ **Cache** _Redis, DynamoDB, SingleStore, and more_
|
|
50
|
+
- ⚙️ **CLIs** _create beautiful CLIs for Linux, Windows, and Mac—without requirements_
|
|
51
|
+
- 📀 **Database** _MySQL, Postgres, PlanetScale, Supabase, Prisma, ..._
|
|
52
|
+
- 👾 **Errors** _native type-safe error handling_
|
|
53
|
+
- 📢 **Notifications** _emails, SMSs, direct, and push notifications & webhooks_
|
|
54
|
+
- 💳 **Payments** _unified API for one-off & subscription billing methods for Stripe_
|
|
55
|
+
- ⚙️ **Queues** _run your heavy workload in the background_
|
|
56
|
+
- 🏎️ **Realtime** _"everything you need to build dynamic real-time apps"_
|
|
57
|
+
- 🧭 **Router** _smart routing, file-based or Laravel-like_
|
|
58
|
+
- 🔎 **Search Engine** _smart searching, advanced filtering & sorting, pagination, headless UI_
|
|
59
|
+
- 💾 **Storage** _easily create & make use of local & remote storages/file systems_
|
|
60
|
+
- 🌪️ **Validation** _e2e type-safety (frontend knows what the backend knows)_
|
|
61
|
+
- 📈 **X-Ray** _all you need to debug, log & analyze_
|
|
62
|
+
|
|
63
|
+
### Stacks Cloud
|
|
64
|
+
|
|
65
|
+
_Create your personal or professional Vercel-like cloud._
|
|
66
|
+
|
|
67
|
+
- ☁️ **Server** _local development server & production-ready servers_
|
|
68
|
+
- ⛅️ **Serverless** _on-demand, auto-scaling, zero maintenance_
|
|
69
|
+
- 🚏 **CDN** _zero-config low-latency CDN, including request life-cycle hooks_
|
|
70
|
+
- 🤌🏼 **Brotli & gzip** _optimized request compressions to speed up page load times_
|
|
71
|
+
- 📧 **Email** _secure & simplistic easy-peasy@custom-domains.com mail_
|
|
72
|
+
- 🔐 **Firewall** _native web application firewall support_
|
|
73
|
+
- 🏗️ **Maintenance** _handles your cloud infrastructure via the Stacks & Serverless framework_
|
|
74
|
+
- 🤖 **Infrastructure as Code** _create & maintain your cloud infrastructure with ease_
|
|
75
|
+
|
|
76
|
+
### Stacks CI/CD
|
|
77
|
+
|
|
78
|
+
_Focus on coding, not publishing._
|
|
79
|
+
|
|
80
|
+
- 🚀 **Deployment Manager** _take the sweat out of production deployments (AWS, Vercel, Netlify, and more)_
|
|
81
|
+
- 📫 **Release Manager** _libraries (component & function) auto-published to npm, git helpers, and more_
|
|
82
|
+
|
|
83
|
+
### Stacks DX
|
|
84
|
+
|
|
85
|
+
_Enhanced productivity for developers. No more creating boilerplate._
|
|
86
|
+
|
|
87
|
+
- 💡 **IDE Integration** _auto-completions, inline docs & a powerful VS Code setup_
|
|
88
|
+
- 🪄 **Zero-Config** _yet highly configurable—convention over configuration_
|
|
89
|
+
- 👩🏽🔧 **Linter & Formatter** _auto-configured & built into your IDE_
|
|
90
|
+
- 💪🏼 **Type Strong** _built-in e2e type-safety_
|
|
91
|
+
- ✨ **Git Workflows** _committing with ease_
|
|
92
|
+
- 🚗 **Auto Imports** _your components & functions, including date, string, array, & object helpers_
|
|
93
|
+
- ⏩ **Code Snippets** _say goodbye to the boilerplate_
|
|
94
|
+
- 🛠️ **Utilities** _Collections, VueUse, and more_
|
|
95
|
+
- 🧪 **Testing** _unit & e2e tests powered by Vitest & Playwright_
|
|
96
|
+
|
|
97
|
+
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.
|
|
98
|
+
|
|
99
|
+
Develop beautiful, reactive, composable UIs without learning a new set of languages. HTML, CSS, and minimal JavaScript—that's all you need to dive in now! _Or TypeScript ✌🏼_
|
|
100
|
+
|
|
101
|
+
> _A true rapid application development framework for all Full Stack needs. Next-level simplicity & helpful DX._
|
|
102
|
+
|
|
103
|
+
## Get Started
|
|
104
|
+
|
|
105
|
+
It's incredibly easy to get started with this framework. Simply run the following command in your terminal:
|
|
106
|
+
|
|
107
|
+
```bash
|
|
108
|
+
sh <(curl stacksjs.dev)
|
|
109
|
+
|
|
110
|
+
# alternatively, if Node.js >= v18.12 is installed already,
|
|
111
|
+
# you may also get started via:
|
|
112
|
+
npx stacks new my-project
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
> **Note**
|
|
116
|
+
> pnpm 7.18 or higher required. _Run the setup script & 🐶 Buddy will set you up. He barks otherwise._
|
|
27
117
|
|
|
28
118
|
## 🤖 Usage
|
|
29
119
|
|
|
30
|
-
|
|
120
|
+
The following list includes some of the most common ways to interact with the Stacks API. Meet the toolkit, Buddy:
|
|
121
|
+
|
|
122
|
+
```bash
|
|
123
|
+
buddy install # installs all dependencies
|
|
124
|
+
buddy dev # starts one of the dev servers (components, functions, pages, or docs)
|
|
125
|
+
buddy build # follow CLI prompts to select which library (or server) to build
|
|
126
|
+
buddy commit # follow CLI prompts for committing changes
|
|
127
|
+
buddy release # creates the releases for the stack & consequently, publishes them to npm
|
|
128
|
+
buddy upgrade # auto-update deps & the Stacks framework
|
|
129
|
+
|
|
130
|
+
buddy make:component HelloWorld # scaffolds a component
|
|
131
|
+
buddy make:function HelloWorld # scaffolds a function
|
|
132
|
+
buddy make:page hello-world # scaffolds a page (https://127.0.0.1/hello-world)
|
|
133
|
+
|
|
134
|
+
buddy --help
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
<details>
|
|
138
|
+
<summary>View the complete Buddy Toolkit</summary>
|
|
139
|
+
|
|
140
|
+
```bash
|
|
141
|
+
buddy --version # get the Stacks version
|
|
142
|
+
buddy --help # view help menu
|
|
143
|
+
# please note: you may suffix any command with the
|
|
144
|
+
# `command --help` flag to review the help menu
|
|
145
|
+
|
|
146
|
+
buddy install # installs your dependencies
|
|
147
|
+
buddy fresh # fresh reinstall of all deps
|
|
148
|
+
buddy clean # removes all your deps
|
|
149
|
+
|
|
150
|
+
buddy update # auto-update deps & the Stacks framework
|
|
151
|
+
buddy update:dependencies # auto-update deps & the Stacks framework
|
|
152
|
+
buddy update:framework # auto-update deps & the Stacks framework
|
|
153
|
+
buddy update:package-manager # auto-update deps & the Stacks framework
|
|
154
|
+
buddy update:search-engine # auto-updates Meilisearch
|
|
155
|
+
buddy update:node # update to latest project-defined node version
|
|
156
|
+
buddy update:all # update Node, package manager, framework, dependencies
|
|
157
|
+
|
|
158
|
+
# if you need any more info on any command listed here, you may suffix
|
|
159
|
+
# any of them via the "help option", i.e. `buddy ... --help`
|
|
160
|
+
|
|
161
|
+
buddy dev # start one of the dev servers (components, functions, pages, or docs)
|
|
162
|
+
buddy dev:components # start local playground dev server
|
|
163
|
+
buddy dev:desktop # starts the Desktop playground
|
|
164
|
+
buddy dev:pages # start local playground pages dev server
|
|
165
|
+
buddy dev:functions # stub local the functions
|
|
166
|
+
buddy dev:docs # start local docs dev server
|
|
167
|
+
buddy development # `buddy dev` alias
|
|
168
|
+
|
|
169
|
+
# for Laravel folks, `serve` may ring more familiar than the `dev` name. Hence, we aliased it:
|
|
170
|
+
buddy serve
|
|
171
|
+
buddy serve:components
|
|
172
|
+
buddy serve:pages
|
|
173
|
+
buddy serve:functions
|
|
174
|
+
buddy serve:docs
|
|
175
|
+
|
|
176
|
+
# building for production (e.g. AWS, Google Cloud, npm, Vercel, Netlify, et al.)
|
|
177
|
+
buddy build # select a specific build (follow CLI prompts)
|
|
178
|
+
buddy build:components # build Vue component library & Web Component library
|
|
179
|
+
buddy build:vue-components # build Vue 2 & 3-ready Component library
|
|
180
|
+
buddy build:web-components # build framework agnostic Web Component library (i.e. Custom Elements)
|
|
181
|
+
buddy build:functions # build function library
|
|
182
|
+
buddy build:pages # build SSG pages
|
|
183
|
+
buddy build:all # build all your code
|
|
184
|
+
|
|
185
|
+
# `buddy build` aliases
|
|
186
|
+
buddy prod
|
|
187
|
+
buddy prod:components
|
|
188
|
+
buddy prod:vue-components
|
|
189
|
+
buddy prod:web-components
|
|
190
|
+
buddy prod:functions
|
|
191
|
+
buddy prod:pages
|
|
192
|
+
buddy prod:all
|
|
193
|
+
buddy production # `buddy prod` alias
|
|
194
|
+
|
|
195
|
+
# sets your application key
|
|
196
|
+
buddy key:generate
|
|
197
|
+
|
|
198
|
+
buddy make:stack project
|
|
199
|
+
buddy make:component HelloWorld
|
|
200
|
+
buddy make:function hello-world
|
|
201
|
+
buddy make:page hello-world
|
|
202
|
+
buddy make:lang de
|
|
203
|
+
buddy make:notification welcome-email
|
|
204
|
+
buddy make:database cars
|
|
205
|
+
buddy make:table brands
|
|
206
|
+
buddy make:migration create_cars_table
|
|
207
|
+
buddy make:factory cars
|
|
208
|
+
buddy make:seed cars
|
|
209
|
+
|
|
210
|
+
buddy lint # runs linter
|
|
211
|
+
buddy lint:fix # runs linter and fixes issues
|
|
212
|
+
|
|
213
|
+
buddy commit # follow CLI prompts for committing staged changes
|
|
214
|
+
buddy release # creates the releases for the stack & triggers the Release Action (workflow)
|
|
215
|
+
buddy changelog # generates CHANGELOG.md
|
|
216
|
+
|
|
217
|
+
# when deploying your app/s to a remote server or cloud provider
|
|
218
|
+
buddy deploy
|
|
219
|
+
buddy deploy:docs
|
|
220
|
+
buddy deploy:functions
|
|
221
|
+
buddy deploy:pages
|
|
222
|
+
buddy deploy:all
|
|
223
|
+
|
|
224
|
+
# select the example to run (follow CLI prompts)
|
|
225
|
+
buddy example
|
|
226
|
+
buddy example:vue
|
|
227
|
+
buddy example:web-components
|
|
228
|
+
|
|
229
|
+
# you likely won't need to run these commands as they are auto-triggered, but they are available
|
|
230
|
+
buddy generate
|
|
231
|
+
buddy generate:entries
|
|
232
|
+
buddy generate:vue-compat
|
|
233
|
+
buddy generate:web-types
|
|
234
|
+
buddy generate:vscode-custom-data
|
|
235
|
+
buddy generate:ide-helpers
|
|
236
|
+
buddy generate:component-meta
|
|
237
|
+
buddy generate:all
|
|
238
|
+
|
|
239
|
+
# generates your application key
|
|
240
|
+
buddy key:generate
|
|
241
|
+
|
|
242
|
+
# generate your TypeScript declarations
|
|
243
|
+
buddy types:generate
|
|
244
|
+
buddy types:fix
|
|
245
|
+
|
|
246
|
+
# test your stack
|
|
247
|
+
buddy test # runs test suite (unit & e2e)
|
|
248
|
+
buddy test:coverage # runs test coverage
|
|
249
|
+
buddy test:types # runs typecheck
|
|
250
|
+
|
|
251
|
+
# the CLI may be triggered in any
|
|
252
|
+
# of the following syntax:
|
|
253
|
+
stx fresh
|
|
254
|
+
buddy fresh
|
|
255
|
+
bud fresh
|
|
256
|
+
buddy fresh
|
|
257
|
+
pnpm stx fresh
|
|
258
|
+
pnpm buddy fresh
|
|
259
|
+
pnpm buddy fresh
|
|
260
|
+
pnpm fresh
|
|
261
|
+
pnpm run fresh
|
|
262
|
+
pnpm run buddy fresh
|
|
263
|
+
```
|
|
264
|
+
|
|
265
|
+
</details>
|
|
266
|
+
|
|
267
|
+
Read more here about the Stacks CLI in the documentation.
|
|
268
|
+
|
|
269
|
+
## 📚 Utilizing the Built Libraries
|
|
270
|
+
|
|
271
|
+
Because Stacks optimizes the development of easily reusable & composable component & function libraries, the primary intention is to always _keep it simple, yet configurable._
|
|
272
|
+
|
|
273
|
+
By default, Stacks realizes whether your Stack includes components, functions, and/or pages. Based on that determination, Stacks builds your outputs.
|
|
274
|
+
|
|
275
|
+
The UI libraries that automatically get built are: a Web Component (Custom Elements) & Vue Component library.
|
|
276
|
+
|
|
277
|
+
<details>
|
|
278
|
+
<summary>Web Component usage</summary>
|
|
279
|
+
|
|
280
|
+
```bash
|
|
281
|
+
npm install my-awesome-library
|
|
282
|
+
```
|
|
283
|
+
|
|
284
|
+
After you installed your Stacks generated library, you can use a "Custom Element" (Web Component) in the following way:
|
|
285
|
+
|
|
286
|
+
```html
|
|
287
|
+
<html>
|
|
288
|
+
<body>
|
|
289
|
+
<hello-world name="Jane Doe"></hello-world>
|
|
290
|
+
<script src="my-awesome-library.js"></script>
|
|
291
|
+
</body>
|
|
292
|
+
</html>
|
|
293
|
+
```
|
|
294
|
+
|
|
295
|
+
</details>
|
|
296
|
+
|
|
297
|
+
<details>
|
|
298
|
+
<summary>Vue 2 & 3 usage</summary>
|
|
31
299
|
|
|
32
300
|
```bash
|
|
33
|
-
|
|
301
|
+
npm install my-awesome-library
|
|
34
302
|
```
|
|
35
303
|
|
|
36
|
-
|
|
304
|
+
After you installed your Stacks generated library, you can use your Vue Components in the following way:
|
|
305
|
+
|
|
306
|
+
```vue
|
|
307
|
+
<script setup lang="ts">
|
|
308
|
+
import HelloWorld from 'my-awesome-library'
|
|
309
|
+
</script>
|
|
310
|
+
|
|
311
|
+
<template>
|
|
312
|
+
<HelloWorld name="J Doe" />
|
|
313
|
+
</template>
|
|
314
|
+
```
|
|
315
|
+
|
|
316
|
+
</details>
|
|
317
|
+
|
|
318
|
+
_A function library may also be automatically generated._
|
|
319
|
+
|
|
320
|
+
<details>
|
|
321
|
+
<summary>Functions usage</summary>
|
|
322
|
+
|
|
323
|
+
```bash
|
|
324
|
+
npm install hello-world-library
|
|
325
|
+
```
|
|
326
|
+
|
|
327
|
+
After you installed your Stacks generated library, you can use your functions in the following way:
|
|
37
328
|
|
|
38
329
|
```ts
|
|
39
|
-
import
|
|
330
|
+
import { count, increment } from 'hello-world-fx'
|
|
331
|
+
|
|
332
|
+
console.log('count is', count)
|
|
333
|
+
increment()
|
|
334
|
+
console.log('increased count is', count)
|
|
40
335
|
```
|
|
41
336
|
|
|
42
|
-
|
|
337
|
+
</details>
|
|
338
|
+
|
|
339
|
+
You may view this framework as an incredibly "useful set of frames" to assist in efficiently bootstrapping, designing, and managing component & function libraries—using industry best practices, to reach one of the broadest user bases possible.
|
|
340
|
+
|
|
341
|
+
## 🚙 Roadmap
|
|
342
|
+
|
|
343
|
+
Part of the Stacks ecosystem are the following first-party supported stacks:
|
|
344
|
+
|
|
345
|
+
- [Table](https://github.com/stacksjs/table) (Q4 - Data tables with ease)
|
|
346
|
+
- [Calendar](https://github.com/stacksjs/calendar) (Q4 - Add to Calendar utilities—iCal, Google, and more)
|
|
347
|
+
- [Command Palette](https://github.com/stacksjs/command-palette) (Q4 - `⌘ + k` for the web)
|
|
348
|
+
- [Date Picker](https://github.com/stacksjs/date-picker) (Q4 - Beautiful, modern date picker)
|
|
349
|
+
- [File Manager](https://github.com/stacksjs/file-manager) (Q4 - Build your own file manager—like Dropbox or Google Drive)
|
|
350
|
+
- [Image](https://github.com/stacksjs/image) (Q4 - Modern image experience)
|
|
351
|
+
- [Video](https://github.com/stacksjs/video) (Q4 - Modern video experience)
|
|
352
|
+
- [Audio](https://github.com/stacksjs/audio) (Q4 - Modern audio experience)
|
|
353
|
+
- [Web3](https://github.com/stacksjs/web3) (Q4 - Solana support, cross-chain core. _Ethereum & Cardano drivers coming._)
|
|
354
|
+
- [Wallets](https://github.com/stacksjs/wallets) (Q4 - Wallet Authentication)
|
|
355
|
+
- [NFT](https://github.com/stacksjs/nft) (Q4 - NFTs, Candy Machine mechanisms, and more.)
|
|
356
|
+
- [DeFi](https://github.com/stacksjs/defi) (Q4 - Cross-chain DeFi engine, including staking support)
|
|
357
|
+
- [DAO](https://github.com/stacksjs/dao) (Q4 - Powerful toolkit for DAO governance, including a Reddit-type of voting system)
|
|
358
|
+
|
|
359
|
+
View our detailed roadmap/s [here](https://github.com/stacksjs/stacks/projects?query=is%3Aopen), for more information. Additionally, you may find interesting stacks, information & examples over at [Awesome Stacks](https://github.com/stacksjs/awesome-stacks).
|
|
43
360
|
|
|
44
361
|
## 🧪 Testing
|
|
45
362
|
|
|
@@ -49,11 +366,11 @@ pnpm test
|
|
|
49
366
|
|
|
50
367
|
## 📈 Changelog
|
|
51
368
|
|
|
52
|
-
Please see our [releases](https://github.com/stacksjs/
|
|
369
|
+
Please see our [releases](https://github.com/stacksjs/stacks/releases) page for more information on what has changed recently.
|
|
53
370
|
|
|
54
371
|
## 💪🏼 Contributing
|
|
55
372
|
|
|
56
|
-
Please see [
|
|
373
|
+
Please see the [Contributing Guide](https://github.com/stacksjs/contributing) for details.
|
|
57
374
|
|
|
58
375
|
## 🏝 Community
|
|
59
376
|
|
|
@@ -63,10 +380,35 @@ For help, discussion about best practices, or any other conversation that would
|
|
|
63
380
|
|
|
64
381
|
For casual chit-chat with others using this package:
|
|
65
382
|
|
|
66
|
-
[Join the
|
|
383
|
+
[Join the Stacks Discord Server](https://discord.ow3.org)
|
|
384
|
+
|
|
385
|
+
## 📄 Sponsors
|
|
386
|
+
|
|
387
|
+
Once we launch a usable Stacks version, we hope people will start enjoying it! Coming soon.
|
|
388
|
+
|
|
389
|
+
## 🙏🏼 Credits
|
|
390
|
+
|
|
391
|
+
Many thanks to the following core technologies & people who have contributed to this package:
|
|
392
|
+
|
|
393
|
+
- [Chris Breuer](https://github.com/chrisbbreuer)
|
|
394
|
+
- [Dan Scanlon](https://twitter.com/danscan) _many thanks for donating the `stacks` name on npm_
|
|
395
|
+
- [All Contributors](../../contributors)
|
|
67
396
|
|
|
68
397
|
## 📄 License
|
|
69
398
|
|
|
70
|
-
The MIT License (MIT). Please see [LICENSE](
|
|
399
|
+
The MIT License (MIT). Please see [LICENSE](LICENSE.md) for more information.
|
|
71
400
|
|
|
72
401
|
Made with ❤️
|
|
402
|
+
|
|
403
|
+
<!-- Badges -->
|
|
404
|
+
[npm-version-src]: https://img.shields.io/npm/v/stacks?style=flat-square
|
|
405
|
+
[npm-version-href]: https://npmjs.com/package/stacks
|
|
406
|
+
|
|
407
|
+
[npm-downloads-src]: https://img.shields.io/npm/dm/stacks?style=flat-square
|
|
408
|
+
[npm-downloads-href]: https://npmjs.com/package/stacks
|
|
409
|
+
|
|
410
|
+
[github-actions-src]: https://img.shields.io/github/workflow/status/stacksjs/stacks/CI/main?style=flat-square
|
|
411
|
+
[github-actions-href]: https://github.com/stacksjs/stacks/actions?query=workflow%3Aci
|
|
412
|
+
|
|
413
|
+
<!-- [codecov-src]: https://img.shields.io/codecov/c/gh/stacksjs/stacks/main?style=flat-square
|
|
414
|
+
[codecov-href]: https://codecov.io/gh/stacksjs/buddy -->
|