Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

@storm-software/prettier

Package Overview
Dependencies
Maintainers
2
Versions
416
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@storm-software/prettier - npm Package Compare versions

Comparing version
0.57.80
to
0.58.0
+112
index.js
// packages/prettier/src/config.json
var config_default = {
proseWrap: "preserve",
trailingComma: "none",
tabWidth: 2,
semi: true,
singleQuote: false,
quoteProps: "as-needed",
insertPragma: false,
bracketSameLine: true,
printWidth: 80,
bracketSpacing: true,
arrowParens: "avoid",
endOfLine: "lf",
overrides: [
{
files: "**/{*.ts,*.tsx,*.mts,*.cts}",
options: {
parser: "typescript",
singleQuote: false,
trailingComma: "none",
jsdocDescriptionWithDot: false,
jsdocDescriptionTag: true,
jsdocCommentLineStrategy: "multiline",
jsdocCapitalizeDescription: true,
jsdocSeparateTagGroups: true,
jsdocPreferCodeFences: true,
tsdoc: true
}
},
{
files: "**/*.mdx",
options: {
semi: false,
trailingComma: "none",
parser: "mdx"
}
},
{
files: "**/*.md",
options: {
semi: false,
trailingComma: "none",
parser: "markdown"
}
},
{
files: "**/*.toml",
options: {
parser: "toml",
alignEntries: true,
alignComments: true,
arrayAutoExpand: true,
arrayAutoCollapse: true,
compactArrays: true,
compactInlineTables: false,
compactEntries: false,
indentTables: false,
indentEntries: false,
reorderKeys: false,
allowedBlankLines: 1
}
},
{
files: "**/*.svg",
options: {
parser: "html"
}
},
{
files: "**/*.{json,jsonc,json5}",
options: {
parser: "json",
trailingComma: "none",
objectWrap: "preserve"
}
},
{
files: "**/*.hbs",
options: {
parser: "html"
}
},
{
files: "**/*.prisma",
options: {
parser: "prisma-parse"
}
},
{
files: "**/{*.acid,*.aci,*.acidic}",
options: {
parser: "prisma-parse"
}
}
],
plugins: [
"prettier-plugin-sh",
"prettier-plugin-pkg",
"prettier-plugin-toml",
"prettier-plugin-jsdoc",
"prettier-plugin-organize-imports",
"prettier-plugin-prisma"
],
organizeImportsSkipDestructiveCodeActions: false
};
// packages/prettier/src/index.ts
var index_default = config_default;
export {
index_default as default
};
{
"proseWrap": "preserve",
"trailingComma": "none",
"tabWidth": 2,
"semi": true,
"singleQuote": false,
"quoteProps": "as-needed",
"insertPragma": false,
"bracketSameLine": true,
"printWidth": 80,
"bracketSpacing": true,
"arrowParens": "avoid",
"endOfLine": "lf",
"overrides": [
{
"files": "**/{*.ts,*.tsx,*.mts,*.cts}",
"options": {
"parser": "typescript",
"singleQuote": false,
"trailingComma": "none",
"jsdocDescriptionWithDot": false,
"jsdocDescriptionTag": true,
"jsdocCommentLineStrategy": "multiline",
"jsdocCapitalizeDescription": true,
"jsdocSeparateTagGroups": true,
"jsdocPreferCodeFences": true,
"tsdoc": true
}
},
{
"files": "**/*.mdx",
"options": {
"semi": false,
"trailingComma": "none",
"parser": "mdx"
}
},
{
"files": "**/*.md",
"options": {
"semi": false,
"trailingComma": "none",
"parser": "markdown"
}
},
{
"files": "**/*.toml",
"options": {
"parser": "toml",
"alignEntries": true,
"alignComments": true,
"arrayAutoExpand": true,
"arrayAutoCollapse": true,
"compactArrays": true,
"compactInlineTables": false,
"compactEntries": false,
"indentTables": false,
"indentEntries": false,
"reorderKeys": false,
"allowedBlankLines": 1
}
},
{
"files": "**/*.svg",
"options": {
"parser": "html"
}
},
{
"files": "**/*.{json,jsonc,json5}",
"options": {
"parser": "json",
"trailingComma": "none",
"objectWrap": "preserve"
}
},
{
"files": "**/*.hbs",
"options": {
"parser": "html"
}
},
{
"files": "**/*.prisma",
"options": {
"parser": "prisma-parse"
}
},
{
"files": "**/{*.acid,*.aci,*.acidic}",
"options": {
"parser": "prisma-parse"
}
}
],
"plugins": [
"prettier-plugin-sh",
"prettier-plugin-pkg",
"prettier-plugin-toml",
"prettier-plugin-jsdoc",
"prettier-plugin-organize-imports",
"prettier-plugin-prisma"
],
"organizeImportsSkipDestructiveCodeActions": false
}
+13
-5

@@ -20,3 +20,10 @@ {

"singleQuote": false,
"trailingComma": "none"
"trailingComma": "none",
"jsdocDescriptionWithDot": false,
"jsdocDescriptionTag": true,
"jsdocCommentLineStrategy": "multiline",
"jsdocCapitalizeDescription": true,
"jsdocSeparateTagGroups": true,
"jsdocPreferCodeFences": true,
"tsdoc": true
}

@@ -27,5 +34,5 @@ },

"options": {
"parser": "mdx",
"semi": false,
"trailingComma": "none"
"trailingComma": "none",
"parser": "mdx"
}

@@ -36,5 +43,5 @@ },

"options": {
"parser": "markdown",
"semi": false,
"trailingComma": "none"
"trailingComma": "none",
"parser": "markdown"
}

@@ -96,2 +103,3 @@ },

"prettier-plugin-toml",
"prettier-plugin-jsdoc",
"prettier-plugin-organize-imports",

@@ -98,0 +106,0 @@ "prettier-plugin-prisma"

@@ -0,3 +1,28 @@

var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
// packages/prettier/src/index.ts
module.exports = {
var index_exports = {};
__export(index_exports, {
default: () => index_default
});
module.exports = __toCommonJS(index_exports);
// packages/prettier/src/config.json
var config_default = {
proseWrap: "preserve",

@@ -21,3 +46,10 @@ trailingComma: "none",

singleQuote: false,
trailingComma: "none"
trailingComma: "none",
jsdocDescriptionWithDot: false,
jsdocDescriptionTag: true,
jsdocCommentLineStrategy: "multiline",
jsdocCapitalizeDescription: true,
jsdocSeparateTagGroups: true,
jsdocPreferCodeFences: true,
tsdoc: true
}

@@ -69,4 +101,3 @@ },

trailingComma: "none",
objectWrap: "preserve",
printWidth: 120
objectWrap: "preserve"
}

@@ -79,2 +110,14 @@ },

}
},
{
files: "**/*.prisma",
options: {
parser: "prisma-parse"
}
},
{
files: "**/{*.acid,*.aci,*.acidic}",
options: {
parser: "prisma-parse"
}
}

@@ -86,2 +129,3 @@ ],

"prettier-plugin-toml",
"prettier-plugin-jsdoc",
"prettier-plugin-organize-imports",

@@ -92,1 +136,4 @@ "prettier-plugin-prisma"

};
// packages/prettier/src/index.ts
var index_default = config_default;
{
"name": "@storm-software/prettier",
"version": "0.57.80",
"version": "0.58.0",
"type": "commonjs",

@@ -21,7 +21,16 @@ "description": "⚡ A package containing the base Prettier configuration used by Storm Software across many projects.",

"exports": {
".": "./index.cjs",
"./index": "./index.cjs",
".": {
"import": "./index.js",
"require": "./index.cjs",
"default": "./index.js"
},
"./index": {
"import": "./index.js",
"require": "./index.cjs",
"default": "./index.js"
},
"./.prettierignore": "./.prettierignore",
"./all.json": "./all.json",
"./base.json": "./base.json",
"./recommended.json": "./recommended.json",
"./config.json": "./config.json",

@@ -34,2 +43,16 @@ "./jsdoc.json": "./jsdoc.json",

},
"files": [
"./.prettierignore",
"./all.json",
"./base.json",
"./config.json",
"./index.cjs",
"./index.js",
"./jsdoc.json",
"./package.json",
"./prisma.json",
"./recommended.json",
"./solidity.json",
"./tailwindcss.json"
],
"keywords": [

@@ -81,3 +104,3 @@ "monorepo",

"publishConfig": { "access": "public" },
"gitHead": "0baa29a84f59924568ce3247fb7a804427c5dc2a"
"gitHead": "282913d6672835512eeea3570f24995dfb7e40c6"
}

@@ -30,3 +30,3 @@ <!-- START header -->

[![Version](https://img.shields.io/badge/version-0.57.72-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
[![Version](https://img.shields.io/badge/version-0.57.80-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)

@@ -33,0 +33,0 @@ <!-- prettier-ignore-start -->

Sorry, the diff of this file is too big to display

{
"inputs": {
"packages/prettier/src/index.ts": {
"bytes": 1751,
"imports": [],
"format": "cjs"
}
},
"outputs": {
"dist/packages/prettier/index.cjs": {
"imports": [],
"exports": [],
"entryPoint": "packages/prettier/src/index.ts",
"inputs": {
"packages/prettier/src/index.ts": {
"bytesInOutput": 1751
}
},
"bytes": 1785
}
}
}