Skip to content

Commit

Permalink
overall changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
sjc5 committed Oct 21, 2023
1 parent 4076991 commit 8e4ca61
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .changeset/pre.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"mode": "pre",
"mode": "exit",
"tag": "beta",
"initialVersions": {
"docs": "0.0.0",
Expand Down
14 changes: 14 additions & 0 deletions .changeset/shy-nails-cover.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
"create-hwy": minor
"@hwy-js/build": minor
"hwy": minor
"@hwy-js/dev": minor
---

- Cloudflare Pages is now supported!
- 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.
- `{hwyDev?.DevLiveRefreshScript()}` is now `<DevLiveRefreshScript />`
- `<ClientEntryScript />` is now `<ClientScripts activePathData={activePathData} />`
- 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.
2 changes: 0 additions & 2 deletions CHANGESETS-DIRECTIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,12 @@ https://github.com/changesets/changesets/blob/main/docs/prereleases.md

```sh
pnpm build
pnpm changeset pre exit
pnpm changeset pre enter beta
pnpm changeset version
pnpm changeset publish
git add .
git commit -am "whatever"
git push --follow-tags
pnpm changeset pre exit
```

# Normal release workflow
Expand Down

0 comments on commit 8e4ca61

Please sign in to comment.