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

@planningcenter/doxy-web

Package Overview
Dependencies
Maintainers
10
Versions
130
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@planningcenter/doxy-web

Doxy for Church Center Web

  • 2.2.0-rc.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.3K
increased by58.54%
Maintainers
10
Weekly downloads
 
Created
Source

doxy-web

Unified styles + React components for Church Center Web.

  • NPM package
  • Github repository
  • Storybook (documentation)

Getting Started

cd Code
git clone git@github.com:planningcenter/doxy-web.git
cd doxy-web
yarn install

Development Scripts

  • yarn start - compiles SCSS/JS + runs Storybook using localhost
  • yarn develop - compiles SCSS/JS + watches src directory for changes
  • yarn develop:yalc - compiles/watches SCSS/JS and locally publishes bundled code via yalc (this is the preferred way to test package changes locally in church-center or proxied app - (check out the yalc development guide for more details)
  • yarn test - runs defined component tests using Jest
  • yarn test:watch - runs tests + watches src directory for changes
Local Development Process:
  1. Run yarn start to use Storybook development environment
  1. In separate terminal, run yarn develop:yalc to watch src for changes and push to yalc registry
  2. In church-center (or proxied app), run yalc add @planningcenter/doxy-web to consume/test local changes
"Sandbox" Development Environment

The sandbox provides another local testing/development environment where multiple UI elements/components can be viewed simultaneously. This is especially useful for making new CSS changes because you can see multiple instances of the UI states vs. in Storybook, where you can only toggle 1 state at a time.

  1. Run yarn sandbox (parallel command for yarn develop:yalc & cd sandbox && yarn start)
  2. Follow localhost link in terminal to view local Parcel app

To add new views

  1. Add a contextually-named component to sandbox/src/pages directory and export from pages/index.js
  2. Import page/component to src/App.jsx and add to <Router /> with path
  3. Add corresponding <Link /> to src/components/Sidebar.jsx

Contributing

  • New versions to @planningcenter/doxy-web are made using a "batched" process by deploying changes to NPM from main.
  • All changes should be made using a "feature branch" forked from main and merged using our standard PR process.
  • Changes should be documented in the CHANGELOG before merging the approved PR.

Pre-release Versions

  • Prior to merging a PR, depending on the scope of the change, a release candidate can be published to npm for use on staging. Release candidate versions should follow -rc.0 naming conventions (check NPM Registry to verify most-current version number)
    • Example: if the latest version is 1.16.2 and the proposed change is considered a minor change, the first release candidate version would be 1.17.0-rc.0
  • In your feature branch:
    1. update the version in package.json
    2. npm login
    3. npm publish --dry-run to verify package contents and correct version number
    4. npm publish --tag next
    5. In church-center (or proxied app), run yarn add @planningcenter/doxy-web@next

Versioning + Deploying to NPM

Refer to the Planning Center release strategy on Notion.

Deploying Storybook:

Consumable CSS

Import @planningcenter/doxy-web/dist/css/doxy-web

Importing React Components

import { Heading } from "@planningcenter/doxy-web"

FAQs

Package last updated on 14 Aug 2023

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