From e04887fe6f623a678ffc5128d51dde1fc47f26a4 Mon Sep 17 00:00:00 2001 From: stdlib-bot Date: Wed, 16 Mar 2022 08:08:22 +0000 Subject: [PATCH] Auto-generated commit --- .github/.keepalive | 2 +- .github/workflows/bundle.yml | 13 +++- .github/workflows/publish.yml | 24 ++++++++ .github/workflows/test_bundles.yml | 99 ++++++++++++++++++++++++++++++ README.md | 14 ++--- package.json | 2 +- 6 files changed, 143 insertions(+), 11 deletions(-) create mode 100644 .github/workflows/test_bundles.yml diff --git a/.github/.keepalive b/.github/.keepalive index 9177d8e..96ed19f 100644 --- a/.github/.keepalive +++ b/.github/.keepalive @@ -1 +1 @@ -2022-03-01T01:07:57.536Z +2022-03-16T08:08:21.922Z diff --git a/.github/workflows/bundle.yml b/.github/workflows/bundle.yml index 83046d2..c52c372 100644 --- a/.github/workflows/bundle.yml +++ b/.github/workflows/bundle.yml @@ -65,8 +65,8 @@ jobs: # Replace links to other packages with links to the deno branch: find ./deno -type f -name '*.md' -print0 | xargs -0 sed -Ei "/\/tree\/main/b; /^\[@stdlib[^:]+: https:\/\/github.com\/stdlib-js\// s/(.*)/\\1\/tree\/deno/"; - # Replace reference to `@stdlib/types` with deno.land link: - find ./deno -type f -name '*.ts' -print0 | xargs -0 sed -Ei "s/\/\/\/ /\/\/\/ /g" + # Replace reference to `@stdlib/types` with CDN link: + find ./deno -type f -name '*.ts' -print0 | xargs -0 sed -Ei "s/\/\/\/ /\/\/\/ /g" # Change wording of project description to avoid reference to JavaScript and Node.js: find ./deno -type f -name '*.md' -print0 | xargs -0 sed -Ei "s/a standard library for JavaScript and Node.js, /a standard library /g" @@ -83,6 +83,9 @@ jobs: find ./deno -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe "s/(\* \* \*\n+)?
[\s\S]+<\!\-\- \/.cli \-\->//g" find ./deno -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe "s/(\* \* \*\n+)?
[\s\S]+<\!\-\- \/.c \-\->//g" + # Create package.json file for deno branch: + jq --indent 2 '{"name": .name, "version": .version, "description": .description, "license": .license, "type": "module", "main": "./mod.js", "homepage": .homepage, "repository": .repository, "bugs": .bugs, "keywords": .keywords, "funding": .funding}' package.json > ./deno/package.json + - name: Publish to deno branch uses: peaceiris/actions-gh-pages@v3 with: @@ -152,6 +155,9 @@ jobs: # Wrap contents of `