@thi.ng/dlogic 2.0.7 → 2.1.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 +58 -29
  2. package/README.md +1 -1
  3. package/package.json +72 -67
package/CHANGELOG.md CHANGED
@@ -1,59 +1,88 @@
1
1
  # Change Log
2
2
 
3
+ - **Last updated**: 2021-11-21T17:09:28Z
4
+ - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
+
3
6
  All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
7
+ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
5
8
 
6
- ## [2.0.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/dlogic@2.0.6...@thi.ng/dlogic@2.0.7) (2021-11-03)
9
+ **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
10
+ and/or version bumps of transitive dependencies.
7
11
 
8
- **Note:** Version bump only for package @thi.ng/dlogic
12
+ ## [2.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/dlogic@2.1.0) (2021-11-17)
9
13
 
14
+ #### 🚀 Features
10
15
 
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
11
21
 
22
+ #### ♻️ Refactoring
12
23
 
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.
13
30
 
14
- # [2.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/dlogic@1.0.49...@thi.ng/dlogic@2.0.0) (2021-10-12)
31
+ ### [2.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/dlogic@2.0.1) (2021-10-13)
15
32
 
33
+ #### ♻️ Refactoring
16
34
 
17
- ### Build System
35
+ - update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
18
36
 
19
- * major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea9fab2a645d6c5f2bf2591459b939c09b6))
37
+ # [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/dlogic@2.0.0) (2021-10-12)
20
38
 
39
+ #### 🛑 Breaking changes
21
40
 
22
- ### BREAKING CHANGES
41
+ - major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea))
42
+ - BREAKING CHANGE: discontinue CommonJS & UMD versions
43
+ - only ESM modules will be published from now on
44
+ - CJS obsolete due to ESM support in recent versions of node:
45
+ - i.e. launch NodeJS via:
46
+ - `node --experimental-specifier-resolution=node --experimental-repl-await`
47
+ - in the node REPL use `await import(...)` instead of `require()`
48
+ - UMD obsolete due to widespread browser support for ESM
49
+ Also:
50
+ - normalize/restructure/reorg all package.json files
51
+ - cleanup all build scripts, remove obsolete
52
+ - switch from mocha to [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament) for all tests
23
53
 
24
- * discontinue CommonJS & UMD versions
54
+ #### ♻️ Refactoring
25
55
 
26
- - only ESM modules will be published from now on
27
- - CJS obsolete due to ESM support in recent versions of node:
28
- - i.e. launch NodeJS via:
29
- - `node --experimental-specifier-resolution=node --experimental-repl-await`
30
- - in the node REPL use `await import(...)` instead of `require()`
31
- - UMD obsolete due to widespread browser support for ESM
56
+ - update all test stubs ([f2d6d53](https://github.com/thi-ng/umbrella/commit/f2d6d53))
57
+ - update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
58
+ - update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
32
59
 
33
- Also:
34
- - normalize/restructure/reorg all package.json files
35
- - cleanup all build scripts, remove obsolete
36
- - switch from mocha to @thi.ng/testament for all tests
60
+ ### [1.0.35](https://github.com/thi-ng/umbrella/tree/@thi.ng/dlogic@1.0.35) (2020-12-07)
37
61
 
62
+ #### ♻️ Refactoring
38
63
 
64
+ - update type-only imports in various tests/pkgs ([3fd9c24](https://github.com/thi-ng/umbrella/commit/3fd9c24))
39
65
 
66
+ ### [1.0.31](https://github.com/thi-ng/umbrella/tree/@thi.ng/dlogic@1.0.31) (2020-09-13)
40
67
 
68
+ #### ♻️ Refactoring
41
69
 
70
+ - update deps, use new Fn types ([486cbcf](https://github.com/thi-ng/umbrella/commit/486cbcf))
42
71
 
43
- # [1.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/dlogic@0.1.2...@thi.ng/dlogic@1.0.0) (2019-01-21)
72
+ # [1.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/dlogic@1.0.0) (2019-01-21)
44
73
 
45
- ### Build System
74
+ #### 🛑 Breaking changes
46
75
 
47
76
  - update package build scripts & outputs, imports in ~50 packages ([b54b703](https://github.com/thi-ng/umbrella/commit/b54b703))
77
+ - BREAKING CHANGE: enabled multi-outputs (ES6 modules, CJS, UMD)
78
+ - build scripts now first build ES6 modules in package root, then call
79
+ `scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
80
+ - all imports MUST be updated to only refer to package level
81
+ (not individual files anymore). tree shaking in user land will get rid of
82
+ all unused imported symbols.
48
83
 
49
- ### BREAKING CHANGES
50
-
51
- - enabled multi-outputs (ES6 modules, CJS, UMD)
52
- - build scripts now first build ES6 modules in package root, then call `scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
53
- - all imports MUST be updated to only refer to package level (not individual files anymore). tree shaking in user land will get rid of all unused imported symbols.
54
-
55
- # 0.1.0 (2018-10-17)
84
+ ## [0.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/dlogic@0.1.0) (2018-10-17)
56
85
 
57
- ### Features
86
+ #### 🚀 Features
58
87
 
59
- - **dlogic:** add [@thi](https://github.com/thi).ng/dlogic package ([405cf51](https://github.com/thi-ng/umbrella/commit/405cf51))
88
+ - add [@thi.ng/dlogic](https://github.com/thi-ng/umbrella/tree/main/packages/dlogic) package ([405cf51](https://github.com/thi-ng/umbrella/commit/405cf51))
package/README.md CHANGED
@@ -57,7 +57,7 @@ node --experimental-repl-await
57
57
  > const dlogic = await import("@thi.ng/dlogic");
58
58
  ```
59
59
 
60
- Package sizes (gzipped, pre-treeshake): ESM: 378 bytes
60
+ Package sizes (gzipped, pre-treeshake): ESM: 393 bytes
61
61
 
62
62
  ## Dependencies
63
63
 
package/package.json CHANGED
@@ -1,69 +1,74 @@
1
1
  {
2
- "name": "@thi.ng/dlogic",
3
- "version": "2.0.7",
4
- "description": "Assorted digital logic ops / constructs",
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/dlogic",
3
+ "version": "2.1.2",
4
+ "description": "Assorted digital logic ops / constructs",
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/develop/packages/logic#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/develop/packages/logic#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
- },
39
- "devDependencies": {
40
- "@thi.ng/testament": "^0.1.6"
41
- },
42
- "keywords": [
43
- "boolean",
44
- "digital",
45
- "functional",
46
- "logic",
47
- "simulation",
48
- "typescript"
49
- ],
50
- "publishConfig": {
51
- "access": "public"
52
- },
53
- "engines": {
54
- "node": ">=12.7"
55
- },
56
- "files": [
57
- "*.js",
58
- "*.d.ts"
59
- ],
60
- "exports": {
61
- ".": {
62
- "import": "./index.js"
63
- }
64
- },
65
- "thi.ng": {
66
- "year": 2017
67
- },
68
- "gitHead": "852cd2450617c86d15d18477dc634f17f04202eb"
69
- }
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
+ },
39
+ "devDependencies": {
40
+ "@microsoft/api-extractor": "^7.18.19",
41
+ "@thi.ng/testament": "^0.2.2",
42
+ "rimraf": "^3.0.2",
43
+ "tools": "^0.0.1",
44
+ "typedoc": "^0.22.9",
45
+ "typescript": "^4.5.2"
46
+ },
47
+ "keywords": [
48
+ "boolean",
49
+ "digital",
50
+ "functional",
51
+ "logic",
52
+ "simulation",
53
+ "typescript"
54
+ ],
55
+ "publishConfig": {
56
+ "access": "public"
57
+ },
58
+ "engines": {
59
+ "node": ">=12.7"
60
+ },
61
+ "files": [
62
+ "*.js",
63
+ "*.d.ts"
64
+ ],
65
+ "exports": {
66
+ ".": {
67
+ "import": "./index.js"
68
+ }
69
+ },
70
+ "thi.ng": {
71
+ "year": 2017
72
+ },
73
+ "gitHead": "e8a7c2a40191b391cef182c2978e5a6c85987a87\n"
74
+ }