Skip to content

Commit 1805704

Browse files
authored
Merge pull request #194 from zeropsio/ML-Run_Docs_On_Windows_Platform
fix(docs): Run development on Windows platform
2 parents 5c16dd7 + b538c7b commit 1805704

File tree

4 files changed

+42
-6
lines changed

4 files changed

+42
-6
lines changed

apps/docs/.content.eslintrc.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
module.exports = {
22
root: true,
33
extends: ['docs/content'],
4+
rules: {
5+
'quotes': ['error', 'single'],
6+
'semi': ['error', 'always'],
7+
'max-len': ['error', { code: 80, ignoreComments: true }]
8+
}
49
};

apps/docs/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@
6868
},
6969
"devDependencies": {
7070
"@babel/plugin-proposal-decorators": "^7.22.15",
71+
"@docusaurus/eslint-plugin": "latest",
7172
"@docusaurus/module-type-aliases": "latest",
7273
"@docusaurus/tsconfig": "latest",
7374
"@docusaurus/types": "latest",
@@ -80,4 +81,4 @@
8081
"engines": {
8182
"node": ">=18.0"
8283
}
83-
}
84+
}

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,17 @@
99
},
1010
"scripts": {
1111
"build": "turbo run build --env-mode=loose",
12-
"build:docs": "turbo run build --filter=docs",
13-
"start": "turbo run start:monorepo",
14-
"dev": "turbo run dev:monorepo",
12+
"build:docs": "turbo run build --filter=docs --env-mode=loose",
13+
"start": "turbo run start:monorepo --env-mode=loose",
14+
"dev": "turbo run dev:monorepo --env-mode=loose",
1515
"format": "prettier . --write",
1616
"lint": "turbo run lint",
1717
"lint:content": "turbo run lint:content"
1818
},
1919
"dependencies": {
2020
"autoprefixer": "10.4.14",
2121
"eslint": "^8.36.0",
22+
"eslint-plugin-prettier": "5.2.3",
2223
"postcss": "8.4.31",
2324
"prettier": "3.3.3",
2425
"tailwindcss": "3.3.3",
@@ -29,4 +30,4 @@
2930
"node": ">=18.17.0"
3031
},
3132
"packageManager": "[email protected]+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610"
32-
}
33+
}

yarn.lock

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1410,6 +1410,14 @@
14101410
"@typescript-eslint/utils" "^5.62.0"
14111411
tslib "^2.6.0"
14121412

1413+
"@docusaurus/eslint-plugin@latest":
1414+
version "3.7.0"
1415+
resolved "https://registry.yarnpkg.com/@docusaurus/eslint-plugin/-/eslint-plugin-3.7.0.tgz#bb5a13ba7fffb25cd122bf8d955b00fd4017c994"
1416+
integrity sha512-Bnmx16acy1cFTkv5onm8kRngU6xETEIqkuka+bH4+gCADnKJewHQ/3CRGjsRaii1M/103NSzGlf8ffQ1k9S04w==
1417+
dependencies:
1418+
"@typescript-eslint/utils" "^5.62.0"
1419+
tslib "^2.6.0"
1420+
14131421
"@docusaurus/[email protected]":
14141422
version "3.4.0"
14151423
resolved "https://registry.yarnpkg.com/@docusaurus/logger/-/logger-3.4.0.tgz#8b0ac05c7f3dac2009066e2f964dee8209a77403"
@@ -2433,6 +2441,11 @@
24332441
resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33"
24342442
integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==
24352443

2444+
"@pkgr/core@^0.1.0":
2445+
version "0.1.1"
2446+
resolved "https://registry.yarnpkg.com/@pkgr/core/-/core-0.1.1.tgz#1ec17e2edbec25c8306d424ecfbf13c7de1aaa31"
2447+
integrity sha512-cq8o4cWH0ibXh9VGi5P20Tu9XF/0fFXl9EUinr9QfTM7a7p0oTA4iJRCQWppXR1Pg8dSM0UCItCkPwsk9qWWYA==
2448+
24362449
"@pnpm/config.env-replace@^1.1.0":
24372450
version "1.1.0"
24382451
resolved "https://registry.yarnpkg.com/@pnpm/config.env-replace/-/config.env-replace-1.1.0.tgz#ab29da53df41e8948a00f2433f085f54de8b3a4c"
@@ -7724,6 +7737,14 @@ eslint-plugin-markdown@^3.0.0:
77247737
dependencies:
77257738
mdast-util-from-markdown "^0.8.5"
77267739

7740+
7741+
version "5.2.3"
7742+
resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-5.2.3.tgz#c4af01691a6fa9905207f0fbba0d7bea0902cce5"
7743+
integrity sha512-qJ+y0FfCp/mQYQ/vWQ3s7eUlFEL4PyKfAJxsnYTJ4YT73nsJBWqmEpFryxV9OeUiqmsTsYJ5Y+KDNaeP31wrRw==
7744+
dependencies:
7745+
prettier-linter-helpers "^1.0.0"
7746+
synckit "^0.9.1"
7747+
77277748
eslint-plugin-prettier@^4.2.1:
77287749
version "4.2.1"
77297750
resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-4.2.1.tgz#651cbb88b1dab98bfd42f017a12fa6b2d993f94b"
@@ -13629,6 +13650,14 @@ swc-loader@^0.2.3:
1362913650
dependencies:
1363013651
"@swc/counter" "^0.1.3"
1363113652

13653+
synckit@^0.9.1:
13654+
version "0.9.2"
13655+
resolved "https://registry.yarnpkg.com/synckit/-/synckit-0.9.2.tgz#a3a935eca7922d48b9e7d6c61822ee6c3ae4ec62"
13656+
integrity sha512-vrozgXDQwYO72vHjUb/HnFbQx1exDjoKzqx23aXEg2a9VIg2TSFZ8FmeZpTjUCFMYw7mpX4BE2SFu8wI7asYsw==
13657+
dependencies:
13658+
"@pkgr/core" "^0.1.0"
13659+
tslib "^2.6.2"
13660+
1363213661
tailwind-merge@^2.2.1:
1363313662
version "2.3.0"
1363413663
resolved "https://registry.yarnpkg.com/tailwind-merge/-/tailwind-merge-2.3.0.tgz#27d2134fd00a1f77eca22bcaafdd67055917d286"
@@ -13875,7 +13904,7 @@ tslib@^2.0.0, tslib@^2.0.3, tslib@^2.1.0, tslib@^2.4.0, tslib@^2.4.1, tslib@^2.6
1387513904
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.3.tgz#0438f810ad7a9edcde7a241c3d80db693c8cbfe0"
1387613905
integrity sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==
1387713906

13878-
tslib@^2.8.0:
13907+
tslib@^2.6.2, tslib@^2.8.0:
1387913908
version "2.8.1"
1388013909
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.8.1.tgz#612efe4ed235d567e8aba5f2a5fab70280ade83f"
1388113910
integrity sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==

0 commit comments

Comments
 (0)