Skip to content

Commit

Permalink
chore: explicit definition of package files
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelhe committed Nov 8, 2021
1 parent daebc81 commit c8c82f0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
node-version: 14
registry-url: https://registry.npmjs.org/
- run: yarn --frozen-lockfile
- run: yarn build
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
Expand All @@ -43,6 +44,7 @@ jobs:
node-version: 14
registry-url: https://npm.pkg.github.com/
- run: yarn --frozen-lockfile
- run: yarn build
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,5 @@ dist

# TernJS port file
.tern-port

package
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fractalsoftware/random-avatar-generator",
"version": "1.0.8",
"version": "1.0.9",
"description": "A random avatar generator with low collision",
"module": "./src/index.js",
"types": "./src/index.d.ts",
Expand Down Expand Up @@ -45,5 +45,6 @@
},
"directories": {
"example": "example"
}
},
"files": ["/dist", "/src/", "/example"]
}

0 comments on commit c8c82f0

Please sign in to comment.