Skip to content

Commit 12e97f2

Browse files
committed
📦 Dependency upgrade and funding notice mainly.
Prepared for 1.0.2 - `pnpm upgrade` for housekeeping. - Added funding notice to `package.json`. - Added `collectCoverage` to jest.
1 parent 13ecfca commit 12e97f2

File tree

3 files changed

+348
-337
lines changed

3 files changed

+348
-337
lines changed

RELEASE.md

Lines changed: 5 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -1,71 +1,9 @@
1-
# 1.0.1
1+
# 1.0.2
22

3-
Initial release.
4-
Enjoy.
3+
Dependency upgrade and funding notice mainly.
54

65
## Patch Changes
76

8-
* Wrestling with GitHub Actions and the `npm` CLI to get the
9-
package published properly. It has no impact on the API.
10-
11-
## Examples
12-
13-
```ts
14-
markdownTable(
15-
[`Trait`, `Absolute Value`, `Relative Value`],
16-
[`Units Per Em`, `${anatomy.unitsPerEm}`, `${relativized.unitsPerEm}`],
17-
[`Ascender`, `${anatomy.ascender}`, `${relativized.ascender}`],
18-
[`Descender`, `${anatomy.descender}`, `${relativized.descender}`],
19-
[`X-Height`, `${anatomy.xHeight}`, `${relativized.xHeight}`],
20-
[`Cap Height`, `${anatomy.capHeight}`, `${relativized.capHeight}`]
21-
);
22-
```
23-
24-
```ts
25-
markdownTable(
26-
["Attribute", "Value"],
27-
["Copyright", resolveLocalizedName(font.names.copyright)],
28-
["Description", resolveLocalizedName(font.names.description)],
29-
["Designer", resolveLocalizedName(font.names.designer)],
30-
["Designer URL", resolveLocalizedName(font.names.designerURL)],
31-
["Font Family", resolveLocalizedName(font.names.fontFamily)],
32-
["Font Subfamily", resolveLocalizedName(font.names.fontSubfamily)],
33-
["Full Name", resolveLocalizedName(font.names.fullName)],
34-
["License", resolveLocalizedName(font.names.license)],
35-
["License URL", resolveLocalizedName(font.names.licenseURL)],
36-
["Manufacturer", resolveLocalizedName(font.names.manufacturer)],
37-
["Manufacturer URL", resolveLocalizedName(font.names.manufacturerURL)],
38-
["postScript Name", resolveLocalizedName(font.names.postScriptName)],
39-
["Trademark", resolveLocalizedName(font.names.trademark)],
40-
["Version", resolveLocalizedName(font.names.version)],
41-
)
42-
````
43-
44-
The examples above yield the following tables below:
45-
46-
| Attribute | Value |
47-
| ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
48-
| Copyright | Copyright 2022 The Figtree Project Authors (<https://github.com/erikdkennedy/figtree>) |
49-
| Description | |
50-
| Designer | Erik Kennedy |
51-
| Designer URL | <https://erikdkennedy.com/> |
52-
| Font Family | Figtree Light |
53-
| Font Subfamily | Regular |
54-
| Full Name | Figtree Light |
55-
| License | This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is available with a FAQ at: <https://scripts.sil.org/OFL> |
56-
| License URL | <https://scripts.sil.org/OFL> |
57-
| Manufacturer | Erik Kennedy |
58-
| Manufacturer URL | <https://erikdkennedy.com/> |
59-
| postScript Name | Figtree-Light |
60-
| Trademark | |
61-
| Version | Version 2.001;gftools[0.9.30] |
62-
63-
and
64-
65-
| Trait | Absolute Value | Relative Value |
66-
| ------------ | -------------- | -------------- |
67-
| Units Per Em | 1000 | 1 |
68-
| Ascender | 950 | 0.95 |
69-
| Descender | -250 | -0.25 |
70-
| X-Height | 500 | 0.5 |
71-
| Cap Height | 700 | 0.7 |
7+
- `pnpm upgrade` for housekeeping.
8+
- Added funding notice to `package.json`.
9+
- Added `collectCoverage` to jest.

package.json

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@adam-rocska/markdown-table",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "A library with a simple API for generating Markdown tables.",
55
"keywords": [
66
"markdown",
@@ -32,6 +32,12 @@
3232
"bugs": {
3333
"url": "https://github.com/adam-rocska/markdown-table-typescript/issues"
3434
},
35+
"funding": [
36+
{
37+
"type": "github",
38+
"url": "https://github.com/sponsors/adam-rocska"
39+
}
40+
],
3541
"scripts": {
3642
"clean": "rimraf dist",
3743
"build": "bunchee",
@@ -46,9 +52,9 @@
4652
"eslint": "^8.57.0",
4753
"eslint-config-next": "14.2.5",
4854
"jest": "^29.7.0",
49-
"pnpm": "^9.7.0",
55+
"pnpm": "^9.9.0",
5056
"rimraf": "^6.0.1",
51-
"type-fest": "^4.24.0",
57+
"type-fest": "^4.26.0",
5258
"typescript": "^5.5.4"
5359
},
5460
"files": [
@@ -82,6 +88,9 @@
8288
"@swc/jest"
8389
]
8490
},
91+
"collectCoverageFrom": [
92+
"src/**/*.ts"
93+
],
8594
"testPathIgnorePatterns": [
8695
"/node_modules/"
8796
],

0 commit comments

Comments
 (0)