@twin.org/nameof-vitest-plugin 0.0.2-next.5 → 0.0.2-next.7
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/cjs/index.cjs
CHANGED
|
@@ -4,11 +4,13 @@ var nameofTransformer = require('@twin.org/nameof-transformer');
|
|
|
4
4
|
|
|
5
5
|
// Copyright 2024 IOTA Stiftung.
|
|
6
6
|
// SPDX-License-Identifier: Apache-2.0.
|
|
7
|
+
const nameOfPluginTransform = (code, id) => nameofTransformer.manual(code);
|
|
7
8
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
8
9
|
const NameOfPlugin = {
|
|
9
10
|
name: "name-of",
|
|
10
11
|
enforce: "pre",
|
|
11
|
-
transform:
|
|
12
|
+
transform: nameOfPluginTransform
|
|
12
13
|
};
|
|
13
14
|
|
|
14
15
|
exports.NameOfPlugin = NameOfPlugin;
|
|
16
|
+
exports.nameOfPluginTransform = nameOfPluginTransform;
|
package/dist/esm/index.mjs
CHANGED
|
@@ -2,11 +2,12 @@ import { manual } from '@twin.org/nameof-transformer';
|
|
|
2
2
|
|
|
3
3
|
// Copyright 2024 IOTA Stiftung.
|
|
4
4
|
// SPDX-License-Identifier: Apache-2.0.
|
|
5
|
+
const nameOfPluginTransform = (code, id) => manual(code);
|
|
5
6
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6
7
|
const NameOfPlugin = {
|
|
7
8
|
name: "name-of",
|
|
8
9
|
enforce: "pre",
|
|
9
|
-
transform:
|
|
10
|
+
transform: nameOfPluginTransform
|
|
10
11
|
};
|
|
11
12
|
|
|
12
|
-
export { NameOfPlugin };
|
|
13
|
+
export { NameOfPlugin, nameOfPluginTransform };
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# @twin.org/nameof-vitest-plugin - Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.2-next.7](https://github.com/twinfoundation/framework/compare/nameof-vitest-plugin-v0.0.2-next.6...nameof-vitest-plugin-v0.0.2-next.7) (2025-08-29)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* eslint migration to flat config ([74427d7](https://github.com/twinfoundation/framework/commit/74427d78d342167f7850e49ab87269326355befe))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* dependencies
|
|
15
|
+
* @twin.org/nameof-transformer bumped from 0.0.2-next.6 to 0.0.2-next.7
|
|
16
|
+
|
|
17
|
+
## [0.0.2-next.6](https://github.com/twinfoundation/framework/compare/nameof-vitest-plugin-v0.0.2-next.5...nameof-vitest-plugin-v0.0.2-next.6) (2025-08-27)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Miscellaneous Chores
|
|
21
|
+
|
|
22
|
+
* **nameof-vitest-plugin:** Synchronize repo versions
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Dependencies
|
|
26
|
+
|
|
27
|
+
* The following workspace dependencies were updated
|
|
28
|
+
* dependencies
|
|
29
|
+
* @twin.org/nameof-transformer bumped from 0.0.2-next.5 to 0.0.2-next.6
|
|
30
|
+
|
|
3
31
|
## [0.0.2-next.5](https://github.com/twinfoundation/framework/compare/nameof-vitest-plugin-v0.0.2-next.4...nameof-vitest-plugin-v0.0.2-next.5) (2025-08-19)
|
|
4
32
|
|
|
5
33
|
|
package/docs/reference/index.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/nameof-vitest-plugin",
|
|
3
|
-
"version": "0.0.2-next.
|
|
3
|
+
"version": "0.0.2-next.7",
|
|
4
4
|
"description": "A Vitest plugin which perform the nameof transformation",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"node": ">=20.0.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@twin.org/nameof-transformer": "0.0.2-next.
|
|
17
|
+
"@twin.org/nameof-transformer": "0.0.2-next.7"
|
|
18
18
|
},
|
|
19
19
|
"main": "./dist/cjs/index.cjs",
|
|
20
20
|
"module": "./dist/esm/index.mjs",
|