diff --git a/.github/.keepalive b/.github/.keepalive index bdd575c..00dbb0e 100644 --- a/.github/.keepalive +++ b/.github/.keepalive @@ -1 +1 @@ -2022-03-01T01:53:16.183Z +2022-03-16T08:39:30.333Z 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 `