-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: bump axios to patched version GHSA-74fj-2j2h-c42q * docs: add generator
- Loading branch information
Showing
8 changed files
with
187 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,3 +44,9 @@ jobs: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
GH_TOKEN: ${{ secrets.GH_TOKEN }} | ||
run: npx semantic-release | ||
- name: Update docs | ||
run: | | ||
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git | ||
yarn gh-pages -d docs -u "github-actions-bot <[email protected]>" | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/usr/bin/env sh | ||
|
||
MAIN_BRANCH='main' | ||
CURRENT_BRANCH=$(git rev-parse --abbrev-ref HEAD) | ||
|
||
if [[ $CURRENT_BRANCH != $MAIN_BRANCH ]]; then | ||
echo "Aborting doc generation. Please switch to the $MAIN_BRANCH branch to generate documentation." | ||
exit 1 | ||
fi | ||
|
||
if [[ -z $(git status --porcelain) ]]; | ||
then | ||
echo "Publishing docs to gh-pages.." | ||
yarn gh-pages -d docs | ||
echo "Docs will be live in a few seconds: https://metaplex-foundation.github.io/js" | ||
else | ||
echo "Aborting doc generation. Please commit any changes before updating docs." | ||
echo "" | ||
git status | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export * from './arweave'; | ||
export * as storage from './Storage'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,8 @@ | ||
{ | ||
"entryPoints": [ | ||
"src/actions/index.ts", | ||
"src/programs/auction/index.ts", | ||
"src/programs/metadata/index.ts", | ||
"src/programs/metaplex/index.ts", | ||
"src/programs/index.ts", | ||
"src/programs/vault/index.ts", | ||
"src/index.ts" | ||
"src/" | ||
], | ||
"excludeInternal": true, | ||
"excludePrivate": true, | ||
"out": "./docs" | ||
} | ||
} |
Oops, something went wrong.