{"id":26058038,"url":"https://github.com/gapitio/htmlgraphics-sheetjs-example","last_synced_at":"2025-07-22T10:36:58.547Z","repository":{"id":53092542,"uuid":"521242155","full_name":"gapitio/htmlgraphics-sheetjs-example","owner":"gapitio","description":null,"archived":false,"fork":false,"pushed_at":"2022-08-04T11:54:02.000Z","size":299,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-08T11:59:57.935Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gapitio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-08-04T11:38:11.000Z","updated_at":"2022-08-04T11:38:54.000Z","dependencies_parsed_at":"2022-09-12T04:20:14.312Z","dependency_job_id":null,"html_url":"https://github.com/gapitio/htmlgraphics-sheetjs-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gapitio/htmlgraphics-sheetjs-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gapitio%2Fhtmlgraphics-sheetjs-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gapitio%2Fhtmlgraphics-sheetjs-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gapitio%2Fhtmlgraphics-sheetjs-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gapitio%2Fhtmlgraphics-sheetjs-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gapitio","download_url":"https://codeload.github.com/gapitio/htmlgraphics-sheetjs-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gapitio%2Fhtmlgraphics-sheetjs-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266476955,"owners_count":23935344,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-08T12:00:00.373Z","updated_at":"2025-07-22T10:36:58.504Z","avatar_url":"https://github.com/gapitio.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bundler\n\nBundler to make developing code easier and scalable.\n\n## Table of contents\n\n- [Bundler](#bundler)\n  - [Table of contents](#table-of-contents)\n  - [Contains](#contains)\n  - [Usage](#usage)\n  - [Dev site](#dev-site)\n  - [Eslint](#eslint)\n\n## Contains\n\n- [rollup.js](https://rollupjs.org/)\n- [Prettier](https://prettier.io/)\n- [TypeScript](https://www.typescriptlang.org/)\n- [ESLint](https://eslint.org/)\n- Local development server to run the code live in the browser.\n\n## Usage\n\nFirst you have to install the required dependencies\n\n```bash\nnpm install\n```\n\nThen you start the development script\n\n```bash\nnpm run dev\n```\n\nGo to \u003chttp://localhost:5173\u003e. Change some code in `./src/onInit.ts`, `./src/onRender.ts`, or `./src/design/html.html`, and the website will update.\n\nWhen the code is ready to be uploaded to Grafana, start the build script\n\n```bash\nnpm run build\n```\n\nThen go to `/dist` and copy the content of `panel-options.json` to the panels `Import/export` option.\n\n## Dev site\n\n`src/devSite` is a folder where most of the configuration for the dev website is.\n\nTo add custom series go to `src/devSite/data.ts` and add createSeries() in series.\n\nWindow has been used to get global variables like data, customProperties, ETC.\n\n## Eslint\n\nIt's recommended to use the current eslint config, but as it's strongly opinionated it might be _easier_ to use a less opinionated config.\n\nReplace the current .eslint.cjs with the below code.\n\n```ts\nmodule.exports = {\n  env: {\n    node: true,\n    browser: true,\n  },\n  extends: [\n    \"eslint:recommended\",\n    \"plugin:@typescript-eslint/recommended\",\n    \"prettier\",\n  ],\n  parser: \"@typescript-eslint/parser\",\n  plugins: [\"@typescript-eslint\"],\n  root: true,\n};\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgapitio%2Fhtmlgraphics-sheetjs-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgapitio%2Fhtmlgraphics-sheetjs-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgapitio%2Fhtmlgraphics-sheetjs-example/lists"}