Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@code-dot-org/maze

Package Overview
Dependencies
Maintainers
11
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@code-dot-org/maze

standalone project for the Maze app type

  • 2.16.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
11
Created
Source

maze

npm version Travis Build Status codecov

Standalone repo for the Maze app type

Setup Your Project

Check this project out from source:

git clone git@github.com:code-dot-org/maze.git
cd maze

Next, inside the project, you need to install the project's various dependencies.

yarn install

Now you should be able to run all the tests:

yarn test

And spin up a development build of your new project:

yarn build

Integrate with local Code Studio

In this repo:

yarn link

In main repo's apps/ directory:

yarn link @code-dot-org/maze

This will set up a symlink in main repo's apps/node_modules/ to point at your local changes.

Run

yarn run build

in this repo, and then the main repo's apps build should pick the changes up next time it builds.

If you are running yarn start for continuous builds in the main repo, it will pick up the changes once the build in this repo has completed.

Publishing a new version

In /maze: npm login with an authorized npm account. If necessary, create one under your own email, login with our shared dev account and add your new account to the org. After logging in, you may need to authorize your machine (follow the prompt given):

npm login
npm adduser (if necessary)

Still in /maze: checkout main, and ensure it is up-to-date:

git checkout main
git pull

Verify the existing code doesn't have errors or failing tests:

yarn build
yarn test

Then, update the version (which also publishes to npm):

npm version [major|minor|patch|premajor|preminor|prepatch].

Verify there is a new commit on /maze/main with the updated version number.

In the @code-dot-org repo, incorporate the new version of maze:

git checkout -b [maze-updates-we-are-incorporating]
cd apps
yarn add @code-dot-org/maze@my.new.version (ex: yarn add @code-dot-org/maze@2.7.0)

Verify yarn.lock and package.json have been updated.

Commit and push changes, and open and merge a PR.

FAQs

Package last updated on 16 Aug 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc