Skip to content

Commit 36a895b

Browse files
authored
Update dependencies & fluent-react/example (#612)
* chore: Fix internal dependencies * docs: Update fluent-react/example to React 18 * chore: Refresh lockfile & apply Prettier styling
1 parent 67e038e commit 36a895b

File tree

13 files changed

+1944
-9216
lines changed

13 files changed

+1944
-9216
lines changed

fluent-bundle/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,6 @@
4949
"npm": ">=7.0.0"
5050
},
5151
"devDependencies": {
52-
"@fluent/dedent": "file:../fluent-dedent"
52+
"@fluent/dedent": "^0.5.0"
5353
}
5454
}

fluent-dom/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"npm": ">=7.0.0"
4545
},
4646
"devDependencies": {
47-
"@fluent/bundle": "file:../fluent-bundle",
47+
"@fluent/bundle": "^0.18.0",
4848
"jsdom": "^21.1.0"
4949
},
5050
"dependencies": {

fluent-langneg/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
### Bug Fixes
1111

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

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

fluent-react/example/README.md

+5-7
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,21 @@ This tiny React app demonstrates how `@fluent/react` can integrate with React.
55
## Running
66

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

1010
cd fluent.js/
1111
npm install
1212

1313
Then build and package `@fluent/react`:
1414

15-
cd fluent.js/fluent-react/
16-
npm install
17-
make
18-
npm pack
15+
npm run dist
16+
npm pack -w fluent-react
1917

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

22-
cd fluent.js/fluent-react/example/
20+
cd fluent-react/example/
2321
npm install
24-
npm install --no-save ../fluent-react-*.tgz
22+
npm install --no-save ../../fluent-react-*.tgz
2523
npm start
2624

2725
Open http://localhost:1234 to see the example running.

0 commit comments

Comments
 (0)