mirror of
https://github.com/nodejs/node.git
synced 2026-11-30 11:55:44 -05:00
tools: update all lint-md rollup dependencies
PR-URL: https://github.com/nodejs/node/pull/36843 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
This commit is contained in:
1 parent
3fa470a3c9
commit
37becfda8c
4 files changed
+7077
-6826
No files matched your search
+6186
-6450
File diff suppressed because it is too large.
Load diff
+882
-368
File diff suppressed because it is too large.
Load diff
@@ -3,19 +3,19 @@
|
||||
"description": "remark packaged for Node.js Markdown linting",
|
||||
"version": "2.0.2",
|
||||
"devDependencies": {
|
||||
"@rollup/plugin-commonjs": "^11.0.1",
|
||||
"@rollup/plugin-json": "^4.0.1",
|
||||
"@rollup/plugin-node-resolve": "^7.0.0",
|
||||
"rollup": "^2.32.1",
|
||||
"@rollup/plugin-commonjs": "^17.0.0",
|
||||
"@rollup/plugin-json": "^4.1.0",
|
||||
"@rollup/plugin-node-resolve": "^11.0.1",
|
||||
"rollup": "^2.36.1",
|
||||
"shx": "^0.3.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"markdown-extensions": "^1.1.1",
|
||||
"remark": "^13.0.0",
|
||||
"remark-gfm": "^1.0.0",
|
||||
"remark-lint": "^7.0.0",
|
||||
"remark-lint": "^8.0.0",
|
||||
"remark-preset-lint-node": "^2.0.0",
|
||||
"unified-args": "^8.0.0"
|
||||
"unified-args": "^8.1.0"
|
||||
},
|
||||
"main": "dist/index.js",
|
||||
"scripts": {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
'use strict';
|
||||
|
||||
const resolve = require('@rollup/plugin-node-resolve');
|
||||
const { nodeResolve } = require('@rollup/plugin-node-resolve');
|
||||
const commonjs = require('@rollup/plugin-commonjs');
|
||||
const json = require('@rollup/plugin-json');
|
||||
|
||||
@@ -10,6 +10,7 @@ module.exports = {
|
||||
file: 'dist/index.js',
|
||||
format: 'cjs',
|
||||
sourcemap: false,
|
||||
exports: 'default',
|
||||
},
|
||||
external: [
|
||||
'stream',
|
||||
@@ -44,7 +45,7 @@ module.exports = {
|
||||
json({
|
||||
preferConst: true
|
||||
}),
|
||||
resolve(), // tells Rollup how to find date-fns in node_modules
|
||||
nodeResolve(), // tells Rollup how to find date-fns in node_modules
|
||||
commonjs(), // Converts date-fns to ES modules
|
||||
{
|
||||
name: 'banner',
|
||||
|
||||
Reference in new issue
Block a user