Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MERGE]: release to master #25

Merged
merged 5 commits into from
Oct 19, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# 1.23.11

- Switched [html-minifier](https://www.npmjs.com/package/html-minifier) to [html-minifier-terser](https://www.npmjs.com/package/html-minifier-terser) fixes #22 (@marcoandre1)
- Bumped clean-css and express (@marcoandre1)

# 1.23.10

- Updated README to fix React 18 hydration bug (@marcoandre1)
Expand Down
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
>
> ⚠️ This project uses **yarn** for build and tests. To install it : `npm install --global yarn`. Then `yarn test` to run tests.

## react-snap-test [![Node.js CI](https://github.com/marcoandre1/react-snap/actions/workflows/node.js.yml/badge.svg)] (https://github.com/marcoandre1/react-snap/actions/workflows/node.js.yml) [![NPM version](https://img.shields.io/npm/v/react-snap-test.svg)](https://www.npmjs.com/package/react-snap-test) [![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](#badge) [![Renovate enabled](https://img.shields.io/badge/renovate-enabled-brightgreen.svg)](https://renovateapp.com/)
## react-snap-test [![Node.js CI](https://github.com/marcoandre1/react-snap/actions/workflows/node.js.yml/badge.svg)](https://github.com/marcoandre1/react-snap/actions/workflows/node.js.yml) [![NPM version](https://img.shields.io/npm/v/react-snap-test.svg)](https://www.npmjs.com/package/react-snap-test) [![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](#badge) [![Renovate enabled](https://img.shields.io/badge/renovate-enabled-brightgreen.svg)](https://renovateapp.com/)

Pre-renders a web app into static HTML. Uses [Headless Chrome](https://github.com/GoogleChrome/puppeteer) to crawl all available links starting from the root. Heavily inspired by [prep](https://github.com/graphcool/prep) and [react-snapshot](https://github.com/geelen/react-snapshot), but written from scratch. Uses best practices to get the best loading performance.

Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const fallback = require("express-history-api-fallback");
const path = require("path");
const nativeFs = require("fs");
const mkdirp = require("mkdirp");
const minify = require("html-minifier").minify;
const minify = require("html-minifier-terser").minify;
const url = require("url");
const minimalcss = require("minimalcss-test");
const CleanCSS = require("clean-css");
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-snap-test",
"version": "1.23.10",
"version": "1.23.11",
"description": "Zero-configuration framework-agnostic static prerendering for SPAs",
"main": "index.js",
"author": "stereobooster",
Expand All @@ -27,11 +27,11 @@
"node": ">= 8.6.0"
},
"dependencies": {
"clean-css": "4.2.1",
"express": "^4.17.1",
"clean-css": "^4.2.3",
"express": "^4.21.1",
"express-history-api-fallback": "2.2.1",
"highland": "2.13.4",
"html-minifier": "4.0.0",
"html-minifier-terser": "^5.1.1",
"minimalcss-test": "^0.11.7",
"mkdirp": "^0.5.1",
"puppeteer": "^23.4.0",
Expand Down
Loading