diff --git a/.github/.keepalive b/.github/.keepalive deleted file mode 100644 index d7f4645..0000000 --- a/.github/.keepalive +++ /dev/null @@ -1 +0,0 @@ -2023-08-01T02:07:57.772Z diff --git a/.github/workflows/productionize.yml b/.github/workflows/productionize.yml index 334eb59..91f2b93 100644 --- a/.github/workflows/productionize.yml +++ b/.github/workflows/productionize.yml @@ -82,21 +82,6 @@ jobs: id: transform-error-messages uses: stdlib-js/transform-errors-action@main - # Format error messages: - - name: 'Replace double quotes with single quotes in rewritten format string error messages' - run: | - find . -name "*.js" -exec sed -E -i "s/Error\( format\( \"([a-zA-Z0-9]+)\"/Error\( format\( '\1'/g" {} \; - - # Format string literal error messages: - - name: 'Replace double quotes with single quotes in rewritten string literal error messages' - run: | - find . -name "*.js" -exec sed -E -i "s/Error\( format\(\"([a-zA-Z0-9]+)\"\)/Error\( format\( '\1' \)/g" {} \; - - # Format code: - - name: 'Replace double quotes with single quotes in inserted `require` calls' - run: | - find . -name "*.js" -exec sed -E -i "s/require\( ?\"@stdlib\/error-tools-fmtprodmsg\" ?\);/require\( '@stdlib\/error-tools-fmtprodmsg' \);/g" {} \; - # Change `@stdlib/string-format` to `@stdlib/error-tools-fmtprodmsg` in package.json if the former is a dependency, otherwise insert it as a dependency: - name: 'Update dependencies in package.json' run: | diff --git a/dist/index.d.ts b/dist/index.d.ts new file mode 100644 index 0000000..f9a2a5e --- /dev/null +++ b/dist/index.d.ts @@ -0,0 +1,3 @@ +/// +import FLOAT64_HIGH_WORD_ABS_MASK from '../docs/types/index'; +export = FLOAT64_HIGH_WORD_ABS_MASK; \ No newline at end of file diff --git a/dist/index.js b/dist/index.js new file mode 100644 index 0000000..4ea3e07 --- /dev/null +++ b/dist/index.js @@ -0,0 +1,3 @@ +"use strict";var f=2147483647;module.exports=f; +/** @license Apache-2.0 */ +//# sourceMappingURL=index.js.map diff --git a/dist/index.js.map b/dist/index.js.map new file mode 100644 index 0000000..20c9fa0 --- /dev/null +++ b/dist/index.js.map @@ -0,0 +1,7 @@ +{ + "version": 3, + "sources": ["../tmp/index.js"], + "sourcesContent": ["/** @license Apache-2.0 */\n'use strict';\nvar FLOAT64_HIGH_WORD_ABS_MASK = 0x7fffffff>>>0;\nmodule.exports = FLOAT64_HIGH_WORD_ABS_MASK;\n"], + "mappings": "aAEA,IAAIA,EAA6B,WACjC,OAAO,QAAUA", + "names": ["FLOAT64_HIGH_WORD_ABS_MASK"] +} diff --git a/test/test.js b/test/test.js index 7f063fc..9c693ae 100644 --- a/test/test.js +++ b/test/test.js @@ -28,7 +28,7 @@ var FLOAT64_HIGH_WORD_ABS_MASK = require( './../lib' ); // eslint-disable-line i // TESTS // -tape( 'the main export is a number', function test( t ) { +tape( 'main export is a number', function test( t ) { t.ok( true, __filename ); t.strictEqual( typeof FLOAT64_HIGH_WORD_ABS_MASK, 'number', 'main export is a number' ); t.end();