fix(generator): add lockfile and fix styling issues (#18073)

* fix(generator): add lockfile and fix styling issues

* fix margins and remove redundant scroll

* update tutorial
This commit is contained in:
Ville Brofeldt
2022-01-18 12:37:09 +02:00
committed by GitHub
parent 3b64563f3f
commit 5bfe2d47b0
5 changed files with 28426 additions and 22 deletions

View File

@@ -59,6 +59,7 @@ After that the generator will ask a few questions (the defaults should be fine):
```
$ yo @superset-ui/superset
_-----_ ╭──────────────────────────╮
| | │ Welcome to the │
|--(o)--| │ generator-superset │
@@ -70,12 +71,14 @@ $ yo @superset-ui/superset
´ ` |° ´ Y `
? Package name: superset-plugin-chart-hello-world
? Description: Hello World
? What type of chart would you like? Time-series chart
? Plugin name: Hello World
? Description: Superset Plugin Chart Hello World
? What type of chart would you like? Regular chart
create package.json
create .gitignore
create babel.config.js
create jest.config.js
create package-lock.json
create README.md
create tsconfig.json
create src/index.ts
@@ -96,7 +99,7 @@ $ yo @superset-ui/superset
To build the viz plugin, run the following commands:
```
npm i --force
npm ci
npm run build
```