fix(npm/js_api): Ensure JS API build contains `dist` folder
MODIFY
.github/workflows/release_js_api.yml
.github/workflows/release_js_api.yml
@@ -126,7 +126,7 @@ jobs:
uses: actions/download-artifact@v3
with:
name: js-api
- path: npm
+ path: npm/js-api/dist
- name: Install Node.js
uses: actions/setup-node@v3

DELETE
npm/js-api/.gitignore
-dist/
\ No newline at end of file

MODIFY
npm/js-api/package.json
npm/js-api/package.json
{
"name": "@rometools/js-api",
- "version": "0.1.1",
+ "version": "0.1.2",
"description": "JavaScript APIs for the Rome package",
"scripts": {
"tsc": "tsc --noEmit",
"rome": "../rome"
},
"peerDependencies": {
- "rome": "^0.10.1-next",
- "@rometools/wasm-nodejs": "^0.10.1-next",
- "@rometools/backend-jsonrpc": "^0.10.1-next"
+ "rome": "^10.0.0",
+ "@rometools/wasm-nodejs": "^10.0.0",
+ "@rometools/backend-jsonrpc": "^10.0.0"
},
"peerDependenciesMeta": {
"rome": {

fix(npm/js_api): Ensure JS API build contains `dist` folder (#3648)