1.0.0 • Published 2 years ago

@superset-plugins-sm/superset-plugin-chart-hello-world v1.0.0

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
2 years 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
ababagent-baseacorn-walkansi-escapesacornansi-regexacorn-globalsanymatcharr-diffargparseansi-stylesarr-unionarr-flattenarray-equalarray-tree-filterarray-uniqueassign-symbolsasn1astral-regexasync-validatoratobasync-limiterassert-plusaws-sign2ansi-colorsbabel-jestasynckitajvbabel-plugin-graphql-tagantdbabel-plugin-jest-hoistaws4babel-plugin-macrosbabel-plugin-polyfill-corejs2babel-plugin-polyfill-regeneratorbabel-plugin-istanbulbabel-plugin-transform-react-remove-prop-typesbabel-literal-to-astbabel-preset-current-node-syntaxbabel-preset-jestbailbabel-plugin-polyfill-corejs3bcrypt-pbkdfbinary-extensionsbrace-expansionbracesbabel-plugin-transform-devbalanced-matchbabel-plugin-dynamic-import-nodebs-loggerbrowser-process-hrtimebasebrowser-resolvecache-basebserbrowserslistbuffer-fromcamelcasecaniuse-litecallsitescamel-casechalkcall-bindchar-regexcapture-exitcaselesscharacter-reference-invalidchokidarcharacter-entitiescjs-module-lexerclass-utilsclassnameschange-casecharacter-entities-legacycoci-infocli-truncatecollection-visitbabel-plugin-typescript-to-proptypescolor-convertcolor-namecombined-streamcliuicommandercomponent-emitterconcat-mapconstant-casecopy-descriptorcollect-v8-coveragecopy-to-clipboardcore-util-iscore-js-compatcollapse-white-spaceconvert-source-mapcssomcross-spawncompute-scroll-into-viewcssstyled3-formatd3-interpolated3-scaled3-timed3-arrayd3-colordata-urlscosmiconfigdebugd3-time-formatdecode-uri-componentdashdashdeepmergedecamelizedefine-propertydecimal.jsdetect-newlinediff-sequencesdom-aligndom-serializercsstypedeep-isdomelementtypedomexceptiondefine-propertiesecc-jsbnejselectron-to-chromiumdomhandlerdomutilsdot-caseemoji-regexend-of-streamentitiesenv-cidelayed-streamemitteryerror-exescaladedate-fnsdayjsescodegenes-to-primitiveexec-shescape-string-regexpenquirerestraverseesutilsexecaexpectexitexpand-bracketsextendextend-shallowesprimafast-deep-equalextsprintffast-levenshteinfb-watchmanfastqfetch-retryfill-rangefast-json-stable-stringifyfor-eachfind-upfind-rootfor-inextglobfragment-cachees-abstractforever-agentfs.realpathfunction-bindfiguresfs-extrafs-readdir-recursivegensyncget-package-typeget-streamfront-matterget-valueglobget-caller-fileget-symbol-descriptiongraceful-fsget-intrinsicgrowlygraphqlgraphql-taggetpasshashar-validatorglob-parenthas-flagform-dataglobalsfast-globhas-bigintshar-schemahas-valueshas-valuehosted-git-infoheader-casehoist-non-react-staticshtml-escaperhtml-encoding-snifferhttps-proxy-agenthtml-to-reacthygenhtmlparser2has-tostringtaghttp-signatureiconv-litehttp-proxy-agentimport-localimurmurhashhuman-signalsimport-freshignore-walkinflightinheritsinternal-slotis-alphabeticalis-arrayishis-accessor-descriptorinvariantis-bigintis-alphanumericalinternmaphas-symbolsis-binary-pathis-bufferinvert-kvi18nextis-callableis-decimalis-descriptoris-data-descriptoris-core-moduleis-ciis-date-objectis-generator-fnis-extendableis-fullwidth-code-pointis-extglobis-dockeris-lower-caseis-plain-objis-numberis-potential-custom-element-nameis-plain-objectis-globis-hexadecimalis-negative-zerois-streaminflectionis-typedarrayis-boolean-objectis-upper-caseis-symbolis-windowsis-whitespace-characteris-word-characteris-wslisarrayisexeis-shared-array-bufferis-weakrefistanbul-lib-instrumentistanbul-lib-source-mapsistanbul-lib-reportisobjectisstreamistanbul-lib-coveragejava-propertiesistanbul-reportsjedjest-configjest-changed-filesjest-environment-jsdomjest-clijest-diffjest-environment-nodejest-haste-mapjest-get-typeis-number-objectis-regexis-stringjest-docblockjest-matcher-utilsjest-jasmine2jest-leak-detectorjest-eachjest-message-utiljest-resolvejest-pnp-resolverjest-resolve-dependenciesjest-runnerjest-regex-utiljest-serializerjest-snapshotjest-runtimejest-mockjest-watcherjs-tokensjest-utiljs-yamljsescjest-validatejson-parse-better-errorsjest-workerjsbnjson-parse-even-better-errorsjson5json-schema-traversejson-schemajsonfilejson2mqjson-stringify-safelcidjsprimlevenkleurkind-ofleft-padload-json-filelevnlines-and-columnslodash.camelcaselodash.memoizelodash.debouncelocate-pathloose-envifylodash.sortbymake-dirlower-caselower-case-firstmakeerrormap-age-cleanermap-visitmap-cachejsdomlru-cachelodashmake-errormarkdown-escapesmemmerge2merge-streammath-expression-evaluatormime-dbminimatchmimic-fnmime-typesmsminimistmicromatchnice-trymdast-add-list-metadatamkdirpnanomatchmixin-deepnatural-comparenode-int64no-casenormalize-package-datanormalize-pathnwsapinpm-run-pathobject-assignobject-copyoauth-signmomentmemoize-oneobject-keysobject-visitobject.pickoncenode-releasesobject.assignobject.getownpropertydescriptorsonetimep-each-seriesp-deferp-is-promisep-limitoptionatorp-tryp-locateos-localeoptimalp-finallyparent-moduleparam-casep-reduceparse-jsonpascalcaseparse-mspath-existspath-is-absolutepath-keypath-parsepath-typeparse5path-casepascal-casepifypiratespicocolorspkg-dirpnperformance-nowposix-character-classespicomatchparse-entitiespretty-mspluralizeprop-typesprelude-lspumppunycodepretty-formatobject-inspectpromptspslqsqueue-microtaskrc-alignrc-cascaderrc-collapserc-checkboxrc-drawerrc-dropdownnode-notifierramdarc-imagerc-motionrc-mentionsrc-input-numberrc-menurc-pickerrc-progressrc-field-formrc-paginationrc-notificationrc-raterc-overflowrc-dialogrc-sliderrc-selectrc-switchrc-stepsrc-resize-observerrc-tabsrc-tooltiprc-triggerrc-tree-selectrc-tablerc-utilrc-virtual-listreact-domreact-isreactread-pkgread-pkg-uprc-textarearc-treerc-uploadreact-loadablerealpath-nativeregeneratereact-error-boundaryregex-notregenerate-unicode-propertiesregenerator-runtimeregjsparserregjsgenremark-parseremove-trailing-separatorreplace-extrepeat-stringregexpu-coreregenerator-transformrepeat-elementrequire-main-filenamerequest-promise-corerequest-promise-nativerequire-directoryresolve-cwdreaddirpreact-markdownresolveretreusifyresolve-urlrequestrisonreselectsafe-bufferrun-parallelsafe-regexresolve-fromresize-observer-polyfillsafer-bufferschedulerseedrandomsaxsemverset-blockingsentence-caseshallowequalsaneshellwordsshebang-regexset-valuesignal-exitsisteransislashsnapdragonslice-ansisnapdragon-utilsnapdragon-nodescroll-into-view-if-neededsource-map-resolveshebang-commandsource-mapsource-map-supportsource-map-urlspdx-correctspdx-exceptionssplit-stringside-channelspdx-expression-parsespdx-license-idsstack-utilssnake-casersvpstate-togglesprintf-jsstatic-extendstring-widthsshpkstring.prototype.trimstartstrip-ansisplitstealthy-requirestring-lengthstrip-final-newlinestring-convertstring.prototype.trimendsupports-colorstrip-eofswap-caseterm-sizesupports-hyperlinksstrip-bomtest-excludethroughthroattitle-casesymbol-treeto-fast-propertiesto-object-pathto-regex-rangeto-regexsupports-preserve-symlinks-flagtr46trimterminal-linktslibtmplsaxestroughtoggle-selectiontrim-trailing-linestype-checktunnel-agentunbox-primitivetweetnacltype-festunicode-match-property-ecmascriptunicode-match-property-value-ecmascriptunicode-canonical-property-names-ecmascriptunion-valueunicode-property-aliases-ecmascripttypedarray-to-bufferunist-util-remove-positionunheritstylisunifiedunist-util-isunist-util-stringify-positionunset-valueupper-caseupper-case-firstunist-util-visiturixuseunist-util-visit-parentsuniversalifyutil.promisifyvalidate-npm-package-licensevfilevfile-messageverrortough-cookiev8-to-istanbulw3c-hr-timew3c-xmlserializerwebidl-conversionswhatwg-encodingvfile-locationwalkerwhich-boxed-primitivewhatwg-urltype-detectwhatwg-fetchwhatwg-mimetypewhichwrappywhich-moduleword-wrapwsxml-name-validatorwrap-ansix-is-stringxtendy18nxmlcharsyargs-parseruuidwrite-file-atomicuri-jsyallistyargsyaml
1.0.0

2 years ago

0.1.0

2 years ago