feat: Embedded SDK (#18250)

* feat: embedded sdk

* correct values

* better version

* readme stuff

* release script

* doc

* oops

* better package description

* license

* that was invalid json

* Apply suggestions from code review

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>

* Update superset-embedded-sdk/README.md

* a github workflow to make sure the build succeeds

* fix github workflows

* writing

* try a different trigger

* no point in a single unit matrix

* Revert "no point in a single unit matrix"

This reverts commit 90f78bfc98.

* workflow changes

* fix some scripts

* pull request types

* slight rename

* test list

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
This commit is contained in:
David Aaron Suddjian
2022-02-03 14:01:45 -08:00
committed by GitHub
parent 92cc7c0e7d
commit 1c2936ba7b
13 changed files with 7414 additions and 0 deletions

View File

@@ -0,0 +1,56 @@
{
"name": "@superset-ui/embedded-sdk",
"version": "0.1.0-alpha.1",
"description": "SDK for embedding resources from Superset into your own application",
"access": "public",
"keywords": [
"superset",
"embed",
"embedded",
"sdk",
"iframe",
"dashboard",
"chart",
"analytics"
],
"files": [
"bundle",
"lib",
"dist"
],
"main": "bundle/index.js",
"module": "lib/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc & babel src --out-dir lib --extensions '.ts,.tsx' & webpack --mode production",
"ci:release": "node ./release-if-necessary.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"browserslist": [
"last 3 chrome versions",
"last 3 firefox versions",
"last 3 safari versions",
"last 3 edge versions"
],
"devDependencies": {
"@babel/cli": "^7.16.8",
"@babel/core": "^7.16.12",
"@babel/preset-env": "^7.16.11",
"@babel/preset-typescript": "^7.16.7",
"axios": "^0.25.0",
"babel-loader": "^8.2.3",
"typescript": "^4.5.5",
"webpack": "^5.67.0",
"webpack-cli": "^4.9.2"
},
"repository": {
"type": "git",
"url": "git+https://github.com/apache/superset.git"
},
"homepage": "https://github.com/apache/superset#readme",
"bugs": {
"url": "https://github.com/apache/superset/issues"
},
"license": "Apache-2.0",
"author": "Superset"
}