![Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility](https://cdn.sanity.io/images/cgdhsj6q/production/97774ea8c88cc8f4bed2766c31994ebc38116948-1664x1366.png?w=400&fit=max&auto=format)
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@binary-com/binary-style
Advanced tools
Live Style Guide - The style system and guide for Binary.com. The goal of the project is to serve as base style for all Binary projects, and to ensure consistency and maintainability of the brand presentation.
Before running or contribute to this project, you need to have the setup of the following packages in your environment
Fork the project
In order to work on your own version, please fork the project to your own repo.
Clone using SSH
git clone git@github.com:your-github-username/binary-style.git
Enter project directory
cd binary-style
Install your dependencies:
npm install
sudo npm install -g grunt-cli
sudo gem install compass -n /usr/local/bin
To build everything and run the test suite
grunt default
optionally, you can run these to only build what you need, note that copy
is a must:
grunt copy
grunt css
grunt js
To start developing:
Run the following command to watch for js/css changes and rebuild on every change you make:
sudo grunt serve
Open the source code and start editing!
Your site is now running at https://127.0.0.1/
Create branch from the latest master branch
git checkout master
git pull upstream master
git checkout -b [_your_branch_name]
Make your changes
Make pull request
Push your changes to your origin
git push -u origin [_your_branch_name]
Click on the autogenerated link from the terminal to open the PR
Make sure to change the PR base to master
branch
Merging the PRs to master branch deploys changes to production
grunt release --production=1 [--cleanup]
Note: The value is needed when more than one option is used
--production
(mandatory)
--cleanup
[optional]
add: false
To publish new package version to npm, run
grunt npm_publish
There are times that you are working on various branches at the same time, and you want to deploy/test each branch separately on your gh-pages, you can simply use --branch=branchname
for grunt commands:
Deploy your changes to a sub-folder named: br_branchname
and it can be browsed at: https:// YOUR_GITHUB_USERNAME.github.io/binary-style/br_branchname/
grunt deploy --branch=branchname
Note: In order to remove the created folders from your gh-pages, you can either:
br_*
folders and deploy to the root folder:grunt deploy --cleanup
OR
grunt shell:remove_folder --folder=br_branchname1,br_branchname2,...
FAQs
Style system and guide for Binary.com
The npm package @binary-com/binary-style receives a total of 51 weekly downloads. As such, @binary-com/binary-style popularity was classified as not popular.
We found that @binary-com/binary-style demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.