Skip to content

Commit

Permalink
consume v0.15 of @lukka scoped packages
Browse files Browse the repository at this point in the history
  • Loading branch information
lukka committed Oct 11, 2020
1 parent 12fddce commit fc243fc
Show file tree
Hide file tree
Showing 4 changed files with 96 additions and 55 deletions.
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
[submodule "libs"]
path = libs
url = https://github.com/lukka/run-cmake-vcpkg-action-libs.git
10 changes: 10 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,16 @@ The software is provided as is, there is no warranty of any kind. All users are
## Prerequisites
[gulp 4](https://www.npmjs.com/package/gulp4) globally installed.

### Setup for GitHub Registry public packages

`run-cmake` depends on public NPM packages published by [lukka/run-cmake-vcpkg-action-libs](https://github.com/lukka/run-cmake-vcpkg-action-libs) in the [GitHub Packages registry](https://docs.github.com/en/free-pro-team@latest/packages/using-github-packages-with-your-projects-ecosystem/configuring-npm-for-use-with-github-packages).
Unexpectedly, a public package still requires authentication when downloading it, hence if you want to `npm install` those packages correctly, you need to obtain a token with `read:packages` scope. Then create in the root of the repository a `.npmrc` file with the following content:

//npm.pkg.github.com/:_authToken=YOURTOKEN
@lukka:registry=https://npm.pkg.github.com/

__Note__: **Never commit this `.npmrc` file!**

## Build and lint
Build with `tsc` running:

Expand Down
130 changes: 82 additions & 48 deletions package-lock.json

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

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@
"@actions/exec": "^1.0.1",
"@actions/github": "^1.1.0",
"@actions/io": "^1.0.1",
"@lukka/base-lib": "0.14.1",
"@lukka/base-util-lib": "0.14.1",
"@lukka/action-lib": "0.14.1",
"@lukka/run-vcpkg-lib": "0.14.1",
"@lukka/base-lib": "^0.15.1",
"@lukka/base-util-lib": "^0.15.1",
"@lukka/action-lib": "^0.15.1",
"@lukka/run-vcpkg-lib": "^0.15.1",
"@types/adm-zip": "^0.4.32",
"@types/follow-redirects": "^1.8.0",
"@types/jest": "^24.9.0",
Expand Down

0 comments on commit fc243fc

Please sign in to comment.