@thi.ng/markdown-table 0.2.7 → 0.3.2

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +57 -34
  2. package/README.md +1 -1
  3. package/package.json +86 -81
package/CHANGELOG.md CHANGED
@@ -1,56 +1,79 @@
1
1
  # Change Log
2
2
 
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- ## [0.2.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/markdown-table@0.2.6...@thi.ng/markdown-table@0.2.7) (2021-11-03)
7
-
8
- **Note:** Version bump only for package @thi.ng/markdown-table
9
-
10
-
3
+ - **Last updated**: 2021-11-21T17:09:28Z
4
+ - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
11
5
 
6
+ All notable changes to this project will be documented in this file.
7
+ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
12
8
 
9
+ **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
10
+ and/or version bumps of transitive dependencies.
13
11
 
14
- # [0.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/markdown-table@0.1.1...@thi.ng/markdown-table@0.2.0) (2021-10-12)
15
-
16
-
17
- ### Build System
18
-
19
- * major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea9fab2a645d6c5f2bf2591459b939c09b6))
20
-
12
+ ## [0.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/markdown-table@0.3.0) (2021-11-17)
21
13
 
22
- ### Features
14
+ #### 🚀 Features
23
15
 
24
- * **markdown-table:** allow fn keys for tableKeys() ([984ef8c](https://github.com/thi-ng/umbrella/commit/984ef8c85b7c20ceb1c798b48364bfb6f07d933d))
16
+ - Using workspaces for local tools ([bf7a404](https://github.com/thi-ng/umbrella/commit/bf7a404))
17
+ Improving the overall build ergonomics
18
+ - introduced a tools workspaces
19
+ - imported it in all needed packages/examples
20
+ - inclusive project root
25
21
 
22
+ #### ♻️ Refactoring
26
23
 
27
- ### BREAKING CHANGES
24
+ - testrunner to binary ([4ebbbb2](https://github.com/thi-ng/umbrella/commit/4ebbbb2))
25
+ this commit reverts (partly) changes made in:
26
+ ef346d7a8753590dc9094108a3d861a8dbd5dd2c
27
+ overall purpose is better testament ergonomics:
28
+ instead of having to pass NODE_OPTIONS with every invocation
29
+ having a binary to handle this for us.
28
30
 
29
- * discontinue CommonJS & UMD versions
31
+ ### [0.2.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/markdown-table@0.2.1) (2021-10-13)
30
32
 
31
- - only ESM modules will be published from now on
32
- - CJS obsolete due to ESM support in recent versions of node:
33
- - i.e. launch NodeJS via:
34
- - `node --experimental-specifier-resolution=node --experimental-repl-await`
35
- - in the node REPL use `await import(...)` instead of `require()`
36
- - UMD obsolete due to widespread browser support for ESM
33
+ #### ♻️ Refactoring
37
34
 
38
- Also:
39
- - normalize/restructure/reorg all package.json files
40
- - cleanup all build scripts, remove obsolete
41
- - switch from mocha to @thi.ng/testament for all tests
35
+ - update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
36
+ - update imports in all pkgs ([5fa2b6f](https://github.com/thi-ng/umbrella/commit/5fa2b6f))
37
+ - add .js suffix for all relative imports
42
38
 
39
+ ## [0.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/markdown-table@0.2.0) (2021-10-12)
43
40
 
41
+ #### 🛑 Breaking changes
44
42
 
43
+ - major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea))
44
+ - BREAKING CHANGE: discontinue CommonJS & UMD versions
45
+ - only ESM modules will be published from now on
46
+ - CJS obsolete due to ESM support in recent versions of node:
47
+ - i.e. launch NodeJS via:
48
+ - `node --experimental-specifier-resolution=node --experimental-repl-await`
49
+ - in the node REPL use `await import(...)` instead of `require()`
50
+ - UMD obsolete due to widespread browser support for ESM
51
+ Also:
52
+ - normalize/restructure/reorg all package.json files
53
+ - cleanup all build scripts, remove obsolete
54
+ - switch from mocha to [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament) for all tests
45
55
 
56
+ #### 🚀 Features
46
57
 
58
+ - allow fn keys for tableKeys() ([984ef8c](https://github.com/thi-ng/umbrella/commit/984ef8c))
59
+ - update deps (add [@thi.ng/checks](https://github.com/thi-ng/umbrella/tree/main/packages/checks), already a transient dep)
60
+ - update test
47
61
 
48
- ## [0.1.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/markdown-table@0.1.0...@thi.ng/markdown-table@0.1.1) (2021-09-03)
62
+ #### ♻️ Refactoring
49
63
 
50
- **Note:** Version bump only for package @thi.ng/markdown-table
64
+ - update deps & imports in various pkgs ([e1cf29e](https://github.com/thi-ng/umbrella/commit/e1cf29e))
65
+ - largely related to recent updates/restructuring of these packages:
66
+ - api
67
+ - defmulti
68
+ - errors
69
+ - logger
70
+ - update imports (transducers) ([a82f441](https://github.com/thi-ng/umbrella/commit/a82f441))
71
+ - update imports ([138571a](https://github.com/thi-ng/umbrella/commit/138571a))
72
+ - update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
73
+ - update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
51
74
 
52
- # 0.1.0 (2021-08-24)
75
+ ## [0.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/markdown-table@0.1.0) (2021-08-24)
53
76
 
54
- ### Features
77
+ #### 🚀 Features
55
78
 
56
- - **markdown-table:** import as new pkg ([4c8597e](https://github.com/thi-ng/umbrella/commit/4c8597ef271d5ccbd69e01b8abae3b0fa18e3ee3))
79
+ - import as new pkg ([4c8597e](https://github.com/thi-ng/umbrella/commit/4c8597e))
package/README.md CHANGED
@@ -58,7 +58,7 @@ node --experimental-repl-await
58
58
  > const markdownTable = await import("@thi.ng/markdown-table");
59
59
  ```
60
60
 
61
- Package sizes (gzipped, pre-treeshake): ESM: 633 bytes
61
+ Package sizes (gzipped, pre-treeshake): ESM: 643 bytes
62
62
 
63
63
  ## Dependencies
64
64
 
package/package.json CHANGED
@@ -1,86 +1,91 @@
1
1
  {
2
- "name": "@thi.ng/markdown-table",
3
- "version": "0.2.7",
4
- "description": "Markdown table formatter/generator with support for column alignments",
5
- "type": "module",
6
- "module": "./index.js",
7
- "typings": "./index.d.ts",
8
- "sideEffects": false,
9
- "repository": {
10
- "type": "git",
11
- "url": "https://github.com/thi-ng/umbrella.git"
2
+ "name": "@thi.ng/markdown-table",
3
+ "version": "0.3.2",
4
+ "description": "Markdown table formatter/generator with support for column alignments",
5
+ "type": "module",
6
+ "module": "./index.js",
7
+ "typings": "./index.d.ts",
8
+ "sideEffects": false,
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/thi-ng/umbrella.git"
12
+ },
13
+ "homepage": "https://github.com/thi-ng/umbrella/tree/master/packages/markdown-table#readme",
14
+ "funding": [
15
+ {
16
+ "type": "github",
17
+ "url": "https://github.com/sponsors/postspectacular"
12
18
  },
13
- "homepage": "https://github.com/thi-ng/umbrella/tree/master/packages/markdown-table#readme",
14
- "funding": [
15
- {
16
- "type": "github",
17
- "url": "https://github.com/sponsors/postspectacular"
18
- },
19
- {
20
- "type": "patreon",
21
- "url": "https://patreon.com/thing_umbrella"
22
- }
23
- ],
24
- "author": "Karsten Schmidt <k+npm@thi.ng>",
25
- "license": "Apache-2.0",
26
- "scripts": {
27
- "build": "yarn clean && tsc --declaration",
28
- "clean": "rimraf *.js *.d.ts *.map doc",
29
- "doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts",
30
- "doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
31
- "doc:readme": "yarn doc:stats && ../../scripts/node-esm ../../tools/src/readme.ts",
32
- "doc:stats": "../../scripts/node-esm ../../tools/src/module-stats.ts",
33
- "pub": "yarn build && yarn publish --access public",
34
- "test": "testament test"
35
- },
36
- "dependencies": {
37
- "@thi.ng/api": "^8.1.0",
38
- "@thi.ng/checks": "^3.0.6",
39
- "@thi.ng/compose": "^2.0.7",
40
- "@thi.ng/errors": "^2.0.6",
41
- "@thi.ng/strings": "^3.1.3",
42
- "@thi.ng/transducers": "^8.0.7"
19
+ {
20
+ "type": "patreon",
21
+ "url": "https://patreon.com/thing_umbrella"
22
+ }
23
+ ],
24
+ "author": "Karsten Schmidt <k+npm@thi.ng>",
25
+ "license": "Apache-2.0",
26
+ "scripts": {
27
+ "build": "yarn clean && tsc --declaration",
28
+ "clean": "rimraf '*.js' '*.d.ts' '*.map' doc",
29
+ "doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts",
30
+ "doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose",
31
+ "doc:readme": "yarn doc:stats && tools:readme",
32
+ "doc:stats": "tools:module-stats",
33
+ "pub": "yarn npm publish --access public",
34
+ "test": "testament test"
35
+ },
36
+ "dependencies": {
37
+ "@thi.ng/api": "^8.3.2",
38
+ "@thi.ng/checks": "^3.1.2",
39
+ "@thi.ng/compose": "^2.1.2",
40
+ "@thi.ng/errors": "^2.1.2",
41
+ "@thi.ng/strings": "^3.2.2",
42
+ "@thi.ng/transducers": "^8.1.2"
43
+ },
44
+ "devDependencies": {
45
+ "@microsoft/api-extractor": "^7.18.19",
46
+ "@thi.ng/testament": "^0.2.2",
47
+ "rimraf": "^3.0.2",
48
+ "tools": "^0.0.1",
49
+ "typedoc": "^0.22.9",
50
+ "typescript": "^4.5.2"
51
+ },
52
+ "keywords": [
53
+ "align",
54
+ "ascii",
55
+ "format",
56
+ "generator",
57
+ "markdown",
58
+ "table",
59
+ "text",
60
+ "typescript"
61
+ ],
62
+ "publishConfig": {
63
+ "access": "public"
64
+ },
65
+ "engines": {
66
+ "node": ">=12.7"
67
+ },
68
+ "files": [
69
+ "*.js",
70
+ "*.d.ts"
71
+ ],
72
+ "exports": {
73
+ ".": {
74
+ "import": "./index.js"
43
75
  },
44
- "devDependencies": {
45
- "@thi.ng/testament": "^0.1.6"
76
+ "./api": {
77
+ "import": "./api.js"
46
78
  },
47
- "keywords": [
48
- "align",
49
- "ascii",
50
- "format",
51
- "generator",
52
- "markdown",
53
- "table",
54
- "text",
55
- "typescript"
79
+ "./table": {
80
+ "import": "./table.js"
81
+ }
82
+ },
83
+ "thi.ng": {
84
+ "related": [
85
+ "hiccup-markdown",
86
+ "text-canvas"
56
87
  ],
57
- "publishConfig": {
58
- "access": "public"
59
- },
60
- "engines": {
61
- "node": ">=12.7"
62
- },
63
- "files": [
64
- "*.js",
65
- "*.d.ts"
66
- ],
67
- "exports": {
68
- ".": {
69
- "import": "./index.js"
70
- },
71
- "./api": {
72
- "import": "./api.js"
73
- },
74
- "./table": {
75
- "import": "./table.js"
76
- }
77
- },
78
- "thi.ng": {
79
- "related": [
80
- "hiccup-markdown",
81
- "text-canvas"
82
- ],
83
- "year": 2021
84
- },
85
- "gitHead": "852cd2450617c86d15d18477dc634f17f04202eb"
86
- }
88
+ "year": 2021
89
+ },
90
+ "gitHead": "e8a7c2a40191b391cef182c2978e5a6c85987a87\n"
91
+ }