Skip to content

Commit

Permalink
Update dependencies & fluent-react/example (#612)
Browse files Browse the repository at this point in the history
* chore: Fix internal dependencies

* docs: Update fluent-react/example to React 18

* chore: Refresh lockfile & apply Prettier styling
  • Loading branch information
eemeli committed Mar 24, 2023
1 parent 67e038e commit 36a895b
Show file tree
Hide file tree
Showing 13 changed files with 1,944 additions and 9,216 deletions.
2 changes: 1 addition & 1 deletion fluent-bundle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@
"npm": ">=7.0.0"
},
"devDependencies": {
"@fluent/dedent": "file:../fluent-dedent"
"@fluent/dedent": "^0.5.0"
}
}
2 changes: 1 addition & 1 deletion fluent-dom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"npm": ">=7.0.0"
},
"devDependencies": {
"@fluent/bundle": "file:../fluent-bundle",
"@fluent/bundle": "^0.18.0",
"jsdom": "^21.1.0"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion fluent-langneg/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

### Bug Fixes

* Adjust for updated linter rules ([#590](https://github.com/projectfluent/fluent.js/pull/590))
- Adjust for updated linter rules ([#590](https://github.com/projectfluent/fluent.js/pull/590))

## [@fluent/langneg 0.6.1](https://github.com/projectfluent/fluent.js/compare/@fluent/langneg@0.6.0...@fluent/langneg@0.6.1) (2021-12-21)

Expand Down
12 changes: 5 additions & 7 deletions fluent-react/example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,21 @@ This tiny React app demonstrates how `@fluent/react` can integrate with React.
## Running

The example app requires a local build of `@fluent/react`. In the root of
your `fluent.js` clone install the build tools:
your `fluent.js` clone, install the build tools:

cd fluent.js/
npm install

Then build and package `@fluent/react`:

cd fluent.js/fluent-react/
npm install
make
npm pack
npm run dist
npm pack -w fluent-react

Finally, change back to this directory, and build the example:

cd fluent.js/fluent-react/example/
cd fluent-react/example/
npm install
npm install --no-save ../fluent-react-*.tgz
npm install --no-save ../../fluent-react-*.tgz
npm start

Open http://localhost:1234 to see the example running.
Expand Down
Loading

0 comments on commit 36a895b

Please sign in to comment.