0.1.0 • Published 1 year ago

superset-plugin-chart-hello-world2 v0.1.0

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
1 year ago

superset-plugin-chart-hello-world

This is the Superset Plugin Chart Hello World Superset Chart Plugin.

Usage

To build the plugin, run the following commands:

npm ci
npm run build

Alternatively, to run the plugin in development mode (=rebuilding whenever changes are made), start the dev server with the following command:

npm run dev

To add the package to Superset, go to the superset-frontend subdirectory in your Superset source folder (assuming both the superset-plugin-chart-hello-world plugin and superset repos are in the same root directory) and run

npm i -S ../../superset-plugin-chart-hello-world

After this edit the superset-frontend/src/visualizations/presets/MainPreset.js and make the following changes:

import { SupersetPluginChartHelloWorld } from 'superset-plugin-chart-hello-world';

to import the plugin and later add the following to the array that's passed to the plugins property:

new SupersetPluginChartHelloWorld().configure({ key: 'superset-plugin-chart-hello-world' }),

After that the plugin should show up when you run Superset, e.g. the development server:

npm run dev-server
acorn-walkababacornacorn-globalsagent-baseansi-colorsansi-escapesansi-stylesansi-regexajvanymatchargparsearr-diffarr-flattenarr-unionantdarray-equalarray-tree-filterarray-uniqueassert-plusassign-symbolsasn1astral-regexasync-limiterasynckitatobasync-validatoraws4aws-sign2babel-jestbabel-literal-to-astbabel-plugin-graphql-tagbabel-plugin-istanbulbabel-plugin-dynamic-import-nodebabel-plugin-jest-hoistbabel-plugin-macrosbabel-plugin-polyfill-corejs2babel-plugin-polyfill-regeneratorbabel-plugin-polyfill-corejs3babel-plugin-transform-devbabel-plugin-transform-react-remove-prop-typesbabel-plugin-typescript-to-proptypesbabel-preset-current-node-syntaxbabel-preset-jestbailbalanced-matchbasebinary-extensionsbrowser-process-hrtimebrace-expansionbcrypt-pbkdfbracesbrowser-resolvebrowserslistcache-basebs-loggerbuffer-frombsercall-bindcamel-casecallsitescamelcasecaselesscapture-exitcharacter-entitieschar-regexchalkchange-casecaniuse-litecharacter-entities-legacycharacter-reference-invalidci-infochokidarcjs-module-lexercliuiclassnamesclass-utilscli-truncatecocollect-v8-coveragecollapse-white-spacecollection-visitcolor-convertcolor-namecombined-streamcomponent-emittercommandercompute-scroll-into-viewconcat-mapconstant-casecopy-to-clipboardcopy-descriptorconvert-source-mapcore-js-compatcore-util-iscssomcosmiconfigcsstyped3-arrayd3-scalecross-spawnd3-colorcssstyled3-formatdata-urlsd3-timed3-time-formatd3-interpolatedebugdecimal.jsdashdashdecamelizedecode-uri-componentdate-fnsdayjsdeep-isdefine-propertydefine-propertiesdeepmergedelayed-streamdetect-newlinedomelementtypedom-serializerdom-aligndomexceptiondomhandlerdomutilsdot-caseemitteryejsdiff-sequencesenquirerecc-jsbnelectron-to-chromiumenv-ciemoji-regexentitiesend-of-streames-to-primitiveerror-exescaladeescape-string-regexpescodegenes-abstractesprimaestraverseexec-shesutilsexecaexitexpand-bracketsextendexpectextend-shallowextglobfast-deep-equalfast-json-stable-stringifyfast-globextsprintffb-watchmanfastqfast-levenshteinfill-rangefetch-retryfiguresfor-eachfor-infind-rootform-dataforever-agentfragment-cachefs-readdir-recursivefs-extrafs.realpathfront-matterfunction-bindget-caller-filegensyncget-intrinsicget-package-typeget-streamget-symbol-descriptionget-valuefind-upglobgetpassglobalsglob-parentgraphql-taggrowlygraceful-fsgraphqlhar-schemahas-flaghar-validatorhas-bigintshas-symbolshashas-valuehas-valueshas-tostringtagheader-casehosted-git-infohoist-non-react-staticshtml-encoding-snifferhtml-to-reacthtml-escaperhttp-proxy-agenthtmlparser2http-signaturehuman-signalshttps-proxy-agenti18nexthygeniconv-liteignore-walkimport-freshimport-localimurmurhashinflectioninflightinheritsinternmapinternal-slotinvert-kvinvariantis-accessor-descriptoris-alphabeticalis-alphanumericalis-binary-pathis-arrayishis-bigintis-boolean-objectis-callableis-data-descriptoris-core-moduleis-ciis-date-objectis-decimalis-descriptoris-dockeris-extglobis-bufferis-extendableis-generator-fnis-fullwidth-code-pointis-hexadecimalis-globis-negative-zerois-lower-caseis-numberis-plain-objis-number-objectis-plain-objectis-potential-custom-element-nameis-regexis-symbolis-streamis-shared-array-bufferis-stringis-typedarrayis-windowsis-whitespace-characteris-weakrefis-upper-caseisobjectisexeis-word-characteris-wslisarrayistanbul-lib-reportisstreamistanbul-lib-coverageistanbul-lib-instrumentistanbul-lib-source-mapsistanbul-reportsjest-clijava-propertiesjest-changed-filesjedjest-eachjest-configjest-docblockjest-diffjest-environment-jsdomjest-environment-nodejest-get-typejest-matcher-utilsjest-haste-mapjest-jasmine2jest-mockjest-message-utiljest-pnp-resolverjest-regex-utiljest-leak-detectorjest-resolve-dependenciesjest-runnerjest-runtimejest-resolvejest-serializerjest-utiljest-snapshotjs-yamljest-validatejest-watcherjest-workerjs-tokensjsbnjson-parse-even-better-errorsjson-parse-better-errorsjsdomjsescjson-stringify-safejson-schema-traversejson-schemajson2mqjson5kind-ofjsonfilejsprimleft-padkleurlcidlevnload-json-filelevenlines-and-columnslocate-pathlodash.memoizelodash.debouncelodash.camelcaseloose-envifylodash.sortbylru-cachelower-caselower-case-firstlodashmakeerrormake-dirmake-errormap-age-cleanermap-cachemap-visitmath-expression-evaluatormdast-add-list-metadatamarkdown-escapesmerge2memmicromatchmemoize-onemime-dbmerge-streammime-typesmimic-fnminimatchmomentmkdirpmixin-deepnanomatchmsnice-trynatural-compareno-casenode-int64node-releasesnode-notifiernormalize-pathnormalize-package-dataoauth-signnpm-run-pathobject-assignobject-copynwsapiobject-inspectobject-keysobject-visitobject.assignobject.getownpropertydescriptorsobject.pickonceonetimep-deferoptimaloptionatorp-each-seriesos-localep-finallyp-is-promisep-limitp-locatep-tryp-reduceparam-caseparent-moduleparse-entitiesparse-msparse-jsonparse5pascal-casepascalcasepath-casepath-keypath-existspath-is-absolutepath-parsepath-typepicomatchperformance-nowpicocolorspiratespifypkg-dirpluralizepnpretty-formatposix-character-classesprelude-lspretty-mspromptsprop-typespslpunycodepumpqsrc-alignqueue-microtaskrc-checkboxrc-cascaderramdarc-drawerrc-collapserc-dialogrc-imagerc-dropdownrc-field-formrc-input-numberrc-mentionsrc-motionrc-notificationrc-menurc-overflowrc-progressrc-resize-observerrc-raterc-pickerrc-paginationrc-stepsrc-selectrc-sliderrc-switchrc-tabsrc-tooltiprc-tablerc-textarearc-treerc-tree-selectrc-triggerreactrc-virtual-listrc-utilrc-uploadreact-error-boundaryreact-loadablereact-isreact-markdownread-pkgread-pkg-upreact-domreaddirprealpath-nativeregenerateregenerator-runtimeregenerator-transformregex-notregenerate-unicode-propertiesregexpu-coreregjsparserrepeat-elementregjsgenremark-parsereplace-extremove-trailing-separatorrepeat-stringrequest-promise-corerequire-directoryrequestrequest-promise-nativeresolve-cwdreselectrequire-main-filenameresize-observer-polyfillresolveresolve-urlresolve-fromrsvpreusifyretrisonsafe-regexsafe-bufferrun-parallelsafer-bufferschedulersaxsaxessanescroll-into-view-if-neededsemverset-blockingseedrandomsentence-caseshebang-commandshallowequalshebang-regexset-valueshellwordsside-channelslice-ansisignal-exitslashsisteransisnake-casesnapdragonsnapdragon-nodesource-mapsnapdragon-utilsource-map-supportsource-map-urlsource-map-resolvespdx-expression-parsespdx-correctspdx-exceptionssshpksplitspdx-license-idssplit-stringstatic-extendsprintf-jsstate-togglestack-utilsstealthy-requirestring-convertstring-lengthstring.prototype.trimendstring.prototype.trimstartstring-widthstrip-final-newlinestrip-ansistrip-eofstylisstrip-bomsupports-colorsupports-hyperlinkssupports-preserve-symlinks-flagswap-caseterm-sizesymbol-treetest-excludeterminal-linktmplthroughthroattitle-caseto-regex-rangeto-fast-propertiesto-regextough-cookieto-object-pathtoggle-selectiontr46troughtrim-trailing-linestrimtslibtunnel-agentunbox-primitivetweetnacltype-checktype-detecttype-festtypedarray-to-bufferunheritunicode-canonical-property-names-ecmascriptunicode-match-property-ecmascriptunicode-match-property-value-ecmascriptunicode-property-aliases-ecmascriptunifiedunist-util-isunion-valueunist-util-remove-positionunist-util-stringify-positionunist-util-visitunist-util-visit-parentsunset-valueuniversalifyupper-caseupper-case-firstutil.promisifyuri-jsurixuuidv8-to-istanbulvfile-messageusevfile-locationvalidate-npm-package-licensevfileverrorw3c-hr-timew3c-xmlserializerwebidl-conversionswalkerwhatwg-encodingwhatwg-urlwhatwg-fetchwhichwhatwg-mimetypewhich-modulewhich-boxed-primitiveword-wrapwrap-ansiwrite-file-atomicwrappyxtendwsx-is-stringxml-name-validatorminimistxmlcharsy18nyallistyamlyargsyargs-parser
0.1.0

1 year ago