@alloy-js/java 0.3.0 → 0.5.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alloy-js/java",
3
- "version": "0.3.0",
3
+ "version": "0.5.0",
4
4
  "description": "",
5
5
  "exports": {
6
6
  ".": {
@@ -18,7 +18,7 @@
18
18
  "dependencies": {
19
19
  "change-case": "^5.4.4",
20
20
  "pathe": "^1.1.2",
21
- "@alloy-js/core": "~0.3.0"
21
+ "@alloy-js/core": "~0.5.0"
22
22
  },
23
23
  "devDependencies": {
24
24
  "@babel/cli": "^7.24.7",
@@ -27,13 +27,10 @@
27
27
  "@rollup/plugin-babel": "^6.0.4",
28
28
  "@rollup/plugin-typescript": "^11.1.6",
29
29
  "concurrently": "^8.2.2",
30
- "typescript": "^5.5.4",
31
- "vitest": "^2.0.5",
30
+ "typescript": "^5.7.3",
31
+ "vitest": "^3.0.4",
32
32
  "@alloy-js/babel-preset": "~0.1.1"
33
33
  },
34
- "overrides": {
35
- "esbuild": "0.23"
36
- },
37
34
  "type": "module",
38
35
  "scripts": {
39
36
  "build-src": "babel src -d dist/src --extensions .ts,.tsx",
package/temp/api.json CHANGED
@@ -426,8 +426,9 @@
426
426
  "text": "): "
427
427
  },
428
428
  {
429
- "kind": "Content",
430
- "text": "any"
429
+ "kind": "Reference",
430
+ "text": "Children",
431
+ "canonicalReference": "@alloy-js/core!Children:type"
431
432
  },
432
433
  {
433
434
  "kind": "Content",
@@ -1528,8 +1529,9 @@
1528
1529
  "text": "): "
1529
1530
  },
1530
1531
  {
1531
- "kind": "Content",
1532
- "text": "any"
1532
+ "kind": "Reference",
1533
+ "text": "Children",
1534
+ "canonicalReference": "@alloy-js/core!Children:type"
1533
1535
  },
1534
1536
  {
1535
1537
  "kind": "Content",
@@ -1675,8 +1677,9 @@
1675
1677
  "text": "): "
1676
1678
  },
1677
1679
  {
1678
- "kind": "Content",
1679
- "text": "any"
1680
+ "kind": "Reference",
1681
+ "text": "Children",
1682
+ "canonicalReference": "@alloy-js/core!Children:type"
1680
1683
  },
1681
1684
  {
1682
1685
  "kind": "Content",
@@ -2182,7 +2185,16 @@
2182
2185
  },
2183
2186
  {
2184
2187
  "kind": "Content",
2185
- "text": "() => (string | (() => any))[]"
2188
+ "text": "() => (string | (() => import(\"@alloy-js/core\")."
2189
+ },
2190
+ {
2191
+ "kind": "Reference",
2192
+ "text": "Children",
2193
+ "canonicalReference": "@alloy-js/core!Children:type"
2194
+ },
2195
+ {
2196
+ "kind": "Content",
2197
+ "text": "))[]"
2186
2198
  },
2187
2199
  {
2188
2200
  "kind": "Content",
@@ -2192,7 +2204,7 @@
2192
2204
  "fileUrlPath": "src/components/ImportStatement.tsx",
2193
2205
  "returnTypeTokenRange": {
2194
2206
  "startIndex": 3,
2195
- "endIndex": 4
2207
+ "endIndex": 6
2196
2208
  },
2197
2209
  "releaseTag": "Public",
2198
2210
  "overloadIndex": 1,
@@ -2376,8 +2388,9 @@
2376
2388
  "text": "): "
2377
2389
  },
2378
2390
  {
2379
- "kind": "Content",
2380
- "text": "any"
2391
+ "kind": "Reference",
2392
+ "text": "Children",
2393
+ "canonicalReference": "@alloy-js/core!Children:type"
2381
2394
  },
2382
2395
  {
2383
2396
  "kind": "Content",
@@ -3173,7 +3186,12 @@
3173
3186
  },
3174
3187
  {
3175
3188
  "kind": "Content",
3176
- "text": "any"
3189
+ "text": "import(\"@alloy-js/core\")."
3190
+ },
3191
+ {
3192
+ "kind": "Reference",
3193
+ "text": "Children",
3194
+ "canonicalReference": "@alloy-js/core!Children:type"
3177
3195
  },
3178
3196
  {
3179
3197
  "kind": "Content",
@@ -3183,7 +3201,7 @@
3183
3201
  "fileUrlPath": "src/components/MavenProject.tsx",
3184
3202
  "returnTypeTokenRange": {
3185
3203
  "startIndex": 3,
3186
- "endIndex": 4
3204
+ "endIndex": 5
3187
3205
  },
3188
3206
  "releaseTag": "Public",
3189
3207
  "overloadIndex": 1,
@@ -3778,7 +3796,12 @@
3778
3796
  },
3779
3797
  {
3780
3798
  "kind": "Content",
3781
- "text": "any"
3799
+ "text": "import(\"@alloy-js/core\")."
3800
+ },
3801
+ {
3802
+ "kind": "Reference",
3803
+ "text": "Children",
3804
+ "canonicalReference": "@alloy-js/core!Children:type"
3782
3805
  },
3783
3806
  {
3784
3807
  "kind": "Content",
@@ -3788,7 +3811,7 @@
3788
3811
  "fileUrlPath": "src/components/Name.tsx",
3789
3812
  "returnTypeTokenRange": {
3790
3813
  "startIndex": 1,
3791
- "endIndex": 2
3814
+ "endIndex": 3
3792
3815
  },
3793
3816
  "releaseTag": "Public",
3794
3817
  "overloadIndex": 1,
@@ -3814,8 +3837,9 @@
3814
3837
  "text": "): "
3815
3838
  },
3816
3839
  {
3817
- "kind": "Content",
3818
- "text": "any"
3840
+ "kind": "Reference",
3841
+ "text": "Children",
3842
+ "canonicalReference": "@alloy-js/core!Children:type"
3819
3843
  },
3820
3844
  {
3821
3845
  "kind": "Content",
@@ -4303,8 +4327,9 @@
4303
4327
  "text": "): "
4304
4328
  },
4305
4329
  {
4306
- "kind": "Content",
4307
- "text": "any"
4330
+ "kind": "Reference",
4331
+ "text": "Children",
4332
+ "canonicalReference": "@alloy-js/core!Children:type"
4308
4333
  },
4309
4334
  {
4310
4335
  "kind": "Content",
@@ -4778,7 +4803,12 @@
4778
4803
  },
4779
4804
  {
4780
4805
  "kind": "Content",
4781
- "text": "any"
4806
+ "text": "import(\"@alloy-js/core\")."
4807
+ },
4808
+ {
4809
+ "kind": "Reference",
4810
+ "text": "Children",
4811
+ "canonicalReference": "@alloy-js/core!Children:type"
4782
4812
  },
4783
4813
  {
4784
4814
  "kind": "Content",
@@ -4788,7 +4818,7 @@
4788
4818
  "fileUrlPath": "src/components/MavenProject.tsx",
4789
4819
  "returnTypeTokenRange": {
4790
4820
  "startIndex": 3,
4791
- "endIndex": 4
4821
+ "endIndex": 5
4792
4822
  },
4793
4823
  "releaseTag": "Public",
4794
4824
  "overloadIndex": 1,
@@ -4952,8 +4982,9 @@
4952
4982
  "text": "): "
4953
4983
  },
4954
4984
  {
4955
- "kind": "Content",
4956
- "text": "any"
4985
+ "kind": "Reference",
4986
+ "text": "Children",
4987
+ "canonicalReference": "@alloy-js/core!Children:type"
4957
4988
  },
4958
4989
  {
4959
4990
  "kind": "Content",
@@ -5174,7 +5205,12 @@
5174
5205
  },
5175
5206
  {
5176
5207
  "kind": "Content",
5177
- "text": "any"
5208
+ "text": "import(\"@alloy-js/core\")."
5209
+ },
5210
+ {
5211
+ "kind": "Reference",
5212
+ "text": "Children",
5213
+ "canonicalReference": "@alloy-js/core!Children:type"
5178
5214
  },
5179
5215
  {
5180
5216
  "kind": "Content",
@@ -5184,7 +5220,7 @@
5184
5220
  "fileUrlPath": "src/components/Reference.tsx",
5185
5221
  "returnTypeTokenRange": {
5186
5222
  "startIndex": 3,
5187
- "endIndex": 4
5223
+ "endIndex": 5
5188
5224
  },
5189
5225
  "releaseTag": "Public",
5190
5226
  "overloadIndex": 1,
@@ -5265,8 +5301,9 @@
5265
5301
  "text": "): "
5266
5302
  },
5267
5303
  {
5268
- "kind": "Content",
5269
- "text": "any"
5304
+ "kind": "Reference",
5305
+ "text": "Children",
5306
+ "canonicalReference": "@alloy-js/core!Children:type"
5270
5307
  },
5271
5308
  {
5272
5309
  "kind": "Content",