Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions packages/compiler/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/compiler/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@typespec/compiler",
"version": "1.7.0",
"version": "1.7.1",
"description": "TypeSpec Compiler Preview",
"author": "Microsoft Corporation",
"license": "MIT",
Expand Down
7 changes: 4 additions & 3 deletions packages/compiler/src/init/prompts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ export function checkbox<Value>(config: Parameters<typeof inquirerCheckbox<Value
theme: {
...config.theme,
style: {
keysHelpTip: 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.)`,
),
keysHelpTip: () =>
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(" ◯"),
Expand Down
6 changes: 3 additions & 3 deletions packages/compiler/templates/scaffolding.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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": [
{
Expand Down Expand Up @@ -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": [
{
Expand Down
Loading