mirror of
https://github.com/ivuorinen/base-configs.git
synced 2026-01-26 03:03:59 +00:00
feat!: module & commonjs in prettier
BREAKING CHANGE: support module, and commonjs types
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "@ivuorinen/prettier-config",
|
||||
"version": "0.2.16",
|
||||
"type": "module",
|
||||
"description": "ivuorinen's shareable configuration for Prettier.",
|
||||
"author": {
|
||||
"name": "Ismo Vuorinen",
|
||||
@@ -33,7 +34,7 @@
|
||||
"url": "https://github.com/ivuorinen/base-configs.git"
|
||||
},
|
||||
"scripts": {
|
||||
"postinstall": "node scripts/postinstall.js"
|
||||
"postinstall": "node scripts/postinstall.cjs"
|
||||
},
|
||||
"dependencies": {
|
||||
"@ivuorinen/config-checker": "^1.1.4",
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
const fs = require('fs')
|
||||
const path = require('path')
|
||||
// noinspection NpmUsedModulesInstalled
|
||||
const process = require('process')
|
||||
const checkConfig = require('@ivuorinen/config-checker')
|
||||
const foundConfig = checkConfig('prettier')
|
||||
Reference in New Issue
Block a user