@stdlib/error-tools-pkg2id-cli 0.0.3 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/publish_cli.yml +10 -10
- package/README.md +13 -2
- package/package.json +7 -7
|
@@ -61,13 +61,15 @@ jobs:
|
|
|
61
61
|
|
|
62
62
|
# Checkout cli branch:
|
|
63
63
|
- name: 'Checkout cli branch'
|
|
64
|
-
|
|
64
|
+
# Pin action to full length commit SHA corresponding to v4.1.0
|
|
65
|
+
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
|
|
65
66
|
with:
|
|
66
67
|
ref: cli
|
|
67
68
|
|
|
68
69
|
# Install Node.js:
|
|
69
70
|
- name: 'Install Node.js'
|
|
70
|
-
|
|
71
|
+
# Pin action to full length commit SHA corresponding to v3.8.1
|
|
72
|
+
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d
|
|
71
73
|
with:
|
|
72
74
|
node-version: 16
|
|
73
75
|
timeout-minutes: 5
|
|
@@ -103,11 +105,6 @@ jobs:
|
|
|
103
105
|
SLUG=${{ github.repository }}
|
|
104
106
|
git push "https://$GITHUB_ACTOR:$GITHUB_TOKEN@github.com/$SLUG.git" --follow-tags
|
|
105
107
|
|
|
106
|
-
# Replace LICENSE comments with abbreviated ones:
|
|
107
|
-
- name: 'Replace LICENSE comments with abbreviated ones'
|
|
108
|
-
run: |
|
|
109
|
-
find . -name "bin/cli" -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' {} \;
|
|
110
|
-
|
|
111
108
|
# Replace GitHub MathJax equations with SVGs:
|
|
112
109
|
- name: 'Replace GitHub MathJax equations with SVGs'
|
|
113
110
|
run: |
|
|
@@ -125,7 +122,8 @@ jobs:
|
|
|
125
122
|
|
|
126
123
|
# Publish package to npm:
|
|
127
124
|
- name: 'Publish package to npm'
|
|
128
|
-
|
|
125
|
+
# Pin action to full length commit SHA corresponding to v2.2.2
|
|
126
|
+
uses: JS-DevTools/npm-publish@fe72237be0920f7a0cafd6a966c9b929c9466e9b
|
|
129
127
|
with:
|
|
130
128
|
token: ${{ secrets.NPM_TOKEN }}
|
|
131
129
|
access: public
|
|
@@ -137,7 +135,8 @@ jobs:
|
|
|
137
135
|
|
|
138
136
|
# Send status to Slack channel if job fails:
|
|
139
137
|
- name: 'Send status to Slack channel in case of failure'
|
|
140
|
-
|
|
138
|
+
# Pin action to full length commit SHA corresponding to v2.0.0
|
|
139
|
+
uses: act10ns/slack@ed1309ab9862e57e9e583e51c7889486b9a00b0f
|
|
141
140
|
with:
|
|
142
141
|
status: ${{ job.status }}
|
|
143
142
|
steps: ${{ toJson(steps) }}
|
|
@@ -158,7 +157,8 @@ jobs:
|
|
|
158
157
|
|
|
159
158
|
# Cancel any running or queued workflow runs:
|
|
160
159
|
- name: 'Cancel running or queued workflow runs'
|
|
161
|
-
|
|
160
|
+
# Pin action to full length commit SHA corresponding to v0.11.0
|
|
161
|
+
uses: styfle/cancel-workflow-action@b173b6ec0100793626c2d9e6b90435061f4fc3e5
|
|
162
162
|
with:
|
|
163
163
|
workflow_id: >-
|
|
164
164
|
benchmark.yml,
|
package/README.md
CHANGED
|
@@ -18,6 +18,17 @@ limitations under the License.
|
|
|
18
18
|
|
|
19
19
|
-->
|
|
20
20
|
|
|
21
|
+
|
|
22
|
+
<details>
|
|
23
|
+
<summary>
|
|
24
|
+
About stdlib...
|
|
25
|
+
</summary>
|
|
26
|
+
<p>We believe in a future in which the web is a preferred environment for numerical computation. To help realize this future, we've built stdlib. stdlib is a standard library, with an emphasis on numerical and scientific computation, written in JavaScript (and C) for execution in browsers and in Node.js.</p>
|
|
27
|
+
<p>The library is fully decomposable, being architected in such a way that you can swap out and mix and match APIs and functionality to cater to your exact preferences and use cases.</p>
|
|
28
|
+
<p>When you use stdlib, you can be absolutely certain that you are using the most thorough, rigorous, well-written, studied, documented, tested, measured, and high-quality code out there.</p>
|
|
29
|
+
<p>To join us in bringing numerical computing to the web, get started by checking us out on <a href="https://github.com/stdlib-js/stdlib">GitHub</a>, and please consider <a href="https://opencollective.com/stdlib">financially supporting stdlib</a>. We greatly appreciate your continued support!</p>
|
|
30
|
+
</details>
|
|
31
|
+
|
|
21
32
|
# pkg2id
|
|
22
33
|
|
|
23
34
|
[![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] <!-- [![dependencies][dependencies-image]][dependencies-url] -->
|
|
@@ -173,8 +184,8 @@ Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].
|
|
|
173
184
|
[npm-image]: http://img.shields.io/npm/v/@stdlib/error-tools-pkg2id-cli.svg
|
|
174
185
|
[npm-url]: https://npmjs.org/package/@stdlib/error-tools-pkg2id-cli
|
|
175
186
|
|
|
176
|
-
[test-image]: https://github.com/stdlib-js/error-tools-pkg2id/actions/workflows/test.yml/badge.svg?branch=v0.
|
|
177
|
-
[test-url]: https://github.com/stdlib-js/error-tools-pkg2id/actions/workflows/test.yml?query=branch:v0.
|
|
187
|
+
[test-image]: https://github.com/stdlib-js/error-tools-pkg2id/actions/workflows/test.yml/badge.svg?branch=v0.1.1
|
|
188
|
+
[test-url]: https://github.com/stdlib-js/error-tools-pkg2id/actions/workflows/test.yml?query=branch:v0.1.1
|
|
178
189
|
|
|
179
190
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/error-tools-pkg2id/main.svg
|
|
180
191
|
[coverage-url]: https://codecov.io/github/stdlib-js/error-tools-pkg2id?branch=main
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/error-tools-pkg2id-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Return the error identifier prefix associated with a specified package name.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -25,14 +25,14 @@
|
|
|
25
25
|
"url": "https://github.com/stdlib-js/stdlib/issues"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@stdlib/cli-ctor": "^0.
|
|
29
|
-
"@stdlib/fs-read-file": "^0.
|
|
30
|
-
"@stdlib/error-tools-pkg2id": "0.
|
|
28
|
+
"@stdlib/cli-ctor": "^0.1.1",
|
|
29
|
+
"@stdlib/fs-read-file": "^0.1.1",
|
|
30
|
+
"@stdlib/error-tools-pkg2id": "0.1.1"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@stdlib/assert-is-browser": "^0.0
|
|
34
|
-
"@stdlib/assert-is-windows": "^0.0
|
|
35
|
-
"@stdlib/process-exec-path": "^0.0
|
|
33
|
+
"@stdlib/assert-is-browser": "^0.1.0",
|
|
34
|
+
"@stdlib/assert-is-windows": "^0.1.0",
|
|
35
|
+
"@stdlib/process-exec-path": "^0.1.0",
|
|
36
36
|
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
|
|
37
37
|
"istanbul": "^0.4.1",
|
|
38
38
|
"tap-min": "git+https://github.com/Planeshifter/tap-min.git"
|