@twin.org/nameof 0.9.1-next.9 → 0.9.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/dist/es/index.js CHANGED
@@ -1,33 +1,4 @@
1
1
  // Copyright 2024 IOTA Stiftung.
2
2
  // SPDX-License-Identifier: Apache-2.0.
3
- /**
4
- * Placeholder method which substitutes the type name as a string at runtime.
5
- * @param property The property to get the name of.
6
- * @param replaceParent Optional object name to replace the top level object of a property path.
7
- * @returns The type name as a string.
8
- */
9
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
10
- export function nameof(property, replaceParent) {
11
- return "@twin.org/nameof-transformer is not in the build pipeline, you need to use a compiler that supports transformer plugins.";
12
- }
13
- /**
14
- * Placeholder method which substitutes the type name as a string at runtime.
15
- * @param property The property to get the name of.
16
- * @param replaceParent Optional object name to replace the top level object of a property path.
17
- * @returns The type name as a string.
18
- */
19
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
20
- export function nameofKebabCase(property, replaceParent) {
21
- return "@twin.org/nameof-transformer is not in the build pipeline, you need to use a compiler that supports transformer plugins.";
22
- }
23
- /**
24
- * Placeholder method which substitutes the type name as a string at runtime.
25
- * @param property The property to get the name of.
26
- * @param replaceParent Optional object name to replace the top level object of a property path.
27
- * @returns The type name as a string.
28
- */
29
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
30
- export function nameofCamelCase(property, replaceParent) {
31
- return "@twin.org/nameof-transformer is not in the build pipeline, you need to use a compiler that supports transformer plugins.";
32
- }
3
+ export * from "./nameof.js";
33
4
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;;;;GAKG;AACH,6DAA6D;AAC7D,MAAM,UAAU,MAAM,CAAI,QAAkB,EAAE,aAAsB;IACnE,OAAO,0HAA0H,CAAC;AACnI,CAAC;AAED;;;;;GAKG;AACH,6DAA6D;AAC7D,MAAM,UAAU,eAAe,CAAI,QAAkB,EAAE,aAAsB;IAC5E,OAAO,0HAA0H,CAAC;AACnI,CAAC;AAED;;;;;GAKG;AACH,6DAA6D;AAC7D,MAAM,UAAU,eAAe,CAAI,QAAkB,EAAE,aAAsB;IAC5E,OAAO,0HAA0H,CAAC;AACnI,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Placeholder method which substitutes the type name as a string at runtime.\n * @param property The property to get the name of.\n * @param replaceParent Optional object name to replace the top level object of a property path.\n * @returns The type name as a string.\n */\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function nameof<T>(property?: unknown, replaceParent?: string): string {\n\treturn \"@twin.org/nameof-transformer is not in the build pipeline, you need to use a compiler that supports transformer plugins.\";\n}\n\n/**\n * Placeholder method which substitutes the type name as a string at runtime.\n * @param property The property to get the name of.\n * @param replaceParent Optional object name to replace the top level object of a property path.\n * @returns The type name as a string.\n */\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function nameofKebabCase<T>(property?: unknown, replaceParent?: string): string {\n\treturn \"@twin.org/nameof-transformer is not in the build pipeline, you need to use a compiler that supports transformer plugins.\";\n}\n\n/**\n * Placeholder method which substitutes the type name as a string at runtime.\n * @param property The property to get the name of.\n * @param replaceParent Optional object name to replace the top level object of a property path.\n * @returns The type name as a string.\n */\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function nameofCamelCase<T>(property?: unknown, replaceParent?: string): string {\n\treturn \"@twin.org/nameof-transformer is not in the build pipeline, you need to use a compiler that supports transformer plugins.\";\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,cAAc,aAAa,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nexport * from \"./nameof.js\";\n"]}
@@ -0,0 +1,33 @@
1
+ // Copyright 2024 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ /**
4
+ * Placeholder method which substitutes the type name as a string at runtime.
5
+ * @param property The property to get the name of.
6
+ * @param replaceParent Optional object name to replace the top level object of a property path.
7
+ * @returns The type name as a string.
8
+ */
9
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
10
+ export function nameof(property, replaceParent) {
11
+ return "@twin.org/nameof-transformer is not in the build pipeline, you need to use a compiler that supports transformer plugins.";
12
+ }
13
+ /**
14
+ * Placeholder method which substitutes the type name as a string at runtime.
15
+ * @param property The property to get the name of.
16
+ * @param replaceParent Optional object name to replace the top level object of a property path.
17
+ * @returns The type name as a string.
18
+ */
19
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
20
+ export function nameofKebabCase(property, replaceParent) {
21
+ return "@twin.org/nameof-transformer is not in the build pipeline, you need to use a compiler that supports transformer plugins.";
22
+ }
23
+ /**
24
+ * Placeholder method which substitutes the type name as a string at runtime.
25
+ * @param property The property to get the name of.
26
+ * @param replaceParent Optional object name to replace the top level object of a property path.
27
+ * @returns The type name as a string.
28
+ */
29
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
30
+ export function nameofCamelCase(property, replaceParent) {
31
+ return "@twin.org/nameof-transformer is not in the build pipeline, you need to use a compiler that supports transformer plugins.";
32
+ }
33
+ //# sourceMappingURL=nameof.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nameof.js","sourceRoot":"","sources":["../../src/nameof.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;;;;GAKG;AACH,6DAA6D;AAC7D,MAAM,UAAU,MAAM,CAAI,QAAkB,EAAE,aAAsB;IACnE,OAAO,0HAA0H,CAAC;AACnI,CAAC;AAED;;;;;GAKG;AACH,6DAA6D;AAC7D,MAAM,UAAU,eAAe,CAAI,QAAkB,EAAE,aAAsB;IAC5E,OAAO,0HAA0H,CAAC;AACnI,CAAC;AAED;;;;;GAKG;AACH,6DAA6D;AAC7D,MAAM,UAAU,eAAe,CAAI,QAAkB,EAAE,aAAsB;IAC5E,OAAO,0HAA0H,CAAC;AACnI,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Placeholder method which substitutes the type name as a string at runtime.\n * @param property The property to get the name of.\n * @param replaceParent Optional object name to replace the top level object of a property path.\n * @returns The type name as a string.\n */\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function nameof<T>(property?: unknown, replaceParent?: string): string {\n\treturn \"@twin.org/nameof-transformer is not in the build pipeline, you need to use a compiler that supports transformer plugins.\";\n}\n\n/**\n * Placeholder method which substitutes the type name as a string at runtime.\n * @param property The property to get the name of.\n * @param replaceParent Optional object name to replace the top level object of a property path.\n * @returns The type name as a string.\n */\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function nameofKebabCase<T>(property?: unknown, replaceParent?: string): string {\n\treturn \"@twin.org/nameof-transformer is not in the build pipeline, you need to use a compiler that supports transformer plugins.\";\n}\n\n/**\n * Placeholder method which substitutes the type name as a string at runtime.\n * @param property The property to get the name of.\n * @param replaceParent Optional object name to replace the top level object of a property path.\n * @returns The type name as a string.\n */\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function nameofCamelCase<T>(property?: unknown, replaceParent?: string): string {\n\treturn \"@twin.org/nameof-transformer is not in the build pipeline, you need to use a compiler that supports transformer plugins.\";\n}\n"]}
@@ -1,21 +1 @@
1
- /**
2
- * Placeholder method which substitutes the type name as a string at runtime.
3
- * @param property The property to get the name of.
4
- * @param replaceParent Optional object name to replace the top level object of a property path.
5
- * @returns The type name as a string.
6
- */
7
- export declare function nameof<T>(property?: unknown, replaceParent?: string): string;
8
- /**
9
- * Placeholder method which substitutes the type name as a string at runtime.
10
- * @param property The property to get the name of.
11
- * @param replaceParent Optional object name to replace the top level object of a property path.
12
- * @returns The type name as a string.
13
- */
14
- export declare function nameofKebabCase<T>(property?: unknown, replaceParent?: string): string;
15
- /**
16
- * Placeholder method which substitutes the type name as a string at runtime.
17
- * @param property The property to get the name of.
18
- * @param replaceParent Optional object name to replace the top level object of a property path.
19
- * @returns The type name as a string.
20
- */
21
- export declare function nameofCamelCase<T>(property?: unknown, replaceParent?: string): string;
1
+ export * from "./nameof.js";
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Placeholder method which substitutes the type name as a string at runtime.
3
+ * @param property The property to get the name of.
4
+ * @param replaceParent Optional object name to replace the top level object of a property path.
5
+ * @returns The type name as a string.
6
+ */
7
+ export declare function nameof<T>(property?: unknown, replaceParent?: string): string;
8
+ /**
9
+ * Placeholder method which substitutes the type name as a string at runtime.
10
+ * @param property The property to get the name of.
11
+ * @param replaceParent Optional object name to replace the top level object of a property path.
12
+ * @returns The type name as a string.
13
+ */
14
+ export declare function nameofKebabCase<T>(property?: unknown, replaceParent?: string): string;
15
+ /**
16
+ * Placeholder method which substitutes the type name as a string at runtime.
17
+ * @param property The property to get the name of.
18
+ * @param replaceParent Optional object name to replace the top level object of a property path.
19
+ * @returns The type name as a string.
20
+ */
21
+ export declare function nameofCamelCase<T>(property?: unknown, replaceParent?: string): string;
package/docs/changelog.md CHANGED
@@ -1,5 +1,40 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.9.1](https://github.com/iotaledger/twin-framework/compare/nameof-v0.9.1...nameof-v0.9.1) (2026-07-26)
4
+
5
+
6
+ ### Features
7
+
8
+ * release to production ([b24cba1](https://github.com/iotaledger/twin-framework/commit/b24cba1b6a969278d638e632590602ec881e49fb))
9
+ * release to production ([787287d](https://github.com/iotaledger/twin-framework/commit/787287d06ea8319657401589d61fff369310c422))
10
+ * release to production ([53f4843](https://github.com/iotaledger/twin-framework/commit/53f484326b2851d7a506d2620db24c4a65cee7b3))
11
+ * release to production ([56cda4d](https://github.com/iotaledger/twin-framework/commit/56cda4da93e978c5be19ec7cfd421ae2a7fe4147))
12
+ * release to production ([f7c6586](https://github.com/iotaledger/twin-framework/commit/f7c6586f6976b903b647b4c5ac5ad9421e0c9051))
13
+ * release to production ([829d53d](https://github.com/iotaledger/twin-framework/commit/829d53d3953b1e1b40b0243c04cfdfd3842aac7b))
14
+ * release to production ([5cf3a76](https://github.com/iotaledger/twin-framework/commit/5cf3a76a09eff2e6414d0cba846c7c37400a11d6))
15
+ * release to production ([#330](https://github.com/iotaledger/twin-framework/issues/330)) ([d73f565](https://github.com/iotaledger/twin-framework/commit/d73f565588d156d23ef49b2a5718973756f7a696))
16
+ * release to production ([#382](https://github.com/iotaledger/twin-framework/issues/382)) ([bbed01a](https://github.com/iotaledger/twin-framework/commit/bbed01a605ee9724bda77a0f7feab249118c2d90))
17
+ * release to production ([#417](https://github.com/iotaledger/twin-framework/issues/417)) ([59727e7](https://github.com/iotaledger/twin-framework/commit/59727e73903a137310ca48fe469189cf29879cb9))
18
+
19
+
20
+ ### Miscellaneous Chores
21
+
22
+ * release to production ([63cae24](https://github.com/iotaledger/twin-framework/commit/63cae2401f6c11f93b2a01260b665064e8bd28e0))
23
+
24
+ ## [0.9.1-next.10](https://github.com/iotaledger/twin-framework/compare/nameof-v0.9.1-next.9...nameof-v0.9.1-next.10) (2026-07-20)
25
+
26
+
27
+ ### Miscellaneous Chores
28
+
29
+ * **nameof:** Synchronize repo versions
30
+
31
+
32
+ ### Dependencies
33
+
34
+ * The following workspace dependencies were updated
35
+ * devDependencies
36
+ * @twin.org/nameof-transformer bumped from 0.9.1-next.9 to 0.9.1-next.10
37
+
3
38
  ## [0.9.1-next.9](https://github.com/iotaledger/twin-framework/compare/nameof-v0.9.1-next.8...nameof-v0.9.1-next.9) (2026-07-20)
4
39
 
5
40
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/nameof",
3
- "version": "0.9.1-next.9",
3
+ "version": "0.9.1",
4
4
  "description": "The definitions for the methods which are processed by the nameof-transformer",
5
5
  "repository": {
6
6
  "type": "git",
@@ -11,7 +11,7 @@
11
11
  "license": "Apache-2.0",
12
12
  "type": "module",
13
13
  "engines": {
14
- "node": ">=20.0.0"
14
+ "node": ">=24.0.0"
15
15
  },
16
16
  "main": "./dist/es/index.js",
17
17
  "types": "./dist/types/index.d.ts",