From 4902405ce63997dc3228a9f7a8daeba8692024cd Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Fri, 28 Jun 2024 00:12:47 +0200 Subject: [PATCH] remove remark --- code/.remarkignore | 1 - code/.remarkrc.js | 1 - code/package.json | 1 - scripts/.eslintignore | 1 - scripts/package.json | 4 ---- scripts/yarn.lock | 40 +--------------------------------------- 6 files changed, 1 insertion(+), 47 deletions(-) delete mode 100644 code/.remarkignore delete mode 100644 code/.remarkrc.js diff --git a/code/.remarkignore b/code/.remarkignore deleted file mode 100644 index 83b694704bac..000000000000 --- a/code/.remarkignore +++ /dev/null @@ -1 +0,0 @@ -CHANGELOG.md \ No newline at end of file diff --git a/code/.remarkrc.js b/code/.remarkrc.js deleted file mode 100644 index 738218a6db8b..000000000000 --- a/code/.remarkrc.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@storybook/linter-config/remark.config'); diff --git a/code/package.json b/code/package.json index 69553500b02d..97f6db27ba92 100644 --- a/code/package.json +++ b/code/package.json @@ -40,7 +40,6 @@ "lint:ejs": "ejslint **/*.ejs", "lint:js": "yarn lint:js:cmd . --quiet", "lint:js:cmd": "cross-env NODE_ENV=production eslint --cache --cache-location=../.cache/eslint --ext .js,.jsx,.json,.html,.ts,.tsx,.mjs --report-unused-disable-directives", - "lint:md": "../scripts/node_modules/.bin/remark -q .", "lint:other": "prettier --write '**/*.{css,html,json,md,yml}'", "lint:package": "sort-package-json", "local-registry": "yarn --cwd ../scripts local-registry", diff --git a/scripts/.eslintignore b/scripts/.eslintignore index 9224e493860f..9232fbc33895 100644 --- a/scripts/.eslintignore +++ b/scripts/.eslintignore @@ -17,7 +17,6 @@ examples/ember-cli/.storybook/preview-head.html examples/official-storybook/tests/addon-jest.test.js ember-output .yarn -!.remarkrc.js !.babelrc.js !.eslintrc.js !.eslintrc-markdown.js diff --git a/scripts/package.json b/scripts/package.json index c0e28dbd8b7c..c20357486cbf 100644 --- a/scripts/package.json +++ b/scripts/package.json @@ -157,10 +157,6 @@ "react-dom": "^18.3.1", "read-pkg-up": "^7.0.1", "recast": "^0.23.9", - "remark": "^14.0.3", - "remark-cli": "^12.0.1", - "remark-lint": "^9.1.2", - "remark-preset-lint-recommended": "^6.1.3", "semver": "^7.6.2", "serve-static": "^1.15.0", "simple-git": "^3.25.0", diff --git a/scripts/yarn.lock b/scripts/yarn.lock index 6be8243b9c82..e3e6bca71a0b 100644 --- a/scripts/yarn.lock +++ b/scripts/yarn.lock @@ -1490,10 +1490,6 @@ __metadata: react-dom: "npm:^18.3.1" read-pkg-up: "npm:^7.0.1" recast: "npm:^0.23.9" - remark: "npm:^14.0.3" - remark-cli: "npm:^12.0.1" - remark-lint: "npm:^9.1.2" - remark-preset-lint-recommended: "npm:^6.1.3" semver: "npm:^7.6.2" serve-static: "npm:^1.15.0" simple-git: "npm:^3.25.0" @@ -11590,7 +11586,7 @@ __metadata: languageName: node linkType: hard -"remark-cli@npm:^12.0.0, remark-cli@npm:^12.0.1": +"remark-cli@npm:^12.0.0": version: 12.0.1 resolution: "remark-cli@npm:12.0.1" dependencies: @@ -11825,17 +11821,6 @@ __metadata: languageName: node linkType: hard -"remark-parse@npm:^10.0.0": - version: 10.0.2 - resolution: "remark-parse@npm:10.0.2" - dependencies: - "@types/mdast": "npm:^3.0.0" - mdast-util-from-markdown: "npm:^1.0.0" - unified: "npm:^10.0.0" - checksum: 10c0/30cb8f2790380b1c7370a1c66cda41f33a7dc196b9e440a00e2675037bca55aea868165a8204e0cdbacc27ef4a3bdb7d45879826bd6efa07d9fdf328cb67a332 - languageName: node - linkType: hard - "remark-parse@npm:^11.0.0": version: 11.0.0 resolution: "remark-parse@npm:11.0.0" @@ -11873,17 +11858,6 @@ __metadata: languageName: node linkType: hard -"remark-stringify@npm:^10.0.0": - version: 10.0.3 - resolution: "remark-stringify@npm:10.0.3" - dependencies: - "@types/mdast": "npm:^3.0.0" - mdast-util-to-markdown: "npm:^1.0.0" - unified: "npm:^10.0.0" - checksum: 10c0/682f26c66ce72e97a00bff75774b68f8008184dc1e4407039e186de896b5cd5d336aa65842bf131f4826a7415acdcd01d14ba59ff41b421a250c23fb187cda85 - languageName: node - linkType: hard - "remark-stringify@npm:^11.0.0": version: 11.0.0 resolution: "remark-stringify@npm:11.0.0" @@ -11895,18 +11869,6 @@ __metadata: languageName: node linkType: hard -"remark@npm:^14.0.3": - version: 14.0.3 - resolution: "remark@npm:14.0.3" - dependencies: - "@types/mdast": "npm:^3.0.0" - remark-parse: "npm:^10.0.0" - remark-stringify: "npm:^10.0.0" - unified: "npm:^10.0.0" - checksum: 10c0/d4dbef29abdb62b01ae632d787bf0038af819df3e4308e037754ece8cb9c4d8ea52e8629174a47b5c46a7448cd22feba5dfea09b3ffdaa8c745b4c9bdd01b41d - languageName: node - linkType: hard - "remark@npm:^15.0.0": version: 15.0.1 resolution: "remark@npm:15.0.1"