@thi.ng/tangle 1.1.43 → 1.1.48

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 (2) hide show
  1. package/package.json +106 -106
  2. package/CHANGELOG.md +0 -88
package/package.json CHANGED
@@ -1,107 +1,107 @@
1
1
  {
2
- "name": "@thi.ng/tangle",
3
- "version": "1.1.43",
4
- "description": "Literate programming code block tangling / codegen utility, inspired by org-mode & noweb",
5
- "type": "module",
6
- "module": "./index.js",
7
- "typings": "./index.d.ts",
8
- "bin": "bin/tangle",
9
- "sideEffects": false,
10
- "repository": {
11
- "type": "git",
12
- "url": "https://github.com/thi-ng/umbrella.git"
13
- },
14
- "homepage": "https://thi.ng/tangle",
15
- "funding": [
16
- {
17
- "type": "github",
18
- "url": "https://github.com/sponsors/postspectacular"
19
- },
20
- {
21
- "type": "patreon",
22
- "url": "https://patreon.com/thing_umbrella"
23
- },
24
- {
25
- "type": "liberapay",
26
- "url": "https://liberapay.com/thi.ng"
27
- }
28
- ],
29
- "author": "Karsten Schmidt (https://thi.ng)",
30
- "license": "Apache-2.0",
31
- "scripts": {
32
- "build": "yarn build:esbuild && yarn build:decl",
33
- "build:decl": "tsc --declaration --emitDeclarationOnly",
34
- "build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
35
- "clean": "bun ../../tools/src/clean-package.ts",
36
- "doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
37
- "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
38
- "pub": "yarn npm publish --access public",
39
- "test": "bun test",
40
- "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
41
- },
42
- "dependencies": {
43
- "@thi.ng/api": "^8.12.2",
44
- "@thi.ng/args": "^3.1.1",
45
- "@thi.ng/checks": "^3.7.18",
46
- "@thi.ng/compare": "^2.4.28",
47
- "@thi.ng/date": "^2.7.64",
48
- "@thi.ng/errors": "^2.5.42",
49
- "@thi.ng/file-io": "^2.2.11",
50
- "@thi.ng/logger": "^3.2.1",
51
- "@thi.ng/strings": "^3.9.22",
52
- "@thi.ng/transducers": "^9.6.10"
53
- },
54
- "devDependencies": {
55
- "@types/node": "^24.3.0",
56
- "esbuild": "^0.25.9",
57
- "typedoc": "^0.28.12",
58
- "typescript": "^5.9.2"
59
- },
60
- "keywords": [
61
- "cli",
62
- "codegen",
63
- "generator",
64
- "literate-programming",
65
- "markdown",
66
- "org-mode",
67
- "parser",
68
- "rewrite",
69
- "tangle",
70
- "template",
71
- "text",
72
- "tool",
73
- "transclusion",
74
- "typescript",
75
- "variable"
76
- ],
77
- "publishConfig": {
78
- "access": "public"
79
- },
80
- "browser": {
81
- "process": false,
82
- "setTimeout": false
83
- },
84
- "engines": {
85
- "node": ">=18"
86
- },
87
- "files": [
88
- "./*.js",
89
- "./*.d.ts",
90
- "bin"
91
- ],
92
- "exports": {
93
- ".": {
94
- "default": "./index.js"
95
- },
96
- "./api": {
97
- "default": "./api.js"
98
- },
99
- "./tangle": {
100
- "default": "./tangle.js"
101
- }
102
- },
103
- "thi.ng": {
104
- "year": 2022
105
- },
106
- "gitHead": "fbf4b46ba8a5ecff8c5423f4c2d158d208d20fc8\n"
107
- }
2
+ "name": "@thi.ng/tangle",
3
+ "version": "1.1.48",
4
+ "description": "Literate programming code block tangling / codegen utility, inspired by org-mode & noweb",
5
+ "type": "module",
6
+ "module": "./index.js",
7
+ "typings": "./index.d.ts",
8
+ "bin": "bin/tangle",
9
+ "sideEffects": false,
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "https://github.com/thi-ng/umbrella.git"
13
+ },
14
+ "homepage": "https://thi.ng/tangle",
15
+ "funding": [
16
+ {
17
+ "type": "github",
18
+ "url": "https://github.com/sponsors/postspectacular"
19
+ },
20
+ {
21
+ "type": "patreon",
22
+ "url": "https://patreon.com/thing_umbrella"
23
+ },
24
+ {
25
+ "type": "liberapay",
26
+ "url": "https://liberapay.com/thi.ng"
27
+ }
28
+ ],
29
+ "author": "Karsten Schmidt (https://thi.ng)",
30
+ "license": "Apache-2.0",
31
+ "scripts": {
32
+ "build": "yarn build:esbuild && yarn build:decl",
33
+ "build:decl": "tsc --declaration --emitDeclarationOnly",
34
+ "build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
35
+ "clean": "bun ../../tools/src/clean-package.ts",
36
+ "doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
37
+ "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
38
+ "pub": "npm publish --access public",
39
+ "test": "bun test",
40
+ "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
41
+ },
42
+ "dependencies": {
43
+ "@thi.ng/api": "^8.12.7",
44
+ "@thi.ng/args": "^3.1.6",
45
+ "@thi.ng/checks": "^3.7.23",
46
+ "@thi.ng/compare": "^2.4.33",
47
+ "@thi.ng/date": "^2.7.69",
48
+ "@thi.ng/errors": "^2.5.47",
49
+ "@thi.ng/file-io": "^2.2.16",
50
+ "@thi.ng/logger": "^3.2.6",
51
+ "@thi.ng/strings": "^3.9.27",
52
+ "@thi.ng/transducers": "^9.6.15"
53
+ },
54
+ "devDependencies": {
55
+ "@types/node": "^24.9.1",
56
+ "esbuild": "^0.25.11",
57
+ "typedoc": "^0.28.14",
58
+ "typescript": "^5.9.3"
59
+ },
60
+ "keywords": [
61
+ "cli",
62
+ "codegen",
63
+ "generator",
64
+ "literate-programming",
65
+ "markdown",
66
+ "org-mode",
67
+ "parser",
68
+ "rewrite",
69
+ "tangle",
70
+ "template",
71
+ "text",
72
+ "tool",
73
+ "transclusion",
74
+ "typescript",
75
+ "variable"
76
+ ],
77
+ "publishConfig": {
78
+ "access": "public"
79
+ },
80
+ "browser": {
81
+ "process": false,
82
+ "setTimeout": false
83
+ },
84
+ "engines": {
85
+ "node": ">=18"
86
+ },
87
+ "files": [
88
+ "./*.js",
89
+ "./*.d.ts",
90
+ "bin"
91
+ ],
92
+ "exports": {
93
+ ".": {
94
+ "default": "./index.js"
95
+ },
96
+ "./api": {
97
+ "default": "./api.js"
98
+ },
99
+ "./tangle": {
100
+ "default": "./tangle.js"
101
+ }
102
+ },
103
+ "thi.ng": {
104
+ "year": 2022
105
+ },
106
+ "gitHead": "d977f819bcafdcb2b24c45f8d01a167fe29fc85a\n"
107
+ }
package/CHANGELOG.md DELETED
@@ -1,88 +0,0 @@
1
- # Change Log
2
-
3
- - **Last updated**: 2025-09-25T11:10:32Z
4
- - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
-
6
- All notable changes to this project will be documented in this file.
7
- Only versions published since **2022-01-01** are listed here.
8
- Please consult the Git history for older version information.
9
- See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
10
-
11
- **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
12
- and/or version bumps of transitive dependencies.
13
-
14
- ### [1.1.39](https://github.com/thi-ng/umbrella/tree/@thi.ng/tangle@1.1.39) (2025-09-25)
15
-
16
- #### ♻️ Refactoring
17
-
18
- - simplify CLI impl via cliApp() wrapper ([f6ae3be](https://github.com/thi-ng/umbrella/commit/f6ae3be))
19
-
20
- ### [1.1.34](https://github.com/thi-ng/umbrella/tree/@thi.ng/tangle@1.1.34) (2025-08-06)
21
-
22
- #### ♻️ Refactoring
23
-
24
- - update CLI internals, rename `--debug` => `--verbose` ([5756b75](https://github.com/thi-ng/umbrella/commit/5756b75))
25
-
26
- ## [1.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/tangle@1.1.0) (2025-02-11)
27
-
28
- #### 🚀 Features
29
-
30
- - update CLI wrapper ([8fd0ffb](https://github.com/thi-ng/umbrella/commit/8fd0ffb))
31
- - check if `bun` is available, otherwise fallback to `node`
32
-
33
- ### [0.2.17](https://github.com/thi-ng/umbrella/tree/@thi.ng/tangle@0.2.17) (2024-06-21)
34
-
35
- #### ♻️ Refactoring
36
-
37
- - enforce uniform naming convention of internal functions ([56992b2](https://github.com/thi-ng/umbrella/commit/56992b2))
38
-
39
- ## [0.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/tangle@0.2.0) (2024-03-07)
40
-
41
- #### 🚀 Features
42
-
43
- - add support for code blocks in JS/TS docstrings ([5b68f19](https://github.com/thi-ng/umbrella/commit/5b68f19))
44
- - update CodeBlockFormat, allow regexps as prefix/suffix
45
- - add optional body xform fn
46
- - add ".js", ".ts" as supported file extensions
47
- - update matching logic in extractBlocks()
48
-
49
- #### 🩹 Bug fixes
50
-
51
- - off-by-one error in extractBlocks() ([d7d7e03](https://github.com/thi-ng/umbrella/commit/d7d7e03))
52
-
53
- ### [0.1.86](https://github.com/thi-ng/umbrella/tree/@thi.ng/tangle@0.1.86) (2024-02-22)
54
-
55
- #### ♻️ Refactoring
56
-
57
- - update all `node:*` imports ([c71a526](https://github.com/thi-ng/umbrella/commit/c71a526))
58
-
59
- ### [0.1.83](https://github.com/thi-ng/umbrella/tree/@thi.ng/tangle@0.1.83) (2024-02-16)
60
-
61
- #### ♻️ Refactoring
62
-
63
- - update LOGGER handling ([69b58d6](https://github.com/thi-ng/umbrella/commit/69b58d6))
64
-
65
- ### [0.1.62](https://github.com/thi-ng/umbrella/tree/@thi.ng/tangle@0.1.62) (2023-11-09)
66
-
67
- #### ♻️ Refactoring
68
-
69
- - update all tests (packages T-Z) ([020ef6c](https://github.com/thi-ng/umbrella/commit/020ef6c))
70
-
71
- ### [0.1.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/tangle@0.1.1) (2022-09-22)
72
-
73
- #### 🩹 Bug fixes
74
-
75
- - in-memory rel path handling ([d184eb2](https://github.com/thi-ng/umbrella/commit/d184eb2))
76
- - update test fixtures
77
-
78
- ## [0.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/tangle@0.1.0) (2022-09-21)
79
-
80
- #### 🚀 Features
81
-
82
- - import as new package ([99e789e](https://github.com/thi-ng/umbrella/commit/99e789e))
83
- - update/fix tangle logic, filesys context, CLI ([85a3968](https://github.com/thi-ng/umbrella/commit/85a3968))
84
- - add block concatenation if multiple blocks w/ same target
85
- - fix block boundary regex
86
- - add absolute path checks for outputs
87
- - refactor TangleCtx, extract FileSys, update in-memory impl
88
- - expose CLI in package.json