Skip to content

Commit

Permalink
Fix dependencies and add scaffolding (#5733)
Browse files Browse the repository at this point in the history
  • Loading branch information
markcowl authored Jan 24, 2025
1 parent b7e801a commit dd65f86
Show file tree
Hide file tree
Showing 57 changed files with 4,306 additions and 2,353 deletions.
33 changes: 33 additions & 0 deletions .chronus/changes/another-branch-2025-0-24-3-4-49.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
changeKind: internal
packages:
- "@typespec/bundler"
- "@typespec/compiler"
- "@typespec/eslint-plugin"
- "@typespec/events"
- "@typespec/html-program-viewer"
- "@typespec/http-server-javascript"
- "@typespec/http-specs"
- "@typespec/http"
- "@typespec/internal-build-utils"
- "@typespec/json-schema"
- "@typespec/library-linter"
- "@typespec/openapi"
- "@typespec/openapi3"
- "@typespec/playground"
- "@typespec/prettier-plugin-typespec"
- "@typespec/protobuf"
- "@typespec/rest"
- "@typespec/spec-api"
- "@typespec/spec-coverage-sdk"
- "@typespec/spector"
- "@typespec/sse"
- "@typespec/streams"
- tmlanguage-generator
- typespec-vscode
- "@typespec/versioning"
- "@typespec/xml"
---

Upgrade playwright dev dependency
8 changes: 8 additions & 0 deletions .chronus/changes/scaf-01-2025-0-17-0-26-24.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
changeKind: fix
packages:
- "@typespec/http-server-csharp"
---

Add scaffolding option for csharp generator
7 changes: 6 additions & 1 deletion cspell.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ words:
- espt
- ESRP
- etree
- fastify
- fluentui
- français
- genproto
- getpgid
- giacamo
Expand All @@ -80,8 +82,11 @@ words:
- Hdvcmxk
- headasbooleanfalse
- headasbooleantrue
- hscs
- HSTS
- imple
- Infima
- initcs
- inlines
- inmemory
- instanceid
Expand Down Expand Up @@ -203,6 +208,7 @@ words:
- ssvs
- statment
- strs
- swaggerui
- syncpack
- TCGC
- timegm
Expand Down Expand Up @@ -253,7 +259,6 @@ words:
- xplat
- xxsubtype
- yamls
- français
ignorePaths:
- "**/node_modules/**"
- "**/dist/**"
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
"@octokit/plugin-rest-endpoint-methods": "^13.3.0",
"@pnpm/find-workspace-packages": "^6.0.9",
"@types/micromatch": "^4.0.9",
"@types/node": "~22.10.7",
"@vitest/coverage-v8": "^3.0.3",
"@types/node": "~22.10.10",
"@vitest/coverage-v8": "^3.0.4",
"c8": "^10.1.3",
"cspell": "^8.17.2",
"eslint": "^9.18.0",
Expand All @@ -61,7 +61,7 @@
"eslint-plugin-vitest": "^0.5.4",
"micromatch": "^4.0.8",
"picocolors": "~1.1.1",
"playwright": "^1.49.1",
"playwright": "^1.50.0",
"prettier": "~3.4.2",
"prettier-plugin-astro": "^0.14.1",
"prettier-plugin-organize-imports": "~4.1.0",
Expand All @@ -70,7 +70,7 @@
"tsx": "^4.19.2",
"typescript": "~5.7.3",
"typescript-eslint": "^8.21.0",
"vitest": "^3.0.3",
"vitest": "^3.0.4",
"yaml": "~2.7.0"
},
"syncpack": {
Expand Down
6 changes: 3 additions & 3 deletions packages/best-practices/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@
"@typespec/compiler": "workspace:~"
},
"devDependencies": {
"@types/node": "~22.10.7",
"@types/node": "~22.10.10",
"@typespec/compiler": "workspace:~",
"@vitest/coverage-v8": "^3.0.3",
"@vitest/coverage-v8": "^3.0.4",
"@vitest/ui": "^3.0.3",
"c8": "^10.1.3",
"rimraf": "~6.0.1",
"typescript": "~5.7.3",
"vitest": "^3.0.3"
"vitest": "^3.0.4"
}
}
6 changes: 3 additions & 3 deletions packages/bundle-uploader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@
"semver": "^7.6.3"
},
"devDependencies": {
"@types/node": "~22.10.7",
"@types/node": "~22.10.10",
"@types/semver": "^7.5.8",
"@vitest/coverage-v8": "^3.0.3",
"@vitest/coverage-v8": "^3.0.4",
"@vitest/ui": "^3.0.3",
"c8": "^10.1.3",
"rimraf": "~6.0.1",
"typescript": "~5.7.3",
"vitest": "^3.0.3"
"vitest": "^3.0.4"
}
}
6 changes: 3 additions & 3 deletions packages/bundler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,14 @@
"yargs": "~17.7.2"
},
"devDependencies": {
"@types/node": "~22.10.7",
"@types/node": "~22.10.10",
"@types/yargs": "~17.0.33",
"@vitest/coverage-v8": "^3.0.3",
"@vitest/coverage-v8": "^3.0.4",
"@vitest/ui": "^3.0.3",
"c8": "^10.1.3",
"rimraf": "~6.0.1",
"typescript": "~5.7.3",
"vite": "^6.0.11",
"vitest": "^3.0.3"
"vitest": "^3.0.4"
}
}
6 changes: 3 additions & 3 deletions packages/compiler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,20 +105,20 @@
"devDependencies": {
"@types/babel__code-frame": "~7.0.6",
"@types/mustache": "~4.2.5",
"@types/node": "~22.10.7",
"@types/node": "~22.10.10",
"@types/prompts": "~2.4.9",
"@types/semver": "^7.5.8",
"@types/yargs": "~17.0.33",
"@typespec/internal-build-utils": "workspace:~",
"@vitest/coverage-v8": "^3.0.3",
"@vitest/coverage-v8": "^3.0.4",
"@vitest/ui": "^3.0.3",
"c8": "^10.1.3",
"grammarkdown": "~3.3.2",
"rimraf": "~6.0.1",
"source-map-support": "~0.5.21",
"tmlanguage-generator": "workspace:~",
"typescript": "~5.7.3",
"vitest": "^3.0.3",
"vitest": "^3.0.4",
"vscode-oniguruma": "~2.0.1",
"vscode-textmate": "~9.2.0"
}
Expand Down
6 changes: 3 additions & 3 deletions packages/eslint-plugin-typespec/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,17 @@
"eslint": "^9.18.0"
},
"devDependencies": {
"@types/node": "~22.10.7",
"@types/node": "~22.10.10",
"@typescript-eslint/parser": "^8.21.0",
"@typescript-eslint/rule-tester": "^8.21.0",
"@typescript-eslint/types": "^8.21.0",
"@vitest/coverage-v8": "^3.0.3",
"@vitest/coverage-v8": "^3.0.4",
"@vitest/ui": "^3.0.3",
"c8": "^10.1.3",
"eslint": "^9.18.0",
"rimraf": "~6.0.1",
"typescript": "~5.7.3",
"vitest": "^3.0.3"
"vitest": "^3.0.4"
},
"dependencies": {
"@typescript-eslint/utils": "^8.21.0"
Expand Down
6 changes: 3 additions & 3 deletions packages/events/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,15 @@
"@typespec/compiler": "workspace:~"
},
"devDependencies": {
"@types/node": "~22.10.7",
"@types/node": "~22.10.10",
"@typespec/compiler": "workspace:~",
"@typespec/library-linter": "workspace:~",
"@typespec/tspd": "workspace:~",
"@vitest/coverage-v8": "^3.0.3",
"@vitest/coverage-v8": "^3.0.4",
"@vitest/ui": "^3.0.3",
"c8": "^10.1.3",
"rimraf": "~6.0.1",
"typescript": "~5.7.3",
"vitest": "^3.0.3"
"vitest": "^3.0.4"
}
}
6 changes: 3 additions & 3 deletions packages/html-program-viewer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,20 +63,20 @@
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.2.0",
"@types/node": "~22.10.7",
"@types/node": "~22.10.10",
"@types/react": "~18.3.11",
"@types/react-dom": "~18.3.0",
"@typespec/compiler": "workspace:~",
"@typespec/react-components": "workspace:~",
"@vitejs/plugin-react": "~4.3.4",
"@vitest/coverage-v8": "^3.0.3",
"@vitest/coverage-v8": "^3.0.4",
"@vitest/ui": "^3.0.3",
"c8": "^10.1.3",
"rimraf": "~6.0.1",
"typescript": "~5.7.3",
"vite": "^6.0.11",
"vite-plugin-checker": "^0.8.0",
"vite-plugin-dts": "4.5.0",
"vitest": "^3.0.3"
"vitest": "^3.0.4"
}
}
2 changes: 2 additions & 0 deletions packages/http-server-csharp/cmd/hscs.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/usr/bin/env node
import "../dist/src/cli/cli.js";
29 changes: 19 additions & 10 deletions packages/http-server-csharp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,18 @@
"c-sharp"
],
"type": "module",
"main": "dist/src/index.js",
"bin": {
"hscs": "./cmd/hscs.js"
},
"main": "dist/src/lib/index.js",
"exports": {
".": {
"types": "./dist/src/index.d.ts",
"default": "./dist/src/index.js"
"types": "./dist/src/lib/index.d.ts",
"default": "./dist/src/lib/index.js"
},
"./testing": {
"types": "./dist/src/testing/index.d.ts",
"default": "./dist/src/testing/index.js"
"types": "./dist/src/lib/testing/index.d.ts",
"default": "./dist/src/lib/testing/index.js"
}
},
"engines": {
Expand All @@ -46,7 +49,7 @@
"regen-docs": "echo No doc generation for alpha version"
},
"files": [
"lib/*.tsp",
"lib/**/*.tsp",
"dist/**",
"!dist/test/**"
],
Expand All @@ -57,21 +60,27 @@
"@typespec/versioning": "workspace:~"
},
"dependencies": {
"change-case": "~5.4.4"
"change-case": "~5.4.4",
"cross-spawn": "^7.0.6",
"picocolors": "~1.1.1",
"yargs": "~17.7.2"
},
"devDependencies": {
"@types/node": "~22.10.7",
"@types/node": "~22.10.10",
"@types/yargs": "~17.0.33",
"@types/cross-spawn": "~6.0.6",
"@typespec/compiler": "workspace:~",
"@typespec/http": "workspace:~",
"@typespec/library-linter": "workspace:~",
"@typespec/openapi": "workspace:~",
"@typespec/rest": "workspace:~",
"@typespec/tspd": "workspace:~",
"@vitest/coverage-v8": "^3.0.3",
"@typespec/versioning": "workspace:~",
"@vitest/coverage-v8": "^3.0.4",
"@vitest/ui": "^3.0.3",
"c8": "^10.1.3",
"rimraf": "~6.0.1",
"typescript": "~5.7.3",
"vitest": "^3.0.3"
"vitest": "^3.0.4"
}
}
Loading

0 comments on commit dd65f86

Please sign in to comment.