Skip to content

Commit 5866856

Browse files
committed
fix: (workflows/release-please): npm package contains no files
1 parent ea4bfbb commit 5866856

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

.github/workflows/release-please.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ jobs:
4040
cache: 'npm'
4141
- name: Install dependencies
4242
run: npm ci
43+
- name: Build the package
44+
run: npm run build
4345
- name: Publish to NPMJS.org
4446
run: npm publish --provenance --access public
4547
env:

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{".":"0.0.9"}
1+
{ ".": "0.0.10" }

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
{
22
"name": "@omicronenergy/oscd-api",
3-
"version": "0.0.9",
3+
"version": "0.0.10",
44
"description": "OpenSCD API for IEC 61850 SCL files",
55
"type": "module",
6-
"main": "./oscd-api.js",
7-
"types": "./oscd-api.d.ts",
6+
"main": "./dist/oscd-api.js",
7+
"types": "./dist/oscd-api.d.ts",
88
"scripts": {
99
"lint": "eslint . && prettier \"**/*.ts\" --check --ignore-path .gitignore",
1010
"format": "eslint . --fix && prettier \"**/*.ts\" --write --ignore-path .gitignore",
1111
"test": "npm run build && wtr --coverage",
1212
"test:watch": "npm run build && concurrently -k -r \"tsc -b --watch --preserveWatchOutput\" \"wtr --watch --coverage\"",
1313
"build": "npx rimraf dist && tsc --pretty",
14-
"doc": "npx rimraf doc && typedoc --out doc index.ts",
14+
"doc": "npx rimraf doc && typedoc --out doc oscd-api.ts",
1515
"prepare": "husky"
1616
},
1717
"repository": {

0 commit comments

Comments
 (0)