Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
env:
TAGNAME: ${{ steps.create_tag.outputs.tagname }}
- run: npm ci
- run: npm run build
- run: npm run build-docs
- run: mkdir _docs && mv docs _docs/${{ env.DOCVER }} && mv _docs docs
- run: |
Expand Down
File renamed without changes.
5 changes: 2 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@
"version": "3.6.1",
"description": "Research Object Crate (RO-Crate) utilities for making and consuming crates",
"main": "index.js",
"types": "dist/index.d.ts",
"scripts": {
"test": "mocha",
"build-docs": "typedoc",
"build": "tsc",
"test-node16": "docker run -v `pwd`:`pwd` -w `pwd` node:16-alpine npm test",
"test-node20": "docker run -v `pwd`:`pwd` -w `pwd` node:20-alpine npm test",
"test-node21": "docker run -v `pwd`:`pwd` -w `pwd` node:21-alpine npm test"
Expand Down Expand Up @@ -51,7 +53,8 @@
"index.js",
"index.mjs",
"roc-checker.js",
"lib"
"lib",
"dist"
],
"engines": {
"node": ">=20"
Expand Down
4 changes: 3 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@
"baseUrl": "..",
"module": "CommonJS",
"target": "es2022",
"declaration": true,
"outDir": "dist",
"resolveJsonModule": true
},
"include": [
"index.ts",
"lib/**/*.js",
"lib/**/*.d.ts"
"lib/**/*.ts"
],
"typedocOptions": {
"entryPoints": ["index.ts"],
Expand Down