diff --git a/packages/compiler/CHANGELOG.md b/packages/compiler/CHANGELOG.md index d06d3d54bba..2b55e46d03d 100644 --- a/packages/compiler/CHANGELOG.md +++ b/packages/compiler/CHANGELOG.md @@ -1,5 +1,12 @@ # Change Log - @typespec/compiler +## 1.7.1 + +### Bug Fixes + +- [#9210](https://github.com/microsoft/typespec/pull/9210) Fix crash in `tsp init` introduced in `1.7.0` + + ## 1.7.0 ### Features diff --git a/packages/compiler/package.json b/packages/compiler/package.json index 3932fffaef3..a336aa71158 100644 --- a/packages/compiler/package.json +++ b/packages/compiler/package.json @@ -1,6 +1,6 @@ { "name": "@typespec/compiler", - "version": "1.7.0", + "version": "1.7.1", "description": "TypeSpec Compiler Preview", "author": "Microsoft Corporation", "license": "MIT", diff --git a/packages/compiler/src/init/prompts.ts b/packages/compiler/src/init/prompts.ts index 17dd6da1098..1c3983fda1a 100644 --- a/packages/compiler/src/init/prompts.ts +++ b/packages/compiler/src/init/prompts.ts @@ -7,9 +7,10 @@ export function checkbox(config: Parameters + pc.gray( + ` (Press ${pc.cyan("space")} to select, ${pc.cyan("a")} to toggle all, ${pc.cyan("i")} to invert selection and ${pc.cyan("enter")} to proceed.)`, + ), }, icon: { unchecked: pc.cyan(" ◯"), diff --git a/packages/compiler/templates/scaffolding.json b/packages/compiler/templates/scaffolding.json index 66b69f96d69..21a62d71428 100644 --- a/packages/compiler/templates/scaffolding.json +++ b/packages/compiler/templates/scaffolding.json @@ -2,7 +2,7 @@ "rest": { "title": "Generic REST API", "description": "Create a project representing a generic REST API service.", - "compilerVersion": "1.7.0", + "compilerVersion": "1.7.1", "libraries": [ "@typespec/http", "@typespec/rest", @@ -70,7 +70,7 @@ "target": "library", "title": "TypeSpec library", "description": "Build your own TypeSpec library with custom types, decorators or linters.", - "compilerVersion": "1.7.0", + "compilerVersion": "1.7.1", "libraries": [], "files": [ { @@ -147,7 +147,7 @@ "target": "library", "title": "TypeSpec emitter", "description": "Create a new package that emits artifacts from TypeSpec.", - "compilerVersion": "1.7.0", + "compilerVersion": "1.7.1", "libraries": [], "files": [ {