Skip to content

Commit

Permalink
Version Packages (#40)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Oct 15, 2024
1 parent 9605fe3 commit 69f1349
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 26 deletions.
18 changes: 0 additions & 18 deletions .changeset/funny-pumas-judge.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/slow-stingrays-laugh.md

This file was deleted.

8 changes: 8 additions & 0 deletions packages/create-domco/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# create-domco

## 2.0.10

### Patch Changes

- 002ca9a: update deno template, `mjs/mts` vite config no longer required
- Updated dependencies [9605fe3]
- domco@2.1.5

## 2.0.9

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/create-domco/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "create-domco",
"description": "Create a new domco project",
"version": "2.0.9",
"version": "2.0.10",
"type": "module",
"types": "./dist/index.d.ts",
"main": "./dist/index.js",
Expand All @@ -27,7 +27,7 @@
"license": "MIT",
"dependencies": {
"@clack/prompts": "^0.7.0",
"domco": "^2.1.4",
"domco": "^2.1.5",
"prettier": "^3.3.3",
"which-pm-runs": "^1.1.0"
},
Expand Down
19 changes: 19 additions & 0 deletions packages/domco/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# domco

## 2.1.5

### Patch Changes

- 9605fe3: `prerender` export can now be a function that returns an array or set of paths to prerender like in react-router v7. This makes it easier to prerender programmatically without having to create another function.

```ts
// src/server/+func.ts
import type { Prerender } from "domco";

// prerender can still be a value, for example:
export const prerender: Prerender = ["/prerender"];
export const prerender: Prerender = new Set(["/prerender"]);

// now prerender can also be a function, for example:
export const prerender: Prerender = () => ["/prerender"];
export const prerender: Prerender = async () => new Set(["/prerender"]);
```

## 2.1.4

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/domco/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "domco",
"description": "Minimal Full-Stack JavaScript",
"version": "2.1.4",
"version": "2.1.5",
"author": {
"name": "Ross Robino",
"url": "https://robino.dev"
Expand Down

0 comments on commit 69f1349

Please sign in to comment.