Skip to content

Commit 83d33f4

Browse files
committed
feat: 拆分运行时
1 parent e025028 commit 83d33f4

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# CHANGELOG
22

3+
## v3.0.0
4+
2022-09-19
5+
6+
- **Feature**: Use a standalone npm package for runtime
7+
38
## v1.1.1
49
2019-12-03
510

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,13 @@ Requires **node v10.0.0** or higher, **babel v7.0.0** or higher.
3333
use npm:
3434
```bash
3535
npm install --save-dev babel-plugin-react-directives
36+
npm install --save react-directives-runtime
3637
```
3738

3839
use yarn:
3940
```base
4041
yarn add --dev babel-plugin-react-directives
42+
yarn add react-directives-runtime
4143
```
4244

4345
### <span id="toc-configuring">Configuring via `.babelrc`</span>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
"ajv": "^6.12.6",
6868
"ajv-errors": "^1.0.1",
6969
"chalk": "^4.1.0",
70-
"react-directives-runtime": "^0.0.1",
70+
"react-directives-runtime": "^1.0.0",
7171
"semver": "^6.3.0"
7272
},
7373
"devDependencies": {

runtime/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-directives-runtime",
3-
"version": "0.0.1",
3+
"version": "1.0.0",
44
"description": "The runtime code for babel-plugin-react-directives.",
55
"publishConfig": {
66
"access": "public",

0 commit comments

Comments
 (0)