Skip to content

Instantly share code, notes, and snippets.

@Noviny
Last active November 26, 2018 23:16
Show Gist options
  • Save Noviny/6b3b3ec72b01e9e1ea248772f60be62c to your computer and use it in GitHub Desktop.
Save Noviny/6b3b3ec72b01e9e1ea248772f60be62c to your computer and use it in GitHub Desktop.
codesandboxER codesandbox-client
bolt monorepo lerna monorepo
Packages are designed to be publishedin close to lockstep, often simultaneously, and interdepend very closely - symlinking them is very important to dev flow About half of the components are not published. Things that are published can mostly be published individually
Publishing is super easy - except for exceptional packages (vs-codesandboxer and atom-codesandboxer) ??? (It looks like you would cd in and manually publish?
Build process and debugging requires building some packages, even if you are working on another package. ???
Documentation is in READMEs, really wants a website with better info/examples. Was recently told they were confusing. Docs are built into codesandbox website, and are good.

Thoughts

  • Would it be worth having a codesandbox org on github? Would be a good intermediary step towards a core shared repo.
  • Distinguishing between packages published to npm, published otherwise (browser extension, vs-code package, atom package), and packages not published (website bits) would be neat.
  • You should probably have publish rights to codesandboxer and related packages - to make sure you don't get blocked there. Maybe put them under the org to make that easy? That would mean changing the preferred canon names.

Disclaimer

My major work project at the moment is sort of build and docs tooling - the atlaskit website, but also some technologies around that. The person who sits behind me at work is maintaining bolt, and I got super-heavily involved in making this https://www.npmjs.com/package/@atlaskit/build-releases to manage builds.

I'm kind of keen to see how well these work in more places and am super-biased here.

@Noviny
Copy link
Author

Noviny commented Nov 26, 2018

Followup package breakdown:

A table goes here
"app" not published
chrome extension custom publish
codesandbox-api published to npm, readme is ts project startert readme.
"common" not published
"codesandbox-client" not published
"node-services" not published
@codesandbox/react-embed published to npm, no readme so far
react-smooshpack published to npm
sandbox-hooks published to npm privately? but code is public
smooshpack published to npm
sse hooks published to npm privately? but code is public
codesandbox-browserfs published to npm
monaco-editor published to npm
monaco-typescript published to npm
vscode-editor published to npm privately? but code is public


A table goes here
codesandboxer published to npm
codesandboxer-fs published to npm
react-codesandboxer published to npm
vs-codesandboxer custom deploy process to vs code store
atom-codesandboxer custom deploy process to atom store - atom packages require their own repo...
bitbucket-codesandboxer custom deploy process we have only done once

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment