Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## @hwy-js/[email protected] ### Minor Changes - 625ee49: First off, huge shoutout to @jharrell for his debugging and research assistance on this PR related to adding Cloudflare Pages support! Thank you! - Cloudflare Pages is now supported! Closes #6. - Added changesets. Closes #14. - Adds a `hwy.config.ts` / `hwy.config.js` file to the root of your project for setting up dev settings and deployment target, and probably other things in the future. As annoying as config files are, this simplifies a lot of things and is not too much to ask for a framework. - Removes a lot of complexity / variance in build commands and deploy target hacks, as now we can just read the deployment target from the Hwy config and handle everything in Hwy's centralized build step. - Adds a new `@hwy-js/build` package, splitting up the live refresh stuff (stays in `@hwy-js/dev`) from the build stuff. - In your `src/main.tsx` file: - `{hwyDev?.DevLiveRefreshScript()}` is now just `<DevLiveRefreshScript />` - `<ClientEntryScript />` is now `<ClientScripts activePathData={activePathData} />`. This is to enable the new client scripts functionality mentioned below. - Added an option to ship client-side JS (including from TS files if you want) by adding a sibling `page-name.client.ts` or `page-name.client.js` file to your page. This becomes basically global JS for that page, and anything imported will be bundled into that page's script, which is built into the public folder and referenced in the document head when you visit that page. This will be better documented later. Closes #15. ### Patch Changes - e4e514a: rmv rmSync instance, not really necessary - e4e514a: init changesets - e4e514a: tweak build step, auto read latest version in create-hwy ## [email protected] ### Minor Changes - 625ee49: First off, huge shoutout to @jharrell for his debugging and research assistance on this PR related to adding Cloudflare Pages support! Thank you! - Cloudflare Pages is now supported! Closes #6. - Added changesets. Closes #14. - Adds a `hwy.config.ts` / `hwy.config.js` file to the root of your project for setting up dev settings and deployment target, and probably other things in the future. As annoying as config files are, this simplifies a lot of things and is not too much to ask for a framework. - Removes a lot of complexity / variance in build commands and deploy target hacks, as now we can just read the deployment target from the Hwy config and handle everything in Hwy's centralized build step. - Adds a new `@hwy-js/build` package, splitting up the live refresh stuff (stays in `@hwy-js/dev`) from the build stuff. - In your `src/main.tsx` file: - `{hwyDev?.DevLiveRefreshScript()}` is now just `<DevLiveRefreshScript />` - `<ClientEntryScript />` is now `<ClientScripts activePathData={activePathData} />`. This is to enable the new client scripts functionality mentioned below. - Added an option to ship client-side JS (including from TS files if you want) by adding a sibling `page-name.client.ts` or `page-name.client.js` file to your page. This becomes basically global JS for that page, and anything imported will be bundled into that page's script, which is built into the public folder and referenced in the document head when you visit that page. This will be better documented later. Closes #15. ### Patch Changes - e4e514a: rm console log - e4e514a: init changesets ## [email protected] ### Minor Changes - 625ee49: First off, huge shoutout to @jharrell for his debugging and research assistance on this PR related to adding Cloudflare Pages support! Thank you! - Cloudflare Pages is now supported! Closes #6. - Added changesets. Closes #14. - Adds a `hwy.config.ts` / `hwy.config.js` file to the root of your project for setting up dev settings and deployment target, and probably other things in the future. As annoying as config files are, this simplifies a lot of things and is not too much to ask for a framework. - Removes a lot of complexity / variance in build commands and deploy target hacks, as now we can just read the deployment target from the Hwy config and handle everything in Hwy's centralized build step. - Adds a new `@hwy-js/build` package, splitting up the live refresh stuff (stays in `@hwy-js/dev`) from the build stuff. - In your `src/main.tsx` file: - `{hwyDev?.DevLiveRefreshScript()}` is now just `<DevLiveRefreshScript />` - `<ClientEntryScript />` is now `<ClientScripts activePathData={activePathData} />`. This is to enable the new client scripts functionality mentioned below. - Added an option to ship client-side JS (including from TS files if you want) by adding a sibling `page-name.client.ts` or `page-name.client.js` file to your page. This becomes basically global JS for that page, and anything imported will be bundled into that page's script, which is built into the public folder and referenced in the document head when you visit that page. This will be better documented later. Closes #15. ### Patch Changes - e4e514a: update ClientEntryScript to ClientScripts - e4e514a: init changesets - e4e514a: tweak build step, auto read latest version in create-hwy ## @hwy-js/[email protected] ### Minor Changes - 625ee49: First off, huge shoutout to @jharrell for his debugging and research assistance on this PR related to adding Cloudflare Pages support! Thank you! - Cloudflare Pages is now supported! Closes #6. - Added changesets. Closes #14. - Adds a `hwy.config.ts` / `hwy.config.js` file to the root of your project for setting up dev settings and deployment target, and probably other things in the future. As annoying as config files are, this simplifies a lot of things and is not too much to ask for a framework. - Removes a lot of complexity / variance in build commands and deploy target hacks, as now we can just read the deployment target from the Hwy config and handle everything in Hwy's centralized build step. - Adds a new `@hwy-js/build` package, splitting up the live refresh stuff (stays in `@hwy-js/dev`) from the build stuff. - In your `src/main.tsx` file: - `{hwyDev?.DevLiveRefreshScript()}` is now just `<DevLiveRefreshScript />` - `<ClientEntryScript />` is now `<ClientScripts activePathData={activePathData} />`. This is to enable the new client scripts functionality mentioned below. - Added an option to ship client-side JS (including from TS files if you want) by adding a sibling `page-name.client.ts` or `page-name.client.js` file to your page. This becomes basically global JS for that page, and anything imported will be bundled into that page's script, which is built into the public folder and referenced in the document head when you visit that page. This will be better documented later. Closes #15. ### Patch Changes - e4e514a: init changesets Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
- Loading branch information