Git Product home page Git Product logo

tsp-typescript-client's People

Contributors

arfio avatar bhufmann avatar delislesim avatar dependabot[bot] avatar frallax avatar haoadoreorange avatar hoangphameclipse avatar marcdumais-work avatar marco-miller avatar patricktasse avatar paul-marechal avatar rodrigoplp avatar rodrigoplp-work avatar sgraband avatar tahini avatar thematthew avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tsp-typescript-client's Issues

Update to Node 18

This repo will need a quick update, to use node 18 (currently 16.x). Potential references to node version:

  • GitHub workflows: add at least node 18 in the "matrix" (we may keep 16 for now).
  • package.json "engines.node" version ranges may need updating. e.g. ">=16 <=20 " could work for now
  • dockerfiles
  • documentation, e.g. README, guides

Add utility to support json serialization/deserialization with JSONBigInt

The deserialization of TSP JSON strings to class objects that contains bigint fields are done using searialization and a so called Normalizer. This make sure that for example, timestamps are deserialized as bitint and not Number if they are small values.

It would be good to provide a utility that supports this for non-TSP classes.

Update to recent version of lerna dependency

This repo uses lerna 4.x, which is old and has several know security-related issues. It would be desirable to upgrade to a recent version. Alternatively, it seems lerna may not even be used, so removing it as a dependency would also work.

For reference, here's the lerna version used in upstream reposositories:

Theia: 7.1.1

Blueprint: 6.6.2

Set up Prettier to enforce code style

Similar to the Trace Extension, we need to set up Prettier to enforce code style for the tsp-typescript-client. This includes:

[ ] Setting up Prettier in the repo so contributors can format their commits.
[ ] Setting up Prettier in CI to enforce code style.
[ ] Format the source code with Prettier.
[ ] Add documentation for Prettier.
[ ] Add a .git-blame-ignore-revs file to ignore the formatting commit.

Similar to this issue.

TimeGraphRow has field entryId that is filled as entryID

Consumers of the TimeGraphRow, like tsp-data-provider.ts in theia-trace-extension must do this: (row as any).entryID to get the entryId, which gives lint errors as any types should be avoided. The client should be updated instead

PUT to update experiments should not use actions in payload

PUT for experiments command should not use actions in payload (see below). To add or remove traces provide a list of traces UUIDs in the payload and the server needs to validate whether traces need to be added or removed from the experiment by comparing the lists of traces on the server and in the command.

image

Perform automated 3PP license check as part of CI for PRs

At a minimum, a 3PP license check needs to be performed before any release of an Eclipse Foundation project component, but ideally it should be done for each PR before merging, to catch 3PPs with incompatible or unclear licenses as early as possible.

We have been working on a standalone nodejs wrapper for Eclipse Foundation's dash-licenses, that can be used to easily add 3PP license checks in JS/TS repositories:

https://github.com/eclipse-dash/nodejs-wrapper

We will soon have its first release to npm, and thereafter it can be easily be added as a devDependency and used in this repo and others in this organization.

Responses with no body cause uncaught exception

If a server returns a request with no body, the call to response.json() will cause an uncaught exception: "Uncaught SyntaxError: Unexpected end of JSON input".

The line const json = await response.json() as T; in method performRequest() of rest-client.ts causes the exception.

NPM deployment fails with Travis

I setup Travis but the deployment to NPM doesn't work. There seems to be some permission issue.

I also tried it with my account but I don't have permission either.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.