Skip to content

Commit

Permalink
Merge pull request #244 from TokenScript/staging
Browse files Browse the repository at this point in the history
Staging
  • Loading branch information
nicktaras authored Aug 18, 2023
2 parents e47cf8d + a8c83cf commit adb6ead
Show file tree
Hide file tree
Showing 111 changed files with 64,373 additions and 33,956 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,14 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: "npm"
cache-dependency-path: "**/package-lock.json"
registry-url: "https://npm.pkg.github.com"

- name: Build
run: |
echo "Github base ref: $GITHUB_BASE_REF"
echo "Requested branch: $NEGOTIATOR_BRANCH"
npm install
if [[ $GITHUB_BASE_REF == "staging" ]]; then
echo "This is a staging branch PR, updating package.json files to use negotiator staging branch"
scripts/use_negotiator_branch.js staging
Expand All @@ -67,6 +66,7 @@ jobs:
env:
NEGOTIATOR_BRANCH: ${{ inputs.negotiatorBranch }}
NODE_AUTH_TOKEN: ${{ github.token }}
GPR_KEY: ${{ secrets.GITHUB_TOKEN }}

sonarcloud:
needs:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/deploy-to-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: "npm"
cache-dependency-path: "**/package-lock.json"
registry-url: 'https://npm.pkg.github.com'

- name: Build
run: |
Expand All @@ -46,6 +45,11 @@ jobs:
NEGOTIATOR_BRANCH="${GITHUB_REF_NAME}"
fi
if [[ ! -z $NEGOTIATOR_BRANCH && $NEGOTIATOR_BRANCH != "none" ]]; then
# Only use github package registry for @tokenscript
echo "//npm.pkg.github.com/:_authToken=${GPR_KEY}" >> .npmrc
echo "@tokenscript:registry=https://npm.pkg.github.com" >> .npmrc
cat .npmrc
echo "Negotiator branch $NEGOTIATOR_BRANCH requested, updating package.json files"
scripts/use_negotiator_branch.js $NEGOTIATOR_BRANCH
fi
Expand All @@ -67,6 +71,7 @@ jobs:
env:
NEGOTIATOR_BRANCH: ${{ inputs.negotiatorBranch }}
NODE_AUTH_TOKEN: ${{ github.token }}
GPR_KEY: ${{ secrets.GITHUB_TOKEN }}

- uses: actions/upload-artifact@v3
with:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/token-outlet-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jobs:
node-version: 16
cache: "npm"
cache-dependency-path: token-outlet-website/package-lock.json
registry-url: 'https://npm.pkg.github.com'
- run: |
echo -n "Node version: "
node -v
Expand All @@ -41,13 +40,19 @@ jobs:
env:
NEGOTIATOR_BRANCH: ${{ inputs.negotiatorBranch }}
NODE_AUTH_TOKEN: ${{ github.token }}
GPR_KEY: ${{ secrets.GITHUB_TOKEN }}
run: |
npm install
if [[ "${GITHUB_EVENT_NAME}" = push ]]; then
NEGOTIATOR_BRANCH="${GITHUB_REF_NAME}"
fi
if [[ ! -z $NEGOTIATOR_BRANCH && $NEGOTIATOR_BRANCH != "none" ]]; then
# Only use github package registry for @tokenscript
echo "//npm.pkg.github.com/:_authToken=${GPR_KEY}" >> .npmrc
echo "@tokenscript:registry=https://npm.pkg.github.com" >> .npmrc
cat .npmrc
echo "Negotiator branch $NEGOTIATOR_BRANCH requested, updating package.json files"
scripts/use_negotiator_branch.js $NEGOTIATOR_BRANCH token-outlet-website
fi
Expand Down
1 change: 0 additions & 1 deletion angular-bare-bones-demo/dist/110.cab7602817242ae0.js

This file was deleted.

1 change: 0 additions & 1 deletion angular-bare-bones-demo/dist/235.c021a217ad7b926f.js

This file was deleted.

1 change: 1 addition & 0 deletions angular-bare-bones-demo/dist/296.1e4f5630973db106.js

Large diffs are not rendered by default.

53 changes: 25 additions & 28 deletions angular-bare-bones-demo/dist/3rdpartylicenses.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2769,9 +2769,6 @@ Apache-2.0
See the License for the specific language governing permissions and
limitations under the License.

@walletconnect/web3-provider
Apache-2.0

@walletconnect/window-getters
MIT
MIT License
Expand Down Expand Up @@ -3466,6 +3463,31 @@ THE SOFTWARE.
elliptic
MIT

eosjs
MIT
Copyright (c) 2017-2020 block.one and its contributors. All rights reserved.

The MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.


es-abstract
MIT
The MIT License (MIT)
Expand Down Expand Up @@ -5178,31 +5200,6 @@ SOFTWARE.



string.prototype.trim
MIT
The MIT License (MIT)

Copyright (c) 2015 Jordan Harband

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.


string_decoder
MIT
Node.js is licensed for use as follows:
Expand Down
1 change: 0 additions & 1 deletion angular-bare-bones-demo/dist/40.4176aa5be0fe3fb5.js

This file was deleted.

1 change: 0 additions & 1 deletion angular-bare-bones-demo/dist/475.e3436a297ca126a7.js

This file was deleted.

1 change: 1 addition & 0 deletions angular-bare-bones-demo/dist/639.c511f58df2809e7d.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions angular-bare-bones-demo/dist/729.372fe1c47762dd89.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion angular-bare-bones-demo/dist/795.848bcb9991594cbc.js

This file was deleted.

1 change: 1 addition & 0 deletions angular-bare-bones-demo/dist/819.64db6f88feb81de9.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions angular-bare-bones-demo/dist/819.f041a64911f370c9.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions angular-bare-bones-demo/dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="token-negotiator-examples/angular-bare-bones-demo/favicon.ico">
<style>@import"https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@200;400&display=swap.css"</style><link rel="stylesheet" href="/token-negotiator-examples/angular-bare-bones-demo/styles.fd78e2e75f2c24e1.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="/token-negotiator-examples/angular-bare-bones-demo/styles.fd78e2e75f2c24e1.css"></noscript></head>
<style>@import"https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@200;400&display=swap.css"</style><link rel="stylesheet" href="/token-negotiator-examples/angular-bare-bones-demo/styles.cc0799c55a473204.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="/token-negotiator-examples/angular-bare-bones-demo/styles.cc0799c55a473204.css"></noscript></head>
<body>
<app-root></app-root>
<script src="/token-negotiator-examples/angular-bare-bones-demo/runtime.1bc6671926b0ef76.js" type="module"></script><script src="/token-negotiator-examples/angular-bare-bones-demo/polyfills.4d7608bd69f2092d.js" type="module"></script><script src="/token-negotiator-examples/angular-bare-bones-demo/main.a8d558e9ae4aa57c.js" type="module"></script>
<script src="/token-negotiator-examples/angular-bare-bones-demo/runtime.1da778669d4d934d.js" type="module"></script><script src="/token-negotiator-examples/angular-bare-bones-demo/polyfills.4d7608bd69f2092d.js" type="module"></script><script src="/token-negotiator-examples/angular-bare-bones-demo/main.58aa68c02ade6f21.js" type="module"></script>

</body></html>
1 change: 1 addition & 0 deletions angular-bare-bones-demo/dist/main.58aa68c02ade6f21.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion angular-bare-bones-demo/dist/main.a8d558e9ae4aa57c.js

This file was deleted.

1 change: 1 addition & 0 deletions angular-bare-bones-demo/dist/main.c8cebfa7ad69acc1.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions angular-bare-bones-demo/dist/runtime.022ba78872adf2db.js

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

1 change: 0 additions & 1 deletion angular-bare-bones-demo/dist/runtime.1bc6671926b0ef76.js

This file was deleted.

1 change: 1 addition & 0 deletions angular-bare-bones-demo/dist/runtime.1da778669d4d934d.js

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

1 change: 1 addition & 0 deletions angular-bare-bones-demo/dist/styles.cc0799c55a473204.css

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion angular-bare-bones-demo/dist/styles.fd78e2e75f2c24e1.css

This file was deleted.

Loading

0 comments on commit adb6ead

Please sign in to comment.