@twin.org/nameof 0.0.1-next.2 → 0.0.1-next.20

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,33 @@
1
1
  # @twin.org/nameof - Changelog
2
2
 
3
- ## v0.0.1-next.2
3
+ ## [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)
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.1-next.19 to 0.0.1-next.20
16
+
17
+ ## [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)
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.1-next.18 to 0.0.1-next.19
30
+
31
+ ## v0.0.1-next.18
4
32
 
5
33
  - Initial Release
@@ -10,11 +10,15 @@ Placeholder method which substitutes the type name as a string at runtime.
10
10
 
11
11
  ## Parameters
12
12
 
13
- **property?**: `unknown`
13
+ ### property?
14
+
15
+ `unknown`
14
16
 
15
17
  The property to get the name of.
16
18
 
17
- **replaceParent?**: `string`
19
+ ### replaceParent?
20
+
21
+ `string`
18
22
 
19
23
  Optional object name to replace the top level object of a property path.
20
24
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/nameof",
3
- "version": "0.0.1-next.2",
3
+ "version": "0.0.1-next.20",
4
4
  "description": "Provides the definitions for the methods which are processed by the nameof-transformer",
5
5
  "repository": {
6
6
  "type": "git",
@@ -13,40 +13,14 @@
13
13
  "engines": {
14
14
  "node": ">=20.0.0"
15
15
  },
16
- "scripts": {
17
- "clean": "rimraf dist coverage",
18
- "build": "tsc",
19
- "test": "vitest --run --config ./vitest.config.ts --no-cache",
20
- "coverage": "vitest --run --coverage --config ./vitest.config.ts --no-cache",
21
- "bundle:esm": "rollup --config rollup.config.mjs --environment MODULE:esm",
22
- "bundle:cjs": "rollup --config rollup.config.mjs --environment MODULE:cjs",
23
- "bundle": "npm run bundle:esm && npm run bundle:cjs",
24
- "docs:clean": "rimraf docs/reference",
25
- "docs:generate": "typedoc",
26
- "docs": "npm run docs:clean && npm run docs:generate",
27
- "dist": "npm run clean && npm run build && npm run test && npm run bundle && npm run docs"
28
- },
29
- "devDependencies": {
30
- "@twin.org/nameof-transformer": "0.0.1-next.2",
31
- "@vitest/coverage-v8": "2.1.1",
32
- "copyfiles": "2.4.1",
33
- "rimraf": "6.0.1",
34
- "rollup": "4.21.3",
35
- "rollup-plugin-typescript2": "0.36.0",
36
- "ts-patch": "3.2.1",
37
- "typedoc": "0.26.7",
38
- "typedoc-plugin-markdown": "4.2.7",
39
- "typescript": "5.6.2",
40
- "vitest": "2.1.1"
41
- },
42
16
  "main": "./dist/cjs/index.cjs",
43
17
  "module": "./dist/esm/index.mjs",
44
18
  "types": "./dist/types/index.d.ts",
45
19
  "exports": {
46
20
  ".": {
21
+ "types": "./dist/types/index.d.ts",
47
22
  "require": "./dist/cjs/index.cjs",
48
- "import": "./dist/esm/index.mjs",
49
- "types": "./dist/types/index.d.ts"
23
+ "import": "./dist/esm/index.mjs"
50
24
  }
51
25
  },
52
26
  "files": [