Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@beemo/dev
Advanced tools
An official TypeScript-only "batteries included" Beemo configuration module that provides pre-packaged configs for the Babel, ESLint, Jest, Prettier, and TypeScript drivers and developer tools.
yarn install --dev @beemo/dev
src
.tests
relative to source, or __tests__
within source.types
relative to source.:
instead of @
to avoid
NPM supply chain attacks.Create a .config/beemo.ts
file in the root of your project that configures @beemo/dev
as the
configuration module. Be sure to enable all drivers and any settings.
// .config/beemo.ts
export default {
module: '@beemo/dev',
drivers: ['babel', 'eslint', 'jest', 'prettier', 'typescript'],
settings: {},
};
The following Beemo settings
can be defined and will be passed to applicable drivers.
decorators
(boolean
) - Enable decorators for Babel and TypeScript drivers. Defaults to
false
.esm
(boolean
) - Enable ECMAScript module "mode" for tools that support it (Babel, Jest, etc).node
(boolean
) - Current project will target Node.js instead of the browser. Defaults to
false
.projects
(boolean | string[]
) - Enable Jest projects. If true
is passed, will be resolved
using workspaces, otherwise requires an array of explicit strings. Defaults to false
.react
(boolean | classic | automatic
) - Enable React and JSX support for all drivers. Defaults
to false
.If you would like to override a driver config, create a .config/beemo/<driver>.ts
file in the root
of the project.
View the official Beemo docs for more information.
// .config/beemo/eslint.ts
export default {
rules: {
'no-param-reassign': 'off',
},
};
The following drivers are directly supported in this configuration module, and automatically passed common command line options when being ran.
--copy-files
.--extensions
to all JS/TS extensions.src/ --out-dir lib/
.--cache --color --fix
.--extensions
to all JS/TS extensions.src/ tests/
.--colors --logHeapUsage
.NODE_ENV=test
and TZ=UTC
.projects
setting.--write .
.Please refer to their documentation for more information on how each one is configured.
Once your project has been configured to use Beemo, you can scaffold specific files using our built-in templates.
Will scaffold common dotfiles like .gitignore
.
beemo scaffold project dotfiles
Will scaffold GitHub repository workflow files to .github
. Supports the following workflows:
build
- Builds, tests, lints, and type checks the project on each pull request and master merge.
Also verifies Packemon packing and Docusaurus
building passes.deploy
- Deploys a
Docusaurus website on each
master commit. Requires GH_USER
and GH_PAGES_DEPLOY
secrets.pr
- Validates a pull request title using the
conventional-changelog-beemo preset.beemo scaffold project github
Will append fields to the root package.json
.
scripts
for common actions like building, linting, testing, etc.--workspaces
, sets private
and workspaces
to packages/*
.beemo scaffold project package
Will scaffold a new package into a packages
workspace. Creates CHANGELOG.md
, README.md
,
LICENSE
, and package.json
files.
beemo scaffold workspace package --owner milesj --repo aesthetic framework
FAQs
Official Beemo configuration module for modern local development.
We found that @beemo/dev demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.