Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@sincronia/prettier-plugin

nuvolo82GPL-3.00.4.2-alpha.3

Prettier plugin for Sincronia

readme

@sincronia/prettier-plugin

Overview

This plugin allows you to run Prettier on all supported file types. Supports .prettierrc files.

Installation

npm i -D @sincronia/prettier-plugin

Options

This plugin takes the exact same options as .prettierrc.

Order of Configurations

  1. Check for .prettierrc file and load those options
  2. Load from sinc.config.js options and override any overlapping values.

Example Usage

This example takes .js files and prettifies them.

//sinc.config.js
module.exports={
  rules:{
    match:/\.js$/,
    plugins:[
      name:"@sincronia/prettier-plugin",
      //Prettier options
      options:{
        //sets tabs to be 2 spaces
        tabWidth:2,
        //append semicolons to ends of lines
        semi:true
      }
    ]
  }
};

You could also create a .prettierrc file with those same options in your project and it would respect those values.

changelog

Changelog

All notable changes to this project will be documented in this file.

0.4.1 - 2020-07-06

Added

0.4.0 - 2020-06-19

Added

  • Installed Jest and added preliminary tests from @tyler-ed
  • Added diff option to build and deploy commands from @nrdurkin
  • Added documentation for new configuration options and commands from @nrdurkin

Changed

  • Dev mode will periodically refresh the manifest from @nrdurkin

0.3.10-alpha.0 - 2020-06-01

Added

  • Retry sending files when network error occurs while pushing to server from @nrdurkin.
  • Added status command to show current connection information from @nrdurkin
  • Added "build" command to create static deployable bundles from @nrdurkin.
  • Added "deploy" command to deploy static bundles to servers from @nrdurkin.

Changed

  • "sinc push" shows record count before confirmation from @nrdurkin.
  • Validate credentials during init from @nrdurkin.
  • refactored config loading during startup to be more straight forward and performent from @nrdurkin.

Removed

  • nothing removed

0.3.6 - 2020-02-12

Added

Changed

  • no changes

Removed

  • nothing removed