sheetr 1.0.0 → 1.0.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/CHANGELOG.md +8 -0
- package/README.md +10 -1
- package/package.json +5 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.0.1
|
|
4
|
+
|
|
5
|
+
No changes to how the library behaves; upgrading is safe.
|
|
6
|
+
|
|
7
|
+
- README: a picture of the library in action, and links to the new contributing guide, Discussions and Code of Conduct.
|
|
8
|
+
- The project is open to contributors: contributing guide, code of conduct, security policy, and issue and pull request templates.
|
|
9
|
+
- Added a GitHub Actions workflow that publishes new versions to npm with provenance.
|
|
10
|
+
|
|
3
11
|
## 1.0.0
|
|
4
12
|
|
|
5
13
|
First release: create and read Excel .xlsx files with zero dependencies.
|
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
<a href="https://www.npmjs.com/package/sheetr?activeTab=dependencies"><img src="https://img.shields.io/badge/dependencies-0-brightgreen" alt="zero dependencies"></a>
|
|
11
11
|
<a href="https://www.npmjs.com/package/sheetr"><img src="https://img.shields.io/npm/types/sheetr" alt="TypeScript types included"></a>
|
|
12
12
|
<a href="LICENSE"><img src="https://img.shields.io/npm/l/sheetr" alt="MIT license"></a>
|
|
13
|
-
<a href="
|
|
13
|
+
<a href="CONTRIBUTING.md"><img src="https://img.shields.io/badge/contributions-welcome-brightgreen" alt="contributions welcome"></a>
|
|
14
14
|
</p>
|
|
15
15
|
|
|
16
16
|
<p>
|
|
@@ -34,6 +34,13 @@ const file = toXlsx([
|
|
|
34
34
|
// → Uint8Array with a bold header row: name | age | joined
|
|
35
35
|
```
|
|
36
36
|
|
|
37
|
+
<p align="center">
|
|
38
|
+
<picture>
|
|
39
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/ckgiri/sheetr/main/docs/sheetr-preview-dark.png">
|
|
40
|
+
<img src="https://raw.githubusercontent.com/ckgiri/sheetr/main/docs/sheetr-preview.png" alt="Code that passes four invoice rows to toXlsx() and saves invoices.xlsx, next to the resulting sheet read back with readXlsx(): a bold header row, Indian-format amounts, TRUE/FALSE values, dates and Hindi text." width="100%">
|
|
41
|
+
</picture>
|
|
42
|
+
</p>
|
|
43
|
+
|
|
37
44
|
## ✨ Features
|
|
38
45
|
|
|
39
46
|
- 📝 **Write .xlsx**: from arrays of rows or arrays of objects, in one call
|
|
@@ -190,6 +197,8 @@ npm install
|
|
|
190
197
|
npm test
|
|
191
198
|
```
|
|
192
199
|
|
|
200
|
+
[CONTRIBUTING.md](CONTRIBUTING.md) covers setup, the project layout and the rules that keep sheetr reliable. Questions and ideas are welcome in [Discussions](https://github.com/ckgiri/sheetr/discussions), and everyone taking part follows the [Code of Conduct](CODE_OF_CONDUCT.md).
|
|
201
|
+
|
|
193
202
|
## Changelog
|
|
194
203
|
|
|
195
204
|
See [CHANGELOG.md](CHANGELOG.md).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sheetr",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Create and read Excel .xlsx files in Node.js and browsers, with zero dependencies.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"excel",
|
|
@@ -58,7 +58,10 @@
|
|
|
58
58
|
"build": "tsup",
|
|
59
59
|
"test": "vitest run",
|
|
60
60
|
"typecheck": "tsc -p .",
|
|
61
|
-
"prepublishOnly": "npm run typecheck && npm test && npm run build"
|
|
61
|
+
"prepublishOnly": "npm run typecheck && npm test && npm run build",
|
|
62
|
+
"release": "npm version patch && git push --follow-tags",
|
|
63
|
+
"release:minor": "npm version minor && git push --follow-tags",
|
|
64
|
+
"release:major": "npm version major && git push --follow-tags"
|
|
62
65
|
},
|
|
63
66
|
"devDependencies": {
|
|
64
67
|
"@types/node": "^20.14.0",
|