Skip to content

Commit

Permalink
blog post fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
terrablue committed Feb 10, 2024
1 parent 9ba7b19 commit f3bd116
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
23 changes: 13 additions & 10 deletions docs/blog/release-029.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ components with the `.component.ts` extension.
To add support for Angular, install the `@primate/frontend` module and Angular
dependencies.

`npm install @primate/frontend @angular/{compiler,core,platform-browser,platform-server,ssr}@17`
`npm install @primate/frontend @angular/{compiler,core,platform-browser,platform-server,ssr}@17 esbuild@0.20`

### Configure

Expand Down Expand Up @@ -86,8 +86,7 @@ The rendered component will be accessible at http://localhost:6161/angular.
## Marko

This release adds Marko to the list of frameworks Primate supports. This
handler module supports SSR and serves Marko components with the `.marko`
extension.
handler supports SSR and serves Marko components with the `.marko` extension.

### Install

Expand Down Expand Up @@ -145,16 +144,20 @@ The rendered component will be accessible at http://localhost:6161/marko.

This release introduces support for MySQL using the `mysql2` driver. The MySQL
driver supports all of Primate's ORM operations as well as transactions and
connection pools. In addition to installing the `mysql2` package with `npm
install mysql2@3`, this driver requires running a MySQL server either locally
or remotely. Visit the MySQL website or consult your operating system's manuals
on how to install and run a server.
connection pools. In addition to installing the `mysql2` package, this driver
requires running a MySQL server either locally or remotely. Visit the MySQL
website or consult your operating system's manuals on how to install and run a
server.

The MySQL driver uses the `host` (default `"localhost"`), `port` (default
`3306`) `database`, `user`, and `password` configuration properties.
### Install

`npm install @primate/store mysql2@3`

### Configure

The MySQL driver uses the `host` (default `"localhost"`), `port` (default
`3306`) `database`, `user`, and `password` configuration properties.

```js caption=primate.config.js
import { default as store, mysql } from "@primate/store";

Expand All @@ -181,7 +184,7 @@ Once configured, this will be the default driver for all stores.

## New handlers for WebSockets and Server-sent events

With WebSocket support moving into [rcompat][rcompat], we deprecated the
With WebSocket support having moved into [rcompat][rcompat], we deprecated the
`@primate/ws` package in favor of inclusion into core as the `ws` handler. In
addition, we added a new handler for Server-sent events, `sse`.

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/build.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ whenever you change a component.

## Install

`npm install @primate/build`
`npm install @primate/build esbuild@0.20`

## Configure

Expand Down

0 comments on commit f3bd116

Please sign in to comment.