Skip to content

Conversation

@onlywei
Copy link
Collaborator

@onlywei onlywei commented May 3, 2025

Adds the src/ directory to both typescript starters to match the examples folders.

Checklist

@netlify
Copy link

netlify bot commented May 3, 2025

Deploy Preview for agitated-mahavira-26f8f9 canceled.

Name Link
🔨 Latest commit 2464d77
🔍 Latest deploy log https://app.netlify.com/sites/agitated-mahavira-26f8f9/deploys/68166634535556000834599b

@onlywei onlywei changed the base branch from main to dev May 3, 2025 18:52
@onlywei onlywei force-pushed the starters-src-dir branch from 95ebbde to 2464d77 Compare May 3, 2025 18:53
writeFileSync(join(starterRoot, starter, 'package.json'), JSON.stringify(pkgJSON, null, 2))
}
cd(root)
await $`pnpm i`
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is needed to get the optionalDependencies out of pnpm-lock.yaml

@onlywei onlywei requested a review from galvez May 3, 2025 18:55
@onlywei onlywei changed the title Starters src dir Add src/ directory to TypeScript starters May 3, 2025
@onlywei
Copy link
Collaborator Author

onlywei commented May 3, 2025

@galvez hmmm, if we look at the CI results, it doesn't look like the tests are running for all the examples and starters in CI. I ran them locally, but I think we need to fix this.

Copy link
Member

@galvez galvez left a comment

Choose a reason for hiding this comment

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

LGTM

@onlywei onlywei merged commit ac51a32 into dev May 3, 2025
5 checks passed
@onlywei onlywei deleted the starters-src-dir branch May 3, 2025 20:21
onlywei added a commit that referenced this pull request May 3, 2025
* fix: Remove optionalDependencies from @fastify/vite (#257)

* docs: rm outdated info

* docs: update roadmap

* docs: update known limitations

* docs: update section on route location

* chore: fix pnpm-lock.yaml

* Import meta dirname filename (#263)

* Use import.meta.dirname instead of import.meta.url

* Use import.meta.filename

* undo changes in contrib folder

* Fix some stuff I missed

* Add src/ directory to TypeScript starters (#264)

* Bump @fastify/[email protected]

---------

Co-authored-by: Jonas Galvez <[email protected]>
@onlywei onlywei changed the title Add src/ directory to TypeScript starters docs: Add src/ directory to TypeScript starters May 4, 2025
onlywei added a commit that referenced this pull request Aug 4, 2025
* fix: Remove optionalDependencies from @fastify/vite (#257)

* docs: rm outdated info

* docs: update roadmap

* docs: update known limitations

* docs: update section on route location

* chore: fix pnpm-lock.yaml

* Import meta dirname filename (#263)

* Use import.meta.dirname instead of import.meta.url

* Use import.meta.filename

* undo changes in contrib folder

* Fix some stuff I missed

* Add src/ directory to TypeScript starters (#264)

* Bump @fastify/[email protected]

* fix: install tsx into react/vue starters for typescript

* fix: set allowJs to false in starters' tsconfig.json files

* Bump @fastify/[email protected]

* Run pnpm prep-for-release

---------

Co-authored-by: Jonas Galvez <[email protected]>
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.

3 participants