
Security News
Vite Releases Technical Preview of Rolldown-Vite, a Rust-Based Bundler
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
@mozilla/nimbus-schemas
Advanced tools
This directory contains a package of schemas published to various repositories for use by different parts of the Mozilla Nimbus experimentation ecosystem.
From project root (i.e., parent to this directory)
make schemas_build
make schemas_check
make schemas_format
Example
Creating a new sub-package new_stuff
Add new directory mozilla_nimbus_schemas
/ new_stuff
with schemas inside.
Add new_stuff
schemas to the new_stuff
directory's __init__.py
file.
Add new_stuff
to top level __init__.py
:
from mozilla_nimbus_schemas.new_stuff import *
Generate Typescript and/or JSON Schemas for new_stuff
by updating the generate_json_schema.py
script like so:
a. Import new_stuff
alongside existing mozilla_nimbus_schemas
imports, e.g.,
from mozilla_nimbus_schemas import experiments, jetstream, new_stuff
b. (optional) Add new_stuff
to Typescript generation
TS_SCHEMA_PACKAGES
list, e.g.,
TS_SCHEMA_PACKAGES = [experiments, jetstream, new_stuff]
c. (optional) Add new_stuff
to JSON Schema generation
JSON_SCHEMA_PACKAGES
list, e.g.,
JSON_SCHEMA_PACKAGES = [experiments, new_stuff]
Build everything with make schemas_build
Update the version (see Versioning below).
Contains schemas describing analysis results, metadata, and errors from Jetstream.
Defines the schemas used for validating the Experimenter v6 API. Previously defined in the now-deprecated nimbus-shared
.
The build and deployment occurs automatically through CI. A deployment is triggered on merges into the main
branch when the version number changes. Schemas are published to various repos for access in different languages.
mozilla-nimbus-schemas
uses semantic versioning (semver
) of major.minor.patch
. Previously, we
used a date-based versioning scheme (CalVer
), which is why the version is so high (3000+). Any
breaking changes should result in an increase in the major version.
VERSION
file in this directory../scripts/set_schemas_version.sh <version>
echo <version> > ./schemas/VERSION
make schemas_version
Published to PyPI as mozilla-nimbus-schemas
Published to NPM as @mozilla/nimbus-schemas
Not yet implemented.
FAQs
Schemas used by Mozilla Nimbus and related projects.
We found that @mozilla/nimbus-schemas demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.