Timothee Guerin
a336c93709
Update prettier config to format trailing commas to `all` (Default) ( #4457 )
...
fix #2159
Long standing backlog issue that was split from an upgrade of prettier
as it created too much diff. Finally doing it
2024-09-16 20:20:57 +00:00
m-nash
31d22ebc48
Add publish pipeline for dotnet emitter ( #3116 )
...
Fixes https://github.com/microsoft/typespec/issues/3111
---------
Co-authored-by: Timothee Guerin <tiguerin@microsoft.com>
2024-04-08 17:33:06 -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
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
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
Timothee Guerin
53aa383c90
Stop logging the proc info when a command fails ( #2716 )
...
Stop logging the proc info which had no value and because rush decide it
is so important to crop the logs and only show the end we never had
meaningful info
Before
![image](https://github.com/microsoft/typespec/assets/1031227/438962ed-cf83-4517-b8bd-2f1d86180add )
Now
![image](https://github.com/microsoft/typespec/assets/1031227/5e738b2b-43e0-4a70-a4b5-c392803e2a94 )
---------
Co-authored-by: Brian Terlson <brian.terlson@microsoft.com>
2024-01-04 19:14:06 +00:00
Mark Cowlishaw
140d6ce464
Prepare typespec publish for July release ( #2175 )
2023-07-11 16:27:59 -07:00
Timothee Guerin
14012019ff
Fix: `entrypoints` folder not included in bundle and e2e tests ( #2076 )
2023-06-15 16:58:58 -07:00
David Wilson
3e669c74c1
Split core HTTP functionality from `@typespec/rest` into `@typespec/http` ( #1668 )
...
* Decouple `autoRoute` from HTTP library routing implementation
* Split HTTP functionality of `@typespec/rest` to `@typespec/http`
* Lint and format
* Add Rush change files
* Update playground
* Generate separate documentation for HTTP library
* Minor cleanup and library references
* Add back `isAutoRoute` accessor function
* Add `OperationParameterOptions` to customize operation parameter logic
* Update playground configuration to add `@typespec/http` import
* Remove duplicate diagnostics in REST library
* Update REST and HTTP README files
* Add a changelog entry about `@routeReset` removal
2023-02-27 10:29:55 -08:00
Allen Zhang
60b42557c3
Changing TypeSpec output to tsp-output and entrypoint to tspMain ( #1665 )
...
* Changing output to tsp-output and entrypoint to tspMain
* fixing test case
2023-02-21 22:23:38 +00:00
Allen Zhang
379a0aec44
2/3 TypeSpec: Renaming files
2023-02-16 13:07:22 -08:00
Allen Zhang
064161d827
1/3 TypeSpec: Find/Replace Content
2023-02-16 13:07:22 -08:00
Timothee Guerin
c7a655c468
Prepare cadl publish - September Sprint 2022 ( #1001 )
2022-09-08 17:24:39 +00:00
Nick Guerrera
7a16d48d06
Scope unpublished packages ( #357 )
2022-03-25 15:51:16 +00:00
Timothee Guerin
8cf18c598a
Update e2e test now that new packages have been released(`openapi`, `versioning`) ( #232 )
2022-02-04 11:45:38 -08:00
Timothee Guerin
ba68290633
Seperate openapi decorators into own library ( #205 )
2022-02-02 14:55:10 -08:00
Timothee Guerin
0a872034fd
--emit and emitter api ( #41 )
2022-02-02 12:22:38 -08:00
Brian Terlson
b8c461526f
Implement projections and versioning ( #16 )
...
Adds support for projections, an experimental language feature that lets users write code to modify types dynamically, and a package for implementing versioning on top of this functionality.
2022-02-01 14:18:15 -08:00
Timothee Guerin
23c736816d
Upgrade dependencies - Feb 2022 ( #213 )
2022-02-01 10:03:27 -08:00
Timothee Guerin
65a5918bf4
Basic e2e tests ( #163 )
2022-01-24 15:48:20 -08:00