Граф коммитов

31 Коммитов

Автор SHA1 Сообщение Дата
Timothee Guerin 65167db027
Java server label (#4961)
Fix csharp and js missing area too
2024-11-04 19:48:51 +00:00
Timothee Guerin 74627ec770
Fix labels CI (#4336)
Seems like that was merged with conflict or failure
2024-09-04 17:58:53 +00:00
Timothee Guerin 3087671788
Add java emitter label (#3963) 2024-07-25 15:40:29 +00:00
Timothee Guerin 20e6e59a33
Add new label for openapi converter and ui (#3877) 2024-07-17 20:25:10 +00:00
Laurent Mazuel 22372f907b
Update labels file location (#3553) 2024-06-10 22:19:18 +00:00
Mark Cowlishaw fa532fe579
Fix typo in comtributing doc (#3473) 2024-06-03 18:06:06 +00:00
Timothee Guerin 5698be15fe
Make the sync label logic reusable for typespec-azure repo (#3425)
To allow this https://github.com/Azure/typespec-azure/pull/903
2024-05-23 17:01:14 +00:00
Timothee Guerin 546f65c6db
Add missing openapi3 label and fix policies (#3380) 2024-05-17 00:11:12 +00:00
Timothee Guerin eac8011448
Add generated policy to remove needs-triage when an area is added (#3366)
Generate the Microsoft policy service files to automatically to:
- add/remove `needs-triage` automatically when there is no area or an
area is added
- add the area on PRs


resolve #3340
2024-05-16 22:55:52 +00:00
Timothee Guerin adc2f32767
Add script to sync labels (#3323)
Add script to sync labels to enforce the labels designed in #3265
<img width="1050" alt="image"
src="https://github.com/microsoft/typespec/assets/1031227/5ba6a134-e6d6-4a28-9cf7-99fd27c8e89e">
2024-05-13 21:11:35 +00:00
Wes Haggard f490d448a7
Add emitter structure guidance (#3004)
As we start to think about moving our emitters into this repo I've added
some basic structure guidance in the contributing.md file for review.

I've also started a prototype of moving the csharp emitter into this
repo. See PR https://github.com/microsoft/typespec/pull/2998 for that
work.

For the details on what we are planning for where we are planning to put
things see the design Loop.

Co-authored-by: Mark Cowlishaw <markcowl@microsoft.com>
2024-04-04 14:04:03 -07:00
Timothee Guerin 077db13c8d
Generate TypeScript decorator signatures from `extern dec` (#2122)
Note this is added to `tspd` which is not published yet so this can be
iterated over without any issues.

Adds a decorator signature generator. Generates 2 files:
- `<namespace>.ts` : Contains the decorator signatures that can be
imported and when declaring the decorators functions
- `<namespace>.ts-test.ts`: Contains some test using typescript type
system to make sure the package does reexport the right `$<name>` for
each decorator

---------

Co-authored-by: Brian Terlson <brian.terlson@microsoft.com>
2024-03-19 23:08:59 +00:00
Timothee Guerin 9bf31a65c8
More rush cleanup - bundler uploader (#2841) 2024-01-26 23:02:45 +00:00
Jordan Danford 9f556004ec
Clean up capitalization, parentheses, and phrasing in docs (#2817)
I updated library documentation links
(https://microsoft.github.io/typespec/libraries =>
https://typespec.io/docs/libraries), should I update the other
https://microsoft.github.io links as well?
2024-01-25 10:40:16 -08:00
Timothee Guerin 9c7bf80187
Migrate test framework to vitest (#2769)
Get rid of mocha and upgrade to vitest which is a more modern
alternative providing, watch, direct typescript compilation out of the
box, expect library and more.

Advantage over mocha:
- Much better cli
  -  watch mode
  - better diff
- Better extension:
  -  tree organization for files too (not everything flattened)
- update in real time the test(no more need to refresh manually to
discover where are the tests)
  - just a little buggy
- Compiles typescript directly
- provides more expectation apis(like jest)

Cons over mocha: 
- Slower(about 2x) but that means we don't need to build the test as
part of build which would speed up that part(not as much as is lost)

Todo: 
- typespec-azure migration
2024-01-02 11:40:29 -08:00
Mingzhe Huang cc03604958
fix(docs): bump node requirement to 18 (#2690)
update docs to bump node version from 14/16 to 18, which aligns with tsp
`0.50.0`

---------

Co-authored-by: Timothee Guerin <timothee.guerin@outlook.com>
2023-11-22 17:49:36 +00:00
Timothee Guerin f1daf15666
update playwright (#2606)
fix [#2457](https://github.com/microsoft/typespec/issues/2457)
2023-10-30 19:47:46 +00:00
Timothee Guerin 31fd5abf97
Samples as tests (#2215)
fix [#3017](https://github.com/Azure/typespec-azure/issues/3017)

Run the samples as test which allows all of them to run without crashing
on the first one, lets us run it in the test explorer.

This also make the sample regeneration much faster(typespec azure repo):
- Before `~90s`
- Now `~12s`


![image](https://github.com/microsoft/typespec/assets/1031227/a3356a90-7847-43cf-a473-4ecda0c53330)

## New `resolveCompilerOptions` utils
This also include the addition of a new util `resolveCompilerOptions`
that resolve the compiler options programtically in the same way that
the cli would have for a given entrypoint.

I can move this into a dedicated PR if people prefer.

---------

Co-authored-by: Mark Cowlishaw <markcowl@microsoft.com>
2023-08-04 10:19:02 -07:00
Allen Zhang 064161d827 1/3 TypeSpec: Find/Replace Content 2023-02-16 13:07:22 -08:00
Nick Guerrera 5c4ec3fb23
Remove support for Visual Studio 2019 (#1616) 2023-02-09 14:04:58 -06:00
Laurent Mazuel db3fc5103f
Add info to run the website locally (#1482)
Co-authored-by: Timothee Guerin <tiguerin@microsoft.com>
2022-12-28 03:33:45 +00:00
Timothee Guerin 9b6a32d8f4
Reference doc generation (#1415) 2022-12-15 08:48:16 -08:00
Timothee Guerin 1420aa7c11
Add github action to run formatter for you (#1219) 2022-10-24 22:30:51 +00:00
Timothee Guerin 278ee3cf83
Publish website to gh pages (#1063) 2022-09-21 11:30:49 -07:00
Timothee Guerin 90d84de1fb
Setup spell check and fix issues in markdown, ts and changelogs (#1000) 2022-09-09 19:54:18 +00:00
Travis Prescott e40e2fa8a9
Update CONTRIBUTING.md (#535)
* Update CONTRIBUTING.md

Add a couple additional commands to contributing guide.

* Update CONTRIBUTING.md

Co-authored-by: Timothee Guerin <tiguerin@microsoft.com>
Co-authored-by: Mark Cowlishaw <markcowl@microsoft.com>
Co-authored-by: Timothee Guerin <timothee.guerin@outlook.com>
2022-08-22 17:16:12 +00:00
Timothee Guerin 4bbe9f752b
Update contributing docs (#509) 2022-05-10 08:02:40 -07:00
Timothee Guerin 94cdeb9818
Fix issue with detecting existing comment for tryit url (#458) 2022-04-19 09:29:35 -07:00
Nick Guerrera 53cbecc69c
Use prettier for markdown too (#72) 2021-11-19 15:52:17 +00:00
Nick Guerrera 03d5020f60
Update contributing docs (#37)
* Release publishing is handled by cadl-azure docs since the current process
  is to publish both repos together. Remove the stale info on publishing
  from here.

* Note that Node 16 is also supported in addition to Node 14.
2021-11-02 12:38:39 +00:00
Nick Guerrera d649b44771
Port over CONTRIBUTING.md to OSS repo (#9)
Also minimally update README to cover OpenAPI 3.0 and cover `cadl compile`
with more technical correctness.
2021-10-22 16:31:45 -05:00