
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.
@viamrobotics/prime-blocks
Advanced tools
@viamrobotics/prime-blocks
@viamrobotics/prime-blocks
is a collection of Svelte components that host more complex behaviors than prime-core
. These components may be able to do many things, but are able to be self-contained to a single component with the intention of being dropped into any environment easily. If prime-core
is on the atoms / molecules side of atomic design then prime-blocks
is on the organisms side.
Add PRIME blocks using your package manager of choice:
pnpm add --save-dev @viamrobotics/prime-blocks
Additionally, @viamrobotics/prime-core
must be installed, and all of its installation steps must be followed.
Import the stylesheet. If you are using SvelteKit, you can do this in src/routes/+layout.svelte
.
import '@viamrobotics/prime-blocks/prime.css';
You can now use the components in your app:
<script lang="ts">
import { SlamMap } from '@viamrobotics/prime-blocks';
</script>
<SlamMap {cloud} />
The playground can be used during development but is not used outside of the package.
pnpm install
pnpm -C packages/blocks dev
To lint and typecheck:
pnpm -C packages/blocks check # check svelte and lint
pnpm -C packages/blocks check-svelte # check svelte only
pnpm -C packages/blocks check-lint # check lint only with prettier and eslint
pnpm -C packages/blocks format # format with prettier
To test with vitest:
pnpm -C packages/blocks test # run once
pnpm -C packages/blocks test:watch # watch tests
FAQs
## Getting started
The npm package @viamrobotics/prime-blocks receives a total of 126 weekly downloads. As such, @viamrobotics/prime-blocks popularity was classified as not popular.
We found that @viamrobotics/prime-blocks 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
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.