New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@screencloud/alfie-alpha

Package Overview
Dependencies
Maintainers
5
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@screencloud/alfie-alpha

Component library for apps look and feel

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
10
increased by233.33%
Maintainers
5
Weekly downloads
 
Created
Source

App UI component library

Published to npm

Tools we use

  • We use styled-components to style our components.
  • We use styled-system to create components with constraint-based style props based on scales defined in our theme.

Building new components

All components and variables that should be made available to users of our package should be exported in index.ts.

If you create a new component or update an existing component please ensure to update our documentation site to reflect these changes.

How to develop a component locally

We usually use our documentation site as our workspace to develop new components or make changes to existing components however feel free to use your own app.

You can use yalc to work in your local environment to test your changes without publishing those changes to npm.

Create yalc package by running commands in alfie package -

yarn run build
yalc publish

In your dependent project run

yalc add @screencloud/alfie
yarn install

After the yalc package has been added to your dependent project you can just do an update after each publish.

yalc update

Using yalc edits your package.json and node modules to point at the yalc package. Please ensure to never commit this change.

To remove the yalc package in your dependent project run

yalc remove --all
yarn install

This removes all yalc package info from yalc.lock and updates your node modules to point to the published version.

Publishing

We use changesets to handle our versioned release to NPM.

Run yarn changeset in the top level apps folder. Select @screencloud/alfie in the changed packages using space to select.

Choose if your change was a major, minor or patch bump and add a useful summary of your change for the change logs. Changesets will generate a .changeset/ file which you should commit. Once your PR has been successfully merged a new PR will be generated in the apps repo by GitHub actions for you named Version Packages.

When you're ready to do a release, you can merge this PR and a GitHub action will run to publish your change automatically to npm. If you're not ready to do a release yet, that's fine, whenever you add more changesets to develop, this PR will be updated.

Keywords

FAQs

Package last updated on 21 Sep 2021

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