Skip to content

Conversation

@cyfung1031
Copy link

stylelint 14.14.0 will be the last version for the original stylefmt. or update /lib/params.js such that stylelint.isPathIgnored(file) fits to the latest API in Stylelint.

The current version is "14.8.2"
File size can get minimized when upgraded to "14.9.1"
Last working version without modifying stylefmt is "14.14.0"
Since 14.14.1, stylelint.isPathIgnored is no longer available.
Since 15.x.x, stylelint's APIs are all changed.

stylelint 14.14.0 will be the last version for the original stylefmt.
or update `/lib/params.js` such that `stylelint.isPathIgnored(file)` fits to the latest API in Stylelint.
@cyfung1031
Copy link
Author

cyfung1031 commented May 13, 2023

by the way, for your reference, here is the versions that without npm aduit issues and can build the script without issues.

I created a similar tool as vscode-stylefmt using your stylefmt.
I use the following versions to make it work since your vscode-stylefmt cannot build due to version issues.

  "overrides": {
    "@ronilaukkarinen/stylefmt": "6.2.4",
    "ajv": "6.12.6",
    "ansi-styles": "3.2.1",
    "argparse": "1.0.10",
    "balanced-match": "1.0.0",
    "brace-expansion": "1.1.11",
    "camelcase": "5.3.1",
    "chalk": "2.4.2",
    "color-convert": "1.9.3",
    "color-name": "1.1.3",
    "decamelize": "1.2.0",
    "diff": "4.0.2",
    "doctrine": "0.7.2",
    "escape-string-regexp": "1.0.5",
    "eslint-scope": "5.1.1",
    "eslint-visitor-keys": "2.1.0",
    "estraverse": "4.3.0",
    "esutils": "1.1.6",
    "find-up": "4.1.0",
    "glob-parent": "5.1.2",
    "globby": "11.1.0",
    "has-flag": "3.0.0",
    "hosted-git-info": "2.8.9",
    "is-plain-obj": "1.1.0",
    "js-yaml": "3.14.0",
    "json-schema-traverse": "0.4.1",
    "locate-path": "5.0.0",
    "lru-cache": "4.1.5",
    "map-obj": "1.0.1",
    "minimatch": "3.1.2",
    "ms": "2.1.2",
    "nanoid": "3.3.3",
    "normalize-package-data": "2.5.0",
    "p-limit": "2.3.0",
    "p-locate": "4.1.0",
    "postcss": "8.4.23",
    "resolve-from": "4.0.0",
    "semver": "5.7.1",
    "slash": "3.0.0",
    "stylelint": "14.14.0",
    "stylelint-order": "5.0.0",
    "supports-color": "5.5.0",
    "tslib": "1.9.0",
    "tsutils": "2.28.0",
    "type-fest": "0.6.0",
    "which": "1.3.1",
    "yallist": "2.1.2",
    "yargs-parser": "20.2.4"
  },

@ronilaukkarinen
Copy link
Member

Sorry, missed this, been too busy. I'll check it next time I'm testing stylefmt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants