cadl/cspell.yaml

178 строки
2.6 KiB
YAML
Исходник Обычный вид История

version: "0.2"
language: en
allowCompoundWords: true
dictionaries:
- node
- typescript
words:
- Adoptium
- AQID
- atrule
- autorest
- azsdk
- azsdkengsys
- azurecr
- azuresdk
- bifilter
- blockful
- blockless
- cadl
- cadleditor
- cadleng
- cadlplayground
- clsx
- cobertura
- codeql
- Contoso
- CORGE
- createsorreplacesresource
- createsorupdatesresource
- CRUDL
- dbaeumer
- Dcodegen
2023-05-06 02:06:30 +03:00
- debouncer
- Dedupes
- destructures
- devdiv
- Diagnoser
- dogfood
- Dorg
- Dskip
- eastus
- ecmarkup
- esbenp
- esbuild
- espt
- ESRP
- fluentui
- genproto
- globby
- Infima
Fix bundling and inlining of referenced schemas (#3430) Fixes #3369 by changing how types are bundled. In particular, when a type is not a JSON Schema type, we never create a root schema for it. Instead, it is inlined into the defs of any schema which references it, and referenced using a JSON pointer. This PR makes bundling have essentially no impact on emitted schemas, and is merely a way to bundle them into a single file. The approach is as follows: * When a type references another type outside a JSON Schema namespace, include the referenced type under $defs: * Such referenced types do not have a $id or $schema field * Such referenced types are referenced via JSON pointers not ids * Bundling does not alter the bundled schemas or introduce new root schemas. This changes two things from what we do today: * The `$id` of the bundled schemas now includes the file path as it does for non-bundled schemas (whereas before it was just the type name) * non-JSON Schema types do not get $defs in the bundle, so the bundle has the same root schemas as would be written to disk when not bundling.   In terms of implementation, the basic approach is to not handle bundling via the emitter framework source files. Instead, we always create source files for root schemas, and inline the necessary defs as we did before (but now using JSON pointers). Then when we're about to write source files, if we're bundling we assemble the bundle and emit that single file, otherwise we emit each source file that contains a root schema. Todo: * [ ] Validate that the bundled schemas continue to work with ajv. * [ ] Cleanups --------- Co-authored-by: Vitalii Kryvenko <gersoh3@gmail.com>
2024-05-24 03:49:43 +03:00
- inlines
- inmemory
- instanceid
[gRPC] @typespec/protobuf (#636) * gRPC: initial commit moving from demo to public repo * Added a README * remove copied changelogs * added fresh changelog.json * Some cleanup, removed synthetic models * WIP testing system * Recorded a test * Fixed bug bypassing effective type calculation. * Made 'simple' even simpler. * Added test for inferring message names from context * Supported output message name inference and refactored unreachable types. * Unleaked discriminated union tags. * Updated some documentation. * Capitalize method names, remove space between method name and input type. * Tweaked proto header * Extracted writing reservations into own function * Taught the expectation system to look for diagnostics. * Check for namespace collisions. * Fixed simple-error test * Re-recorded a simple test. * Renamed grpc -> protobuf, improved handling of many protobuf features * Implement cross-package references * Reworked a bunch of docs issues and diagnostics. * Lazy initialize scalars map * Some doc updates * Removed protoc output * Renamed tests to .tsp * Updated diagnostics and some documentation * Updated entrypoint from typespecMain to tspMain * Updated docs * Lint/spell fixes * Updated enum error messages * Improved namespace handling * Reject anonymous models in messages * Removed TODOs * Fixed test harness on windows * addressbook scenario * Several small updates * Ignored .protoc-out integration folder * Updated a few documentation entries * Import from fs rather than import fs * Increased resilience to failed scalar resolutions. * Support derived scalars by traversing the scalar inheritance links. * Add protobuf as website dependency * Just don't support unions for now * Better handling of intrinsic types * Added a note about onValidate * Added a note about syntax target functions * Move a symbol * Add a readme warning.
2023-04-25 19:23:51 +03:00
- interner
- intrinsics
- jdwp
- jsyaml
[gRPC] @typespec/protobuf (#636) * gRPC: initial commit moving from demo to public repo * Added a README * remove copied changelogs * added fresh changelog.json * Some cleanup, removed synthetic models * WIP testing system * Recorded a test * Fixed bug bypassing effective type calculation. * Made 'simple' even simpler. * Added test for inferring message names from context * Supported output message name inference and refactored unreachable types. * Unleaked discriminated union tags. * Updated some documentation. * Capitalize method names, remove space between method name and input type. * Tweaked proto header * Extracted writing reservations into own function * Taught the expectation system to look for diagnostics. * Check for namespace collisions. * Fixed simple-error test * Re-recorded a simple test. * Renamed grpc -> protobuf, improved handling of many protobuf features * Implement cross-package references * Reworked a bunch of docs issues and diagnostics. * Lazy initialize scalars map * Some doc updates * Removed protoc output * Renamed tests to .tsp * Updated diagnostics and some documentation * Updated entrypoint from typespecMain to tspMain * Updated docs * Lint/spell fixes * Updated enum error messages * Improved namespace handling * Reject anonymous models in messages * Removed TODOs * Fixed test harness on windows * addressbook scenario * Several small updates * Ignored .protoc-out integration folder * Updated a few documentation entries * Import from fs rather than import fs * Increased resilience to failed scalar resolutions. * Support derived scalars by traversing the scalar inheritance links. * Add protobuf as website dependency * Just don't support unions for now * Better handling of intrinsic types * Added a note about onValidate * Added a note about syntax target functions * Move a symbol * Add a readme warning.
2023-04-25 19:23:51 +03:00
- keyer
- lifecyle
- LINUXNEXTVMIMAGE
- LINUXOS
- LINUXVMIMAGE
- lzutf
- MACVMIMAGE
- mocharc
- msbuild
- MSRC
- multis
- munge
- mylib
- nanos
- noformat
- noopener
- noreferrer
- nostdlib
- npmjs
- nupkg
- oapi
- OIDC
- oneds
- oneof
- onig
- onigasm
- onwarn
- openapi
- openapiv
- Perfolizer
- picocolors
- prismjs
- proto
- protobuf
- protoc
- psscriptanalyzer
- pwsh
- recase
- regen
- respecify
- rpaas
- rushx
- safeint
- segmentof
[gRPC] @typespec/protobuf (#636) * gRPC: initial commit moving from demo to public repo * Added a README * remove copied changelogs * added fresh changelog.json * Some cleanup, removed synthetic models * WIP testing system * Recorded a test * Fixed bug bypassing effective type calculation. * Made 'simple' even simpler. * Added test for inferring message names from context * Supported output message name inference and refactored unreachable types. * Unleaked discriminated union tags. * Updated some documentation. * Capitalize method names, remove space between method name and input type. * Tweaked proto header * Extracted writing reservations into own function * Taught the expectation system to look for diagnostics. * Check for namespace collisions. * Fixed simple-error test * Re-recorded a simple test. * Renamed grpc -> protobuf, improved handling of many protobuf features * Implement cross-package references * Reworked a bunch of docs issues and diagnostics. * Lazy initialize scalars map * Some doc updates * Removed protoc output * Renamed tests to .tsp * Updated diagnostics and some documentation * Updated entrypoint from typespecMain to tspMain * Updated docs * Lint/spell fixes * Updated enum error messages * Improved namespace handling * Reject anonymous models in messages * Removed TODOs * Fixed test harness on windows * addressbook scenario * Several small updates * Ignored .protoc-out integration folder * Updated a few documentation entries * Import from fs rather than import fs * Increased resilience to failed scalar resolutions. * Support derived scalars by traversing the scalar inheritance links. * Add protobuf as website dependency * Just don't support unions for now * Better handling of intrinsic types * Added a note about onValidate * Added a note about syntax target functions * Move a symbol * Add a readme warning.
2023-04-25 19:23:51 +03:00
- sfixed
- sint
- ssvs
- strs
- syncpack
- TCGC
- triaging
- TRYIT
- tsdoc
- TSES
- tspd
- tspwebsitepr
- tsvs
- typespec
- typespecvs
- Uhoh
- uitestresults
- unassignable
- Uncapitalize
- uncollapsed
- undifferentiable
- uninstantiated
- unioned
- unparented
2023-05-06 02:06:30 +03:00
- unprefixed
- unprojected
- unrepresentable
- unsourced
- unversioned
- VITE
- vitest
- vsix
- VSSDK
- Vsts
- vswhere
- weidxu
- westus
- WINDOWSVMIMAGE
- xiaofei
- xlarge
- xplat
ignorePaths:
- "**/node_modules/**"
- "**/dist/**"
- "**/dist-dev/**"
- "**/.docusaurus/**"
- "**/CHANGELOG.md"
- "**/coverage/**"
- grammars/**
- packages/website/build/**
- common/scripts/*
- "**/ThirdPartyNotices.txt"
- packages/compiler/test/formatter/scenarios/**
- pnpm-lock.yaml
- "**/*.mp4"
- .git/**
- .gitignore
- .vscode/**
- .editorconfig
- .github/CODEOWNERS
- packages/samples/test/output/**
- "**/BenchmarkDotNet.Artifacts/**"
- "**/tspCodeModel.json"
useGitignore: true
enableGlobDot: true
enableFiletypes:
- cadl
patterns:
- name: cursortest
pattern: /(.*)┆(.*)/g
- name: Authorization_Basic
description: Ignore Base64 authorization tokens
pattern: "/Authorization: Basic\\s+\\S+/g"
ignoreRegExpList:
- cursortest
- Authorization_Basic