Skip to content

Add @atlas/blueapi and @atlas/blueapi-query packages#17

Open
douglaswinter wants to merge 6 commits intomainfrom
dw/blueapi_package
Open

Add @atlas/blueapi and @atlas/blueapi-query packages#17
douglaswinter wants to merge 6 commits intomainfrom
dw/blueapi_package

Conversation

@douglaswinter
Copy link
Collaborator

Introducing two very light packages.

  1. @atlas/blueapi: axios blueapi queries. Can be used as is, or through

  2. @atlas/blueapi-query: tanstack react query wrappers for the above, exposing hooks such as usePlans(), etc.

Just linting for ViSR - still need to sort out consistent linting for
all apps and packages.
To remove the expectation of prebuilt dist/ folders, we can use
composite projects and references.
https://www.typescriptlang.org/docs/handbook/project-references.html
In this setup:
1) each internal TS package declares itself as composite:
"compilerOptions": {
  "composite": true
}
2) each dependent package lists its dependencies as references:
"references": [{ "path" : "../dependency" }]
3) each package is built with tsc -b
noEmit should not be in root config; only app configs should declare it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant