From bbaaac6a6bf8bcea3241f35087674e90feb5fde4 Mon Sep 17 00:00:00 2001 From: Mikhail Kharin Date: Mon, 21 Mar 2022 13:17:21 +0300 Subject: [PATCH] Remove unused files & internal packages --- .eslintignore | 1 - dist/configs/common.js | 4 ---- dist/controllers/index.js | 3 --- dist/index.js | 6 ------ dist/routes.js | 3 --- package.json | 1 - src/demo/Components/DocPage/page-en.json | 2 +- src/demo/Components/DocPage/page-ru.json | 2 +- 8 files changed, 2 insertions(+), 20 deletions(-) delete mode 100644 dist/configs/common.js delete mode 100644 dist/controllers/index.js delete mode 100644 dist/index.js delete mode 100644 dist/routes.js diff --git a/.eslintignore b/.eslintignore index 8e0ea7e2..494039a2 100644 --- a/.eslintignore +++ b/.eslintignore @@ -2,4 +2,3 @@ node_modules /build /storybook-static -/dist diff --git a/dist/configs/common.js b/dist/configs/common.js deleted file mode 100644 index 23374f74..00000000 --- a/dist/configs/common.js +++ /dev/null @@ -1,4 +0,0 @@ -module.exports = { - authPolicy: 'disabled', - socket: 'dist/run/server.sock', -}; diff --git a/dist/controllers/index.js b/dist/controllers/index.js deleted file mode 100644 index a084214a..00000000 --- a/dist/controllers/index.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports = (req, res) => { - res.redirect('/index.html'); -}; diff --git a/dist/index.js b/dist/index.js deleted file mode 100644 index ea4c305c..00000000 --- a/dist/index.js +++ /dev/null @@ -1,6 +0,0 @@ -const Core = require('@yandex-data-ui/core'); - -const app = new Core({name: 'docs-components'}); -module.exports = app; - -app.run(); diff --git a/dist/routes.js b/dist/routes.js deleted file mode 100644 index e8d22ddc..00000000 --- a/dist/routes.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports = { - 'GET /': 'index', -}; diff --git a/package.json b/package.json index 2276659d..69291fe8 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,6 @@ "svgo": "svgo --config svgo.config.js", "svgo:all": "svgo --config svgo.config.js -r -f .", "dev": "npm run storybook:start", - "start": "node dist", "test": "jest --passWithNoTests", "test:update": "jest -u", "build:clean": "rimraf build", diff --git a/src/demo/Components/DocPage/page-en.json b/src/demo/Components/DocPage/page-en.json index 8b7cf6ea..8119c91a 100644 --- a/src/demo/Components/DocPage/page-en.json +++ b/src/demo/Components/DocPage/page-en.json @@ -253,7 +253,7 @@ "name": "Quotas and limits" } ], - "filePath": "/opt/app/node_modules/@yandex-data-ui/doc-api/cache/c12878f1-cc2e-445f-8f96-7374fe76b074/en/overview/concepts/quotas-limits.md", + "filePath": "/cache/c12878f1-cc2e-445f-8f96-7374fe76b074/en/overview/concepts/quotas-limits.md", "githubUrl": "https://github.com/yandex-cloud/docs/tree/master/en/overview/concepts/quotas-limits.md", "vcsType": "github", "vcsUrl": "https://github.com/yandex-cloud/docs/tree/master/en/overview/concepts/quotas-limits.md" diff --git a/src/demo/Components/DocPage/page-ru.json b/src/demo/Components/DocPage/page-ru.json index 535c8189..fa452b63 100644 --- a/src/demo/Components/DocPage/page-ru.json +++ b/src/demo/Components/DocPage/page-ru.json @@ -264,7 +264,7 @@ "name": "Квоты и лимиты" } ], - "filePath": "/opt/app/node_modules/@yandex-data-ui/doc-api/cache/c12878f1-cc2e-445f-8f96-7374fe76b074/ru/overview/concepts/quotas-limits.md", + "filePath": "/cache/c12878f1-cc2e-445f-8f96-7374fe76b074/ru/overview/concepts/quotas-limits.md", "githubUrl": "https://github.com/yandex-cloud/docs/tree/master/ru/overview/concepts/quotas-limits.md", "vcsType": "github", "vcsUrl": "https://github.com/yandex-cloud/docs/tree/master/ru/overview/concepts/quotas-limits.md"