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

@localazy/components

Package Overview
Dependencies
Maintainers
4
Versions
275
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@localazy/components

Localazy shared components repository

  • 1.11.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
4
Weekly downloads
 
Created
Source

Install

Install all project dependencies

npm install

Running

To develop vue components independently, you can use Storybook installation:

npm run storybook

Functions and services should be developed in parent's repository.

Local development

For local development in parent project use package linking, which is a two step process.

  1. Create package symlink in the localazy-components
npm link
  1. In some other location, create a symbolic link from globally-installed, localazy-components package
npm link @localazy/components
  1. Whenever you update Vue components and wish to see it in other project, you must first run
npm run build

To return to published package version run:

npm unlink --no-save @localazy/components && npm install

Where unlink is an alias for uninstall.

Testing

Run unit tests

npm run test

Releasing

Master branch has a workflow to automatically release package with package version higher than on npm

npm version [major|minor|patch]
git push origin --tags

FAQ

Module did not self register (canvas), while running tests

There are compatibility issues with different node versions for node-canvas module. Try running npm rebuild canvas --update-binary and rerun the tests.

I want to fetch only published Directus items in production

Try to set APP_MODE or VUE_APP_MODE environment variable to production. If not set, draft articles will be fetched by default.

Keywords

FAQs

Package last updated on 12 Jul 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