Skip to content

Commit

Permalink
remove postinstall script that breaks npm install (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
ETLaurent authored Apr 22, 2024
1 parent c56855d commit bd867da
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 46 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [2.0.1] - 2024-04-22

### Fixed

- Removed logic to automatically detect out of date stylelint plugins. Unfortunately, this [fails in an
unrecoverable way with the latest versions of some stylelint plugins](https://github.com/nodejs/node/issues/33460), breaking `npm install`.

## [2.0.0] - 2022-10-03

## Added
Expand Down
43 changes: 0 additions & 43 deletions lib/checkUpdates.js

This file was deleted.

4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
{
"name": "stylelint-config-apostrophe",
"version": "2.0.0",
"version": "2.0.1",
"description": "stylelint configuration for apostrophe and related core modules",
"main": "index.js",
"scripts": {
"check": "node ./lib/checkUpdates",
"compare": "node ./lib/index",
"test": "eslint . && npx mocha && npm run stylelint",
"postinstall": "npm run check",
"stylelint": "npx stylelint 'test/*.scss' --custom-syntax postcss-scss --config stylelintrc.json"
},
"repository": {
Expand Down

0 comments on commit bd867da

Please sign in to comment.