Skip to content

Commit

Permalink
Update CLI to work with new feature model (#426)
Browse files Browse the repository at this point in the history
* Rebase to main

* pre test done

* Misc. fixes

* Move some code from common to shared package

* Remove unused disable directive

* Start using types and adapt code to new feature model

Add vscode tasks to start Apollo for cypress and cli testing

* Fix lint import

* Fix attribute conversion

In previous commit the `newAttributes` set collected attributes but
didn't transfer them to the final set.

* More use of strong typing

* Expected line count edited to reflect new feature model and sequence
download

* Fix linter

* Fix some dependency issus

---------

Co-authored-by: Kyosti Sutinen <[email protected]>
Co-authored-by: Garrett Stevens <[email protected]>
  • Loading branch information
3 people authored Aug 27, 2024
1 parent f6f4928 commit 22db7bd
Show file tree
Hide file tree
Showing 33 changed files with 2,179 additions and 1,095 deletions.
30 changes: 30 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,35 @@
"dependsOn": ["start shared", "start server", "start plugin"],
"problemMatcher": [],
},
{
"label": "start server cypress",
"type": "npm",
"script": "cypress:start",
"path": "packages/apollo-collaboration-server",
"problemMatcher": [],
"detail": "yarn build:shared && yarn start:nest --watch",
"dependsOn": ["yarn"],
"isBackground": true,
},
{
"label": "start server cli test",
"type": "npm",
"script": "test:cli:start",
"path": "packages/apollo-collaboration-server",
"problemMatcher": [],
"detail": "yarn build:shared && yarn start:nest --watch",
"dependsOn": ["yarn"],
"isBackground": true,
},
{
"label": "Start-cypress",
"dependsOn": ["start shared", "start server cypress", "start plugin"],
"problemMatcher": [],
},
{
"label": "Start-cli-test",
"dependsOn": ["start shared", "start server cli test", "start plugin"],
"problemMatcher": [],
},
],
}
Loading

0 comments on commit 22db7bd

Please sign in to comment.