Skip to content

Commit

Permalink
include readmes and licences in deployments
Browse files Browse the repository at this point in the history
Summary: The dist array wasn't fully specified, which meant we weren't bundling up the newest README

Reviewed By: pieterv

Differential Revision: D37865907

fbshipit-source-id: 23c737ef4452d9af71da976a837da1e8a04e6bd5
  • Loading branch information
bradzacher authored and facebook-github-bot committed Jul 15, 2022
1 parent e9a82e2 commit a5431f7
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 5 deletions.
8 changes: 8 additions & 0 deletions tools/hermes-parser/js/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
## Unreleased



## 0.9.0

### `hermes-transform`

- Fix unnecessary newlines being added during printing.
- Fix handling of arrays with nullable elements in `shallowCloneArray` (like an array's `.elements` property).
- Add `modifyNodeInPlace` API for directly modifying a node with an implicit clone.
- Improve infra so that explicit cloning is mostly unnecessary.
- Most of the API will automatically shallow-clone any node that's passed in.
- The APIs still exist should you want to explicitly clone to control the depth, etc.

### `hermes-eslint`

Expand Down
5 changes: 4 additions & 1 deletion tools/hermes-parser/js/hermes-eslint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@
"url": "[email protected]:facebook/hermes.git"
},
"files": [
"dist"
"dist",
"LICENCE",
"TYPESCRIPT_ESLINT_SCOPE_MANAGER_LICENSE",
"README.md"
],
"dependencies": {
"esrecurse": "^4.3.0",
Expand Down
4 changes: 3 additions & 1 deletion tools/hermes-parser/js/hermes-estree/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
"url": "[email protected]:facebook/hermes.git"
},
"files": [
"dist"
"dist",
"LICENCE",
"README.md"
]
}
2 changes: 1 addition & 1 deletion tools/hermes-parser/js/hermes-estree/src/types.js
Original file line number Diff line number Diff line change
Expand Up @@ -1596,7 +1596,7 @@ export interface JSXEmptyExpression extends BaseNode {

export interface JSXExpressionContainer extends BaseNode {
+type: 'JSXExpressionContainer';
+expression: Expression;
+expression: Expression | JSXEmptyExpression;
}

export interface JSXFragment extends BaseNode {
Expand Down
4 changes: 3 additions & 1 deletion tools/hermes-parser/js/hermes-parser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
"hermes-transform": "0.9.0"
},
"files": [
"dist"
"dist",
"LICENCE",
"README.md"
]
}
6 changes: 5 additions & 1 deletion tools/hermes-parser/js/hermes-transform/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
"prettier": "^2.4.1"
},
"files": [
"dist"
"dist",
"LICENCE",
"ESLINT_LICENCE",
"PRETTIER_LICENCE",
"README.md"
]
}

0 comments on commit a5431f7

Please sign in to comment.