ts-data-forge 14.2.0 → 14.2.1
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/README.md +7 -7
- package/package.json +29 -14
package/README.md
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/ts-data-forge)
|
|
4
4
|
[](https://www.npmjs.com/package/ts-data-forge)
|
|
5
|
-
[](
|
|
6
|
-
[](https://github.com/noshiro-pf/mono/blob/main/libs/ts-data-forge/LICENSE)
|
|
6
|
+
[](https://codecov.io/gh/noshiro-pf/mono)
|
|
7
7
|
|
|
8
8
|
**ts-data-forge** is a TypeScript utility library that provides type-safe functional programming utilities with zero runtime dependencies. It aims to enhance development robustness, maintainability, and correctness by leveraging TypeScript's powerful type system.
|
|
9
9
|
|
|
10
10
|
## Perfect Companion to ts-type-forge
|
|
11
11
|
|
|
12
|
-
**ts-data-forge** is designed as the ideal runtime companion to [**ts-type-forge**](https://github.com/noshiro-pf/ts-type-forge), a powerful type utility library. While ts-type-forge provides compile-time type utilities for advanced TypeScript type manipulation, ts-data-forge complements it with runtime utilities that maintain the same level of type safety.
|
|
12
|
+
**ts-data-forge** is designed as the ideal runtime companion to [**ts-type-forge**](https://github.com/noshiro-pf/mono/tree/main/libs/ts-type-forge), a powerful type utility library. While ts-type-forge provides compile-time type utilities for advanced TypeScript type manipulation, ts-data-forge complements it with runtime utilities that maintain the same level of type safety.
|
|
13
13
|
|
|
14
14
|
Together, they form a complete TypeScript development toolkit:
|
|
15
15
|
|
|
@@ -76,7 +76,7 @@ ts-data-forge works best with strict TypeScript settings:
|
|
|
76
76
|
|
|
77
77
|
## Core Modules
|
|
78
78
|
|
|
79
|
-
### 🎯 [Functional Programming](
|
|
79
|
+
### 🎯 [Functional Programming](https://noshiro-pf.github.io/ts-data-forge/)
|
|
80
80
|
|
|
81
81
|
Essential FP utilities for cleaner, more reliable code.
|
|
82
82
|
|
|
@@ -108,7 +108,7 @@ Type-safe array and tuple utilities with functional programming patterns.
|
|
|
108
108
|
- **Array Utils** - Comprehensive array manipulation functions
|
|
109
109
|
- **Tuple Utils** - Type-safe tuple operations with compile-time guarantees
|
|
110
110
|
|
|
111
|
-
### 📦 [Collections](
|
|
111
|
+
### 📦 [Collections](https://noshiro-pf.github.io/ts-data-forge/)
|
|
112
112
|
|
|
113
113
|
Immutable data structures for safer state management.
|
|
114
114
|
|
|
@@ -677,8 +677,8 @@ export default defineConfig({
|
|
|
677
677
|
|
|
678
678
|
## Contributing
|
|
679
679
|
|
|
680
|
-
Contributions are welcome! Please see [CONTRIBUTING.md](
|
|
680
|
+
Contributions are welcome! Please see [CONTRIBUTING.md](https://github.com/noshiro-pf/mono/blob/main/libs/ts-data-forge/CONTRIBUTING.md) for detailed guidelines on how to contribute to this project.
|
|
681
681
|
|
|
682
682
|
## License
|
|
683
683
|
|
|
684
|
-
This project is licensed under the [Apache License 2.0](
|
|
684
|
+
This project is licensed under the [Apache License 2.0](https://github.com/noshiro-pf/mono/blob/main/libs/ts-data-forge/LICENSE).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ts-data-forge",
|
|
3
|
-
"version": "14.2.
|
|
3
|
+
"version": "14.2.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript",
|
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
],
|
|
13
13
|
"repository": {
|
|
14
14
|
"type": "git",
|
|
15
|
-
"url": "git+https://github.com/noshiro-pf/
|
|
15
|
+
"url": "git+https://github.com/noshiro-pf/mono.git",
|
|
16
|
+
"directory": "libs/ts-data-forge"
|
|
16
17
|
},
|
|
17
18
|
"license": "Apache-2.0",
|
|
18
19
|
"author": "noshiro-pf <noshiro.pf@gmail.com>",
|
|
@@ -36,17 +37,31 @@
|
|
|
36
37
|
],
|
|
37
38
|
"dependencies": {
|
|
38
39
|
"@sindresorhus/is": "^8.1.0",
|
|
39
|
-
"ts-type-forge": "~9.1
|
|
40
|
+
"ts-type-forge": "~9.2.1"
|
|
40
41
|
},
|
|
41
42
|
"devDependencies": {
|
|
42
43
|
"@emotion/react": "11.14.0",
|
|
43
44
|
"@emotion/styled": "11.14.1",
|
|
44
45
|
"@mui/material": "9.2.0",
|
|
46
|
+
"@rollup/plugin-replace": "6.0.3",
|
|
47
|
+
"@rollup/plugin-strip": "3.0.4",
|
|
45
48
|
"@types/react": "19.2.18",
|
|
49
|
+
"@vitest/browser-playwright": "4.1.10",
|
|
50
|
+
"dedent": "1.7.2",
|
|
46
51
|
"immer": "11.1.15",
|
|
52
|
+
"prettier": "3.9.6",
|
|
53
|
+
"prettier-plugin-organize-imports": "4.3.0",
|
|
54
|
+
"prettier-plugin-packagejson": "3.0.2",
|
|
47
55
|
"react": "19.2.8",
|
|
56
|
+
"rollup": "4.62.4",
|
|
57
|
+
"rollup-plugin-esbuild": "6.2.1",
|
|
48
58
|
"typedoc": "0.28.20",
|
|
49
|
-
"typedoc-github-theme": "0.4.0"
|
|
59
|
+
"typedoc-github-theme": "0.4.0",
|
|
60
|
+
"vite": "8.2.0",
|
|
61
|
+
"eslint-config-typed": "5.8.5",
|
|
62
|
+
"eslint-plugin-ts-fortress": "1.0.1",
|
|
63
|
+
"eslint-plugin-ts-type-forge": "0.6.3",
|
|
64
|
+
"ts-repo-utils": "10.2.0"
|
|
50
65
|
},
|
|
51
66
|
"peerDependencies": {
|
|
52
67
|
"typescript": ">=4.8"
|
|
@@ -60,20 +75,20 @@
|
|
|
60
75
|
"provenance": true
|
|
61
76
|
},
|
|
62
77
|
"scripts": {
|
|
63
|
-
"build": "tsx ./scripts/cmd/build.mts",
|
|
64
|
-
"build:min": "tsx ./scripts/cmd/build.mts --skip-check",
|
|
65
|
-
"check:ext": "tsx ./scripts/cmd/check-ext.mts",
|
|
66
|
-
"doc": "tsx ./scripts/cmd/gen-docs.mts",
|
|
67
|
-
"doc:embed": "tsx ./scripts/cmd/embed-examples.mts",
|
|
68
|
-
"doc:embed:jsdoc": "tsx ./scripts/cmd/embed-examples-in-jsdoc.mts",
|
|
78
|
+
"build": "tsx --tsconfig ../../tools/configs/tsconfig.tsx.json ./scripts/cmd/build.mts",
|
|
79
|
+
"build:min": "tsx --tsconfig ../../tools/configs/tsconfig.tsx.json ./scripts/cmd/build.mts --skip-check",
|
|
80
|
+
"check:ext": "tsx --tsconfig ../../tools/configs/tsconfig.tsx.json ./scripts/cmd/check-ext.mts",
|
|
81
|
+
"doc": "tsx --tsconfig ../../tools/configs/tsconfig.tsx.json ./scripts/cmd/gen-docs.mts",
|
|
82
|
+
"doc:embed": "tsx --tsconfig ../../tools/configs/tsconfig.tsx.json ./scripts/cmd/embed-examples.mts",
|
|
83
|
+
"doc:embed:jsdoc": "tsx --tsconfig ../../tools/configs/tsconfig.tsx.json ./scripts/cmd/embed-examples-in-jsdoc.mts",
|
|
69
84
|
"doc:preview": "vite preview --config ./configs/vite.doc.config.mts",
|
|
70
85
|
"doc:watch": "typedoc --options ./configs/typedoc.config.mjs --watch",
|
|
71
|
-
"fmt": "format-uncommitted --cwd .",
|
|
72
|
-
"fmt:diff": "format-diff-from origin/main --cwd .",
|
|
86
|
+
"fmt": "tsx --tsconfig ../../tools/configs/tsconfig.tsx.json ../../libs/ts-repo-utils/src/cmd/format-uncommitted.mts --cwd .",
|
|
87
|
+
"fmt:diff": "tsx --tsconfig ../../tools/configs/tsconfig.tsx.json ../../libs/ts-repo-utils/src/cmd/format-diff-from.mts origin/main --cwd .",
|
|
73
88
|
"fmt:full": "pnpm run z:prettier .",
|
|
74
|
-
"gen:branded-number": "tsx ./scripts/gen-branded-number/generate.mts && pnpm run doc:embed:jsdoc && pnpm run z:prettier 'src/number/branded-types/*.mts' 'src/number/enum/*.mts'",
|
|
89
|
+
"gen:branded-number": "tsx --tsconfig ../../tools/configs/tsconfig.tsx.json ./scripts/gen-branded-number/generate.mts && pnpm run doc:embed:jsdoc && pnpm run z:prettier 'src/number/branded-types/*.mts' 'src/number/enum/*.mts'",
|
|
75
90
|
"gi": "run-s gi:src fmt",
|
|
76
|
-
"gi:src": "tsx scripts/cmd/gen-index.mts",
|
|
91
|
+
"gi:src": "tsx --tsconfig ../../tools/configs/tsconfig.tsx.json scripts/cmd/gen-index.mts",
|
|
77
92
|
"lint": "eslint .",
|
|
78
93
|
"lint:fix": "eslint . --fix",
|
|
79
94
|
"test": "pnpm run z:vitest:node run",
|