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

36 Коммитов

Автор SHA1 Сообщение Дата
Timothee Guerin cba630b21f
Astro format (#4811)
Settup prettier extension, fixed a few style inconsitencies too
2024-10-22 16:06:08 +00:00
Timothee Guerin 12c67ef552
Upgrade dependencies - October 2024 (#4679) 2024-10-10 16:54:34 +00:00
Timothee Guerin 3d809416fc
Upgrade dependencies, fix rollup vulnerability (#4531)
Upgrade rollup that has a vulnerability and other packages while at it
2024-09-25 19:44:09 +00:00
Timothee Guerin 3d14d7c2c9
Bump dependencies - Sep 2024 (#4424)
Notable: 
- Typescript 5.6: iterator functions  and more
- typescript-eslint 8: new rules, breaking change to some other, found a
few bugs/test not actually testing
- eslint 9: new rules
- removed deprecation/deprecation plugin as typescript eslint has rule
for it now(and updated) many places where it wasn't reporting correctly
2024-09-13 15:50:22 +00:00
Timothee Guerin 04b198693d
Setup api extractor for xml library (#4335)
Ideally we can connect that to api view to report changes to the api
without having to commit extra files to the repo.

But for now this at least enforce the good pattern for api extractor
2024-09-04 21:12:36 +00:00
Timothee Guerin 868891845f
Analyze change ts (#3415)
Convert the analyze-change.ps1 to typescript which allows to reuse a
common config for which area belong to who as well as some other
helpers.

The testing also is then all built-in the same system
2024-07-26 18:38:09 +00:00
Timothee Guerin 49004b60d5
Update dependencies (#3948)
New pr from this branch as it had some weird docusaurus issue not
reproducable anywhere else and just changing branch fixes it somehow
https://github.com/microsoft/typespec/pull/3934
Notable:
- vitest: 2.x
- prettier update that does a minor formatting change by adding
parentheses in some ternary expression
2024-07-23 21:02:34 +00:00
Timothee Guerin 26636840cd
Upgrade to pnpm 9 (#3772) 2024-07-09 16:06:03 +00:00
Timothee Guerin 4553419b75
Enable react hooks linting and fix issues (#3761)
fix #3745
2024-07-08 17:10:06 +00:00
Timothee Guerin f3c2c9b67c
Dependency updates July 2024 (#3718)
Notable: Typescript 5.5
2024-07-01 21:42:11 +00:00
Timothee Guerin 75f407c0ba
Use vitest workspace to run all the tests (#3448)
Co-authored-by: Mark Cowlishaw <markcowl@microsoft.com>
2024-06-03 21:48:18 +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 e316792dcd
Update dependencies - May 2024 (#3401) 2024-05-20 16:31:39 +00:00
Timothee Guerin 940015c91e
Validate typescript eng scripts & use patterns for pr label triage (#3381)
`includesModifedFiles` doesn't seem to be working with path so trying to
use the regex pattern
2024-05-17 16:42:46 +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
Timothee Guerin 0c02653186
Rename try it pipeline to Pr Tools and use new chronus commenter version (#3176)
Rename from pr try it to pr tools as this is more accurate
2024-04-15 21:27:14 +00:00
Timothee Guerin d290c17b5e
Update dependencies - april 2024 (#3169)
Notable: 
- vitest `1.5.0` which solves some issues with running in the extension
- remove `sinon` from compiler which is not needed anymore as vitest
provide spies built-in
2024-04-15 10:24:38 -07:00
Timothee Guerin 35f5c90343
Migrate to eslint flat config (#3123)
resolve https://github.com/microsoft/typespec/issues/3121
same change in typespec-azure
https://github.com/Azure/typespec-azure/pull/620

## Single top level config
This makes it a little nicer to run as you know get the absolute path
for errors
No need to have the hacky rushstack dependency to allow using the same
shared config.

## Able to lint the projects that are outside of the pnpm workspace
<img width="1054" alt="image"
src="https://github.com/microsoft/typespec/assets/1031227/f88691d9-1bf2-4140-ba2b-533207b15f9d">


## Eslint 9 -no yet

eslint 9 was just released firday which makes this config the new
default however it does include breaking changes and not all our plugins
have updated
2024-04-08 09:58:19 -07:00
m-nash 0889ba248c
Initial move of csharp client emitter (#3098)
Fixes https://github.com/microsoft/typespec/issues/3095

---------

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
Co-authored-by: Brian Terlson <brian.terlson@microsoft.com>
Co-authored-by: Timothee Guerin <tiguerin@microsoft.com>
Co-authored-by: Patrick Hallisey <hallipr@gmail.com>
2024-04-04 16:26:05 -07:00
Timothee Guerin 0c1b96be47
Ci improvements (#3099)
- Use corepack to install pnpm: Faster and respect the pnpm version set
in package.json instead of having another place to keep up to date
- dependency cache
- upgrade to new code coverage task
- Move all consitency check to independent github action workflow(Makes
it easier to see which one failed immediately without having to open
devops and dig into the steps)
2024-04-03 16:19:59 -07:00
Timothee Guerin 0dea649cd7
Update dependencies to resolve vulnerabilities and license issue (#3081)
- Remove unused rollup-plugin-dts dep that had problematic license
- Update dependencies to fix vulnerabilies
2024-03-29 21:22:06 +00: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 4199f83575
Upgrade dependencies march 2024 (#3027)
General update of all dependencies, notable
- typescript 5.4
- vitest 1.4
2024-03-18 10:52:06 -07:00
Timothee Guerin 6d5fb9c047
Bump chronus github with fix to not crash on existing release (#2995) 2024-03-06 19:48:53 +00:00
Timothee Guerin cc0eafe3e5
Use chronus for publish and publish github releases (#2985) 2024-03-05 12:47:38 -08:00
Timothee Guerin 69e93a8310
Fix: Bumping prerelease count changes from chronus (#2918) 2024-02-14 15:40:39 -08:00
Timothee Guerin 639d8992c8
Add e2e test for the CLI (#2878)
fix #489

e2e test were also not running at all and the `emitter-ts` template was
failing due to importing `vitest` instead of `node:test`
2024-02-09 16:41:52 +00:00
Timothee Guerin a1eb851cc3
Enable spell check for all files and fix (#2881)
fix #2776
2024-02-08 16:54:23 -08:00
Timothee Guerin 7452fe9a57
Update dependencies - feb 2024 (#2900)
General dependency updates, notable:
- typescript 5.3
- chronus 0.6.0 (BREAKING  THE CHANGELOG FORMAT)
2024-02-08 15:14:01 -08:00
Timothee Guerin 1d6d1ce739
Update chronus to 0.5.1 (#2885)
Contains a fix around ignored packages that caused crash
2024-02-05 17:29:30 +00:00
Timothee Guerin c4ba287a4d
Update with fix (#2880) 2024-02-01 15:54:11 -08:00
Timothee Guerin 3040a83d6d
Chronus changelogs (#2851)
Issues with changesets versioning that prevent us from using it:
1. This one is a deal breaker bug that bumps to major versions(when we
try to bump todays changelog everything gets bumped to 2.0.0) (This is a
bug we found happened sometimes in cadl-ranch but this just happens
immediately in our repo due to everything being linked)
2. the verify doesn't check all packages have changelog just that there
is at least one
3. the `changesets add` doesnt' compare against remote main but local
main so you endup with confusing saying other packages changes if you
pulled some change from main in your branch but not on your local main


## Example of auto created comment

When changes are needed

![image](https://github.com/microsoft/typespec/assets/1031227/f20a0708-1d28-444b-be07-6ededcb5e3c1)

When everything is documented 

![image](https://github.com/microsoft/typespec/assets/1031227/9c0d0d05-d882-4f6e-87a5-3a58301fea49)

## Error is also more readable


![image](https://github.com/microsoft/typespec/assets/1031227/a7d0de43-4fed-4f01-94ba-3f95ae210c5d)

## `chronus add` experience

![image](https://github.com/microsoft/typespec/assets/1031227/ba31c84e-f2bf-4bfb-b754-743f2a78199a)

![image](https://github.com/microsoft/typespec/assets/1031227/922a5afc-e076-4d5c-91fc-df95bf423f04)

![image](https://github.com/microsoft/typespec/assets/1031227/98f2cedb-1783-42ed-930a-2d626de5c642)
2024-02-01 14:07:24 -08:00
Timothee Guerin abd213cd48
Shorten homepage examples (#2830)
<img width="1444" alt="image"
src="https://github.com/microsoft/typespec/assets/1031227/50dc70ef-793c-46b8-ab86-ddfbe251d6a0">
2024-01-26 17:09:39 +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 842405e8d1
Get rid of rush and move to pnpm (#2775)
Remove the opinionated (wrongly so most of the time) middleman that
brings more config pain than value.

Things to check:
- [x] Parallel build performance vs rush
- [ ] Publishing with submodule
- [x] Changesets
2024-01-24 13:37:34 -08:00