@typespec/emitter-framework 0.18.0 → 0.18.1-dev.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.
Files changed (24) hide show
  1. package/.turbo/turbo-build.log +1 -1
  2. package/dist/src/python/components/class-declaration/class-declaration.test.js +217 -217
  3. package/dist/src/python/components/class-declaration/class-member.test.js +35 -35
  4. package/dist/src/python/components/class-declaration/class-method.test.js +24 -24
  5. package/dist/src/python/components/enum-declaration/enum-declaration.test.js +45 -45
  6. package/dist/src/python/components/function-declaration/function-declaration.test.js +53 -53
  7. package/dist/src/python/components/protocol-declaration/protocol-declaration.test.js +12 -12
  8. package/dist/src/python/components/type-alias-declaration/type-alias-declaration.test.js +7 -7
  9. package/dist/src/python/components/type-declaration/type-declaration.test.js +5 -5
  10. package/dist/src/python/components/type-expression/type-expression.d.ts +1 -1
  11. package/dist/src/python/components/type-expression/type-expression.d.ts.map +1 -1
  12. package/dist/src/python/components/type-expression/type-expression.test.js +6 -6
  13. package/package.json +14 -13
  14. package/package.json.bak +4 -3
  15. package/src/python/components/class-declaration/class-declaration.test.tsx +217 -217
  16. package/src/python/components/class-declaration/class-member.test.tsx +35 -35
  17. package/src/python/components/class-declaration/class-method.test.tsx +24 -24
  18. package/src/python/components/enum-declaration/enum-declaration.test.tsx +45 -45
  19. package/src/python/components/function-declaration/function-declaration.test.tsx +53 -53
  20. package/src/python/components/protocol-declaration/protocol-declaration.test.tsx +12 -12
  21. package/src/python/components/type-alias-declaration/type-alias-declaration.test.tsx +7 -7
  22. package/src/python/components/type-declaration/type-declaration.test.tsx +5 -5
  23. package/src/python/components/type-expression/type-expression.test.tsx +6 -6
  24. package/tsconfig.json +1 -1
@@ -17,7 +17,7 @@ describe("Python Function Declaration", () => {
17
17
  type: getName
18
18
  })])).toRenderTo(`
19
19
  def get_name(id: str) -> str:
20
- pass
20
+ pass
21
21
 
22
22
  `);
23
23
  });
@@ -33,7 +33,7 @@ describe("Python Function Declaration", () => {
33
33
  type: getName
34
34
  })])).toRenderTo(`
35
35
  async def get_name(id: str) -> str:
36
- pass
36
+ pass
37
37
 
38
38
  `);
39
39
  });
@@ -49,7 +49,7 @@ describe("Python Function Declaration", () => {
49
49
  type: getName
50
50
  })])).toRenderTo(`
51
51
  def new_name(id: str) -> str:
52
- pass
52
+ pass
53
53
 
54
54
  `);
55
55
  });
@@ -71,7 +71,7 @@ describe("Python Function Declaration", () => {
71
71
  }]
72
72
  })])).toRenderTo(`
73
73
  def create_person(id: str, *, name: str, age: float) -> str:
74
- pass
74
+ pass
75
75
 
76
76
  `);
77
77
  });
@@ -87,7 +87,7 @@ describe("Python Function Declaration", () => {
87
87
  parameters: ["name", "age"]
88
88
  })])).toRenderTo(`
89
89
  def create_person(id: str, *, name, age) -> str:
90
- pass
90
+ pass
91
91
 
92
92
  `);
93
93
  });
@@ -104,7 +104,7 @@ describe("Python Function Declaration", () => {
104
104
  replaceParameters: true
105
105
  })])).toRenderTo(`
106
106
  def create_person(*, name, age) -> str:
107
- pass
107
+ pass
108
108
 
109
109
  `);
110
110
  });
@@ -135,7 +135,7 @@ describe("Python Function Declaration", () => {
135
135
  replaceParameters: true
136
136
  })])).toRenderTo(`
137
137
  def create_person(*, name: str = "alice", age: int = 30) -> str:
138
- pass
138
+ pass
139
139
 
140
140
  `);
141
141
  });
@@ -165,7 +165,7 @@ describe("Python Function Declaration", () => {
165
165
  }
166
166
  })])).toRenderTo(`
167
167
  def create_person(id: str, *, locale: str = "en-US", limit: int = 10, verbose: bool = True) -> str:
168
- pass
168
+ pass
169
169
 
170
170
  `);
171
171
  });
@@ -187,7 +187,7 @@ describe("Python Function Declaration", () => {
187
187
  parametersModel: Foo
188
188
  })])).toRenderTo(`
189
189
  def create_person(name: str, age: int) -> str:
190
- pass
190
+ pass
191
191
 
192
192
  `);
193
193
  });
@@ -209,7 +209,7 @@ describe("Python Function Declaration", () => {
209
209
  parametersModel: Foo
210
210
  })])).toRenderTo(`
211
211
  def create_person(*, required_name: str = "alice", optional_age: int = None) -> str:
212
- pass
212
+ pass
213
213
 
214
214
  `);
215
215
  });
@@ -232,7 +232,7 @@ describe("Python Function Declaration", () => {
232
232
  parameters: ["extra"]
233
233
  })])).toRenderTo(`
234
234
  def create_person(name: str, age: int) -> str:
235
- pass
235
+ pass
236
236
 
237
237
  `);
238
238
  });
@@ -248,7 +248,7 @@ describe("Python Function Declaration", () => {
248
248
  returnType: "ASpecialString"
249
249
  })])).toRenderTo(`
250
250
  def get_name(id: str) -> ASpecialString:
251
- pass
251
+ pass
252
252
 
253
253
  `);
254
254
  });
@@ -266,7 +266,7 @@ describe("Python Function Declaration", () => {
266
266
  }
267
267
  })])).toRenderTo(`
268
268
  def create_person(id: str) -> str:
269
- print("Hello World!")
269
+ print("Hello World!")
270
270
 
271
271
  `);
272
272
  });
@@ -282,11 +282,11 @@ describe("Python Function Declaration", () => {
282
282
  doc: "This is a test doc"
283
283
  })])).toRenderTo(`
284
284
  def get_name(id: str) -> str:
285
- """
286
- This is a test doc
287
- """
285
+ """
286
+ This is a test doc
287
+ """
288
288
 
289
- pass
289
+ pass
290
290
 
291
291
  `);
292
292
  });
@@ -308,13 +308,13 @@ describe("Python Function Declaration", () => {
308
308
  }
309
309
  })])).toRenderTo(`
310
310
  def get_name(id: str) -> str:
311
- """
312
- First paragraph
311
+ """
312
+ First paragraph
313
313
 
314
- Second paragraph
315
- """
314
+ Second paragraph
315
+ """
316
316
 
317
- pass
317
+ pass
318
318
 
319
319
  `);
320
320
  });
@@ -330,13 +330,13 @@ describe("Python Function Declaration", () => {
330
330
  doc: ["First paragraph", "Second paragraph"]
331
331
  })])).toRenderTo(`
332
332
  def get_name(id: str) -> str:
333
- """
334
- First paragraph
333
+ """
334
+ First paragraph
335
335
 
336
- Second paragraph
337
- """
336
+ Second paragraph
337
+ """
338
338
 
339
- pass
339
+ pass
340
340
 
341
341
  `);
342
342
  });
@@ -354,13 +354,13 @@ describe("Python Function Declaration", () => {
354
354
  }
355
355
  })])).toRenderTo(`
356
356
  def get_name(id: str) -> str:
357
- """
358
- First paragraph
357
+ """
358
+ First paragraph
359
359
 
360
- Second paragraph
361
- """
360
+ Second paragraph
361
+ """
362
362
 
363
- pass
363
+ pass
364
364
 
365
365
  `);
366
366
  });
@@ -376,12 +376,12 @@ describe("Python Function Declaration", () => {
376
376
  doc: "Line 1\nLine 2"
377
377
  })])).toRenderTo(`
378
378
  def get_name(id: str) -> str:
379
- """
380
- Line 1
381
- Line 2
382
- """
379
+ """
380
+ Line 1
381
+ Line 2
382
+ """
383
383
 
384
- pass
384
+ pass
385
385
 
386
386
  `);
387
387
  });
@@ -396,7 +396,7 @@ describe("Python Function Declaration", () => {
396
396
  type: ping
397
397
  })])).toRenderTo(`
398
398
  def ping() -> str:
399
- pass
399
+ pass
400
400
 
401
401
  `);
402
402
  });
@@ -411,7 +411,7 @@ describe("Python Function Declaration", () => {
411
411
  type: ping
412
412
  })])).toRenderTo(`
413
413
  def ping() -> None:
414
- pass
414
+ pass
415
415
 
416
416
  `);
417
417
  });
@@ -428,11 +428,11 @@ describe("Python Function Declaration", () => {
428
428
  from typing import TYPE_CHECKING
429
429
 
430
430
  if TYPE_CHECKING:
431
- from typing import Never
431
+ from typing import Never
432
432
 
433
433
 
434
434
  def abort() -> Never:
435
- pass
435
+ pass
436
436
 
437
437
  `);
438
438
  });
@@ -447,7 +447,7 @@ describe("Python Function Declaration", () => {
447
447
  type: get
448
448
  })])).toRenderTo(`
449
449
  def get() -> int | str:
450
- pass
450
+ pass
451
451
 
452
452
  `);
453
453
  });
@@ -462,7 +462,7 @@ describe("Python Function Declaration", () => {
462
462
  type: createPerson
463
463
  })])).toRenderTo(`
464
464
  def create_person(*, name: str = "alice", age: int = 30) -> str:
465
- pass
465
+ pass
466
466
 
467
467
  `);
468
468
  });
@@ -489,7 +489,7 @@ describe("Python Function Declaration", () => {
489
489
  }
490
490
  })])).toRenderTo(`
491
491
  def create_person(id: str, *, version: int, locale: str = "en-US", debug: bool = False) -> str:
492
- pass
492
+ pass
493
493
 
494
494
  `);
495
495
  });
@@ -504,7 +504,7 @@ describe("Python Function Declaration", () => {
504
504
  type: createPerson
505
505
  })])).toRenderTo(`
506
506
  def create_person(id: str, *, locale: str = "en-US") -> str:
507
- pass
507
+ pass
508
508
 
509
509
  `);
510
510
  });
@@ -520,7 +520,7 @@ describe("Python Function Declaration", () => {
520
520
  parameters: ["name", "age"]
521
521
  })])).toRenderTo(`
522
522
  def ping(name, age) -> str:
523
- pass
523
+ pass
524
524
 
525
525
  `);
526
526
  });
@@ -535,7 +535,7 @@ describe("Python Function Declaration", () => {
535
535
  type: createPerson
536
536
  })])).toRenderTo(`
537
537
  def create_person(id: str, name: str, age: int) -> str:
538
- pass
538
+ pass
539
539
 
540
540
  `);
541
541
  });
@@ -559,7 +559,7 @@ describe("Python Function Declaration", () => {
559
559
  }
560
560
  })])).toRenderTo(`
561
561
  def create_person(id: str, name: str, *, email, notify: bool = False) -> str:
562
- pass
562
+ pass
563
563
 
564
564
  `);
565
565
  });
@@ -578,7 +578,7 @@ describe("Python Function Declaration", () => {
578
578
  type: search
579
579
  })])).toRenderTo(`
580
580
  def search(*, limit: int = 10, offset: int = 0, sort_by: str = "name") -> str:
581
- pass
581
+ pass
582
582
 
583
583
  `);
584
584
  });
@@ -594,7 +594,7 @@ describe("Python Function Declaration", () => {
594
594
  parameters: ["query"]
595
595
  })])).toRenderTo(`
596
596
  def search(*, query, limit: int = 10, offset: int = 0) -> str:
597
- pass
597
+ pass
598
598
 
599
599
  `);
600
600
  });
@@ -623,7 +623,7 @@ describe("Python Function Declaration", () => {
623
623
  }
624
624
  })])).toRenderTo(`
625
625
  def complex_op(required1: str, required2: int, *, additional_required, optional1: str = "default", optional2: int = 42, additional_optional: bool = True) -> str:
626
- pass
626
+ pass
627
627
 
628
628
  `);
629
629
  });
@@ -647,7 +647,7 @@ describe("Python Function Declaration", () => {
647
647
  }
648
648
  })])).toRenderTo(`
649
649
  def get_user(id: str, *, include_deleted: bool = False) -> str:
650
- pass
650
+ pass
651
651
 
652
652
  `);
653
653
  });
@@ -677,7 +677,7 @@ describe("Python Function Declaration", () => {
677
677
  }
678
678
  })])).toRenderTo(`
679
679
  def ping(*, timeout: int = 30, retries: int = 3) -> str:
680
- pass
680
+ pass
681
681
 
682
682
  `);
683
683
  });
@@ -24,14 +24,14 @@ describe("Python ProtocolDeclaration", () => {
24
24
 
25
25
 
26
26
  class GetName(Protocol):
27
- def __call__(self, id: str) -> str:
28
- ...
27
+ def __call__(self, id: str) -> str:
28
+ ...
29
29
 
30
30
 
31
31
 
32
32
  class GetOtherName(Protocol):
33
- def __call__(self, id: str) -> str:
34
- ...
33
+ def __call__(self, id: str) -> str:
34
+ ...
35
35
 
36
36
 
37
37
  `);
@@ -56,8 +56,8 @@ describe("Python ProtocolDeclaration", () => {
56
56
 
57
57
 
58
58
  class GetName(Protocol):
59
- def __call__(self, id: str):
60
- ...
59
+ def __call__(self, id: str):
60
+ ...
61
61
 
62
62
 
63
63
  `);
@@ -79,11 +79,11 @@ describe("Python ProtocolDeclaration", () => {
79
79
 
80
80
 
81
81
  class Greeter(Protocol):
82
- def get_name(self, id: str) -> str:
83
- ...
82
+ def get_name(self, id: str) -> str:
83
+ ...
84
84
 
85
- def get_other_name(self, id: str) -> str:
86
- ...
85
+ def get_other_name(self, id: str) -> str:
86
+ ...
87
87
 
88
88
 
89
89
  `);
@@ -105,8 +105,8 @@ describe("Python ProtocolDeclaration", () => {
105
105
 
106
106
 
107
107
  class GetName(Protocol):
108
- def __call__(self, id: str) -> str:
109
- ...
108
+ def __call__(self, id: str) -> str:
109
+ ...
110
110
 
111
111
 
112
112
 
@@ -21,7 +21,7 @@ describe("Python Declaration equivalency to Type Alias", () => {
21
21
  from typing import TYPE_CHECKING
22
22
 
23
23
  if TYPE_CHECKING:
24
- from typing import TypeAlias
24
+ from typing import TypeAlias
25
25
 
26
26
 
27
27
  my_date: TypeAlias = datetime`);
@@ -43,7 +43,7 @@ describe("Python Declaration equivalency to Type Alias", () => {
43
43
  from typing import TYPE_CHECKING
44
44
 
45
45
  if TYPE_CHECKING:
46
- from typing import TypeAlias
46
+ from typing import TypeAlias
47
47
 
48
48
 
49
49
  # Type to represent a date
@@ -67,7 +67,7 @@ describe("Python Declaration equivalency to Type Alias", () => {
67
67
  from typing import TYPE_CHECKING
68
68
 
69
69
  if TYPE_CHECKING:
70
- from typing import TypeAlias
70
+ from typing import TypeAlias
71
71
 
72
72
 
73
73
  # Overridden Doc
@@ -88,7 +88,7 @@ describe("Python Declaration equivalency to Type Alias", () => {
88
88
  from typing import TYPE_CHECKING
89
89
 
90
90
  if TYPE_CHECKING:
91
- from typing import TypeAlias
91
+ from typing import TypeAlias
92
92
 
93
93
 
94
94
  my_date: TypeAlias = datetime`);
@@ -108,7 +108,7 @@ describe("Python Declaration equivalency to Type Alias", () => {
108
108
  from typing import TYPE_CHECKING
109
109
 
110
110
  if TYPE_CHECKING:
111
- from typing import TypeAlias
111
+ from typing import TypeAlias
112
112
 
113
113
 
114
114
  my_date: TypeAlias = datetime`);
@@ -128,7 +128,7 @@ describe("Python Declaration equivalency to Type Alias", () => {
128
128
  from typing import TYPE_CHECKING
129
129
 
130
130
  if TYPE_CHECKING:
131
- from typing import TypeAlias
131
+ from typing import TypeAlias
132
132
 
133
133
 
134
134
  my_date: TypeAlias = datetime`);
@@ -151,7 +151,7 @@ describe("Python Declaration equivalency to Type Alias", () => {
151
151
  from typing import TYPE_CHECKING
152
152
 
153
153
  if TYPE_CHECKING:
154
- from typing import TypeAlias
154
+ from typing import TypeAlias
155
155
 
156
156
 
157
157
  handle_request: TypeAlias = Callable[[str], str]`);
@@ -25,9 +25,9 @@ describe("Python TypeDeclaration dispatcher", () => {
25
25
 
26
26
 
27
27
  class Foo(IntEnum):
28
- ONE = 1
29
- TWO = 2
30
- THREE = 3
28
+ ONE = 1
29
+ TWO = 2
30
+ THREE = 3
31
31
 
32
32
 
33
33
  `);
@@ -47,7 +47,7 @@ describe("Python TypeDeclaration dispatcher", () => {
47
47
  from typing import TYPE_CHECKING
48
48
 
49
49
  if TYPE_CHECKING:
50
- from typing import TypeAlias
50
+ from typing import TypeAlias
51
51
 
52
52
 
53
53
  my_date: TypeAlias = datetime`);
@@ -66,7 +66,7 @@ describe("Python TypeDeclaration dispatcher", () => {
66
66
  from typing import TYPE_CHECKING
67
67
 
68
68
  if TYPE_CHECKING:
69
- from typing import TypeAlias
69
+ from typing import TypeAlias
70
70
 
71
71
 
72
72
  items: TypeAlias = list[int]`);
@@ -8,5 +8,5 @@ export interface TypeExpressionProps {
8
8
  */
9
9
  noReference?: boolean;
10
10
  }
11
- export declare function TypeExpression(props: TypeExpressionProps): string | number | boolean | void | import("@alloy-js/core").RenderableObject | import("@alloy-js/core").RefkeyableObject | (() => import("@alloy-js/core").Children) | import("@alloy-js/core").Ref<any, any> | import("@alloy-js/core").CustomContext | import("@alloy-js/core").IndentIntrinsicElement | import("@alloy-js/core").IndentIfBreakIntrinsicElement | import("@alloy-js/core").BrIntrinsicElement | import("@alloy-js/core").LineIntrinsicElement | import("@alloy-js/core").HbrIntrinsicElement | import("@alloy-js/core").HardlineIntrinsicElement | import("@alloy-js/core").SbrIntrinsicElement | import("@alloy-js/core").SoftlineIntrinsicElement | import("@alloy-js/core").GroupIntrinsicElement | import("@alloy-js/core").AlignIntrinsicElement | import("@alloy-js/core").FillIntrinsicElement | import("@alloy-js/core").BreakParentIntrinsicElement | import("@alloy-js/core").LineSuffixIntrinsicElement | import("@alloy-js/core").LineSuffixBoundaryIntrinsicElement | import("@alloy-js/core").DedentIntrinsicElement | import("@alloy-js/core").LiterallineIntrinsicElement | import("@alloy-js/core").LbrIntrinsicElement | import("@alloy-js/core").DedentToRootIntrinsicElement | import("@alloy-js/core").MarkAsRootIntrinsicElement | import("@alloy-js/core").IfBreakIntrinsicElement | import("@alloy-js/core").Children[] | null;
11
+ export declare function TypeExpression(props: TypeExpressionProps): string | number | boolean | void | import("@alloy-js/core").RenderableObject | import("@alloy-js/core").RefkeyableObject | (() => import("@alloy-js/core").Children) | import("@alloy-js/core").Ref<any, any> | import("@alloy-js/core").CustomContext | import("@alloy-js/core").AlloyNode | import("@alloy-js/core").Children[] | null;
12
12
  //# sourceMappingURL=type-expression.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"type-expression.d.ts","sourceRoot":"","sources":["../../../../../src/python/components/type-expression/type-expression.tsx"],"names":[],"mappings":"AAKA,OAAO,EAKL,KAAK,IAAI,EACV,MAAM,oBAAoB,CAAC;AAQ5B,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,IAAI,CAAC;IAEX;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,mBAAmB,4yCA8KxD"}
1
+ {"version":3,"file":"type-expression.d.ts","sourceRoot":"","sources":["../../../../../src/python/components/type-expression/type-expression.tsx"],"names":[],"mappings":"AAKA,OAAO,EAKL,KAAK,IAAI,EACV,MAAM,oBAAoB,CAAC;AAQ5B,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,IAAI,CAAC;IAEX;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,mBAAmB,4UA8KxD"}
@@ -152,8 +152,8 @@ describe("handles UnionVariant types", () => {
152
152
 
153
153
 
154
154
  class Color(StrEnum):
155
- RED = "red"
156
- BLUE = "blue"
155
+ RED = "red"
156
+ BLUE = "blue"
157
157
 
158
158
 
159
159
  Literal[Color.RED]
@@ -187,8 +187,8 @@ describe("handles UnionVariant types", () => {
187
187
 
188
188
 
189
189
  class Status(IntEnum):
190
- ACTIVE = 1
191
- INACTIVE = 0
190
+ ACTIVE = 1
191
+ INACTIVE = 0
192
192
 
193
193
 
194
194
  Literal[Status.ACTIVE]
@@ -244,8 +244,8 @@ describe("handles UnionVariant types", () => {
244
244
 
245
245
 
246
246
  class Result(StrEnum):
247
- SUCCESS = "success"
248
- FAILURE = "failure"
247
+ SUCCESS = "success"
248
+ FAILURE = "failure"
249
249
 
250
250
 
251
251
  Literal[Result.SUCCESS]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typespec/emitter-framework",
3
- "version": "0.18.0",
3
+ "version": "0.18.1-dev.1",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "repository": {
@@ -44,18 +44,20 @@
44
44
  "license": "MIT",
45
45
  "description": "",
46
46
  "peerDependencies": {
47
- "@alloy-js/core": "^0.23.0",
48
- "@alloy-js/csharp": "^0.23.0",
49
- "@alloy-js/python": "^0.4.0",
50
- "@alloy-js/typescript": "^0.23.0",
51
- "@typespec/compiler": "^1.13.0"
47
+ "@alloy-js/core": "^0.24.1",
48
+ "@alloy-js/csharp": "^0.24.0",
49
+ "@alloy-js/python": "^0.5.0",
50
+ "@alloy-js/typescript": "^0.24.0",
51
+ "@typespec/compiler": "^1.13.0 || >= 1.14.0-dev.7"
52
52
  },
53
53
  "devDependencies": {
54
- "@alloy-js/cli": "^0.23.0",
55
- "@alloy-js/core": "^0.23.0",
56
- "@alloy-js/python": "^0.4.0",
57
- "@alloy-js/rollup-plugin": "^0.1.1",
58
- "@alloy-js/typescript": "^0.23.0",
54
+ "@alloy-js/cli": "^0.24.0",
55
+ "@alloy-js/core": "^0.24.1",
56
+ "@alloy-js/python": "^0.5.0",
57
+ "@alloy-js/rollup-plugin": "^0.1.2",
58
+ "@alloy-js/typescript": "^0.24.0",
59
+ "@typespec/compiler": "^1.13.0 || >= 1.14.0-dev.7",
60
+ "@types/node": "^26.0.0",
59
61
  "concurrently": "^10.0.0",
60
62
  "pathe": "^2.0.3",
61
63
  "prettier": "^3.8.1",
@@ -66,8 +68,7 @@
66
68
  "tree-sitter-typescript": "^0.23.2",
67
69
  "typescript": "~6.0.2",
68
70
  "vitest": "^4.1.3",
69
- "web-tree-sitter": "^0.26.8",
70
- "@typespec/compiler": "^1.13.0"
71
+ "web-tree-sitter": "^0.26.8"
71
72
  },
72
73
  "scripts": {
73
74
  "build": "alloy build",
package/package.json.bak CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typespec/emitter-framework",
3
- "version": "0.18.0",
3
+ "version": "0.18.1-dev.1",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "repository": {
@@ -71,7 +71,7 @@
71
71
  "@alloy-js/csharp": "catalog:",
72
72
  "@alloy-js/python": "catalog:",
73
73
  "@alloy-js/typescript": "catalog:",
74
- "@typespec/compiler": "workspace:^"
74
+ "@typespec/compiler": "^1.13.0 || >= 1.14.0-dev.7"
75
75
  },
76
76
  "devDependencies": {
77
77
  "@alloy-js/cli": "catalog:",
@@ -79,7 +79,8 @@
79
79
  "@alloy-js/python": "catalog:",
80
80
  "@alloy-js/rollup-plugin": "catalog:",
81
81
  "@alloy-js/typescript": "catalog:",
82
- "@typespec/compiler": "workspace:^",
82
+ "@typespec/compiler": "^1.13.0 || >= 1.14.0-dev.7",
83
+ "@types/node": "catalog:",
83
84
  "concurrently": "catalog:",
84
85
  "pathe": "catalog:",
85
86
  "prettier": "catalog:",