Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Template for setting up an emitter #2736

Merged
merged 36 commits into from
Dec 20, 2023
Merged
Show file tree
Hide file tree
Changes from 35 commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
2af36cc
Basic template
timotheeguerin Dec 6, 2023
95787e5
Sample
timotheeguerin Dec 6, 2023
42f8aea
Add tests
timotheeguerin Dec 6, 2023
e5e5270
move
timotheeguerin Dec 6, 2023
f8c62cd
Add eslint and prettier
timotheeguerin Dec 6, 2023
585a092
respect no emit
timotheeguerin Dec 6, 2023
f991bf1
Merge branch 'main' into feature/library-init
timotheeguerin Dec 6, 2023
e1f2e7c
format
timotheeguerin Dec 6, 2023
6ab5f90
Merge branch 'feature/library-init' of https://github.com/timotheegue…
timotheeguerin Dec 6, 2023
a4a7406
ignore
timotheeguerin Dec 6, 2023
aa46b82
changelog
timotheeguerin Dec 6, 2023
e6268e1
Move to dedicated folder
timotheeguerin Dec 7, 2023
fb7b382
Test host
timotheeguerin Dec 7, 2023
d1d1658
Add tests
timotheeguerin Dec 8, 2023
b9bbe08
Remove cyclic dependency
timotheeguerin Dec 8, 2023
fea13a3
.
timotheeguerin Dec 8, 2023
c0cc33f
.
timotheeguerin Dec 8, 2023
ae149b5
Fix regression
timotheeguerin Dec 8, 2023
5671f79
try
timotheeguerin Dec 8, 2023
005e97d
test
timotheeguerin Dec 8, 2023
ff99c4a
Better handling of path resolution
timotheeguerin Dec 8, 2023
f0812b9
.
timotheeguerin Dec 8, 2023
e900d36
no warning
timotheeguerin Dec 9, 2023
35ae05c
try
timotheeguerin Dec 9, 2023
2d5d4f5
fix dockerfile
timotheeguerin Dec 9, 2023
397fd3d
.,
timotheeguerin Dec 11, 2023
d354dd3
fix
timotheeguerin Dec 11, 2023
36bbecb
regen
timotheeguerin Dec 11, 2023
e18e7b2
Move templates back into compiler
timotheeguerin Dec 18, 2023
e7f2bab
Merge branch 'main' of https://github.com/Microsoft/typespec into fea…
timotheeguerin Dec 18, 2023
041ae4f
format
timotheeguerin Dec 18, 2023
b3ed664
fix
timotheeguerin Dec 18, 2023
637a554
remove unused changelog
timotheeguerin Dec 19, 2023
429c240
Merge branch 'main' into feature/library-init
timotheeguerin Dec 19, 2023
0a98202
update docs
timotheeguerin Dec 19, 2023
c58ac4b
format
timotheeguerin Dec 19, 2023
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
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,8 @@ packages/website/versioned_docs/**/standard-library/built-in-data-types.md
# Auto generated version list
packages/website/playground-versions.json

# Auto generated built-in template list
packages/compiler/templates/scaffolding.json

#.tsp init template
eng/feeds/
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"changes": [
{
"packageName": "@typespec/compiler",
"comment": "Add a new init template for creating a new emitter",
"type": "none"
},
{
"packageName": "@typespec/compiler",
"comment": "Added new `--template` option to `tsp init` command line action which lets user specify which template to choose from in the template list.",
"type": "none"
}
],
"packageName": "@typespec/compiler"
}
8 changes: 8 additions & 0 deletions common/config/rush/command-line.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@
"ignoreMissingScript": true,
"ignoreDependencyOrder": true
},
{
"commandKind": "bulk",
"name": "test:e2e",
"summary": "(CUSTOM) Runs all the e2e tests.",
"enableParallelism": true,
"ignoreMissingScript": true,
"ignoreDependencyOrder": true
},
{
"commandKind": "global",
"safeForSimultaneousRushProcesses": true,
Expand Down
Loading
Loading