@blockcerts/blockcerts-verifier 1.46.0 → 1.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ie11.js +36 -36
- package/dist/main.js +149 -149
- package/package.json +1 -1
- package/scripts/automated-update-blockcerts.org.sh +5 -22
package/package.json
CHANGED
|
@@ -2,38 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
# automate PR process to Blockcerts.org: update blockcerts-verifier dependency
|
|
4
4
|
GITHUB_COM=github.com
|
|
5
|
-
BLOCKCERTS_GITHUB_REPO=blockchain-certificates/blockchain-certificates.github.io
|
|
5
|
+
BLOCKCERTS_GITHUB_REPO=blockchain-certificates-web/blockchain-certificates-web.github.io
|
|
6
6
|
GIT_REPO=$GITHUB_COM/$BLOCKCERTS_GITHUB_REPO.git
|
|
7
|
-
WORK_BRANCH=
|
|
7
|
+
WORK_BRANCH=feat/update-bv
|
|
8
8
|
GITHUB_USER=botcerts
|
|
9
9
|
|
|
10
10
|
# clone CTS repo
|
|
11
11
|
git clone https://$GIT_REPO
|
|
12
|
-
cd blockchain-certificates.github.io
|
|
12
|
+
cd blockchain-certificates-web.github.io
|
|
13
13
|
|
|
14
14
|
# rename remote to add authentication
|
|
15
15
|
git remote rm origin
|
|
16
16
|
git remote add origin https://$GITHUB_USER:$BOTCERTS_PR_GITHUB_TOKEN@$GIT_REPO
|
|
17
17
|
|
|
18
|
-
#
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
# update blockcerts-verifier
|
|
22
|
-
npm install
|
|
23
|
-
npm i @blockcerts/blockcerts-verifier
|
|
24
|
-
|
|
25
|
-
# clean unwanted files. Note: we could also handle that with .gitignore
|
|
26
|
-
echo 'Clean unwanted files'
|
|
27
|
-
pwd
|
|
28
|
-
git clean -df
|
|
29
|
-
|
|
30
|
-
# commit
|
|
31
|
-
git status
|
|
32
|
-
git add .
|
|
33
|
-
git commit -m "chore(BUV): update to latest version"
|
|
34
|
-
|
|
35
|
-
# push
|
|
36
|
-
git push origin $WORK_BRANCH
|
|
18
|
+
# run script from client repo
|
|
19
|
+
. scripts/update_blockcerts_verifier.sh
|
|
37
20
|
|
|
38
21
|
# open PR
|
|
39
22
|
#{
|