Skip to content

Commit 76579fb

Browse files
committed
Auto-generated commit
1 parent cc93d82 commit 76579fb

File tree

7 files changed

+18
-23
lines changed

7 files changed

+18
-23
lines changed

.github/workflows/productionize.yml

-15
Original file line numberDiff line numberDiff line change
@@ -82,21 +82,6 @@ jobs:
8282
id: transform-error-messages
8383
uses: stdlib-js/transform-errors-action@main
8484

85-
# Format error messages:
86-
- name: 'Replace double quotes with single quotes in rewritten format string error messages'
87-
run: |
88-
find . -name "*.js" -exec sed -E -i "s/Error\( format\( \"([a-zA-Z0-9]+)\"/Error\( format\( '\1'/g" {} \;
89-
90-
# Format string literal error messages:
91-
- name: 'Replace double quotes with single quotes in rewritten string literal error messages'
92-
run: |
93-
find . -name "*.js" -exec sed -E -i "s/Error\( format\(\"([a-zA-Z0-9]+)\"\)/Error\( format\( '\1' \)/g" {} \;
94-
95-
# Format code:
96-
- name: 'Replace double quotes with single quotes in inserted `require` calls'
97-
run: |
98-
find . -name "*.js" -exec sed -E -i "s/require\( ?\"@stdlib\/error-tools-fmtprodmsg\" ?\);/require\( '@stdlib\/error-tools-fmtprodmsg' \);/g" {} \;
99-
10085
# Change `@stdlib/string-format` to `@stdlib/error-tools-fmtprodmsg` in package.json if the former is a dependency, otherwise insert it as a dependency:
10186
- name: 'Update dependencies in package.json'
10287
run: |

.github/workflows/publish.yml

-5
Original file line numberDiff line numberDiff line change
@@ -149,11 +149,6 @@ jobs:
149149
# Add link definition for CLI package to README.md:
150150
find . -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe "s/<section class=\"links\">/<section class=\"links\">\n\n[$escapedPkg]: https:\/\/www.npmjs.com\/package\/$escapedPkg/"
151151
152-
# Replace LICENSE comments with abbreviated ones:
153-
- name: 'Replace LICENSE comments with abbreviated ones'
154-
run: |
155-
find . -name "*.js" -type f -exec perl -i -p0e 's|/\*\*\n\*\s\@license\sApache-2.0\n\*\n\*\sCopyright\s\(c\)\s\d{4}\sThe\sStdlib\sAuthors\.\n(.*?)\n\*\slimitations\sunder\sthe\sLicense\.\n\*/|// Copyright (c) 2023 The Stdlib Authors. License is Apache-2.0: http://www.apache.org/licenses/LICENSE-2.0|s' {} \;
156-
157152
# Replace GitHub MathJax equations with SVGs:
158153
- name: 'Replace GitHub MathJax equations with SVGs'
159154
run: |

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ Copyright &copy; 2016-2023. The Stdlib [Authors][stdlib-authors].
145145
[npm-image]: http://img.shields.io/npm/v/@stdlib/string-base-lowercase.svg
146146
[npm-url]: https://npmjs.org/package/@stdlib/string-base-lowercase
147147

148-
[test-image]: https://github.com/stdlib-js/string-base-lowercase/actions/workflows/test.yml/badge.svg?branch=v0.1.1
149-
[test-url]: https://github.com/stdlib-js/string-base-lowercase/actions/workflows/test.yml?query=branch:v0.1.1
148+
[test-image]: https://github.com/stdlib-js/string-base-lowercase/actions/workflows/test.yml/badge.svg?branch=main
149+
[test-url]: https://github.com/stdlib-js/string-base-lowercase/actions/workflows/test.yml?query=branch:main
150150

151151
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/string-base-lowercase/main.svg
152152
[coverage-url]: https://codecov.io/github/stdlib-js/string-base-lowercase?branch=main

dist/index.d.ts

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/// <reference path="../docs/types/index.d.ts" />
2+
import lowercase from '../docs/types/index';
3+
export = lowercase;

dist/index.js

+5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* Converts a string to lowercase.

0 commit comments

Comments
 (0)