Skip to content
core-prettier / 1.2.0

core-prettier 1.2.0

Install from the command line:
Learn more about npm packages
$ npm install @planetscale/core-prettier@1.2.0
Install via package.json:
"@planetscale/core-prettier": "1.2.0"

About this version

@planetscale/core-prettier

PlanetScale's shared Prettier configuration including tailwind-prettier.

Usage

Install:

$ npm install --save-dev prettier prettier-plugin-tailwindcss @planetscale/core-prettier

Edit .package.json:

// ...

"prettier": "@planetscale/core-prettier",

// ...

Read more on sharing configurations.

Releasing

Create a Personal Access Token (classic) with the write:package scope and log into npm with that token (per GitHub docs):

$ npm login --scope=@planetscale --auth-type=legacy --registry=https://npm.pkg.github.com

> Username: USERNAME
> Password: TOKEN

Run the postpublish script with $ npm run postpublish.

Details


Assets

  • core-prettier-1.2.0.tgz

Download activity

  • Total downloads 208
  • Last 30 days 0
  • Last week 0
  • Today 0

Recent versions

View all