GithubHelp home page GithubHelp logo

visgl / deck.gl-community Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 8.0 30.13 MB

Community contributed modules for deck.gl

Home Page: https://visgl.github.io/deck.gl-community/

License: MIT License

JavaScript 22.34% GLSL 2.21% Shell 0.06% TypeScript 71.86% CSS 0.12% HTML 3.22% MDX 0.19%

deck.gl-community's People

Contributors

atulpatare avatar donmccurdy avatar dylans avatar ibgreen avatar ilan-gold avatar maxkuznetsov-actionengine avatar nemanja-tosic avatar pessimistress avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

deck.gl-community's Issues

Get puppeteer + vite tests running

  • we have a docusaurus website running locally
  • and somehow even the jest tests are “working” when we run yarn test node,
  • however we get silent failure on browser tests:
  • when we comment out all modules, it starts but browser doesn’t find index.html on the specified port.

Tracker: v9 port

v9

  • Update modules/* so that builds, tests, and examples run against deck.gl v9
  • Migrate modules/* to TypeScript
  • Update modules/*/test/* to Jest-style tests
    • Could use Jest, Vitest, or Bun as the test runner. Consider options and make a decision. Vitest seems more batteries-included and ESM-friendly than Jest, where ESM is experimental. No opinion on Bun yet.
  • Migrate examples/* to TypeScript, and make sure they're self contained (no unpublished dependencies)
  • Scrub through codebase and fix ESLint and TSC errors and warnings as practical

Tracker: editable-layers module

Background

nebula.gl has become stale and it is not possible to migrate it to deck.gl v9 easily. A number of project depend on it, in particular the EditableGeojsonLayer. In order to move forward, the code will be moved into this repo and published under a new npm package

Tasks

  • Add EditableGeojsonLayer & related code from nebula.g repo #37 @ibgreen
  • Publish deck.gl-community website @ibgreen
  • Update rest of repo to v9 (tracker) @donmccurdy
  • Apply the fixes needed for v9 EditableGeojsonLayer @donmccurdy
  • Decide on package naming convention
  • Publish package to npm
  • Migrate tests to modern tooling @donmccurdy
  • Make all nebula.gl examples build again
  • Modernize nebula.gl examples (React 18, functional components, etc)
  • Add nebula examples to website.

How do I run examples

Im not able to run the examples. Steps I performed

git clone <repo>
npm i
npm run build # build works

I am not able to run the tests, getting below error

TSError: ⨯ Unable to compile TypeScript:
error TS6046: Argument for '--module' option must be: 'none', 'commonjs', 'amd', 'system', 'umd', 'es6', 'es2015', 'es2020', 'es2022', 'esnext', 'node12', 'nodenext'.

I am using
node v18.16.1 and tried with v16

If you can you update the Readme or add steps to run different modules, examples and the website that will be great. Thanks

For testing the graph layer, I just copied required jsx files into my project and tested it out.

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.