Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set up JavaScript tooling #3

Closed
nsbgn opened this issue Sep 8, 2022 · 1 comment
Closed

Set up JavaScript tooling #3

nsbgn opened this issue Sep 8, 2022 · 1 comment

Comments

@nsbgn
Copy link
Contributor

nsbgn commented Sep 8, 2022

Dependencies: #2

At the moment, plain JavaScript is used with a copy of blockly to create the interface. This was fine for local testing, but if we are to maintain a version of this that is exposed to the outside world, we need to streamline the process (reasons can be reviewed on Blockly's 'get started' page).

The JavaScript tooling ecosystem is fragmented: it's easy to be overwhelmed by the plethora of package managers, build tools, module bundlers, etcetera. I have opted for NPM as our package manager and Parcel as our bundler --- this struck me as easiest. For now, I don't think we need additional build tools. However, I'm open for persuasion towards Gulp, Grunt, Yarn, Webpack, Rollup, etcetera. Additionally, we will use TypeScript to protect our sanity.

Note that you can install npm via conda-forge. I mention this for the benefit of Windows-using colleagues: since we use Conda elsewhere anyway, it's an easy way to install and keep track of the development environment.

@nsbgn
Copy link
Contributor Author

nsbgn commented Sep 9, 2022

Commit 4ae9cf8 in the merge-with-interface branch adds the package.json to set up JavaScript tooling.

nsbgn added a commit that referenced this issue Sep 9, 2022
These are minimal changes to make the tools work together; cf issue #3.
More cleanup is necessary.
@nsbgn nsbgn closed this as completed Sep 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant