@twin.org/nameof-vitest-plugin 0.0.2-next.9 → 0.0.3-next.2
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 +4 -0
- package/dist/es/index.js.map +1 -0
- package/dist/{esm/index.mjs → es/nameOfPlugin.js} +4 -6
- package/dist/es/nameOfPlugin.js.map +1 -0
- package/dist/types/index.d.ts +1 -1
- package/docs/changelog.md +220 -0
- package/package.json +18 -9
- package/dist/cjs/index.cjs +0 -16
package/dist/es/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,cAAc,mBAAmB,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nexport * from \"./nameOfPlugin.js\";\n"]}
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import { manual } from '@twin.org/nameof-transformer';
|
|
2
|
-
|
|
3
1
|
// Copyright 2024 IOTA Stiftung.
|
|
4
2
|
// SPDX-License-Identifier: Apache-2.0.
|
|
5
|
-
|
|
3
|
+
import { manual } from "@twin.org/nameof-transformer";
|
|
4
|
+
export const nameOfPluginTransform = (code, id) => manual(code);
|
|
6
5
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
7
|
-
const NameOfPlugin = {
|
|
6
|
+
export const NameOfPlugin = {
|
|
8
7
|
name: "name-of",
|
|
9
8
|
enforce: "pre",
|
|
10
9
|
transform: nameOfPluginTransform
|
|
11
10
|
};
|
|
12
|
-
|
|
13
|
-
export { NameOfPlugin, nameOfPluginTransform };
|
|
11
|
+
//# sourceMappingURL=nameOfPlugin.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nameOfPlugin.js","sourceRoot":"","sources":["../../src/nameOfPlugin.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AAGtD,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,IAAY,EAAE,EAAU,EAAU,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AAExF,gEAAgE;AAChE,MAAM,CAAC,MAAM,YAAY,GAAW;IACnC,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,KAAK;IACd,SAAS,EAAE,qBAAqB;CAChC,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport { manual } from \"@twin.org/nameof-transformer\";\nimport type { Plugin } from \"vitest/config\";\n\nexport const nameOfPluginTransform = (code: string, id: string): string => manual(code);\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const NameOfPlugin: Plugin = {\n\tname: \"name-of\",\n\tenforce: \"pre\",\n\ttransform: nameOfPluginTransform\n};\n"]}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./nameOfPlugin";
|
|
1
|
+
export * from "./nameOfPlugin.js";
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,225 @@
|
|
|
1
1
|
# @twin.org/nameof-vitest-plugin - Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.3-next.2](https://github.com/twinfoundation/framework/compare/nameof-vitest-plugin-v0.0.3-next.1...nameof-vitest-plugin-v0.0.3-next.2) (2025-11-12)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Miscellaneous Chores
|
|
7
|
+
|
|
8
|
+
* **nameof-vitest-plugin:** Synchronize repo versions
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* dependencies
|
|
15
|
+
* @twin.org/nameof-transformer bumped from 0.0.3-next.1 to 0.0.3-next.2
|
|
16
|
+
|
|
17
|
+
## [0.0.3-next.1](https://github.com/twinfoundation/framework/compare/nameof-vitest-plugin-v0.0.3-next.0...nameof-vitest-plugin-v0.0.3-next.1) (2025-11-10)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* add context id features ([#206](https://github.com/twinfoundation/framework/issues/206)) ([ef0d4ee](https://github.com/twinfoundation/framework/commit/ef0d4ee11a4f5fc6cc6f52a4958ce905c04ee13b))
|
|
23
|
+
* eslint migration to flat config ([74427d7](https://github.com/twinfoundation/framework/commit/74427d78d342167f7850e49ab87269326355befe))
|
|
24
|
+
* locales validation ([#197](https://github.com/twinfoundation/framework/issues/197)) ([55fdadb](https://github.com/twinfoundation/framework/commit/55fdadb13595ce0047f787bd1d4135d429a99f12))
|
|
25
|
+
* relocate core packages from tools ([bcab8f3](https://github.com/twinfoundation/framework/commit/bcab8f3160442ea4fcaf442947462504f3d6a17d))
|
|
26
|
+
* update dependencies ([f3bd015](https://github.com/twinfoundation/framework/commit/f3bd015efd169196b7e0335f5cab876ba6ca1d75))
|
|
27
|
+
* use cause instead of inner for errors ([1f4acc4](https://github.com/twinfoundation/framework/commit/1f4acc4d7a6b71a134d9547da9bf40de1e1e49da))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
### Bug Fixes
|
|
31
|
+
|
|
32
|
+
* repo urls in package.json for moved packages ([31ae463](https://github.com/twinfoundation/framework/commit/31ae463095dfa8c0e48bb5bb12316f1e8abb9a4c))
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
### Dependencies
|
|
36
|
+
|
|
37
|
+
* The following workspace dependencies were updated
|
|
38
|
+
* dependencies
|
|
39
|
+
* @twin.org/nameof-transformer bumped from 0.0.3-next.0 to 0.0.3-next.1
|
|
40
|
+
|
|
41
|
+
## [0.0.2-next.22](https://github.com/twinfoundation/framework/compare/nameof-vitest-plugin-v0.0.2-next.21...nameof-vitest-plugin-v0.0.2-next.22) (2025-10-10)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
### Miscellaneous Chores
|
|
45
|
+
|
|
46
|
+
* **nameof-vitest-plugin:** Synchronize repo versions
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
### Dependencies
|
|
50
|
+
|
|
51
|
+
* The following workspace dependencies were updated
|
|
52
|
+
* dependencies
|
|
53
|
+
* @twin.org/nameof-transformer bumped from 0.0.2-next.21 to 0.0.2-next.22
|
|
54
|
+
|
|
55
|
+
## [0.0.2-next.21](https://github.com/twinfoundation/framework/compare/nameof-vitest-plugin-v0.0.2-next.20...nameof-vitest-plugin-v0.0.2-next.21) (2025-10-09)
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
### Features
|
|
59
|
+
|
|
60
|
+
* locales validation ([#197](https://github.com/twinfoundation/framework/issues/197)) ([55fdadb](https://github.com/twinfoundation/framework/commit/55fdadb13595ce0047f787bd1d4135d429a99f12))
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
### Dependencies
|
|
64
|
+
|
|
65
|
+
* The following workspace dependencies were updated
|
|
66
|
+
* dependencies
|
|
67
|
+
* @twin.org/nameof-transformer bumped from 0.0.2-next.20 to 0.0.2-next.21
|
|
68
|
+
|
|
69
|
+
## [0.0.2-next.20](https://github.com/twinfoundation/framework/compare/nameof-vitest-plugin-v0.0.2-next.19...nameof-vitest-plugin-v0.0.2-next.20) (2025-10-02)
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
### Miscellaneous Chores
|
|
73
|
+
|
|
74
|
+
* **nameof-vitest-plugin:** Synchronize repo versions
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
### Dependencies
|
|
78
|
+
|
|
79
|
+
* The following workspace dependencies were updated
|
|
80
|
+
* dependencies
|
|
81
|
+
* @twin.org/nameof-transformer bumped from 0.0.2-next.19 to 0.0.2-next.20
|
|
82
|
+
|
|
83
|
+
## [0.0.2-next.19](https://github.com/twinfoundation/framework/compare/nameof-vitest-plugin-v0.0.2-next.18...nameof-vitest-plugin-v0.0.2-next.19) (2025-09-30)
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
### Miscellaneous Chores
|
|
87
|
+
|
|
88
|
+
* **nameof-vitest-plugin:** Synchronize repo versions
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
### Dependencies
|
|
92
|
+
|
|
93
|
+
* The following workspace dependencies were updated
|
|
94
|
+
* dependencies
|
|
95
|
+
* @twin.org/nameof-transformer bumped from 0.0.2-next.18 to 0.0.2-next.19
|
|
96
|
+
|
|
97
|
+
## [0.0.2-next.18](https://github.com/twinfoundation/framework/compare/nameof-vitest-plugin-v0.0.2-next.17...nameof-vitest-plugin-v0.0.2-next.18) (2025-09-29)
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
### Miscellaneous Chores
|
|
101
|
+
|
|
102
|
+
* **nameof-vitest-plugin:** Synchronize repo versions
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
### Dependencies
|
|
106
|
+
|
|
107
|
+
* The following workspace dependencies were updated
|
|
108
|
+
* dependencies
|
|
109
|
+
* @twin.org/nameof-transformer bumped from 0.0.2-next.17 to 0.0.2-next.18
|
|
110
|
+
|
|
111
|
+
## [0.0.2-next.17](https://github.com/twinfoundation/framework/compare/nameof-vitest-plugin-v0.0.2-next.16...nameof-vitest-plugin-v0.0.2-next.17) (2025-09-29)
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
### Miscellaneous Chores
|
|
115
|
+
|
|
116
|
+
* **nameof-vitest-plugin:** Synchronize repo versions
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
### Dependencies
|
|
120
|
+
|
|
121
|
+
* The following workspace dependencies were updated
|
|
122
|
+
* dependencies
|
|
123
|
+
* @twin.org/nameof-transformer bumped from 0.0.2-next.16 to 0.0.2-next.17
|
|
124
|
+
|
|
125
|
+
## [0.0.2-next.16](https://github.com/twinfoundation/framework/compare/nameof-vitest-plugin-v0.0.2-next.15...nameof-vitest-plugin-v0.0.2-next.16) (2025-09-28)
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
### Miscellaneous Chores
|
|
129
|
+
|
|
130
|
+
* **nameof-vitest-plugin:** Synchronize repo versions
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
### Dependencies
|
|
134
|
+
|
|
135
|
+
* The following workspace dependencies were updated
|
|
136
|
+
* dependencies
|
|
137
|
+
* @twin.org/nameof-transformer bumped from 0.0.2-next.15 to 0.0.2-next.16
|
|
138
|
+
|
|
139
|
+
## [0.0.2-next.15](https://github.com/twinfoundation/framework/compare/nameof-vitest-plugin-v0.0.2-next.14...nameof-vitest-plugin-v0.0.2-next.15) (2025-09-22)
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
### Miscellaneous Chores
|
|
143
|
+
|
|
144
|
+
* **nameof-vitest-plugin:** Synchronize repo versions
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
### Dependencies
|
|
148
|
+
|
|
149
|
+
* The following workspace dependencies were updated
|
|
150
|
+
* dependencies
|
|
151
|
+
* @twin.org/nameof-transformer bumped from 0.0.2-next.14 to 0.0.2-next.15
|
|
152
|
+
|
|
153
|
+
## [0.0.2-next.14](https://github.com/twinfoundation/framework/compare/nameof-vitest-plugin-v0.0.2-next.13...nameof-vitest-plugin-v0.0.2-next.14) (2025-09-22)
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
### Miscellaneous Chores
|
|
157
|
+
|
|
158
|
+
* **nameof-vitest-plugin:** Synchronize repo versions
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
### Dependencies
|
|
162
|
+
|
|
163
|
+
* The following workspace dependencies were updated
|
|
164
|
+
* dependencies
|
|
165
|
+
* @twin.org/nameof-transformer bumped from 0.0.2-next.13 to 0.0.2-next.14
|
|
166
|
+
|
|
167
|
+
## [0.0.2-next.13](https://github.com/twinfoundation/framework/compare/nameof-vitest-plugin-v0.0.2-next.12...nameof-vitest-plugin-v0.0.2-next.13) (2025-09-22)
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
### Miscellaneous Chores
|
|
171
|
+
|
|
172
|
+
* **nameof-vitest-plugin:** Synchronize repo versions
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
### Dependencies
|
|
176
|
+
|
|
177
|
+
* The following workspace dependencies were updated
|
|
178
|
+
* dependencies
|
|
179
|
+
* @twin.org/nameof-transformer bumped from 0.0.2-next.12 to 0.0.2-next.13
|
|
180
|
+
|
|
181
|
+
## [0.0.2-next.12](https://github.com/twinfoundation/framework/compare/nameof-vitest-plugin-v0.0.2-next.11...nameof-vitest-plugin-v0.0.2-next.12) (2025-09-15)
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
### Miscellaneous Chores
|
|
185
|
+
|
|
186
|
+
* **nameof-vitest-plugin:** Synchronize repo versions
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
### Dependencies
|
|
190
|
+
|
|
191
|
+
* The following workspace dependencies were updated
|
|
192
|
+
* dependencies
|
|
193
|
+
* @twin.org/nameof-transformer bumped from 0.0.2-next.11 to 0.0.2-next.12
|
|
194
|
+
|
|
195
|
+
## [0.0.2-next.11](https://github.com/twinfoundation/framework/compare/nameof-vitest-plugin-v0.0.2-next.10...nameof-vitest-plugin-v0.0.2-next.11) (2025-09-15)
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
### Miscellaneous Chores
|
|
199
|
+
|
|
200
|
+
* **nameof-vitest-plugin:** Synchronize repo versions
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
### Dependencies
|
|
204
|
+
|
|
205
|
+
* The following workspace dependencies were updated
|
|
206
|
+
* dependencies
|
|
207
|
+
* @twin.org/nameof-transformer bumped from 0.0.2-next.10 to 0.0.2-next.11
|
|
208
|
+
|
|
209
|
+
## [0.0.2-next.10](https://github.com/twinfoundation/framework/compare/nameof-vitest-plugin-v0.0.2-next.9...nameof-vitest-plugin-v0.0.2-next.10) (2025-09-11)
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
### Miscellaneous Chores
|
|
213
|
+
|
|
214
|
+
* **nameof-vitest-plugin:** Synchronize repo versions
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
### Dependencies
|
|
218
|
+
|
|
219
|
+
* The following workspace dependencies were updated
|
|
220
|
+
* dependencies
|
|
221
|
+
* @twin.org/nameof-transformer bumped from 0.0.2-next.9 to 0.0.2-next.10
|
|
222
|
+
|
|
3
223
|
## [0.0.2-next.9](https://github.com/twinfoundation/framework/compare/nameof-vitest-plugin-v0.0.2-next.8...nameof-vitest-plugin-v0.0.2-next.9) (2025-09-08)
|
|
4
224
|
|
|
5
225
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/nameof-vitest-plugin",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3-next.2",
|
|
4
4
|
"description": "A Vitest plugin which perform the nameof transformation",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -14,22 +14,31 @@
|
|
|
14
14
|
"node": ">=20.0.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@twin.org/nameof-transformer": "0.0.
|
|
17
|
+
"@twin.org/nameof-transformer": "0.0.3-next.2"
|
|
18
18
|
},
|
|
19
|
-
"main": "./dist/
|
|
20
|
-
"module": "./dist/esm/index.mjs",
|
|
19
|
+
"main": "./dist/es/index.js",
|
|
21
20
|
"exports": {
|
|
22
21
|
".": {
|
|
23
22
|
"types": "./dist/types/index.d.ts",
|
|
24
|
-
"
|
|
25
|
-
"
|
|
23
|
+
"import": "./dist/es/index.js",
|
|
24
|
+
"default": "./dist/es/index.js"
|
|
26
25
|
}
|
|
27
26
|
},
|
|
28
27
|
"files": [
|
|
29
|
-
"dist/
|
|
30
|
-
"dist/esm",
|
|
28
|
+
"dist/es",
|
|
31
29
|
"dist/types",
|
|
32
30
|
"locales",
|
|
33
31
|
"docs"
|
|
34
|
-
]
|
|
32
|
+
],
|
|
33
|
+
"keywords": [
|
|
34
|
+
"twin",
|
|
35
|
+
"trade",
|
|
36
|
+
"iota",
|
|
37
|
+
"framework",
|
|
38
|
+
"blockchain"
|
|
39
|
+
],
|
|
40
|
+
"bugs": {
|
|
41
|
+
"url": "git+https://github.com/twinfoundation/framework/issues"
|
|
42
|
+
},
|
|
43
|
+
"homepage": "https://twindev.org"
|
|
35
44
|
}
|
package/dist/cjs/index.cjs
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var nameofTransformer = require('@twin.org/nameof-transformer');
|
|
4
|
-
|
|
5
|
-
// Copyright 2024 IOTA Stiftung.
|
|
6
|
-
// SPDX-License-Identifier: Apache-2.0.
|
|
7
|
-
const nameOfPluginTransform = (code, id) => nameofTransformer.manual(code);
|
|
8
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
9
|
-
const NameOfPlugin = {
|
|
10
|
-
name: "name-of",
|
|
11
|
-
enforce: "pre",
|
|
12
|
-
transform: nameOfPluginTransform
|
|
13
|
-
};
|
|
14
|
-
|
|
15
|
-
exports.NameOfPlugin = NameOfPlugin;
|
|
16
|
-
exports.nameOfPluginTransform = nameOfPluginTransform;
|