@thi.ng/tangle 0.1.12 → 0.1.14

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2022-11-23T22:46:54Z
3
+ - **Last updated**: 2022-12-16T12:52:25Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
package/README.md CHANGED
@@ -1,10 +1,10 @@
1
1
  <!-- This file is generated - DO NOT EDIT! -->
2
2
 
3
- # ![tangle](https://media.thi.ng/umbrella/banners-20220914/thing-tangle.svg?1436490f)
3
+ # ![@thi.ng/tangle](https://media.thi.ng/umbrella/banners-20220914/thing-tangle.svg?1436490f)
4
4
 
5
5
  [![npm version](https://img.shields.io/npm/v/@thi.ng/tangle.svg)](https://www.npmjs.com/package/@thi.ng/tangle)
6
6
  ![npm downloads](https://img.shields.io/npm/dm/@thi.ng/tangle.svg)
7
- [![Twitter Follow](https://img.shields.io/twitter/follow/thing_umbrella.svg?style=flat-square&label=twitter)](https://twitter.com/thing_umbrella)
7
+ [![Mastodon Follow](https://img.shields.io/mastodon/follow/109331703950160316?domain=https%3A%2F%2Fmastodon.thi.ng&style=social)](https://mastodon.thi.ng/@toxi)
8
8
 
9
9
  This project is part of the
10
10
  [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo.
@@ -32,7 +32,7 @@ This project is part of the
32
32
 
33
33
  ## About
34
34
 
35
- Literate programming code block tangling / codegen utility, inspired by org-mode & noweb.
35
+ Literate programming code block tangling / codegen utility, inspired by org-mode & noweb
36
36
 
37
37
  [Literate Programming](https://en.wikipedia.org/wiki/Literate_programming) (LP)
38
38
  is a form of programming focused on creating documents of interleaved prose,
@@ -279,12 +279,12 @@ source file. E.g. this configuration (add to your VSCode workspace
279
279
 
280
280
  ```json
281
281
  "emeraldwalk.runonsave": {
282
- "commands": [
283
- {
284
- "match": "\\.lit\\.md$",
285
- "cmd": "${workspaceFolder}/node_modules/.bin/tangle ${file}"
286
- }
287
- ]
282
+ "commands": [
283
+ {
284
+ "match": "\\.lit\\.md$",
285
+ "cmd": "${workspaceFolder}/node_modules/.bin/tangle ${file}"
286
+ }
287
+ ]
288
288
  }
289
289
  ```
290
290
 
@@ -317,14 +317,11 @@ ES module import:
317
317
 
318
318
  For Node.js REPL:
319
319
 
320
- ```text
321
- # with flag only for < v16
322
- node --experimental-repl-await
323
-
324
- > const tangle = await import("@thi.ng/tangle");
320
+ ```js
321
+ const tangle = await import("@thi.ng/tangle");
325
322
  ```
326
323
 
327
- Package sizes (gzipped, pre-treeshake): ESM: 1.97 KB
324
+ Package sizes (brotli'd, pre-treeshake): ESM: 1.84 KB
328
325
 
329
326
  ## Dependencies
330
327
 
@@ -353,7 +350,7 @@ for usage examples.
353
350
 
354
351
  ## Authors
355
352
 
356
- Karsten Schmidt
353
+ - [Karsten Schmidt](https://thi.ng)
357
354
 
358
355
  If this project contributes to an academic publication, please cite it as:
359
356
 
@@ -368,4 +365,4 @@ If this project contributes to an academic publication, please cite it as:
368
365
 
369
366
  ## License
370
367
 
371
- &copy; 2022 Karsten Schmidt // Apache Software License 2.0
368
+ &copy; 2022 Karsten Schmidt // Apache License 2.0
package/api.d.ts CHANGED
@@ -19,7 +19,7 @@ export interface TangleRef {
19
19
  src: string;
20
20
  blocks: Record<string, Block>;
21
21
  }
22
- export declare type Blocks = Record<string, Block>;
22
+ export type Blocks = Record<string, Block>;
23
23
  export interface TangleCtx {
24
24
  /**
25
25
  * Code block marker definitions for current source file format. If not
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/tangle",
3
- "version": "0.1.12",
3
+ "version": "0.1.14",
4
4
  "description": "Literate programming code block tangling / codegen utility, inspired by org-mode & noweb",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -11,7 +11,7 @@
11
11
  "type": "git",
12
12
  "url": "https://github.com/thi-ng/umbrella.git"
13
13
  },
14
- "homepage": "https://github.com/thi-ng/umbrella/tree/master/packages/tangle#readme",
14
+ "homepage": "https://github.com/thi-ng/umbrella/tree/develop/packages/tangle#readme",
15
15
  "funding": [
16
16
  {
17
17
  "type": "github",
@@ -22,7 +22,7 @@
22
22
  "url": "https://patreon.com/thing_umbrella"
23
23
  }
24
24
  ],
25
- "author": "Karsten Schmidt <k+npm@thi.ng>",
25
+ "author": "Karsten Schmidt (https://thi.ng)",
26
26
  "license": "Apache-2.0",
27
27
  "scripts": {
28
28
  "build": "yarn clean && tsc --declaration",
@@ -35,24 +35,24 @@
35
35
  "test": "testament test"
36
36
  },
37
37
  "dependencies": {
38
- "@thi.ng/api": "^8.5.0",
39
- "@thi.ng/args": "^2.2.10",
40
- "@thi.ng/checks": "^3.3.3",
41
- "@thi.ng/compare": "^2.1.17",
42
- "@thi.ng/date": "^2.3.16",
43
- "@thi.ng/errors": "^2.2.4",
44
- "@thi.ng/file-io": "^0.3.20",
45
- "@thi.ng/logger": "^1.4.3",
46
- "@thi.ng/strings": "^3.3.18",
47
- "@thi.ng/transducers": "^8.3.24"
38
+ "@thi.ng/api": "^8.6.0",
39
+ "@thi.ng/args": "^2.2.12",
40
+ "@thi.ng/checks": "^3.3.5",
41
+ "@thi.ng/compare": "^2.1.19",
42
+ "@thi.ng/date": "^2.3.18",
43
+ "@thi.ng/errors": "^2.2.6",
44
+ "@thi.ng/file-io": "^0.3.22",
45
+ "@thi.ng/logger": "^1.4.5",
46
+ "@thi.ng/strings": "^3.3.20",
47
+ "@thi.ng/transducers": "^8.3.26"
48
48
  },
49
49
  "devDependencies": {
50
- "@microsoft/api-extractor": "^7.33.5",
51
- "@thi.ng/testament": "^0.3.5",
50
+ "@microsoft/api-extractor": "^7.33.7",
51
+ "@thi.ng/testament": "^0.3.7",
52
52
  "rimraf": "^3.0.2",
53
53
  "tools": "^0.0.1",
54
- "typedoc": "^0.23.20",
55
- "typescript": "^4.8.4"
54
+ "typedoc": "^0.23.22",
55
+ "typescript": "^4.9.4"
56
56
  },
57
57
  "keywords": [
58
58
  "codegen",
@@ -92,5 +92,5 @@
92
92
  "status": "alpha",
93
93
  "year": 2022
94
94
  },
95
- "gitHead": "75ec32ff7f1b7b5e72e7a04ace24732cd5d6c774\n"
95
+ "gitHead": "f445a9cc8022bcdebbf6ff91fd66ced016d72f01\n"
96
96
  }