fusepilot / parcel-plugin-cep-starter

Starter template for parcel-cep-plugin, a zero configuration CEP extension builder for Parcel.
MIT License
13 stars 10 forks source link

Improve folder structure #29

Closed timhaywood closed 3 years ago

timhaywood commented 3 years ago

Note, this should be merged in after the hooks branch

Changed the folder structure to a more common monorepo setup, with some more descriptive names.

- extension
  - src
    - index.html
- script
  - index.jsx.ts

Folder names

They're now called extension and script, which should be nice and explicit.

Found the previous jsx and js a little confusing, since both React components and Adobe Scripts are .jsx files.

src nesting

These packages are also moved outside a global src directory, reflecting a typical monorepo structure. The extension folder then has its own src, which nicely separates the source files from the config files.

Sorry for the huge diff!