@twin.org/nameof 0.0.1-next.9 → 0.0.2-next.10

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/docs/changelog.md CHANGED
@@ -1,5 +1,370 @@
1
1
  # @twin.org/nameof - Changelog
2
2
 
3
- ## v0.0.1-next.9
3
+ ## [0.0.2-next.10](https://github.com/twinfoundation/framework/compare/nameof-v0.0.2-next.9...nameof-v0.0.2-next.10) (2025-09-11)
4
+
5
+
6
+ ### Miscellaneous Chores
7
+
8
+ * **nameof:** Synchronize repo versions
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * devDependencies
15
+ * @twin.org/nameof-transformer bumped from 0.0.2-next.9 to 0.0.2-next.10
16
+
17
+ ## [0.0.2-next.9](https://github.com/twinfoundation/framework/compare/nameof-v0.0.2-next.8...nameof-v0.0.2-next.9) (2025-09-08)
18
+
19
+
20
+ ### Miscellaneous Chores
21
+
22
+ * **nameof:** Synchronize repo versions
23
+
24
+
25
+ ### Dependencies
26
+
27
+ * The following workspace dependencies were updated
28
+ * devDependencies
29
+ * @twin.org/nameof-transformer bumped from 0.0.2-next.8 to 0.0.2-next.9
30
+
31
+ ## [0.0.2-next.8](https://github.com/twinfoundation/framework/compare/nameof-v0.0.2-next.7...nameof-v0.0.2-next.8) (2025-09-05)
32
+
33
+
34
+ ### Miscellaneous Chores
35
+
36
+ * **nameof:** Synchronize repo versions
37
+
38
+
39
+ ### Dependencies
40
+
41
+ * The following workspace dependencies were updated
42
+ * devDependencies
43
+ * @twin.org/nameof-transformer bumped from 0.0.2-next.7 to 0.0.2-next.8
44
+
45
+ ## [0.0.2-next.7](https://github.com/twinfoundation/framework/compare/nameof-v0.0.2-next.6...nameof-v0.0.2-next.7) (2025-08-29)
46
+
47
+
48
+ ### Features
49
+
50
+ * eslint migration to flat config ([74427d7](https://github.com/twinfoundation/framework/commit/74427d78d342167f7850e49ab87269326355befe))
51
+
52
+
53
+ ### Dependencies
54
+
55
+ * The following workspace dependencies were updated
56
+ * devDependencies
57
+ * @twin.org/nameof-transformer bumped from 0.0.2-next.6 to 0.0.2-next.7
58
+
59
+ ## [0.0.2-next.6](https://github.com/twinfoundation/framework/compare/nameof-v0.0.2-next.5...nameof-v0.0.2-next.6) (2025-08-27)
60
+
61
+
62
+ ### Miscellaneous Chores
63
+
64
+ * **nameof:** Synchronize repo versions
65
+
66
+
67
+ ### Dependencies
68
+
69
+ * The following workspace dependencies were updated
70
+ * devDependencies
71
+ * @twin.org/nameof-transformer bumped from 0.0.2-next.5 to 0.0.2-next.6
72
+
73
+ ## [0.0.2-next.5](https://github.com/twinfoundation/framework/compare/nameof-v0.0.2-next.4...nameof-v0.0.2-next.5) (2025-08-19)
74
+
75
+
76
+ ### Features
77
+
78
+ * use cause instead of inner for errors ([1f4acc4](https://github.com/twinfoundation/framework/commit/1f4acc4d7a6b71a134d9547da9bf40de1e1e49da))
79
+
80
+
81
+ ### Dependencies
82
+
83
+ * The following workspace dependencies were updated
84
+ * devDependencies
85
+ * @twin.org/nameof-transformer bumped from 0.0.2-next.4 to 0.0.2-next.5
86
+
87
+ ## [0.0.2-next.4](https://github.com/twinfoundation/framework/compare/nameof-v0.0.2-next.3...nameof-v0.0.2-next.4) (2025-08-15)
88
+
89
+
90
+ ### Miscellaneous Chores
91
+
92
+ * **nameof:** Synchronize repo versions
93
+
94
+
95
+ ### Dependencies
96
+
97
+ * The following workspace dependencies were updated
98
+ * devDependencies
99
+ * @twin.org/nameof-transformer bumped from 0.0.2-next.3 to 0.0.2-next.4
100
+
101
+ ## [0.0.2-next.3](https://github.com/twinfoundation/framework/compare/nameof-v0.0.2-next.2...nameof-v0.0.2-next.3) (2025-08-06)
102
+
103
+
104
+ ### Features
105
+
106
+ * relocate core packages from tools ([bcab8f3](https://github.com/twinfoundation/framework/commit/bcab8f3160442ea4fcaf442947462504f3d6a17d))
107
+ * update dependencies ([f3bd015](https://github.com/twinfoundation/framework/commit/f3bd015efd169196b7e0335f5cab876ba6ca1d75))
108
+
109
+
110
+ ### Bug Fixes
111
+
112
+ * repo urls in package.json for moved packages ([31ae463](https://github.com/twinfoundation/framework/commit/31ae463095dfa8c0e48bb5bb12316f1e8abb9a4c))
113
+
114
+
115
+ ### Dependencies
116
+
117
+ * The following workspace dependencies were updated
118
+ * devDependencies
119
+ * @twin.org/nameof-transformer bumped from 0.0.2-next.2 to 0.0.2-next.3
120
+
121
+ ## [0.0.2-next.2](https://github.com/twinfoundation/framework/compare/nameof-v0.0.2-next.1...nameof-v0.0.2-next.2) (2025-08-06)
122
+
123
+
124
+ ### Features
125
+
126
+ * relocate core packages from tools ([bcab8f3](https://github.com/twinfoundation/framework/commit/bcab8f3160442ea4fcaf442947462504f3d6a17d))
127
+ * update dependencies ([f3bd015](https://github.com/twinfoundation/framework/commit/f3bd015efd169196b7e0335f5cab876ba6ca1d75))
128
+
129
+
130
+ ### Bug Fixes
131
+
132
+ * repo urls in package.json for moved packages ([31ae463](https://github.com/twinfoundation/framework/commit/31ae463095dfa8c0e48bb5bb12316f1e8abb9a4c))
133
+
134
+
135
+ ### Dependencies
136
+
137
+ * The following workspace dependencies were updated
138
+ * devDependencies
139
+ * @twin.org/nameof-transformer bumped from 0.0.2-next.1 to 0.0.2-next.2
140
+
141
+ ## [0.0.2-next.1](https://github.com/twinfoundation/framework/compare/nameof-v0.0.2-next.0...nameof-v0.0.2-next.1) (2025-08-06)
142
+
143
+
144
+ ### Features
145
+
146
+ * relocate core packages from tools ([bcab8f3](https://github.com/twinfoundation/framework/commit/bcab8f3160442ea4fcaf442947462504f3d6a17d))
147
+ * update dependencies ([f3bd015](https://github.com/twinfoundation/framework/commit/f3bd015efd169196b7e0335f5cab876ba6ca1d75))
148
+
149
+
150
+ ### Bug Fixes
151
+
152
+ * repo urls in package.json for moved packages ([31ae463](https://github.com/twinfoundation/framework/commit/31ae463095dfa8c0e48bb5bb12316f1e8abb9a4c))
153
+
154
+
155
+ ### Dependencies
156
+
157
+ * The following workspace dependencies were updated
158
+ * devDependencies
159
+ * @twin.org/nameof-transformer bumped from 0.0.2-next.0 to 0.0.2-next.1
160
+
161
+ ## 0.0.1 (2025-07-03)
162
+
163
+
164
+ ### Features
165
+
166
+ * release to production ([829d53d](https://github.com/twinfoundation/framework/commit/829d53d3953b1e1b40b0243c04cfdfd3842aac7b))
167
+ * release to production ([5cf3a76](https://github.com/twinfoundation/framework/commit/5cf3a76a09eff2e6414d0cba846c7c37400a11d6))
168
+
169
+
170
+ ### Dependencies
171
+
172
+ * The following workspace dependencies were updated
173
+ * devDependencies
174
+ * @twin.org/nameof-transformer bumped from ^0.0.0 to ^0.0.1
175
+
176
+ ## [0.0.1-next.70](https://github.com/twinfoundation/framework/compare/nameof-v0.0.1-next.69...nameof-v0.0.1-next.70) (2025-07-02)
177
+
178
+
179
+ ### Features
180
+
181
+ * relocate core packages from tools ([bcab8f3](https://github.com/twinfoundation/framework/commit/bcab8f3160442ea4fcaf442947462504f3d6a17d))
182
+
183
+
184
+ ### Bug Fixes
185
+
186
+ * repo urls in package.json for moved packages ([31ae463](https://github.com/twinfoundation/framework/commit/31ae463095dfa8c0e48bb5bb12316f1e8abb9a4c))
187
+
188
+
189
+ ### Dependencies
190
+
191
+ * The following workspace dependencies were updated
192
+ * devDependencies
193
+ * @twin.org/nameof-transformer bumped from 0.0.1-next.69 to 0.0.1-next.70
194
+
195
+ ## [0.0.1-next.69](https://github.com/twinfoundation/framework/compare/nameof-v0.0.1-next.68...nameof-v0.0.1-next.69) (2025-07-02)
196
+
197
+
198
+ ### Features
199
+
200
+ * relocate core packages from tools ([bcab8f3](https://github.com/twinfoundation/framework/commit/bcab8f3160442ea4fcaf442947462504f3d6a17d))
201
+
202
+
203
+ ### Bug Fixes
204
+
205
+ * repo urls in package.json for moved packages ([31ae463](https://github.com/twinfoundation/framework/commit/31ae463095dfa8c0e48bb5bb12316f1e8abb9a4c))
206
+
207
+
208
+ ### Dependencies
209
+
210
+ * The following workspace dependencies were updated
211
+ * devDependencies
212
+ * @twin.org/nameof-transformer bumped from 0.0.1-next.68 to 0.0.1-next.69
213
+
214
+ ## [0.0.1-next.68](https://github.com/twinfoundation/framework/compare/nameof-v0.0.1-next.67...nameof-v0.0.1-next.68) (2025-07-02)
215
+
216
+
217
+ ### Features
218
+
219
+ * relocate core packages from tools ([bcab8f3](https://github.com/twinfoundation/framework/commit/bcab8f3160442ea4fcaf442947462504f3d6a17d))
220
+
221
+
222
+ ### Dependencies
223
+
224
+ * The following workspace dependencies were updated
225
+ * devDependencies
226
+ * @twin.org/nameof-transformer bumped from 0.0.1-next.67 to 0.0.1-next.68
227
+
228
+ ## [0.0.1-next.28](https://github.com/twinfoundation/tools/compare/nameof-v0.0.1-next.27...nameof-v0.0.1-next.28) (2025-06-18)
229
+
230
+
231
+ ### Miscellaneous Chores
232
+
233
+ * **nameof:** Synchronize repo versions
234
+
235
+
236
+ ### Dependencies
237
+
238
+ * The following workspace dependencies were updated
239
+ * devDependencies
240
+ * @twin.org/nameof-transformer bumped from 0.0.1-next.27 to 0.0.1-next.28
241
+
242
+ ## [0.0.1-next.27](https://github.com/twinfoundation/tools/compare/nameof-v0.0.1-next.26...nameof-v0.0.1-next.27) (2025-06-17)
243
+
244
+
245
+ ### Miscellaneous Chores
246
+
247
+ * **nameof:** Synchronize repo versions
248
+
249
+
250
+ ### Dependencies
251
+
252
+ * The following workspace dependencies were updated
253
+ * devDependencies
254
+ * @twin.org/nameof-transformer bumped from 0.0.1-next.26 to 0.0.1-next.27
255
+
256
+ ## [0.0.1-next.26](https://github.com/twinfoundation/tools/compare/nameof-v0.0.1-next.25...nameof-v0.0.1-next.26) (2025-06-11)
257
+
258
+
259
+ ### Miscellaneous Chores
260
+
261
+ * **nameof:** Synchronize repo versions
262
+
263
+
264
+ ### Dependencies
265
+
266
+ * The following workspace dependencies were updated
267
+ * devDependencies
268
+ * @twin.org/nameof-transformer bumped from 0.0.1-next.25 to 0.0.1-next.26
269
+
270
+ ## [0.0.1-next.25](https://github.com/twinfoundation/tools/compare/nameof-v0.0.1-next.24...nameof-v0.0.1-next.25) (2025-06-10)
271
+
272
+
273
+ ### Features
274
+
275
+ * add ts-to-schema overrides ([3c54504](https://github.com/twinfoundation/tools/commit/3c5450468eb998204a75576b7791a7ca4027da62))
276
+
277
+
278
+ ### Dependencies
279
+
280
+ * The following workspace dependencies were updated
281
+ * devDependencies
282
+ * @twin.org/nameof-transformer bumped from 0.0.1-next.24 to 0.0.1-next.25
283
+
284
+ ## [0.0.1-next.24](https://github.com/twinfoundation/tools/compare/nameof-v0.0.1-next.23...nameof-v0.0.1-next.24) (2025-06-05)
285
+
286
+
287
+ ### Miscellaneous Chores
288
+
289
+ * **nameof:** Synchronize repo versions
290
+
291
+
292
+ ### Dependencies
293
+
294
+ * The following workspace dependencies were updated
295
+ * devDependencies
296
+ * @twin.org/nameof-transformer bumped from 0.0.1-next.23 to 0.0.1-next.24
297
+
298
+ ## [0.0.1-next.23](https://github.com/twinfoundation/tools/compare/nameof-v0.0.1-next.22...nameof-v0.0.1-next.23) (2025-06-03)
299
+
300
+
301
+ ### Miscellaneous Chores
302
+
303
+ * **nameof:** Synchronize repo versions
304
+
305
+
306
+ ### Dependencies
307
+
308
+ * The following workspace dependencies were updated
309
+ * devDependencies
310
+ * @twin.org/nameof-transformer bumped from 0.0.1-next.22 to 0.0.1-next.23
311
+
312
+ ## [0.0.1-next.22](https://github.com/twinfoundation/tools/compare/nameof-v0.0.1-next.21...nameof-v0.0.1-next.22) (2025-06-03)
313
+
314
+
315
+ ### Miscellaneous Chores
316
+
317
+ * **nameof:** Synchronize repo versions
318
+
319
+
320
+ ### Dependencies
321
+
322
+ * The following workspace dependencies were updated
323
+ * devDependencies
324
+ * @twin.org/nameof-transformer bumped from 0.0.1-next.21 to 0.0.1-next.22
325
+
326
+ ## [0.0.1-next.21](https://github.com/twinfoundation/tools/compare/nameof-v0.0.1-next.20...nameof-v0.0.1-next.21) (2025-04-17)
327
+
328
+
329
+ ### Features
330
+
331
+ * use shared store mechanism ([#31](https://github.com/twinfoundation/tools/issues/31)) ([d9fe68b](https://github.com/twinfoundation/tools/commit/d9fe68b903d1268c7cb3c64772df5cb78fd63667))
332
+
333
+
334
+ ### Dependencies
335
+
336
+ * The following workspace dependencies were updated
337
+ * devDependencies
338
+ * @twin.org/nameof-transformer bumped from 0.0.1-next.20 to 0.0.1-next.21
339
+
340
+ ## [0.0.1-next.20](https://github.com/twinfoundation/tools/compare/nameof-v0.0.1-next.19...nameof-v0.0.1-next.20) (2025-03-28)
341
+
342
+
343
+ ### Miscellaneous Chores
344
+
345
+ * **nameof:** Synchronize repo versions
346
+
347
+
348
+ ### Dependencies
349
+
350
+ * The following workspace dependencies were updated
351
+ * devDependencies
352
+ * @twin.org/nameof-transformer bumped from 0.0.1-next.19 to 0.0.1-next.20
353
+
354
+ ## [0.0.1-next.19](https://github.com/twinfoundation/tools/compare/nameof-v0.0.1-next.18...nameof-v0.0.1-next.19) (2025-03-26)
355
+
356
+
357
+ ### Miscellaneous Chores
358
+
359
+ * **nameof:** Synchronize repo versions
360
+
361
+
362
+ ### Dependencies
363
+
364
+ * The following workspace dependencies were updated
365
+ * devDependencies
366
+ * @twin.org/nameof-transformer bumped from 0.0.1-next.18 to 0.0.1-next.19
367
+
368
+ ## v0.0.1-next.18
4
369
 
5
370
  - Initial Release
@@ -1,20 +1,26 @@
1
1
  # Function: nameof()
2
2
 
3
- > **nameof**\<`T`\>(`property`?, `replaceParent`?): `string`
3
+ > **nameof**\<`T`\>(`property?`, `replaceParent?`): `string`
4
4
 
5
5
  Placeholder method which substitutes the type name as a string at runtime.
6
6
 
7
7
  ## Type Parameters
8
8
 
9
- **T**
9
+ ### T
10
+
11
+ `T`
10
12
 
11
13
  ## Parameters
12
14
 
13
- **property?**: `unknown`
15
+ ### property?
16
+
17
+ `unknown`
14
18
 
15
19
  The property to get the name of.
16
20
 
17
- **replaceParent?**: `string`
21
+ ### replaceParent?
22
+
23
+ `string`
18
24
 
19
25
  Optional object name to replace the top level object of a property path.
20
26
 
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@twin.org/nameof",
3
- "version": "0.0.1-next.9",
3
+ "version": "0.0.2-next.10",
4
4
  "description": "Provides the definitions for the methods which are processed by the nameof-transformer",
5
5
  "repository": {
6
6
  "type": "git",
7
- "url": "git+https://github.com/twinfoundation/tools.git",
7
+ "url": "git+https://github.com/twinfoundation/framework.git",
8
8
  "directory": "packages/nameof"
9
9
  },
10
10
  "author": "martyn.janes@iota.org",
@@ -18,9 +18,9 @@
18
18
  "types": "./dist/types/index.d.ts",
19
19
  "exports": {
20
20
  ".": {
21
+ "types": "./dist/types/index.d.ts",
21
22
  "require": "./dist/cjs/index.cjs",
22
- "import": "./dist/esm/index.mjs",
23
- "types": "./dist/types/index.d.ts"
23
+ "import": "./dist/esm/index.mjs"
24
24
  }
25
25
  },
26
26
  "files": [