Skip to content

Commit

Permalink
fix(github): trying to publish on github (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
roggervalf committed Sep 6, 2020
2 parents 82dce34 + c4e2c1c commit 24d0672
Show file tree
Hide file tree
Showing 5 changed files with 126 additions and 149 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ import {

Supports these glob features:

- Policies creation ([IdentityBasedPolicy and ResourceBasedPolicy](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policy-types))
- Policies creation (ActionBasedPolicy, [IdentityBasedPolicy and ResourceBasedPolicy](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policy-types))
- Permission verifications

## Documentation
Expand All @@ -59,6 +59,10 @@ Please click on the language that you prefer
- [Chinese docs](https://roggervalf.github.io/iam-policies/zh-CN/) by [@mickymao1110](https://github.com/mickymao1110)
- [English docs](https://roggervalf.github.io/iam-policies/en/) by [@roggervalf](https://github.com/roggervalf)

## Article

[How to build a Deno module](https://medium.com/@rogger.valverde/how-to-build-a-deno-module-dc383eee8edb)

## Contributing

Fork the repo, make some changes, submit a pull-request! Here is the [contributing](contributing.md) doc that has some details.
Expand Down
2 changes: 1 addition & 1 deletion contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Commit messages

This package is using semantic-release to automate the release process, and this depends on a specific format for commit messages. Please run `yarn cm` to use `commitizen` to properly format your commit messages so they can be automatically processed and included in release notes. Also in travis process we should use `node >=10.18.1` and `npm >=6.13.4` since semantic-release requires this.
This package is using semantic-release to automate the release process, and this depends on a specific format for commit messages. Please run `yarn cm` to use `commitizen` to properly format your commit messages so they can be automatically processed and included in release notes. Also in travis process we should use `node >=10.19.0` and `npm >=6.13.4` since semantic-release requires this.

## Pull request testing

Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@
"@semantic-release/changelog": "^5.0.0",
"@semantic-release/commit-analyzer": "^8.0.1",
"@semantic-release/git": "^9.0.0",
"@semantic-release/npm": "^7.0.5",
"@semantic-release/github": "^7.0.7",
"@semantic-release/npm": "^7.0.6",
"@semantic-release/release-notes-generator": "^9.0.1",
"@types/jest": "^24.0.22",
"@typescript-eslint/eslint-plugin": "^2.17.0",
Expand Down Expand Up @@ -106,6 +107,7 @@
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/github",
"@semantic-release/git"
],
"branch": "master"
Expand Down
5 changes: 4 additions & 1 deletion www/src/components/sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,10 @@ const Sidebar = ({ data, menuOpen, triggerMenu }) => {
const parent = e.target.hasAttribute("href")
? e.target
: e.target.parentElement
const linkId = parent.getAttribute("href").slice(1)
const linkId = parent.firstChild.nodeValue
.toLowerCase()
.replace(/\s/g, "-")
.replace(/[(),]/g, "")
const sectionToScrollTo = document.getElementById(linkId)
if (sectionToScrollTo) {
sectionToScrollTo.scrollIntoView({ behavior: "smooth" })
Expand Down

0 comments on commit 24d0672

Please sign in to comment.