Full-stack modules skateboard - #4440
Draft
infomiho wants to merge 37 commits into
Draft
Conversation
Deploying wasp-docs-on-main with
|
| Latest commit: |
c83b2ac
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://0cd8ecd6.wasp-docs-on-main.pages.dev |
| Branch Preview URL: | https://miho-full-stack-modules-skat.wasp-docs-on-main.pages.dev |
infomiho
had a problem deploying
to
fly-deploy-test
July 7, 2026 10:11 — with
GitHub Actions
Failure
infomiho
had a problem deploying
to
railway-deploy-test
July 7, 2026 10:11 — with
GitHub Actions
Failure
@wasp.sh/wasp-cli
@wasp.sh/wasp-cli-darwin-arm64-unknown
@wasp.sh/wasp-cli-darwin-x64-unknown
@wasp.sh/wasp-cli-linux-arm64-glibc
@wasp.sh/wasp-cli-linux-x64-glibc
@wasp.sh/wasp-cli-linux-x64-musl
commit: |
infomiho
had a problem deploying
to
railway-deploy-test
July 7, 2026 13:46 — with
GitHub Actions
Failure
infomiho
had a problem deploying
to
fly-deploy-test
July 7, 2026 13:46 — with
GitHub Actions
Failure
infomiho
force-pushed
the
miho/full-stack-modules-skateboard
branch
from
July 9, 2026 14:33
8d14718 to
7d0d328
Compare
infomiho
had a problem deploying
to
fly-deploy-test
July 13, 2026 08:45 — with
GitHub Actions
Failure
infomiho
had a problem deploying
to
railway-deploy-test
July 13, 2026 08:45 — with
GitHub Actions
Failure
infomiho
had a problem deploying
to
railway-deploy-test
July 13, 2026 13:58 — with
GitHub Actions
Failure
infomiho
had a problem deploying
to
fly-deploy-test
July 13, 2026 13:58 — with
GitHub Actions
Failure
infomiho
had a problem deploying
to
fly-deploy-test
July 13, 2026 15:35 — with
GitHub Actions
Failure
infomiho
had a problem deploying
to
railway-deploy-test
July 13, 2026 15:35 — with
GitHub Actions
Failure
infomiho
had a problem deploying
to
railway-deploy-test
July 15, 2026 13:28 — with
GitHub Actions
Failure
infomiho
had a problem deploying
to
fly-deploy-test
July 15, 2026 13:28 — with
GitHub Actions
Failure
infomiho
temporarily deployed
to
railway-deploy-test
July 15, 2026 15:56 — with
GitHub Actions
Inactive
infomiho
had a problem deploying
to
fly-deploy-test
July 15, 2026 15:56 — with
GitHub Actions
Failure
infomiho
had a problem deploying
to
fly-deploy-test
July 15, 2026 16:07 — with
GitHub Actions
Failure
infomiho
had a problem deploying
to
fly-deploy-test
July 15, 2026 16:17 — with
GitHub Actions
Failure
infomiho
had a problem deploying
to
fly-deploy-test
July 15, 2026 16:25 — with
GitHub Actions
Failure
infomiho
had a problem deploying
to
fly-deploy-test
July 16, 2026 08:27 — with
GitHub Actions
Failure
infomiho
had a problem deploying
to
fly-deploy-test
July 16, 2026 08:36 — with
GitHub Actions
Failure
infomiho
temporarily deployed
to
railway-deploy-test
July 21, 2026 08:03 — with
GitHub Actions
Inactive
infomiho
had a problem deploying
to
fly-deploy-test
July 21, 2026 08:03 — with
GitHub Actions
Failure
infomiho
temporarily deployed
to
railway-deploy-test
July 21, 2026 10:24 — with
GitHub Actions
Inactive
infomiho
had a problem deploying
to
fly-deploy-test
July 21, 2026 10:24 — with
GitHub Actions
Failure
infomiho
temporarily deployed
to
railway-deploy-test
July 21, 2026 10:53 — with
GitHub Actions
Inactive
infomiho
had a problem deploying
to
fly-deploy-test
July 21, 2026 10:53 — with
GitHub Actions
Failure
infomiho
had a problem deploying
to
fly-deploy-test
July 21, 2026 11:26 — with
GitHub Actions
Failure
infomiho
force-pushed
the
miho/full-stack-modules-skateboard
branch
from
July 23, 2026 16:21
8bde192 to
3e080ef
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This is the skateboard for full-stack modules: npm packages that add Wasp declarations (pages, queries, jobs, ...) to an app that installs them.
A module is a package with a
module.wasp.tsfile. That file default-exports a function that takes options and returns declarations. The host app calls it from its own spec:What this PR adds:
wasp module new,wasp module install,wasp module build. Building compiles the module's spec and source todist/, so host apps never consume raw Wasp source.examples/kitchen-sink-module) that Kitchen Sink installs at/fsm. It uses every declaration kind a module can contribute: route, page, query, action, crud, api, apiNamespace, and job.dist/next to the compiled code.wasp, so the module and the host share one SDK runtime.Making the demo deployable surfaced a few long-standing issues, fixed here:
wasp installon a fresh clone only worked because npm happened to prune the SDK's lockfile entries. A module'swasppeer dependency makes them reachable, sowasp installnow copies the Wasp-owned tarballs to disk before npm runs.file:package tarballs were invisible to Docker builds. The demo tarball now lives inside the app'ssrc/, which the Dockerfile already ships../run test:packagesran packages in alphabetical order, somodule-buildertypechecked against an unbuilt@wasp.sh/spec.More detail:
waspc/SKATEBOARD.md(how it fits together, dev workflows),waspc/DECISIONS.md(decisions + rejected alternatives),waspc/wireframes/(diagrams).CI note: the Fly deploy test flakes on signup tests. This is a pre-existing infra issue (the deployed app's DB path stalls right after deploy), not caused by this branch; Railway runs the same suite green.
Type of change
Checklist
I tested my change in a Wasp app to verify that it works as intended.
🧪 Tests and apps:
examples/kitchen-sink/e2e-tests.waspc/data/Cli/templates, as needed.examples/, as needed.examples/tutorials) I updated the tutorial in the docs (and vice versa).📜 Documentation:
web/docs/.🆕 Changelog: (if change is more than just code/docs improvement)
waspc/ChangeLog.mdwith a user-friendly description of the change.web/docs/migration-guides/.versioninwaspc/waspc.cabalto reflect the changes I introduced.