You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/productionize.yml
+9-2Lines changed: 9 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,12 @@ on:
34
34
type: boolean
35
35
default: true
36
36
37
+
# Run workflow upon completion of `publish` workflow run:
38
+
workflow_run:
39
+
workflows: ["publish"]
40
+
types: [completed]
41
+
42
+
37
43
# Concurrency group to prevent multiple concurrent executions:
38
44
concurrency:
39
45
group: productionize
@@ -94,10 +100,11 @@ jobs:
94
100
# Change `@stdlib/string-format` to `@stdlib/error-tools-fmtprodmsg` in package.json if the former is a dependency, otherwise insert it as a dependency:
# Add entry for CLI package to See Also section of README.md:
144
+
cliPkgName=$(jq -r '.name' package.json)-cli
145
+
escapedPkg=$(echo "$cliPkgName" | sed -e 's/\//\\\//g')
146
+
escapedPkg=$(echo "$escapedPkg" | sed -e 's/\@/\\\@/g')
147
+
find . -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe "s/<section class=\"related\">(?:\n\n\* \* \*\n\n## See Also\n\n)?/<section class=\"related\">\n\n## See Also\n\n- <span class=\"package-name\">[\`$escapedPkg\`][$escapedPkg]<\/span><span class=\"delimiter\">: <\/span><span class=\"description\">CLI package for use as a command-line utility.<\/span>\n/"
148
+
149
+
# Add link definition for CLI package to README.md:
Copy file name to clipboardExpand all lines: README.md
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -252,7 +252,7 @@ var count = ctx.count;
252
252
- If provided a generic `array`, the returned iterator does **not** ignore holes. To achieve greater performance for sparse arrays, use a custom iterator.
253
253
- A returned iterator does **not** copy a provided array-like `object`. To ensure iterable reproducibility, copy a provided array-like `object`**before** creating an iterator. Otherwise, any changes to the contents of an array-like `object` will be reflected in the returned iterator.
254
254
- In environments supporting `Symbol.iterator`, the function **explicitly** does **not** invoke an array's `@@iterator` method, regardless of whether this method is defined. To convert an array to an implementation defined iterator, invoke this method directly.
255
-
- The returned iterator supports array-like objects having getter and setter accessors for array element access (e.g., [`@stdlib/array/complex64`][@stdlib/array/complex64]).
255
+
- The returned iterator supports array-like objects having getter and setter accessors for array element access (e.g., [`@stdlib/array-complex64`][@stdlib/array/complex64]).
256
256
257
257
</section>
258
258
@@ -313,10 +313,10 @@ while ( true ) {
313
313
314
314
## See Also
315
315
316
-
- <spanclass="package-name">[`@stdlib/array/from-iterator`][@stdlib/array/from-iterator]</span><spanclass="delimiter">: </span><spanclass="description">create (or fill) an array from an iterator.</span>
317
-
- <spanclass="package-name">[`@stdlib/array/to-iterator-right`][@stdlib/array/to-iterator-right]</span><spanclass="delimiter">: </span><spanclass="description">create an iterator from an array-like object, iterating from right to left.</span>
318
-
- <spanclass="package-name">[`@stdlib/array/to-strided-iterator`][@stdlib/array/to-strided-iterator]</span><spanclass="delimiter">: </span><spanclass="description">create an iterator from a strided array-like object.</span>
319
-
- <spanclass="package-name">[`@stdlib/array/to-view-iterator`][@stdlib/array/to-view-iterator]</span><spanclass="delimiter">: </span><spanclass="description">create an iterator from an array-like object view.</span>
316
+
- <spanclass="package-name">[`@stdlib/array-from-iterator`][@stdlib/array/from-iterator]</span><spanclass="delimiter">: </span><spanclass="description">create (or fill) an array from an iterator.</span>
317
+
- <spanclass="package-name">[`@stdlib/array-to-iterator-right`][@stdlib/array/to-iterator-right]</span><spanclass="delimiter">: </span><spanclass="description">create an iterator from an array-like object, iterating from right to left.</span>
318
+
- <spanclass="package-name">[`@stdlib/array-to-strided-iterator`][@stdlib/array/to-strided-iterator]</span><spanclass="delimiter">: </span><spanclass="description">create an iterator from a strided array-like object.</span>
319
+
- <spanclass="package-name">[`@stdlib/array-to-view-iterator`][@stdlib/array/to-view-iterator]</span><spanclass="delimiter">: </span><spanclass="description">create an iterator from an array-like object view.</span>
0 commit comments