diff --git a/.eslintrc.json b/.eslintrc.json index 963e562..5b702d8 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -28,6 +28,7 @@ ], "rules": { "react/react-in-jsx-scope": "off", - "@typescript-eslint/no-inferrable-types": "off" + "@typescript-eslint/no-inferrable-types": "off", + "@typescript-eslint/ban-ts-comment": "off" } } diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e8081e5..72ecce3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -33,7 +33,6 @@ jobs: build: name: Build runs-on: ubuntu-latest - needs: [lint] steps: - uses: actions/checkout@v3 diff --git a/README.md b/README.md index 3c00a53..6b58c24 100644 --- a/README.md +++ b/README.md @@ -36,3 +36,7 @@ To auto-format your code using ESLint and Prettier, run: ```sh $ npm run lint:fix ``` + +#### Dev Mode +Add the `dev=true` (E.g. http://localhost:3000/?dev=true) url parameter to enable some experimental features and additional debug logging. + diff --git a/package-lock.json b/package-lock.json index f329343..d2b1368 100644 --- a/package-lock.json +++ b/package-lock.json @@ -32,6 +32,7 @@ "react-icons": "^4.3.1", "react-router-dom": "^6.3.0", "react-scripts": "5.0.0", + "react-simple-code-editor": "^0.13.1", "typescript": "^4.7.2", "web-vitals": "^2.1.2" }, @@ -4431,9 +4432,9 @@ "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==" }, "node_modules/@types/prettier": { - "version": "2.4.3", - "resolved": "https://registry.npmjs.org/@types/prettier/-/prettier-2.4.3.tgz", - "integrity": "sha512-QzSuZMBuG5u8HqYz01qtMdg/Jfctlnvj1z/lYnIDXs/golxw0fxtRAHd9KrzjR7Yxz1qVeI00o0kiO3PmVdJ9w==" + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/@types/prettier/-/prettier-2.7.1.tgz", + "integrity": "sha512-ri0UmynRRvZiiUJdiz38MmIblKK+oH30MztdBVR95dv/Ubw6neWSb8u1XpRb72L4qsZOhz+L+z9JD40SJmfWow==" }, "node_modules/@types/prop-types": { "version": "15.7.4", @@ -14863,6 +14864,15 @@ "node": ">=10" } }, + "node_modules/react-simple-code-editor": { + "version": "0.13.1", + "resolved": "https://registry.npmjs.org/react-simple-code-editor/-/react-simple-code-editor-0.13.1.tgz", + "integrity": "sha512-XYeVwRZwgyKtjNIYcAEgg2FaQcCZwhbarnkJIV20U2wkCU9q/CPFBo8nRXrK4GXUz3AvbqZFsZRrpUTkqqEYyQ==", + "peerDependencies": { + "react": "*", + "react-dom": "*" + } + }, "node_modules/react-style-singleton": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/react-style-singleton/-/react-style-singleton-2.1.1.tgz", @@ -20881,9 +20891,9 @@ "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==" }, "@types/prettier": { - "version": "2.4.3", - "resolved": "https://registry.npmjs.org/@types/prettier/-/prettier-2.4.3.tgz", - "integrity": "sha512-QzSuZMBuG5u8HqYz01qtMdg/Jfctlnvj1z/lYnIDXs/golxw0fxtRAHd9KrzjR7Yxz1qVeI00o0kiO3PmVdJ9w==" + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/@types/prettier/-/prettier-2.7.1.tgz", + "integrity": "sha512-ri0UmynRRvZiiUJdiz38MmIblKK+oH30MztdBVR95dv/Ubw6neWSb8u1XpRb72L4qsZOhz+L+z9JD40SJmfWow==" }, "@types/prop-types": { "version": "15.7.4", @@ -28354,6 +28364,12 @@ } } }, + "react-simple-code-editor": { + "version": "0.13.1", + "resolved": "https://registry.npmjs.org/react-simple-code-editor/-/react-simple-code-editor-0.13.1.tgz", + "integrity": "sha512-XYeVwRZwgyKtjNIYcAEgg2FaQcCZwhbarnkJIV20U2wkCU9q/CPFBo8nRXrK4GXUz3AvbqZFsZRrpUTkqqEYyQ==", + "requires": {} + }, "react-style-singleton": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/react-style-singleton/-/react-style-singleton-2.1.1.tgz", diff --git a/package.json b/package.json index 9b9c2fd..82df95c 100644 --- a/package.json +++ b/package.json @@ -27,6 +27,7 @@ "react-icons": "^4.3.1", "react-router-dom": "^6.3.0", "react-scripts": "5.0.0", + "react-simple-code-editor": "^0.13.1", "typescript": "^4.7.2", "web-vitals": "^2.1.2" }, diff --git a/public/index.html b/public/index.html index 752762e..783b81c 100644 --- a/public/index.html +++ b/public/index.html @@ -30,13 +30,5 @@
-