Skip to content

Commit

Permalink
Merge pull request #151 from apache/feature/150-Include-info-on-how-t…
Browse files Browse the repository at this point in the history
…o-build-in-the-README

Issue #150 - Include info on how to build in the README
  • Loading branch information
reckart authored Oct 3, 2023
2 parents 40c0a5c + 69335a5 commit 4b05bd1
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

strategy:
matrix:
node-version: [18.x]
node-version: [18.x, 20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
Expand Down
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@ browser environments.

See documentation on the website: <https://annotator.apache.org/docs/>

## How to build

Build requirements are [Node.JS](https://nodejs.org/) (>= 16) and [yarn](https://yarnpkg.com) (>= 1.5.0).
All other dependencies are automatically installed as part of the build.

* `npm run build` -- builds the project
* `npm test` -- runs the tests
* `npm run start` -- starts the demo application

## Getting Involved

* Join the [mailing list](http://mail-archives.apache.org/mod_mbox/incubator-annotator-dev/). Send an email to
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"webpack-dev-server": "^4.15.1"
},
"engines": {
"node": ">=16",
"node": ">=18",
"yarn": "^1.5.0"
}
}
3 changes: 0 additions & 3 deletions web/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,4 @@ module.exports = {
// Note this directory is imported by the annotator website
path: path.resolve(__dirname, 'dist'),
},
devServer: {
contentBase: false,
},
};

0 comments on commit 4b05bd1

Please sign in to comment.