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

71 Коммитов

Автор SHA1 Сообщение Дата
Timothee Guerin dec504364c
Bump versions for 0.56.0 release (#3298) 2024-05-08 00:34:05 +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
Timothee Guerin 2f53533d94
Bump versions for release 0.55.0 - april 2024 (#3096) 2024-04-02 14:55:47 -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 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 7312314bcb
Remove old message burried in changelog (#2989) 2024-03-05 16:05:57 -08:00
Timothee Guerin 9881002f1c
Bump versions for release march 2024 (#2988) 2024-03-05 15:31:47 -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 ad74773b53
Bump version for February release (#2890) 2024-02-06 16:14:38 -08:00
Mark Cowlishaw 345cd594da
Prepare Publish for January Release (#2816) 2024-01-24 11:14:23 -08:00
Timothee Guerin 55ea44250d
Vitest improvements: vitest-ui, watch mode for deps, debug config (#2791)
Add vitest ui package and `test:ui` command to popup the vitest UI
https://vitest.dev/guide/ui

Import the common vitest config from the workspace so each package
doesn't need to define all of it.
Added `watchExclude: []` to the common config to preven vitest from
excluding dist and node_modules folder which is required so it can auto
rerun the test on when a dependency (monorepo dep) rebuilds

Added debug config to debug the current test. As the vitest extensions
is quite unreliable this should help
2024-01-22 09:56:55 -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
Timothee Guerin 9f15ba5502
General dependency upgrades (#2753)
Major:
- Typescript 5.3
- Vite 5
- Rollup 4
2023-12-13 21:01:13 +00:00
Mark Cowlishaw e52a32c76a
Prepare Publish for December release (#2740) 2023-12-06 12:43:01 -08:00
Mark Cowlishaw 6d69297a05
Prepare typespec publish for November Release (#2646) 2023-11-07 16:56:19 -08:00
Timothee Guerin 0ca049cf13
Migrate out of typesVersions in package.json and cleanup (#2560)
Re-Reverts microsoft/typespec#2554

Making this pr for next release

Co-authored-by: Mark Cowlishaw <markcowl@microsoft.com>
2023-11-06 19:55:30 +00:00
Timothee Guerin 533c974a47
Drop support for node 16 (#2605)
fix [#1847](https://github.com/microsoft/typespec/issues/1847)
2023-10-26 11:41:54 -07:00
Mark Cowlishaw e76223066e
Prepare typespec publish (#2567) 2023-10-11 17:38:29 -07:00
Timothee Guerin 1a18ef2ac4
Revert "Migrate out of typesVersions in package.json and cleanup" (#2554)
Reverts microsoft/typespec#2488

This PR ends up being a breaking change, will move it to next release
after going through process
2023-10-10 18:01:41 +00:00
Timothee Guerin e02b74a876
Migrate out of typesVersions in package.json and cleanup (#2488)
Same pr in typespec-azure
https://github.com/Azure/typespec-azure/pull/3641

Migrate to use the `types` entry under `exports` instead of hte legacy
typesVersions. This was a leftover to when es modules where not
completely supported in typescript and using typesVersions was a
workaround.
2023-10-04 22:16:08 +00:00
Timothee Guerin 61ba17d2d2
General dependencies update september 2023 (#2445)
fix https://github.com/Azure/typespec-azure/issues/3602

Notable change:
- yaml update removes the uncessary escaping of openapi paths
2023-09-21 13:34:11 -07:00
Mark Cowlishaw c9a2751618
Prepare typespec publish for September release (#2409) 2023-09-12 16:38:24 -07:00
Mike Harder efd6167a1f
Upgrade dependency "plist" to latest (#2330)
Co-authored-by: Mark Cowlishaw <markcowl@microsoft.com>
2023-08-25 17:30:18 -07:00
Mark Cowlishaw 42d00cef2b
Prepare typespec publish for August release (#2272) 2023-08-08 16:20:33 -07:00
Mark Cowlishaw 140d6ce464
Prepare typespec publish for July release (#2175) 2023-07-11 16:27:59 -07:00
Timothee Guerin b87583fbed
Rush pnpm workspaces (#2080) 2023-06-19 09:55:18 -07:00
Timothee Guerin 9953500af5
Update dependencies june 2023 (#2043) 2023-06-09 12:57:41 -07:00
Nick Guerrera 7a8197f620
Use canonical github microsoft/typespec org/repo casing (all lowercase) (#2038) 2023-06-08 15:50:57 -05:00
Mark Cowlishaw 6f5e1c9329
Prepare publish for May release (#1929)
* Prepare typespec publish

* Adding core release doc
2023-05-10 16:25:52 -07:00
Timothee Guerin d8677f2b66
Update dependencies: March 2023 (TS 5.0) (#1756) 2023-04-12 11:17:23 -07:00
Mark Cowlishaw ae177b6b24
Prepare typespec publish (#1692) 2023-03-03 12:47:28 -08:00
Allen Zhang dc5c55fd3a
Revert package changelog files for accurate historical data keeping (#1677) 2023-02-25 16:44:24 -08:00
Allen Zhang 064161d827 1/3 TypeSpec: Find/Replace Content 2023-02-16 13:07:22 -08:00
Timothee Guerin 540b95e817
Prepare release December 2022 (#1386) 2022-12-07 18:10:48 +00:00
Timothee Guerin 0f8ea06fff
Update dependencies Nov 2022 (#1308) 2022-11-29 20:11:48 +00:00
Timothee Guerin c7a655c468
Prepare cadl publish - September Sprint 2022 (#1001) 2022-09-08 17:24:39 +00:00
Timothee Guerin 0928e584c9
Upgrade to TypeScript `4.8` (#956) 2022-08-31 17:20:59 +00:00
Mark Cowlishaw ab6904a286
Prepare cadl publish (#848) 2022-08-11 13:44:05 -07:00
Timothee Guerin 137bf3de83
Upgrade TypeScript to 4.7 (#555) 2022-05-25 17:12:52 +00:00
Nick Guerrera 5745620123
Prepare cadl publish (#520) 2022-05-06 12:42:05 -05:00
Nick Guerrera b4d8ef5a2b
Remove node 14 support (#433) 2022-04-11 14:30:22 -05:00
Timothee Guerin 3f36964323
Upgrade to typescript 4.6 (#431) 2022-04-11 07:59:45 -07:00
Nick Guerrera d635c8535f
Prepare cadl publish (#391) 2022-03-31 12:27:52 -05:00
Timothee Guerin 5d057edf60
Fix old Azure/adl links (#385) 2022-03-31 08:26:21 -07:00
Timothee Guerin 003854cf43
Fix eslint in vscode (#369) 2022-03-28 13:42:56 -07:00
Nick Guerrera f09618c859
Turn on promise linting and fix issues (#362) 2022-03-28 11:02:24 -05:00
Nick Guerrera 9013c3f2d4
Prepare cadl publish (#309) 2022-03-09 12:42:38 -06:00
Timothee Guerin aea92c72b1
Add `no-console` eslint rule (#293) 2022-03-08 08:32:49 -08:00
Nick Guerrera 6595b501ce
Stop publishing .tsbuildinfo files (#281) 2022-02-24 16:00:03 -06:00