Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update remark monorepo (major) - abandoned #874

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 1, 2021

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
remark-cli (source) ^8.0.0 -> ^8.0.0 || ^10.0.0 age adoption passing confidence
remark-cli (source) 8.0.1 -> 10.0.1 age adoption passing confidence
remark-frontmatter ^2.0.0 -> ^4.0.0 age adoption passing confidence
remark-lint ^7.0.0 -> ^9.0.0 age adoption passing confidence
remark-preset-lint-consistent ^3.0.0 -> ^5.0.0 age adoption passing confidence
remark-preset-lint-markdown-style-guide ^3.0.0 -> ^5.0.0 age adoption passing confidence
remark-preset-lint-recommended ^4.0.0 -> ^6.0.0 age adoption passing confidence
remark-validate-links ^10.0.0 -> ^11.0.0 age adoption passing confidence

Release Notes

remarkjs/remark

v10.0.1

Compare Source

See remark@14.0.2

v10.0.0

Compare Source

Changelog
  • 1b89df5 Update remark-parse, remark-stringify
  • aab3c3e Rework list fields
  • 3325c33 Add support for label to associations
  • 31ef684 Add support for meta in code
  • c77d24f Update unified
See also
Project
Plugins
  • 4c0e28a Add remark-macro to list of plugins
  • a4caa67 Add remark-git-contributors to list of plugins
  • fe241aa Add remark-outer-toc to list of plugins
  • 4fa8b1d Replace deprecated plugin with remark-behead in list of plugins
  • 52ffdff Add remark-redact to list of plugins
  • 02297a5 Add remark-attr to list of plugins

v9.0.0

Compare Source

See remark@13.0.0

remarkjs/remark-frontmatter

v4.0.1

Compare Source

Full Changelog: remarkjs/remark-frontmatter@4.0.0...4.0.1

v4.0.0

Compare Source

  • c02f672 Use ESM
    // From CommonJS
    var remarkFrontmatter = require('remark-frontmatter')
    
    // To ESM
    import remarkFrontmatter from 'remark-frontmatter'
    Learn more about ESM in this guide
  • 3f125a9 Add JSDoc based types

v3.0.0

Compare Source

  • fb1357b Update for micromark in remark@13
    (breaking, this update will not work for remark lower than v13, see commit for changes)
remarkjs/remark-lint (remark-lint)

v9.1.1

Compare Source

Full Changelog: remarkjs/remark-lint@9.1.0...9.1.1

v9.1.0

Compare Source

Full Changelog: remarkjs/remark-lint@9.0.1...9.1.0

v9.0.1

Compare Source

  • bc1b092 Use npm workspaces (and fix types)
  • 359cd08 Add repository.directory field to package.jsons

v9.0.0

Compare Source

Full Changelog: remarkjs/remark-lint@8.0.0...9.0.0

v8.0.0

Compare Source

TL;DR: Use the new versions of the presets with remark 13:

  • remark-preset-lint-consistent (4.0.0)
  • remark-preset-lint-markdown-style-guide (4.0.0)
  • remark-preset-lint-recommended (5.0.0)

Most plugins are fine, but some received majors. The following plugins are made for the new parser and do not work on the old. While you’re still on remark 12, use their previous version. Use the new versions for remark 13+.

  • remark-lint-checkbox-character-style (3.0.0)
  • remark-lint-checkbox-content-indent (3.0.0)
  • remark-lint-list-item-bullet-indent (3.0.0)
  • remark-lint-list-item-spacing (3.0.0)
  • remark-lint-no-blockquote-without-marker (4.0.0)
  • remark-lint-no-heading-indent (3.0.0)
  • remark-lint-no-paragraph-content-indent (3.0.0)
  • remark-lint-no-table-indentation (3.0.0)
  • remark-lint-table-cell-padding (3.0.0)
  • remark-lint-table-pipes (3.0.0)

These plugins generally work on old and new remark, but might miss some messages in the old one now:

  • remark-lint-no-consecutive-blank-lines (3.0.0) (extra blank lines can no longer break out of lists)
  • remark-lint-no-heading-content-indent (3.0.0) (pedantic mode no longer supported)
  • remark-lint-no-inline-padding (3.0.0) (emphasis, strong, strikethrough can’t be padded anymore)
  • remark-lint-no-undefined-references (3.0.0) (undefined references are no longer parsed, so we have to do magic to find them)

v7.0.1

Compare Source

remarkjs/remark-lint (remark-preset-lint-consistent)

v5.1.1

Compare Source

v5.1.0

Compare Source

v5.0.1

Compare Source

  • bca9530 Add readme.md to remark-lint package

v5.0.0

Compare Source

This is a big one: remark-lint no longer does anything without you telling it to.
The breaking part is reset and presets.

On the CLI, please start using remark-preset-lint-consistent, remark-preset-lint-recommended, and/or create and publish your own config!

Changes
  • f5c1227 Make reset the default
  • 6196124 Update for changes in remark@6.0.0
  • 77709f5 Add support for passing severities

v4.0.0

See remark-lint@8.0.0

remarkjs/remark-lint (remark-preset-lint-markdown-style-guide)

v5.1.2

Compare Source

v5.1.1

Compare Source

  • c5c3832 Mark no-auto-link-without-protocol as deprecated

v5.1.0

Compare Source

v5.0.1

Compare Source

  • bca9530 Add readme.md to remark-lint package

v5.0.0

Compare Source

This is a big one: remark-lint no longer does anything without you telling it to.
The breaking part is reset and presets.

On the CLI, please start using remark-preset-lint-consistent, remark-preset-lint-recommended, and/or create and publish your own config!

Changes
  • f5c1227 Make reset the default
  • 6196124 Update for changes in remark@6.0.0
  • 77709f5 Add support for passing severities

v4.0.0

See remark-lint@8.0.0

remarkjs/remark-lint (remark-preset-lint-recommended)

v6.1.2

Compare Source

v6.1.1

Compare Source

  • c5c3832 Mark no-auto-link-without-protocol as deprecated

v6.0.0

Compare Source

Hi! 👋

With 6.0.0, rules are no longer in the remark-lint package. In fact, remark lint doesn’t do much, other than controlling messages.

Rules are now each in their own package. You don’t have to npm install and .use() each package though, you can install and use presets instead. If you find yourself installing many rules to update, maybe create a preset too?

By giving more power to presets over the remark-lint package itself, I think rules, especially external rules, will prosper!

First off, if “presets” changed, the below diff shows how you can update:

 "dependencies": {
   "remark-cli": "^0.0.0",
   "remark-lint": "^0.0.0",
   "remark-preset-lint-consistent": "^0.0.0",
   // ...
 },
 "remarkConfig": {
-  "presets": ["lint-consistent"]
+  "plugins": ["preset-lint-consistent"]
 }

Second, if you used remark-lint directly, you need to change your config as follows.

 "dependencies": {
   "remark-cli": "^0.0.0",
   "remark-lint": "^0.0.0",
+  "remark-lint-unordered-list-marker-style": "^0.0.0",
+  "remark-lint-list-item-bullet-indent": "^0.0.0",
+  "remark-lint-no-multiple-toplevel-headings": "^0.0.0",
+  "remark-lint-maximum-line-length": "^0.0.0",
+  "remark-lint-maximum-heading-length": "^0.0.0",
+  "remark-lint-no-tabs": "^0.0.0",
   // ...
 },
 "remarkConfig": {
-  "plugins": {
-    "remark-lint": {
-    "unordered-list-marker-style": "consistent",
-    "list-item-bullet-indent": true,
-    "no-multiple-toplevel-headings": true,
-    "maximum-line-length": 9000,
-    "maximum-heading-length": 300,
-    "no-tabs": true,
-    //  ...
-  }
+  "plugins": [
+    "remark-lint",
+    ["remark-lint-unordered-list-marker-style", "consistent"],
+    "remark-lint-list-item-bullet-indent",
+    "remark-lint-no-multiple-toplevel-headings",
+    ["remark-lint-maximum-line-length", 9000],
+    ["remark-lint-maximum-heading-length", 300],
+    "remark-lint-no-tabs",
+    //  ...
+  ]

Finally, if you use remark on the API, change your code as follows:

var remark = require('remark');
var lint = require('remark-lint');
+var unorderedListMarkerStyle = require('remark-lint-unordered-list-marker-style');
+var listItemBulletIndent = require('remark-lint-list-item-bullet-indent');
+var noMultipleToplevelHeadings = require('remark-lint-no-multiple-toplevel-headings');

remark()
-  .use(lint, {
-    unorderedListMarkerStyle: 'consistent',
-    listItemBulletIndent: true,
-    noMultipleToplevelHeadings: true
-    maximumLineLength: false
-  })
+  .use(lint)
+  .use(unorderedListMarkerStyle, 'consistent')
+  .use(listItemBulletIndent)
+  .use(noMultipleToplevelHeadings)
  // ...

v5.0.0

Compare Source

See remark-lint@8.0.0

v4.0.1

Compare Source

remarkjs/remark-validate-links

v11.0.2

Compare Source

Full Changelog: remarkjs/remark-validate-links@11.0.1...11.0.2

v11.0.1

Compare Source

  • 765b3f5 Fix slugging of headings w/ images

v11.0.0

Compare Source

  • e88fecc Use ESM
    // From CommonJS
    var remarkValidateLinks = require('remark-validate-links')
    
    // To ESM
    import remarkValidateLinks from 'remark-validate-links'
    Learn more about ESM in this guide
  • b579e27 Add JSDoc based types
  • a5677c0 Update dependencies

v10.0.4

Compare Source

  • ad29c8e Fix prototypal values as references, landmarks

v10.0.3

Compare Source

  • 0bd3369 Fix to ignore hash in images
  • 46b6659 Refactor to clarify readme

v10.0.2

Compare Source

v10.0.1

Compare Source

  • cc4c1b3 Fix warning for impossible directories

Configuration

📅 Schedule: Branch creation - "before 5am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/major-remark-monorepo branch from 49a1a3c to f4520cc Compare October 18, 2021 21:13
@renovate renovate bot force-pushed the renovate/major-remark-monorepo branch from f4520cc to cbe2e9a Compare March 7, 2022 08:00
@renovate renovate bot changed the title Update remark monorepo (major) Update remark monorepo (major) - abandoned Jun 1, 2023
@renovate
Copy link
Contributor Author

renovate bot commented Jun 1, 2023

Autoclosing Skipped

This PR has been flagged for autoclosing. However, it is being skipped due to the branch being already modified. Please close/delete it manually or report a bug if you think this is in error.

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

Successfully merging this pull request may close these issues.

None yet

1 participant