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

@seek/backoffice-access

Package Overview
Dependencies
Maintainers
315
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@seek/backoffice-access

[![Slack channel](https://img.shields.io/badge/slack-%23indirect-aa6dca.svg)](https://slack.com/app_redirect?channel=C016GVBE7UK) [![backoffice-access build](https://img.shields.io/buildkite/10f05d25c6d7925964e0b5cc10e38bf34603b79cefb439bd82/master.svg?la

  • 1.4.0
  • unpublished
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
315
Weekly downloads
 
Created
Source

backoffice-access

Slack channel backoffice-access build backoffice-access-package build @seek/backoffice-access Powered by skuba

API

BACK_OFFICE_PERMISSIONS

An array of the Back Office permissions defined in this repo.

import { BACK_OFFICE_PERMISSIONS } from '@seek/backoffice-access';

BACK_OFFICE_PERMISSIONS.length;

BackOfficePermission

A string union type of the Back Office permissions defined in this repo.

import type { BackOfficePermission } from '@seek/backoffice-access';

const role: BackOfficePermission = 'ADMIN_OFFBOARDING';

isBackOfficePermission

Whether a given input string is a Back Office permission defined in this repo.

import { isBackOfficePermission } from '@seek/backoffice-access';

isBackOfficePermission('ADMIN_OFFBOARDING');

Development

Prerequisites

  • Node.js LTS
  • Yarn 1.x
yarn install

Test

yarn test

Lint

# Fix issues
yarn format

# Check for issues
yarn lint

Package

# Compile source
yarn build

# Review bundle
npm pack

Release

This package is published to the npm registry under the private @seek npm org with Gutenberg, SEEK's central npm publishing pipeline.

It depends on this repo being hosted on SEEK-Jobs with appropriate access.

Commit messages

This package is published with semantic-release, which requires a particular commit format to manage semantic versioning. You can run the interactive yarn commit command in place of git commit to generate a compliant commit title and message. If you use the Squash and merge option on pull requests, take extra care to format the squashed commit in the GitHub UI before merging.

Releasing latest

Commits to the master branch will be released with the latest tag, which is the default used when running npm install or yarn install.

Releasing other dist-tags

semantic-release prescribes a branch-based workflow for managing distribution tags.

You can push to other branches to manage betas, maintenance updates to prior major versions, and more.

Here are some branches that semantic-release supports by default:

Git branchnpm dist-tag
masterlatest
alphaalpha
betabeta
nextnext
1.xrelease-1.x

For more information, see the semantic-release docs on triggering a release.

FAQs

Package last updated on 18 Nov 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