Skip to content

Commit c409f96

Browse files
committed
Auto-generated commit
1 parent 14262ed commit c409f96

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

.github/.keepalive

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2022-02-02T15:46:11.466Z

.github/workflows/bundle.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
timeout-minutes: 15
5454
- name: Bundle package for Deno
5555
id: deno-bundle
56-
uses: stdlib-js/deno-bundle-action@main
56+
uses: stdlib-js/bundle-action@main
5757
with:
5858
target: 'deno'
5959
- name: Rewrite file contents
@@ -109,7 +109,7 @@ jobs:
109109
timeout-minutes: 15
110110
- name: Create Universal Module Definition (UMD) bundle
111111
id: umd-bundle
112-
uses: stdlib-js/deno-bundle-action@main
112+
uses: stdlib-js/bundle-action@main
113113
with:
114114
target: 'umd'
115115
- name: Rewrite file contents
@@ -139,7 +139,7 @@ jobs:
139139
run: |
140140
mkdir -p esm
141141
cp README.md LICENSE CONTRIBUTORS NOTICE ./esm
142-
142+
143143
# Copy TypeScript definitions to esm directory:
144144
if [ -e ./docs/types/index.d.ts ]; then
145145
cp ./docs/types/index.d.ts ./esm/index.d.ts
@@ -158,7 +158,7 @@ jobs:
158158
timeout-minutes: 15
159159
- name: Create ES Module (ESM) bundle
160160
id: esm-bundle
161-
uses: stdlib-js/deno-bundle-action@main
161+
uses: stdlib-js/bundle-action@main
162162
with:
163163
target: 'esm'
164164
- name: Rewrite file contents
@@ -185,6 +185,9 @@ jobs:
185185
find ./esm -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe "s/<section class=\"cli\">[\s\S]+<\!\-\- \/.cli \-\->//g"
186186
find ./esm -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe "s/<section class=\"c\">[\s\S]+<\!\-\- \/.c \-\->//g"
187187
188+
# Rewrite examples section to be a HTML file:
189+
find ./esm -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe "s/\#\# Examples([\s\S]*)\`\`\`javascript([\s\S]+?)\`\`\`/\#\# Examples\1\`\`\`html\n<\!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<script type=\"module\">\n\2\n<\/script>\n<\/head>\n<\/html>\n\`\`\`/g"
190+
188191
- name: Publish to esm branch
189192
uses: peaceiris/actions-gh-pages@v3
190193
with:

NOTICE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Copyright (c) 2016-2021 The Stdlib Authors.
1+
Copyright (c) 2016-2022 The Stdlib Authors.

0 commit comments

Comments
 (0)