Skip to content

Conversation

@cprecioso
Copy link
Member

@cprecioso cprecioso commented Apr 29, 2025

Based on #2672 (review)

Description

Fixes #2384

Moves the ensure_app_compiles_and_builds.sh script to the waspc folder, and in CI it will run it against todoApp and crud-testing.

It also adds tsc --build to the npm run bundle of the generated server.

Select what type of change this PR introduces:

  1. Just code/docs improvement (no functional change).
  2. Bug fix (non-breaking change which fixes an issue).
  3. New feature (non-breaking change which adds functionality).
  4. Breaking change (fix or feature that would cause existing functionality to not work as expected).

Update Waspc ChangeLog and version if needed

If you did a bug fix, new feature, or breaking change, that affects waspc, make sure you satisfy the following:

  1. I updated ChangeLog.md with description of the change this PR introduces.
  2. I bumped waspc version in waspc.cabal to reflect changes I introduced, with regards to the version of the latest wasp release, if the bump was needed.

@cprecioso cprecioso marked this pull request as ready for review April 30, 2025 09:04
Comment on lines +168 to +170
- name: Ensure examples/crud-testing compiles and builds
if: matrix.os == 'ubuntu-22.04' || matrix.os == 'macos-latest'
run: ./tools/ensure_app_compiles_and_builds.sh ./examples/crud-testing
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice thinking!

Hm, but could we maybe instead move the Crud stuff to todoApp? This goes towards the effort of having one "end all be all" testing app.

Base automatically changed from cprecioso/issue2384 to main May 9, 2025 15:16
@cprecioso
Copy link
Member Author

Closed in favor of #2739

@cprecioso cprecioso closed this May 12, 2025
@cprecioso cprecioso deleted the cprecioso/2458-enable-crud-typechecking branch May 12, 2025 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

In CI, check for TS errors in built server code (of example app) by running npx tsc

2 participants