0.2.5 • Published 3 years ago

@vitro/cli v0.2.5

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

Vitro

this project is under heavy development

Differences with story book

  • No addons, if you want more features open a pull request here, we want a cohesive and coherent code base
  • Many features inherited from next.js like
    • Zero config typescript, babel, css support
    • Incremental compilation
    • React Fast refresh
    • Awesome Nextjs plugins like next-transpile-modules, next-images and more
    • SSR

Features missing from storybook (in progress)

  • Viewport sizing
  • Display source code

Addons that won't be implemented

  • Actions
  • Knobs
  • Docs
  • Console
  • Links
  • Props

Things to do

  • next run on top directory, this way urls are clickable in vscode
  • sidebar in safari has zindex too high
  • rename stories, storyExports to files, fileExports
  • render components inside iframe when specified, to not let css files modify the UI (or maybe render my UI inside iframes)
  • add a globalCSS options to pass an array of css files to include in global scope, this way people can use tailwind for example
  • add the next css plugin to let users import css files that are not css modules
  • dark mode
  • use more complex @/ because user could be using it already
  • store columns count in localstorage so columns count remains between page changes
  • dont recreate the stories if already present when running start (because mac and vscode go crazy)
  • reset render count to zero when rendering above profiler
  • enable the paths inspection compiled only if --verbose (also make it a separate package)
  • investigate if doing SSR or not
  • throttle the search bar
  • check that the global wrapper is a component before using it and give an error if not
  • make the sidebar fixed and scrollable
  • add a error boundary to every story block and display a pretty error
  • catch errors in server, wait for https://github.com/vercel/next.js/issues/5070
  • add max zIndex to story toolbar (no this way is difficult to cover them with overlay in full screen)
  • investigate if the render count is accurate given that the profiler is parent of Component
  • make the profiler id unique adding the filename path to it
  • investigate slow startup time, try to optimize the regex and context.require flow
  • exit from full screen with esc key
  • CSS debug (injects border to every div, to see all components outlines)
  • Open in Vscode (via url with vscode://file)
  • see render counts and time
  • view in Full screen
  • better multi columns support
  • fix the path functions that rely on unix paths, check if runs on windows
  • remove as much logic as possible from the .vitro folder, move it to dependency package
  • move UI components to vitro-ui package
  • when generating the .vitro add a version file with the current version
  • remove the new command, the default command checks if a vitro.config.js exists, if not asks if user wants to create .vitro and config (or errors if not tty)
  • the start command keeps the .vitro updated running the new command when it sees that its version is greater than the generated one
  • the profiler does not run on hydration, maybe disable it when in production
  • no more needed, support for multiple globs paths adding more context.require (up to 10)
  • add emotion to aliases
  • add a button to make a block full screen
  • remove render counts and time on small blocks
  • how to easily deploy a storyboard to a subpath together with other nextjs apps? maybe wait for https://github.com/vercel/vercel/issues/3547
  • how to pass a custom tsconfig, babel? maybe add a babelPath and tsconfigPath and copy these on the vitro new and start command

Sustainability

  • offer a pro managed service that
    • notifies vai email on components visual changes
    • notifies on broken components
    • tells you the average, value over time of web vitals of every component (render time, count, accessibility, )
    • bundle size over time
0.2.5

3 years ago

0.2.4

3 years ago

0.2.3

3 years ago

0.2.2

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

1.0.0

3 years ago

0.1.13

3 years ago

0.1.14

3 years ago

0.1.11

3 years ago

0.1.12

3 years ago

0.1.10

3 years ago

0.1.9

3 years ago

0.1.8

3 years ago

0.1.7

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.0

3 years ago

0.1.1

3 years ago

0.0.83

4 years ago

0.0.82

4 years ago

0.0.81

4 years ago

0.0.80

4 years ago

0.0.79

4 years ago

0.0.78

4 years ago

0.0.77

4 years ago

0.0.76

4 years ago

0.0.73

4 years ago

0.0.74

4 years ago

0.0.75

4 years ago

0.0.72

4 years ago

0.0.71

4 years ago

0.0.70

4 years ago

0.0.69

4 years ago

0.0.68

4 years ago

0.0.65

4 years ago

0.0.66

4 years ago

0.0.62

4 years ago

0.0.63

4 years ago

0.0.64

4 years ago

0.0.61

4 years ago

0.0.60

4 years ago

0.0.59

4 years ago

0.0.58

4 years ago

0.0.57

4 years ago

0.0.55

4 years ago

0.0.53

4 years ago

0.0.52

4 years ago

0.0.51

4 years ago

0.0.50

4 years ago

0.0.49

4 years ago

0.0.48

4 years ago

0.0.47

4 years ago

0.0.46

4 years ago

0.0.42

4 years ago

0.0.43

4 years ago

0.0.44

4 years ago

0.0.45

4 years ago

0.0.41

4 years ago

0.0.40

4 years ago

0.0.39

4 years ago

0.0.38

4 years ago

0.0.37

4 years ago

0.0.36

4 years ago

0.0.34

4 years ago

0.0.35

4 years ago

0.0.33

4 years ago

0.0.32

4 years ago

0.0.31

4 years ago

0.0.30

4 years ago

0.0.28

4 years ago

0.0.29

4 years ago

0.0.27

4 years ago

0.0.26

4 years ago

0.0.22

4 years ago

0.0.23

4 years ago

0.0.24

4 years ago

0.0.25

4 years ago

0.0.21

4 years ago

0.0.20

4 years ago

0.0.19

4 years ago

0.0.15

4 years ago

0.0.16

4 years ago

0.0.17

4 years ago

0.0.18

4 years ago

0.0.11

4 years ago

0.0.12

4 years ago

0.0.13

4 years ago

0.0.14

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.1-alpha.302

4 years ago

0.0.4-alpha.0

4 years ago

0.0.4

4 years ago

0.0.1-alpha.214

4 years ago

0.0.1-alpha.212

4 years ago

0.0.1-alpha.213

4 years ago

0.0.1-alpha.211

4 years ago

0.0.1-alpha.210

4 years ago

0.0.1-alpha.209

4 years ago

0.0.1-alpha.208

4 years ago

0.0.1-alpha.182

4 years ago