From b543439602a75410763f5a6a98cc99b5aeb14214 Mon Sep 17 00:00:00 2001 From: elmattic Date: Thu, 19 Dec 2024 15:23:34 +0100 Subject: [PATCH 1/4] Specify module ts compiler option --- docs/tsconfig.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/tsconfig.json b/docs/tsconfig.json index 44f6107bf306..36565a92e421 100644 --- a/docs/tsconfig.json +++ b/docs/tsconfig.json @@ -3,6 +3,7 @@ "extends": "@tsconfig/docusaurus/tsconfig.json", "compilerOptions": { "baseUrl": ".", - "skipLibCheck": true + "skipLibCheck": true, + "module": "Node16" } } From c45375b830b57768b73f31277d196125c9fe74e3 Mon Sep 17 00:00:00 2001 From: elmattic Date: Thu, 19 Dec 2024 17:55:09 +0100 Subject: [PATCH 2/4] Update tsconfig --- docs/tsconfig.json | 3 ++- package.json | 1 + yarn.lock | 30 ++++++++++-------------------- 3 files changed, 13 insertions(+), 21 deletions(-) diff --git a/docs/tsconfig.json b/docs/tsconfig.json index 36565a92e421..fd8b2b05ba05 100644 --- a/docs/tsconfig.json +++ b/docs/tsconfig.json @@ -1,9 +1,10 @@ { // This file is not used in compilation. It is here just for a nice editor experience. - "extends": "@tsconfig/docusaurus/tsconfig.json", + "extends": "@docusaurus/tsconfig", "compilerOptions": { "baseUrl": ".", "skipLibCheck": true, "module": "Node16" } } + diff --git a/package.json b/package.json index 2eecc62d2e1f..979fb00a4e57 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,7 @@ "name": "root", "private": true, "devDependencies": { + "@docusaurus/tsconfig": "^3.6.3", "prettier": "^3.3.3" }, "scripts": { diff --git a/yarn.lock b/yarn.lock index 920ccee94b7e..468ac49d701c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1,23 +1,13 @@ -# This file is generated by running "yarn install" inside your project. -# Manual changes might be lost - proceed with caution! +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 -__metadata: - version: 8 - cacheKey: 10c0 -"prettier@npm:^3.3.3": - version: 3.3.3 - resolution: "prettier@npm:3.3.3" - bin: - prettier: bin/prettier.cjs - checksum: 10c0/b85828b08e7505716324e4245549b9205c0cacb25342a030ba8885aba2039a115dbcf75a0b7ca3b37bc9d101ee61fab8113fc69ca3359f2a226f1ecc07ad2e26 - languageName: node - linkType: hard +"@docusaurus/tsconfig@^3.6.3": + version "3.6.3" + resolved "https://registry.yarnpkg.com/@docusaurus/tsconfig/-/tsconfig-3.6.3.tgz#8af20c45f0a67e193debedcb341c0a1e78b1dd63" + integrity sha512-1pT/rTrRpMV15E4tJH95W5PrjboMn5JkKF+Ys8cTjMegetiXjs0gPFOSDA5hdTlberKQLDO50xPjMJHondLuzA== -"root@workspace:.": - version: 0.0.0-use.local - resolution: "root@workspace:." - dependencies: - prettier: "npm:^3.3.3" - languageName: unknown - linkType: soft +prettier@^3.3.3: + version "3.4.2" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.4.2.tgz#a5ce1fb522a588bf2b78ca44c6e6fe5aa5a2b13f" + integrity sha512-e9MewbtFo+Fevyuxn/4rrcDAaq0IYxPGLvObpQjiZBMAzB9IGmzlnG9RZy3FFas+eBMu2vA0CszMeduow5dIuQ== From f33363ffdc7fc752b4413e957dc6d8391dfe9d9b Mon Sep 17 00:00:00 2001 From: elmattic Date: Thu, 19 Dec 2024 18:20:36 +0100 Subject: [PATCH 3/4] Remove module option --- docs/tsconfig.json | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/tsconfig.json b/docs/tsconfig.json index fd8b2b05ba05..d33ed87befe7 100644 --- a/docs/tsconfig.json +++ b/docs/tsconfig.json @@ -3,8 +3,6 @@ "extends": "@docusaurus/tsconfig", "compilerOptions": { "baseUrl": ".", - "skipLibCheck": true, - "module": "Node16" + "skipLibCheck": true } -} - +} \ No newline at end of file From c50f6aae206d137ba71bc8bb4fa8ac62ed172c10 Mon Sep 17 00:00:00 2001 From: elmattic Date: Thu, 19 Dec 2024 18:22:25 +0100 Subject: [PATCH 4/4] Add newline --- docs/tsconfig.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/tsconfig.json b/docs/tsconfig.json index d33ed87befe7..5ddf32a72aa6 100644 --- a/docs/tsconfig.json +++ b/docs/tsconfig.json @@ -5,4 +5,5 @@ "baseUrl": ".", "skipLibCheck": true } -} \ No newline at end of file +} +