Skip to content

Commit

Permalink
Remove bloat from package tarball (#46)
Browse files Browse the repository at this point in the history
* Remove bloat from package tarball

* Need to support rebuilding on all platforms

* Rearrange release
  • Loading branch information
mateogianolio committed May 29, 2023
1 parent b36d717 commit e162684
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 10 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,18 +48,18 @@ jobs:
with:
coverageLocations: ${{github.workspace}}/coverage/lcov.info:lcov

- name: Publish dist/ and docs/
run: |
git add dist docs
git commit -m "Publish dist and docs"
git push origin master
- id: publish
name: Publish package to npm
uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}

- name: Publish dist/ and docs/
run: |
git add dist docs
git commit -m "Publish dist and docs"
git push origin master
- if: steps.publish.outputs.type != 'none'
run: |
git tag ${{ steps.publish.outputs.version }}
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

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

12 changes: 10 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,23 @@
{
"name": "nlapack",
"version": "2.0.8",
"version": "2.0.9",
"description": "C++ bindings for all single- and double-precision CLAPACK (Linear Algebra Package) routines.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"test": "jest",
"docs": "typedoc --out docs --exclude \"**/*+(.spec).ts\" src && touch docs/.nojekyll",
"build": "node-gyp rebuild -j max && rm -rf dist && tsc",
"build": "node-gyp rebuild -j max",
"prepublishOnly": "rm -rf dist && tsc",
"install": "npm run build"
},
"files": [
"dist",
"src/index.cc",
"routines",
"lib",
"binding.gyp"
],
"repository": {
"git": "https://github.com/mateogianolio/nblas"
},
Expand Down

0 comments on commit e162684

Please sign in to comment.