Connect, collaborate, and grow with a community of TypeScript developers
test: vercel spaces setup
bautistaaa9669b9285350
diff --git a/apps/admin/.allowlists/ESLINT_RULES_REQUIRED.allowlist.json b/apps/admin/.allowlists/ESLINT_RULES_REQUIRED.allowlist.jsonnew file mode 100644index 00000000..f329553a--- /dev/null+++ b/apps/admin/.allowlists/ESLINT_RULES_REQUIRED.allowlist.json@@ -0,0 +1,32 @@+{+ "testName": "ESLINT_RULES_REQUIRED",+ "categories": ["code-health"],+ "description": "Requires that a workspace package is configured with ESLint.",+ "severity": "minor",+ "entries": [+ {+ "testName": "ESLINT_RULES_REQUIRED",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "`eslint-comments/no-unlimited-disable` must be specified as an error in the ESLint configuration, but is specified as off.",+ "location": {+ "workspace": "admin",+ "filePath": "apps/admin/.eslintrc.cjs"+ },+ "details": {+ "requiredRulesAsErrors": ["eslint-comments/no-unlimited-disable"]+ }+ },+ {+ "testName": "ESLINT_RULES_REQUIRED",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "`@typescript-eslint/ban-ts-comment` must be specified as an error in the ESLint configuration, but is specified as off.",+ "location": {+ "workspace": "admin",+ "filePath": "apps/admin/.eslintrc.cjs"+ },+ "details": {+ "requiredRulesAsErrors": ["@typescript-eslint/ban-ts-comment"]+ }+ }+ ]+}diff --git a/apps/admin/.allowlists/NEXTJS_MISSING_SECURITY_HEADERS.allowlist.json b/apps/admin/.allowlists/NEXTJS_MISSING_SECURITY_HEADERS.allowlist.jsonnew file mode 100644index 00000000..7766d879--- /dev/null+++ b/apps/admin/.allowlists/NEXTJS_MISSING_SECURITY_HEADERS.allowlist.json@@ -0,0 +1,20 @@+{+ "testName": "NEXTJS_MISSING_SECURITY_HEADERS",+ "categories": ["nextjs", "security"],+ "description": "Requires that important security headers are set correctly for Next.js apps and contain valid directives.",+ "severity": "major",+ "entries": [+ {+ "testName": "NEXTJS_MISSING_SECURITY_HEADERS",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "'apps/admin/next.config.js is missing a 'headers' field to set the security headers for the application. See https://nextjs.org/docs/advanced-features/security-headers for more information.",+ "location": {+ "workspace": "admin",+ "filePath": "apps/admin/next.config.js"+ },+ "details": {+ "missingField": "headers"+ }+ }+ ]+}diff --git a/apps/admin/.allowlists/PACKAGE_JSON_DESCRIPTION_REQUIRED.allowlist.json b/apps/admin/.allowlists/PACKAGE_JSON_DESCRIPTION_REQUIRED.allowlist.jsonnew file mode 100644index 00000000..d3583626--- /dev/null+++ b/apps/admin/.allowlists/PACKAGE_JSON_DESCRIPTION_REQUIRED.allowlist.json@@ -0,0 +1,16 @@+{+ "testName": "PACKAGE_JSON_DESCRIPTION_REQUIRED",+ "categories": ["code-health"],+ "description": "Requires that every `package.json` file has the `description` field set.",+ "severity": "minor",+ "entries": [+ {+ "testName": "PACKAGE_JSON_DESCRIPTION_REQUIRED",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "'apps/admin/package.json' is required to have a description field. This field is used to describe the workspace's purpose within the monorepo.",+ "location": {+ "filePath": "apps/admin/package.json"+ }+ }+ ]+}diff --git a/apps/admin/.allowlists/PACKAGE_JSON_DUPLICATE_DEPENDENCIES.allowlist.json b/apps/admin/.allowlists/PACKAGE_JSON_DUPLICATE_DEPENDENCIES.allowlist.jsonnew file mode 100644index 00000000..85a73ab3--- /dev/null+++ b/apps/admin/.allowlists/PACKAGE_JSON_DUPLICATE_DEPENDENCIES.allowlist.json@@ -0,0 +1,36 @@+{+ "testName": "PACKAGE_JSON_DUPLICATE_DEPENDENCIES",+ "categories": ["code-health"],+ "description": "Found duplicate dependencies between the list of `dependencies` and `devDependencies` or `peerDependencies` in a `package.json` file.",+ "severity": "minor",+ "entries": [+ {+ "testName": "PACKAGE_JSON_DUPLICATE_DEPENDENCIES",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "'tailwindcss' is duplicated in dependencies and devDependencies.",+ "location": {+ "filePath": "apps/admin/package.json",+ "lineStart": 38,+ "lineEnd": 38+ },+ "details": {+ "dependencyName": "tailwindcss",+ "dependencyTypes": ["dependencies", "devDependencies"]+ }+ },+ {+ "testName": "PACKAGE_JSON_DUPLICATE_DEPENDENCIES",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "'tailwindcss' is duplicated in dependencies and devDependencies.",+ "location": {+ "filePath": "apps/admin/package.json",+ "lineStart": 59,+ "lineEnd": 59+ },+ "details": {+ "dependencyName": "tailwindcss",+ "dependencyTypes": ["dependencies", "devDependencies"]+ }+ }+ ]+}diff --git a/apps/admin/.allowlists/PACKAGE_MANAGEMENT_NO_CIRCULAR_IMPORTS.allowlist.json b/apps/admin/.allowlists/PACKAGE_MANAGEMENT_NO_CIRCULAR_IMPORTS.allowlist.jsonnew file mode 100644index 00000000..15f749b8--- /dev/null+++ b/apps/admin/.allowlists/PACKAGE_MANAGEMENT_NO_CIRCULAR_IMPORTS.allowlist.json@@ -0,0 +1,47 @@+{+ "testName": "PACKAGE_MANAGEMENT_NO_CIRCULAR_IMPORTS",+ "categories": ["code-health"],+ "description": "Circular imports between two files are not allowed.",+ "severity": "minor",+ "entries": [+ {+ "testName": "PACKAGE_MANAGEMENT_NO_CIRCULAR_IMPORTS",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "'src/app/challenge/[challengeId]/page.tsx' and 'src/app/challenge/[challengeId]/challenge-review.tsx' have a circular import. Please decouple the dependencies, such as creating a new file, to remove the circular import. Cycle: src/app/challenge/[challengeId]/challenge-review.tsx src/app/challenge/[challengeId]/page.tsx",+ "location": {+ "filePath": "apps/admin/src/app/challenge/[challengeId]/page.tsx",+ "lineStart": 2,+ "lineEnd": 2+ },+ "details": {+ "cycle": "src/app/challenge/[challengeId]/challenge-review.tsx->src/app/challenge/[challengeId]/page.tsx"+ }+ },+ {+ "testName": "PACKAGE_MANAGEMENT_NO_CIRCULAR_IMPORTS",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "'src/app/tracks/[trackId]/_components/update-track-form.tsx' and 'src/app/tracks/[trackId]/_actions/update-track.action.ts' have a circular import. Please decouple the dependencies, such as creating a new file, to remove the circular import. Cycle: src/app/tracks/[trackId]/_actions/update-track.action.ts src/app/tracks/[trackId]/_components/update-track-form.tsx",+ "location": {+ "filePath": "apps/admin/src/app/tracks/[trackId]/_components/update-track-form.tsx",+ "lineStart": 23,+ "lineEnd": 23+ },+ "details": {+ "cycle": "src/app/tracks/[trackId]/_actions/update-track.action.ts->src/app/tracks/[trackId]/_components/update-track-form.tsx"+ }+ },+ {+ "testName": "PACKAGE_MANAGEMENT_NO_CIRCULAR_IMPORTS",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "'src/app/tracks/[trackId]/page.tsx' and 'src/app/tracks/[trackId]/_components/update-track-form.tsx' have a circular import. Please decouple the dependencies, such as creating a new file, to remove the circular import. Cycle: src/app/tracks/[trackId]/_components/update-track-form.tsx src/app/tracks/[trackId]/page.tsx",+ "location": {+ "filePath": "apps/admin/src/app/tracks/[trackId]/page.tsx",+ "lineStart": 2,+ "lineEnd": 2+ },+ "details": {+ "cycle": "src/app/tracks/[trackId]/_components/update-track-form.tsx->src/app/tracks/[trackId]/page.tsx"+ }+ }+ ]+}diff --git a/apps/admin/.allowlists/TYPESCRIPT_CONFIGURATION.allowlist.json b/apps/admin/.allowlists/TYPESCRIPT_CONFIGURATION.allowlist.jsonnew file mode 100644index 00000000..2436cb9f--- /dev/null+++ b/apps/admin/.allowlists/TYPESCRIPT_CONFIGURATION.allowlist.json@@ -0,0 +1,19 @@+{+ "testName": "TYPESCRIPT_CONFIGURATION",+ "categories": ["code-health"],+ "description": "Requires that a workspace package that uses TypeScript files has configured TypeScript correctly for that workspace.",+ "severity": "minor",+ "entries": [+ {+ "testName": "TYPESCRIPT_CONFIGURATION",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "'apps/admin/package.json' should have a 'type-check' script that runs TypeScript type checking.",+ "location": {+ "filePath": "apps/admin/package.json"+ },+ "details": {+ "missingScript": "type-check"+ }+ }+ ]+}diff --git a/apps/admin/package.json b/apps/admin/package.jsonindex 411feb2e..d8ab6c26 100644--- a/apps/admin/package.json+++ b/apps/admin/package.json@@ -12,7 +12,8 @@"lint": "eslint . --cache --cache-location \"node_modules/.cache/.eslintcache\" --max-warnings 0","lint:fix": "eslint . --fix --cache --cache-location \"node_modules/.cache/.eslintcache\" --max-warnings 0","start": "next start",- "typecheck": "tsc --noEmit"+ "typecheck": "tsc --noEmit",+ "conformance": "spaces conformance"},"dependencies": {"@hookform/resolvers": "^3.1.1",@@ -56,6 +57,7 @@"prettier-plugin-tailwindcss": "^0.4.1","raw-loader": "^4.0.2","tailwindcss": "^3.3.3",- "typescript": "^5.1.6"+ "typescript": "^5.1.6",+ "@vercel/spaces": "https://spaces-cli.vercel.sh/download/0.9.0?auth=41deae36c701"}}diff --git a/apps/og-image/.allowlists/ESLINT_CONFIGURATION.allowlist.json b/apps/og-image/.allowlists/ESLINT_CONFIGURATION.allowlist.jsonnew file mode 100644index 00000000..5c403eec--- /dev/null+++ b/apps/og-image/.allowlists/ESLINT_CONFIGURATION.allowlist.json@@ -0,0 +1,16 @@+{+ "testName": "ESLINT_CONFIGURATION",+ "categories": ["code-health"],+ "description": "Requires that a workspace package is configured with ESLint.",+ "severity": "minor",+ "entries": [+ {+ "testName": "ESLINT_CONFIGURATION",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "apps/og-image/package.json must contain a command in 'scripts' to run ESLint.",+ "location": {+ "filePath": "apps/og-image/package.json"+ }+ }+ ]+}diff --git a/apps/og-image/.allowlists/ESLINT_RULES_REQUIRED.allowlist.json b/apps/og-image/.allowlists/ESLINT_RULES_REQUIRED.allowlist.jsonnew file mode 100644index 00000000..e8b47103--- /dev/null+++ b/apps/og-image/.allowlists/ESLINT_RULES_REQUIRED.allowlist.json@@ -0,0 +1,32 @@+{+ "testName": "ESLINT_RULES_REQUIRED",+ "categories": ["code-health"],+ "description": "Requires that a workspace package is configured with ESLint.",+ "severity": "minor",+ "entries": [+ {+ "testName": "ESLINT_RULES_REQUIRED",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "`eslint-comments/no-unlimited-disable` must be specified as an error in the ESLint configuration, but is specified as off.",+ "location": {+ "workspace": "@repo/og-image",+ "filePath": "apps/og-image/.eslintrc.cjs"+ },+ "details": {+ "requiredRulesAsErrors": ["eslint-comments/no-unlimited-disable"]+ }+ },+ {+ "testName": "ESLINT_RULES_REQUIRED",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "`@typescript-eslint/ban-ts-comment` must be specified as an error in the ESLint configuration, but is specified as off.",+ "location": {+ "workspace": "@repo/og-image",+ "filePath": "apps/og-image/.eslintrc.cjs"+ },+ "details": {+ "requiredRulesAsErrors": ["@typescript-eslint/ban-ts-comment"]+ }+ }+ ]+}diff --git a/apps/og-image/.allowlists/NEXTJS_MISSING_SECURITY_HEADERS.allowlist.json b/apps/og-image/.allowlists/NEXTJS_MISSING_SECURITY_HEADERS.allowlist.jsonnew file mode 100644index 00000000..86207f51--- /dev/null+++ b/apps/og-image/.allowlists/NEXTJS_MISSING_SECURITY_HEADERS.allowlist.json@@ -0,0 +1,20 @@+{+ "testName": "NEXTJS_MISSING_SECURITY_HEADERS",+ "categories": ["nextjs", "security"],+ "description": "Requires that important security headers are set correctly for Next.js apps and contain valid directives.",+ "severity": "major",+ "entries": [+ {+ "testName": "NEXTJS_MISSING_SECURITY_HEADERS",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "'apps/og-image/next.config.js is missing a 'headers' field to set the security headers for the application. See https://nextjs.org/docs/advanced-features/security-headers for more information.",+ "location": {+ "workspace": "@repo/og-image",+ "filePath": "apps/og-image/next.config.js"+ },+ "details": {+ "missingField": "headers"+ }+ }+ ]+}diff --git a/apps/og-image/.allowlists/PACKAGE_JSON_DESCRIPTION_REQUIRED.allowlist.json b/apps/og-image/.allowlists/PACKAGE_JSON_DESCRIPTION_REQUIRED.allowlist.jsonnew file mode 100644index 00000000..c0244d08--- /dev/null+++ b/apps/og-image/.allowlists/PACKAGE_JSON_DESCRIPTION_REQUIRED.allowlist.json@@ -0,0 +1,16 @@+{+ "testName": "PACKAGE_JSON_DESCRIPTION_REQUIRED",+ "categories": ["code-health"],+ "description": "Requires that every `package.json` file has the `description` field set.",+ "severity": "minor",+ "entries": [+ {+ "testName": "PACKAGE_JSON_DESCRIPTION_REQUIRED",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "'apps/og-image/package.json' is required to have a description field. This field is used to describe the workspace's purpose within the monorepo.",+ "location": {+ "filePath": "apps/og-image/package.json"+ }+ }+ ]+}diff --git a/apps/og-image/.allowlists/PACKAGE_MANAGEMENT_NO_UNRESOLVED_IMPORTS.allowlist.json b/apps/og-image/.allowlists/PACKAGE_MANAGEMENT_NO_UNRESOLVED_IMPORTS.allowlist.jsonnew file mode 100644index 00000000..32309cc6--- /dev/null+++ b/apps/og-image/.allowlists/PACKAGE_MANAGEMENT_NO_UNRESOLVED_IMPORTS.allowlist.json@@ -0,0 +1,21 @@+{+ "testName": "PACKAGE_MANAGEMENT_NO_UNRESOLVED_IMPORTS",+ "categories": ["code-health"],+ "description": "Checks for imports in the workspace that are not explicitly added to the package.json file.",+ "severity": "minor",+ "entries": [+ {+ "testName": "PACKAGE_MANAGEMENT_NO_UNRESOLVED_IMPORTS",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "Could not resolve import 'utils/zodParams' in source file 'app/page.tsx'. Please make sure that this import is valid and if external, is installed in your 'package.json' file.",+ "location": {+ "filePath": "apps/og-image/app/page.tsx",+ "lineStart": 5,+ "lineEnd": 5+ },+ "details": {+ "import": "utils/zodParams"+ }+ }+ ]+}diff --git a/apps/og-image/.allowlists/TYPESCRIPT_CONFIGURATION.allowlist.json b/apps/og-image/.allowlists/TYPESCRIPT_CONFIGURATION.allowlist.jsonnew file mode 100644index 00000000..6e117e0b--- /dev/null+++ b/apps/og-image/.allowlists/TYPESCRIPT_CONFIGURATION.allowlist.json@@ -0,0 +1,19 @@+{+ "testName": "TYPESCRIPT_CONFIGURATION",+ "categories": ["code-health"],+ "description": "Requires that a workspace package that uses TypeScript files has configured TypeScript correctly for that workspace.",+ "severity": "minor",+ "entries": [+ {+ "testName": "TYPESCRIPT_CONFIGURATION",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "'apps/og-image/package.json' should have a 'type-check' script that runs TypeScript type checking.",+ "location": {+ "filePath": "apps/og-image/package.json"+ },+ "details": {+ "missingScript": "type-check"+ }+ }+ ]+}diff --git a/apps/og-image/package.json b/apps/og-image/package.jsonindex 64716196..a3fad95a 100644--- a/apps/og-image/package.json+++ b/apps/og-image/package.json@@ -18,7 +18,8 @@"scripts": {"build": "next build","dev": "next dev -p 4200",- "start": "next start"+ "start": "next start",+ "conformance": "spaces conformance"},"dependencies": {"@vercel/og": "^1.0.0",@@ -32,6 +33,7 @@"@repo/tsconfig": "workspace:*","@types/node": "^18.16.16","@types/react": "^18.2.8",- "typescript": "^5.1.3"+ "typescript": "^5.1.3",+ "@vercel/spaces": "https://spaces-cli.vercel.sh/download/0.9.0?auth=41deae36c701"}}diff --git a/apps/web/.allowlists/ESLINT_RULES_REQUIRED.allowlist.json b/apps/web/.allowlists/ESLINT_RULES_REQUIRED.allowlist.jsonnew file mode 100644index 00000000..eef99c4a--- /dev/null+++ b/apps/web/.allowlists/ESLINT_RULES_REQUIRED.allowlist.json@@ -0,0 +1,32 @@+{+ "testName": "ESLINT_RULES_REQUIRED",+ "categories": ["code-health"],+ "description": "Requires that a workspace package is configured with ESLint.",+ "severity": "minor",+ "entries": [+ {+ "testName": "ESLINT_RULES_REQUIRED",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "`eslint-comments/no-unlimited-disable` must be specified as an error in the ESLint configuration, but is specified as off.",+ "location": {+ "workspace": "web",+ "filePath": "apps/web/.eslintrc.cjs"+ },+ "details": {+ "requiredRulesAsErrors": ["eslint-comments/no-unlimited-disable"]+ }+ },+ {+ "testName": "ESLINT_RULES_REQUIRED",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "`@typescript-eslint/ban-ts-comment` must be specified as an error in the ESLint configuration, but is specified as off.",+ "location": {+ "workspace": "web",+ "filePath": "apps/web/.eslintrc.cjs"+ },+ "details": {+ "requiredRulesAsErrors": ["@typescript-eslint/ban-ts-comment"]+ }+ }+ ]+}diff --git a/apps/web/.allowlists/NEXTJS_MISSING_SECURITY_HEADERS.allowlist.json b/apps/web/.allowlists/NEXTJS_MISSING_SECURITY_HEADERS.allowlist.jsonnew file mode 100644index 00000000..f6de40c7--- /dev/null+++ b/apps/web/.allowlists/NEXTJS_MISSING_SECURITY_HEADERS.allowlist.json@@ -0,0 +1,20 @@+{+ "testName": "NEXTJS_MISSING_SECURITY_HEADERS",+ "categories": ["nextjs", "security"],+ "description": "Requires that important security headers are set correctly for Next.js apps and contain valid directives.",+ "severity": "major",+ "entries": [+ {+ "testName": "NEXTJS_MISSING_SECURITY_HEADERS",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "'apps/web/next.config.mjs is missing a 'headers' field to set the security headers for the application. See https://nextjs.org/docs/advanced-features/security-headers for more information.",+ "location": {+ "workspace": "web",+ "filePath": "apps/web/next.config.mjs"+ },+ "details": {+ "missingField": "headers"+ }+ }+ ]+}diff --git a/apps/web/.allowlists/NO_ASSIGN_WINDOW_LOCATION.allowlist.json b/apps/web/.allowlists/NO_ASSIGN_WINDOW_LOCATION.allowlist.jsonnew file mode 100644index 00000000..febe08cf--- /dev/null+++ b/apps/web/.allowlists/NO_ASSIGN_WINDOW_LOCATION.allowlist.json@@ -0,0 +1,19 @@+{+ "testName": "NO_ASSIGN_WINDOW_LOCATION",+ "categories": ["security", "code-health"],+ "description": "Prevent unsafe assignment to `window.location.href` in your application.",+ "severity": "major",+ "entries": [+ {+ "testName": "NO_ASSIGN_WINDOW_LOCATION",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "Direct assignments to 'window.location.href' or 'window.location' should be avoided due to possible XSS attacks that can occur from lack of sanitization of input to the 'href'. Instead, it is recommended that developers use their own 'redirectTo' function that handles URLs that might be internal, and thus use 'router.push' to do a client side navigation or with a full-page navigation with a santized 'window.location.ref'.",+ "location": {+ "workspace": "web",+ "filePath": "apps/web/public/min/vs/editor/editor.main.js",+ "lineStart": 599,+ "lineEnd": 599+ }+ }+ ]+}diff --git a/apps/web/.allowlists/NO_DANGEROUS_HTML.allowlist.json b/apps/web/.allowlists/NO_DANGEROUS_HTML.allowlist.jsonnew file mode 100644index 00000000..32ab58ec--- /dev/null+++ b/apps/web/.allowlists/NO_DANGEROUS_HTML.allowlist.json@@ -0,0 +1,195 @@+{+ "testName": "NO_DANGEROUS_HTML",+ "categories": ["security"],+ "description": "Prevent the unsafe creation of DOM via HTML methods in your application which could lead to security vulnerabilities.",+ "severity": "major",+ "entries": [+ {+ "testName": "NO_DANGEROUS_HTML",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "HTML was dangerously set or created with 'innerHTML'. This is deemed an unsafe coding practice as the HTML might result in security vulnerabilities. It is recommended to instead use alternative approaches for HTML construction - such as 'document.createElement()' or a HTML sanitizer.",+ "location": {+ "workspace": "web",+ "filePath": "apps/web/public/min/vs/editor/editor.main.js",+ "lineStart": 7,+ "lineEnd": 7+ }+ },+ {+ "testName": "NO_DANGEROUS_HTML",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "HTML was dangerously set or created with 'parseFromString'. This is deemed an unsafe coding practice as the HTML might result in security vulnerabilities. It is recommended to instead use alternative approaches for HTML construction - such as 'document.createElement()' or a HTML sanitizer.",+ "location": {+ "workspace": "web",+ "filePath": "apps/web/public/min/vs/editor/editor.main.js",+ "lineStart": 7,+ "lineEnd": 7+ }+ },+ {+ "testName": "NO_DANGEROUS_HTML",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "HTML was dangerously set or created with 'outerHTML'. This is deemed an unsafe coding practice as the HTML might result in security vulnerabilities. It is recommended to instead use alternative approaches for HTML construction - such as 'document.createElement()' or a HTML sanitizer.",+ "location": {+ "workspace": "web",+ "filePath": "apps/web/public/min/vs/editor/editor.main.js",+ "lineStart": 7,+ "lineEnd": 7+ }+ },+ {+ "testName": "NO_DANGEROUS_HTML",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "HTML was dangerously set or created with 'innerHTML'. This is deemed an unsafe coding practice as the HTML might result in security vulnerabilities. It is recommended to instead use alternative approaches for HTML construction - such as 'document.createElement()' or a HTML sanitizer.",+ "location": {+ "workspace": "web",+ "filePath": "apps/web/public/min/vs/editor/editor.main.js",+ "lineStart": 192,+ "lineEnd": 192+ }+ },+ {+ "testName": "NO_DANGEROUS_HTML",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "HTML was dangerously set or created with 'parseFromString'. This is deemed an unsafe coding practice as the HTML might result in security vulnerabilities. It is recommended to instead use alternative approaches for HTML construction - such as 'document.createElement()' or a HTML sanitizer.",+ "location": {+ "workspace": "web",+ "filePath": "apps/web/public/min/vs/editor/editor.main.js",+ "lineStart": 192,+ "lineEnd": 192+ }+ },+ {+ "testName": "NO_DANGEROUS_HTML",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "HTML was dangerously set or created with 'innerHTML'. This is deemed an unsafe coding practice as the HTML might result in security vulnerabilities. It is recommended to instead use alternative approaches for HTML construction - such as 'document.createElement()' or a HTML sanitizer.",+ "location": {+ "workspace": "web",+ "filePath": "apps/web/public/min/vs/editor/editor.main.js",+ "lineStart": 201,+ "lineEnd": 201+ }+ },+ {+ "testName": "NO_DANGEROUS_HTML",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "HTML was dangerously set or created with 'innerHTML'. This is deemed an unsafe coding practice as the HTML might result in security vulnerabilities. It is recommended to instead use alternative approaches for HTML construction - such as 'document.createElement()' or a HTML sanitizer.",+ "location": {+ "workspace": "web",+ "filePath": "apps/web/public/min/vs/editor/editor.main.js",+ "lineStart": 573,+ "lineEnd": 573+ }+ },+ {+ "testName": "NO_DANGEROUS_HTML",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "HTML was dangerously set or created with 'insertAdjacentHTML'. This is deemed an unsafe coding practice as the HTML might result in security vulnerabilities. It is recommended to instead use alternative approaches for HTML construction - such as 'document.createElement()' or a HTML sanitizer.",+ "location": {+ "workspace": "web",+ "filePath": "apps/web/public/min/vs/editor/editor.main.js",+ "lineStart": 573,+ "lineEnd": 573+ }+ },+ {+ "testName": "NO_DANGEROUS_HTML",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "HTML was dangerously set or created with 'innerHTML'. This is deemed an unsafe coding practice as the HTML might result in security vulnerabilities. It is recommended to instead use alternative approaches for HTML construction - such as 'document.createElement()' or a HTML sanitizer.",+ "location": {+ "workspace": "web",+ "filePath": "apps/web/public/min/vs/editor/editor.main.js",+ "lineStart": 573,+ "lineEnd": 573+ }+ },+ {+ "testName": "NO_DANGEROUS_HTML",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "HTML was dangerously set or created with 'innerHTML'. This is deemed an unsafe coding practice as the HTML might result in security vulnerabilities. It is recommended to instead use alternative approaches for HTML construction - such as 'document.createElement()' or a HTML sanitizer.",+ "location": {+ "workspace": "web",+ "filePath": "apps/web/public/min/vs/editor/editor.main.js",+ "lineStart": 573,+ "lineEnd": 573+ }+ },+ {+ "testName": "NO_DANGEROUS_HTML",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "HTML was dangerously set or created with 'innerHTML'. This is deemed an unsafe coding practice as the HTML might result in security vulnerabilities. It is recommended to instead use alternative approaches for HTML construction - such as 'document.createElement()' or a HTML sanitizer.",+ "location": {+ "workspace": "web",+ "filePath": "apps/web/public/min/vs/editor/editor.main.js",+ "lineStart": 591,+ "lineEnd": 591+ }+ },+ {+ "testName": "NO_DANGEROUS_HTML",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "HTML was dangerously set or created with 'innerHTML'. This is deemed an unsafe coding practice as the HTML might result in security vulnerabilities. It is recommended to instead use alternative approaches for HTML construction - such as 'document.createElement()' or a HTML sanitizer.",+ "location": {+ "workspace": "web",+ "filePath": "apps/web/public/min/vs/editor/editor.main.js",+ "lineStart": 592,+ "lineEnd": 592+ }+ },+ {+ "testName": "NO_DANGEROUS_HTML",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "HTML was dangerously set or created with 'innerHTML'. This is deemed an unsafe coding practice as the HTML might result in security vulnerabilities. It is recommended to instead use alternative approaches for HTML construction - such as 'document.createElement()' or a HTML sanitizer.",+ "location": {+ "workspace": "web",+ "filePath": "apps/web/public/min/vs/editor/editor.main.js",+ "lineStart": 617,+ "lineEnd": 617+ }+ },+ {+ "testName": "NO_DANGEROUS_HTML",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "HTML was dangerously set or created with 'insertAdjacentHTML'. This is deemed an unsafe coding practice as the HTML might result in security vulnerabilities. It is recommended to instead use alternative approaches for HTML construction - such as 'document.createElement()' or a HTML sanitizer.",+ "location": {+ "workspace": "web",+ "filePath": "apps/web/public/min/vs/editor/editor.main.js",+ "lineStart": 629,+ "lineEnd": 629+ }+ },+ {+ "testName": "NO_DANGEROUS_HTML",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "HTML was dangerously set or created with 'insertAdjacentHTML'. This is deemed an unsafe coding practice as the HTML might result in security vulnerabilities. It is recommended to instead use alternative approaches for HTML construction - such as 'document.createElement()' or a HTML sanitizer.",+ "location": {+ "workspace": "web",+ "filePath": "apps/web/public/min/vs/editor/editor.main.js",+ "lineStart": 629,+ "lineEnd": 629+ }+ },+ {+ "testName": "NO_DANGEROUS_HTML",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "HTML was dangerously set or created with 'innerHTML'. This is deemed an unsafe coding practice as the HTML might result in security vulnerabilities. It is recommended to instead use alternative approaches for HTML construction - such as 'document.createElement()' or a HTML sanitizer.",+ "location": {+ "workspace": "web",+ "filePath": "apps/web/public/min/vs/editor/editor.main.js",+ "lineStart": 657,+ "lineEnd": 657+ }+ },+ {+ "testName": "NO_DANGEROUS_HTML",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "HTML was dangerously set or created with 'innerHTML'. This is deemed an unsafe coding practice as the HTML might result in security vulnerabilities. It is recommended to instead use alternative approaches for HTML construction - such as 'document.createElement()' or a HTML sanitizer.",+ "location": {+ "workspace": "web",+ "filePath": "apps/web/public/min/vs/editor/editor.main.js",+ "lineStart": 684,+ "lineEnd": 684+ }+ }+ ]+}diff --git a/apps/web/.allowlists/NO_EVAL.allowlist.json b/apps/web/.allowlists/NO_EVAL.allowlist.jsonnew file mode 100644index 00000000..ff9f8608--- /dev/null+++ b/apps/web/.allowlists/NO_EVAL.allowlist.json@@ -0,0 +1,50 @@+{+ "testName": "NO_EVAL",+ "categories": ["security"],+ "description": "Prevent unsafe usage of `eval()` in your application since this allows arbitrary code execution.",+ "severity": "major",+ "entries": [+ {+ "testName": "NO_EVAL",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "Eval-like function usage is potentially dangerous, is often misused, and can cause security issues. Evaluating untrusted code can open an application up to several different injection attacks.",+ "location": {+ "filePath": "apps/web/public/min/vs/base/worker/workerMain.js",+ "lineStart": 7,+ "lineEnd": 7+ }+ },+ {+ "testName": "NO_EVAL",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "JavaScript's `eval()` is potentially dangerous, is often misused, and can cause security issues. Evaluating untrusted code can open an application up to several different injection attacks.",+ "location": {+ "workspace": "web",+ "filePath": "apps/web/public/min/vs/base/worker/workerMain.js",+ "lineStart": 11,+ "lineEnd": 11+ }+ },+ {+ "testName": "NO_EVAL",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "JavaScript's `eval()` is potentially dangerous, is often misused, and can cause security issues. Evaluating untrusted code can open an application up to several different injection attacks.",+ "location": {+ "workspace": "web",+ "filePath": "apps/web/public/min/vs/base/worker/workerMain.js",+ "lineStart": 12,+ "lineEnd": 12+ }+ },+ {+ "testName": "NO_EVAL",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "Eval-like function usage is potentially dangerous, is often misused, and can cause security issues. Evaluating untrusted code can open an application up to several different injection attacks.",+ "location": {+ "filePath": "apps/web/public/min/vs/loader.js",+ "lineStart": 7,+ "lineEnd": 7+ }+ }+ ]+}diff --git a/apps/web/.allowlists/NO_VARIABLE_IMPORT_REFERENCES.allowlist.json b/apps/web/.allowlists/NO_VARIABLE_IMPORT_REFERENCES.allowlist.jsonnew file mode 100644index 00000000..be1ad668--- /dev/null+++ b/apps/web/.allowlists/NO_VARIABLE_IMPORT_REFERENCES.allowlist.json@@ -0,0 +1,19 @@+{+ "testName": "NO_VARIABLE_IMPORT_REFERENCES",+ "categories": ["security"],+ "description": "Prevents loading of arbitrary modules from `import` or `require` statements which could lead to security vulnerabilities.",+ "severity": "major",+ "entries": [+ {+ "testName": "NO_VARIABLE_IMPORT_REFERENCES",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "Import and require statements must be used with a string literal. Use of dynamic names in import and require statements may result in security vulnerabilities, such as allowing a user to access arbitrary code.",+ "location": {+ "workspace": "web",+ "filePath": "apps/web/public/min/vs/base/worker/workerMain.js",+ "lineStart": 12,+ "lineEnd": 12+ }+ }+ ]+}diff --git a/apps/web/.allowlists/PACKAGE_JSON_DESCRIPTION_REQUIRED.allowlist.json b/apps/web/.allowlists/PACKAGE_JSON_DESCRIPTION_REQUIRED.allowlist.jsonnew file mode 100644index 00000000..135ab95e--- /dev/null+++ b/apps/web/.allowlists/PACKAGE_JSON_DESCRIPTION_REQUIRED.allowlist.json@@ -0,0 +1,16 @@+{+ "testName": "PACKAGE_JSON_DESCRIPTION_REQUIRED",+ "categories": ["code-health"],+ "description": "Requires that every `package.json` file has the `description` field set.",+ "severity": "minor",+ "entries": [+ {+ "testName": "PACKAGE_JSON_DESCRIPTION_REQUIRED",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "'apps/web/package.json' is required to have a description field. This field is used to describe the workspace's purpose within the monorepo.",+ "location": {+ "filePath": "apps/web/package.json"+ }+ }+ ]+}diff --git a/apps/web/.allowlists/PACKAGE_MANAGEMENT_NO_CIRCULAR_IMPORTS.allowlist.json b/apps/web/.allowlists/PACKAGE_MANAGEMENT_NO_CIRCULAR_IMPORTS.allowlist.jsonnew file mode 100644index 00000000..70dec480--- /dev/null+++ b/apps/web/.allowlists/PACKAGE_MANAGEMENT_NO_CIRCULAR_IMPORTS.allowlist.json@@ -0,0 +1,193 @@+{+ "testName": "PACKAGE_MANAGEMENT_NO_CIRCULAR_IMPORTS",+ "categories": ["code-health"],+ "description": "Circular imports between two files are not allowed.",+ "severity": "minor",+ "entries": [+ {+ "testName": "PACKAGE_MANAGEMENT_NO_CIRCULAR_IMPORTS",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "'src/app/challenge/[id]/solutions/_components/index.tsx' and 'src/app/challenge/[id]/solutions/_components/solution-editor.tsx' have a circular import. Please decouple the dependencies, such as creating a new file, to remove the circular import. Cycle: src/app/challenge/[id]/solutions/_components/solution-editor.tsx src/app/challenge/[id]/solutions/page.tsx src/app/challenge/[id]/solutions/_components/index.tsx",+ "location": {+ "filePath": "apps/web/src/app/challenge/[id]/solutions/_components/index.tsx",+ "lineStart": 7,+ "lineEnd": 7+ },+ "details": {+ "cycle": "src/app/challenge/[id]/solutions/_components/solution-editor.tsx->src/app/challenge/[id]/solutions/page.tsx->src/app/challenge/[id]/solutions/_components/index.tsx"+ }+ },+ {+ "testName": "PACKAGE_MANAGEMENT_NO_CIRCULAR_IMPORTS",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "'src/app/challenge/[id]/solutions/[solutionId]/page.tsx' and 'src/app/challenge/[id]/solutions/_components/solution-detail.tsx' have a circular import. Please decouple the dependencies, such as creating a new file, to remove the circular import. Cycle: src/app/challenge/[id]/solutions/_components/solution-detail.tsx src/app/challenge/[id]/solutions/[solutionId]/page.tsx",+ "location": {+ "filePath": "apps/web/src/app/challenge/[id]/solutions/[solutionId]/page.tsx",+ "lineStart": 2,+ "lineEnd": 2+ },+ "details": {+ "cycle": "src/app/challenge/[id]/solutions/_components/solution-detail.tsx->src/app/challenge/[id]/solutions/[solutionId]/page.tsx"+ }+ },+ {+ "testName": "PACKAGE_MANAGEMENT_NO_CIRCULAR_IMPORTS",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "'src/app/challenge/[id]/solutions/page.tsx' and 'src/app/challenge/[id]/solutions/_components/index.tsx' have a circular import. Please decouple the dependencies, such as creating a new file, to remove the circular import. Cycle: src/app/challenge/[id]/solutions/_components/index.tsx src/app/challenge/[id]/solutions/page.tsx",+ "location": {+ "filePath": "apps/web/src/app/challenge/[id]/solutions/page.tsx"+ },+ "details": {+ "cycle": "src/app/challenge/[id]/solutions/_components/index.tsx->src/app/challenge/[id]/solutions/page.tsx"+ }+ },+ {+ "testName": "PACKAGE_MANAGEMENT_NO_CIRCULAR_IMPORTS",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "'src/app/tracks/_components/track-card.tsx' and 'src/app/tracks/_components/track-challenge-card.tsx' have a circular import. Please decouple the dependencies, such as creating a new file, to remove the circular import. Cycle: src/app/tracks/_components/track-challenge-card.tsx src/app/tracks/_components/track-grid.tsx src/app/tracks/_components/track-card.tsx",+ "location": {+ "filePath": "apps/web/src/app/tracks/_components/track-card.tsx",+ "lineStart": 6,+ "lineEnd": 6+ },+ "details": {+ "cycle": "src/app/tracks/_components/track-challenge-card.tsx->src/app/tracks/_components/track-grid.tsx->src/app/tracks/_components/track-card.tsx"+ }+ },+ {+ "testName": "PACKAGE_MANAGEMENT_NO_CIRCULAR_IMPORTS",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "'src/app/tracks/_components/track-enrolled-section.tsx' and 'src/app/tracks/_components/personal-track-card.tsx' have a circular import. Please decouple the dependencies, such as creating a new file, to remove the circular import. Cycle: src/app/tracks/_components/personal-track-card.tsx src/app/tracks/_components/track-enrolled-section.tsx",+ "location": {+ "filePath": "apps/web/src/app/tracks/_components/track-enrolled-section.tsx",+ "lineStart": 5,+ "lineEnd": 5+ },+ "details": {+ "cycle": "src/app/tracks/_components/personal-track-card.tsx->src/app/tracks/_components/track-enrolled-section.tsx"+ }+ },+ {+ "testName": "PACKAGE_MANAGEMENT_NO_CIRCULAR_IMPORTS",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "'src/app/tracks/_components/track-grid.tsx' and 'src/app/tracks/_components/track-card.tsx' have a circular import. Please decouple the dependencies, such as creating a new file, to remove the circular import. Cycle: src/app/tracks/_components/track-card.tsx src/app/tracks/_components/track-grid.tsx",+ "location": {+ "filePath": "apps/web/src/app/tracks/_components/track-grid.tsx"+ },+ "details": {+ "cycle": "src/app/tracks/_components/track-card.tsx->src/app/tracks/_components/track-grid.tsx"+ }+ },+ {+ "testName": "PACKAGE_MANAGEMENT_NO_CIRCULAR_IMPORTS",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "'src/components/landing/waitlist/create.action.ts' and 'src/components/landing/waitlist/waitlist-form.tsx' have a circular import. Please decouple the dependencies, such as creating a new file, to remove the circular import. Cycle: src/components/landing/waitlist/waitlist-form.tsx src/components/landing/waitlist/create.action.ts",+ "location": {+ "filePath": "apps/web/src/components/landing/waitlist/create.action.ts"+ },+ "details": {+ "cycle": "src/components/landing/waitlist/waitlist-form.tsx->src/components/landing/waitlist/create.action.ts"+ }+ },+ {+ "testName": "PACKAGE_MANAGEMENT_NO_CIRCULAR_IMPORTS",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "'src/components/settings/index.tsx' and 'src/components/settings/settings.action.ts' have a circular import. Please decouple the dependencies, such as creating a new file, to remove the circular import. Cycle: src/components/settings/settings.action.ts src/components/settings/index.tsx",+ "location": {+ "filePath": "apps/web/src/components/settings/index.tsx",+ "lineStart": 9,+ "lineEnd": 9+ },+ "details": {+ "cycle": "src/components/settings/settings.action.ts->src/components/settings/index.tsx"+ }+ },+ {+ "testName": "PACKAGE_MANAGEMENT_NO_CIRCULAR_IMPORTS",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "'src/components/user/dashboard/index.tsx' and 'src/components/user/dashboard/solutions-tab.tsx' have a circular import. Please decouple the dependencies, such as creating a new file, to remove the circular import. Cycle: src/components/user/dashboard/solutions-tab.tsx src/components/user/dashboard/index.tsx",+ "location": {+ "filePath": "apps/web/src/components/user/dashboard/index.tsx",+ "lineStart": 21,+ "lineEnd": 21+ },+ "details": {+ "cycle": "src/components/user/dashboard/solutions-tab.tsx->src/components/user/dashboard/index.tsx"+ }+ },+ {+ "testName": "PACKAGE_MANAGEMENT_NO_CIRCULAR_IMPORTS",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "'src/components/wizard/create.action.ts' and 'src/components/wizard/index.tsx' have a circular import. Please decouple the dependencies, such as creating a new file, to remove the circular import. Cycle: src/components/wizard/index.tsx src/components/wizard/create.action.ts",+ "location": {+ "filePath": "apps/web/src/components/wizard/create.action.ts"+ },+ "details": {+ "cycle": "src/components/wizard/index.tsx->src/components/wizard/create.action.ts"+ }+ },+ {+ "testName": "PACKAGE_MANAGEMENT_NO_CIRCULAR_IMPORTS",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "'src/components/wizard/DescriptionEditor.tsx' and 'src/components/wizard/index.tsx' have a circular import. Please decouple the dependencies, such as creating a new file, to remove the circular import. Cycle: src/components/wizard/index.tsx src/components/wizard/DescriptionEditor.tsx",+ "location": {+ "filePath": "apps/web/src/components/wizard/DescriptionEditor.tsx"+ },+ "details": {+ "cycle": "src/components/wizard/index.tsx->src/components/wizard/DescriptionEditor.tsx"+ }+ },+ {+ "testName": "PACKAGE_MANAGEMENT_NO_CIRCULAR_IMPORTS",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "'src/components/wizard/index.tsx' and 'src/components/wizard/ChallengeCardEditor.tsx' have a circular import. Please decouple the dependencies, such as creating a new file, to remove the circular import. Cycle: src/components/wizard/ChallengeCardEditor.tsx src/components/wizard/index.tsx",+ "location": {+ "filePath": "apps/web/src/components/wizard/index.tsx",+ "lineStart": 11,+ "lineEnd": 11+ },+ "details": {+ "cycle": "src/components/wizard/ChallengeCardEditor.tsx->src/components/wizard/index.tsx"+ }+ },+ {+ "testName": "PACKAGE_MANAGEMENT_NO_CIRCULAR_IMPORTS",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "'src/components/wizard/index.tsx' and 'src/components/wizard/Steps.tsx' have a circular import. Please decouple the dependencies, such as creating a new file, to remove the circular import. Cycle: src/components/wizard/Steps.tsx src/components/wizard/index.tsx",+ "location": {+ "filePath": "apps/web/src/components/wizard/index.tsx",+ "lineStart": 13,+ "lineEnd": 13+ },+ "details": {+ "cycle": "src/components/wizard/Steps.tsx->src/components/wizard/index.tsx"+ }+ },+ {+ "testName": "PACKAGE_MANAGEMENT_NO_CIRCULAR_IMPORTS",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "'src/components/wizard/index.tsx' and 'src/components/wizard/NextBack.tsx' have a circular import. Please decouple the dependencies, such as creating a new file, to remove the circular import. Cycle: src/components/wizard/NextBack.tsx src/components/wizard/index.tsx",+ "location": {+ "filePath": "apps/web/src/components/wizard/index.tsx",+ "lineStart": 14,+ "lineEnd": 14+ },+ "details": {+ "cycle": "src/components/wizard/NextBack.tsx->src/components/wizard/index.tsx"+ }+ },+ {+ "testName": "PACKAGE_MANAGEMENT_NO_CIRCULAR_IMPORTS",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "'src/components/wizard/index.tsx' and 'src/components/wizard/TestCasesEditor.tsx' have a circular import. Please decouple the dependencies, such as creating a new file, to remove the circular import. Cycle: src/components/wizard/TestCasesEditor.tsx src/components/wizard/index.tsx",+ "location": {+ "filePath": "apps/web/src/components/wizard/index.tsx",+ "lineStart": 16,+ "lineEnd": 16+ },+ "details": {+ "cycle": "src/components/wizard/TestCasesEditor.tsx->src/components/wizard/index.tsx"+ }+ }+ ]+}diff --git a/apps/web/.allowlists/PACKAGE_MANAGEMENT_NO_UNRESOLVED_IMPORTS.allowlist.json b/apps/web/.allowlists/PACKAGE_MANAGEMENT_NO_UNRESOLVED_IMPORTS.allowlist.jsonnew file mode 100644index 00000000..fc4aa295--- /dev/null+++ b/apps/web/.allowlists/PACKAGE_MANAGEMENT_NO_UNRESOLVED_IMPORTS.allowlist.json@@ -0,0 +1,21 @@+{+ "testName": "PACKAGE_MANAGEMENT_NO_UNRESOLVED_IMPORTS",+ "categories": ["code-health"],+ "description": "Checks for imports in the workspace that are not explicitly added to the package.json file.",+ "severity": "minor",+ "entries": [+ {+ "testName": "PACKAGE_MANAGEMENT_NO_UNRESOLVED_IMPORTS",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "Could not resolve import 'monaco-editor' in source file 'src/components/wizard/TestCasesEditor.tsx'. Please make sure that this import is valid and if external, is installed in your 'package.json' file.",+ "location": {+ "filePath": "apps/web/src/components/wizard/TestCasesEditor.tsx",+ "lineStart": 6,+ "lineEnd": 6+ },+ "details": {+ "import": "monaco-editor"+ }+ }+ ]+}diff --git a/apps/web/.allowlists/PACKAGE_MANAGEMENT_REQUIRED_README.allowlist.json b/apps/web/.allowlists/PACKAGE_MANAGEMENT_REQUIRED_README.allowlist.jsonnew file mode 100644index 00000000..794faa4c--- /dev/null+++ b/apps/web/.allowlists/PACKAGE_MANAGEMENT_REQUIRED_README.allowlist.json@@ -0,0 +1,16 @@+{+ "testName": "PACKAGE_MANAGEMENT_REQUIRED_README",+ "categories": ["code-health"],+ "description": "Requires that every workspace has a `README.md` file in the root of the workspace.",+ "severity": "minor",+ "entries": [+ {+ "testName": "PACKAGE_MANAGEMENT_REQUIRED_README",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "Every workspace must have a 'README.md' file to explain the workspace and how to use it. Please add a 'README.md' to apps/web/README.md.",+ "location": {+ "filePath": "apps/web/README.md"+ }+ }+ ]+}diff --git a/apps/web/.allowlists/TYPESCRIPT_CONFIGURATION.allowlist.json b/apps/web/.allowlists/TYPESCRIPT_CONFIGURATION.allowlist.jsonnew file mode 100644index 00000000..6f4f5a0b--- /dev/null+++ b/apps/web/.allowlists/TYPESCRIPT_CONFIGURATION.allowlist.json@@ -0,0 +1,19 @@+{+ "testName": "TYPESCRIPT_CONFIGURATION",+ "categories": ["code-health"],+ "description": "Requires that a workspace package that uses TypeScript files has configured TypeScript correctly for that workspace.",+ "severity": "minor",+ "entries": [+ {+ "testName": "TYPESCRIPT_CONFIGURATION",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "'apps/web/package.json' should have a 'type-check' script that runs TypeScript type checking.",+ "location": {+ "filePath": "apps/web/package.json"+ },+ "details": {+ "missingScript": "type-check"+ }+ }+ ]+}diff --git a/apps/web/.allowlists/TYPESCRIPT_ONLY.allowlist.json b/apps/web/.allowlists/TYPESCRIPT_ONLY.allowlist.jsonnew file mode 100644index 00000000..22066349--- /dev/null+++ b/apps/web/.allowlists/TYPESCRIPT_ONLY.allowlist.json@@ -0,0 +1,72 @@+{+ "testName": "TYPESCRIPT_ONLY",+ "categories": ["code-health"],+ "description": "Requires that a workspace package may only contain TypeScript files and no JavaScript or JSX files.",+ "severity": "minor",+ "entries": [+ {+ "testName": "TYPESCRIPT_ONLY",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "JavaScript files are not allowed. Please convert the file to TypeScript.",+ "location": {+ "filePath": "apps/web/public/min/vs/base/common/worker/simpleWorker.nls.js"+ }+ },+ {+ "testName": "TYPESCRIPT_ONLY",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "JavaScript files are not allowed. Please convert the file to TypeScript.",+ "location": {+ "filePath": "apps/web/public/min/vs/base/worker/workerMain.js"+ }+ },+ {+ "testName": "TYPESCRIPT_ONLY",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "JavaScript files are not allowed. Please convert the file to TypeScript.",+ "location": {+ "filePath": "apps/web/public/min/vs/basic-languages/typescript/typescript.js"+ }+ },+ {+ "testName": "TYPESCRIPT_ONLY",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "JavaScript files are not allowed. Please convert the file to TypeScript.",+ "location": {+ "filePath": "apps/web/public/min/vs/editor/editor.main.js"+ }+ },+ {+ "testName": "TYPESCRIPT_ONLY",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "JavaScript files are not allowed. Please convert the file to TypeScript.",+ "location": {+ "filePath": "apps/web/public/min/vs/editor/editor.main.nls.js"+ }+ },+ {+ "testName": "TYPESCRIPT_ONLY",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "JavaScript files are not allowed. Please convert the file to TypeScript.",+ "location": {+ "filePath": "apps/web/public/min/vs/language/typescript/tsMode.js"+ }+ },+ {+ "testName": "TYPESCRIPT_ONLY",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "JavaScript files are not allowed. Please convert the file to TypeScript.",+ "location": {+ "filePath": "apps/web/public/min/vs/language/typescript/tsWorker.js"+ }+ },+ {+ "testName": "TYPESCRIPT_ONLY",+ "reason": "TODO: Add reason why this violation is allowed to be ignored.",+ "error": "JavaScript files are not allowed. Please convert the file to TypeScript.",+ "location": {+ "filePath": "apps/web/public/min/vs/loader.js"+ }+ }+ ]+}diff --git a/apps/web/package.json b/apps/web/package.jsonindex d5846b59..024af474 100644--- a/apps/web/package.json+++ b/apps/web/package.json@@ -4,7 +4,7 @@"private": true,"type": "module","scripts": {- "build": "next build",+ "build": "dotenv -e ../../.env next build","clean": "rm -rf .next dist node_modules","dev": "dotenv -e ../../.env next dev -- -p 3000","format": "prettier . --check --cache --cache-location=\"node_modules/.cache/prettiercache\"",@@ -12,7 +12,8 @@"lint": "eslint . --cache --cache-location \"node_modules/.cache/.eslintcache\" --max-warnings 0","lint:fix": "eslint . --fix --cache --cache-location \"node_modules/.cache/.eslintcache\" --max-warnings 0","start": "next start",- "typecheck": "tsc --noEmit"+ "typecheck": "tsc --noEmit",+ "conformance": "spaces conformance"},"dependencies": {"@hookform/error-message": "^2.0.1",@@ -85,6 +86,7 @@"prettier-plugin-tailwindcss": "^0.4.1","raw-loader": "^4.0.2","tailwindcss": "^3.3.3",- "typescript": "^5.1.6"+ "typescript": "^5.1.6",+ "@vercel/spaces": "https://spaces-cli.vercel.sh/download/0.9.0?auth=41deae36c701"}}diff --git a/package.json b/package.jsonindex fb9a8260..39f588a3 100644--- a/package.json+++ b/package.json@@ -20,13 +20,16 @@"lint:fix": "eslint . --fix --cache --cache-location \"node_modules/.cache/.eslintcache\" --max-warnings 0","refresh": "turbo db:reset db:seed --concurrency=1","tunnel": "cloudflared tunnel --url http://localhost:3000",- "typecheck": "turbo typecheck --continue"+ "typecheck": "turbo typecheck --continue",+ "conformance": "turbo root-conformance conformance --continue",+ "root-conformance": "spaces conformance"},"devDependencies": {"prettier": "^3.0.2","prettier-plugin-tailwindcss": "^0.4.1","turbo": "^1.10.13",- "typescript": "^5.1.6"+ "typescript": "^5.1.6",+ "@vercel/spaces": "https://spaces-cli.vercel.sh/download/0.9.0?auth=41deae36c701"},"packageManager": "[email protected]","pnpm": {@@ -41,5 +44,8 @@"[email protected]": "patches/[email protected]","@vercel/[email protected]": "patches/@[email protected]"}+ },+ "dependencies": {+ "@vercel/spaces": "https://spaces-cli.vercel.sh/download/0.9.0?auth=41deae36c701"}}diff --git a/packages/auth/package.json b/packages/auth/package.jsonindex 6dfd3dab..b2203669 100644--- a/packages/auth/package.json+++ b/packages/auth/package.json@@ -25,7 +25,8 @@"format:fix": "prettier . --write --cache --cache-location=\"node_modules/.cache/prettiercache\" --log-level=warn","lint": "eslint . --cache --cache-location \"node_modules/.cache/.eslintcache\" --max-warnings 0","lint:fix": "eslint . --fix --cache --cache-location \"node_modules/.cache/.eslintcache\" --max-warnings 0",- "typecheck": "tsc --noEmit"+ "typecheck": "tsc --noEmit",+ "conformance": "spaces conformance"},"dependencies": {"@next-auth/prisma-adapter": "^1.0.7",@@ -39,6 +40,7 @@"eslint": "^8.42.0","prisma": "^5.0.0","tsup": "5.12.0",- "typescript": "^5.1.3"+ "typescript": "^5.1.3",+ "@vercel/spaces": "https://spaces-cli.vercel.sh/download/0.9.0?auth=41deae36c701"}}diff --git a/packages/db/package.json b/packages/db/package.jsonindex 1af3c4e2..674901b5 100644--- a/packages/db/package.json+++ b/packages/db/package.json@@ -28,7 +28,8 @@"format:fix": "prettier . --write --cache --cache-location=\"node_modules/.cache/prettiercache\" --log-level=warn","lint": "eslint . --cache --cache-location \"node_modules/.cache/.eslintcache\" --max-warnings 0","lint:fix": "eslint . --fix --cache --cache-location \"node_modules/.cache/.eslintcache\" --max-warnings 0",- "typecheck": "tsc --noEmit"+ "typecheck": "tsc --noEmit",+ "conformance": "spaces conformance"},"dependencies": {"@prisma/client": "^5.0.0"@@ -46,7 +47,8 @@"tsx": "^3.12.7","typescript": "^5.1.3","uuid-by-string": "^4.0.0",- "yaml": "^2.3.1"+ "yaml": "^2.3.1",+ "@vercel/spaces": "https://spaces-cli.vercel.sh/download/0.9.0?auth=41deae36c701"},"prisma": {"seed": "tsx ./seed.ts"diff --git a/packages/email/package.json b/packages/email/package.jsonindex d0ed2fa8..ab00242b 100644--- a/packages/email/package.json+++ b/packages/email/package.json@@ -13,11 +13,15 @@"scripts": {"dev": "email dev -p 6969","clean": "rm -rf node_modules .react-email",- "build": "email export"+ "build": "email export",+ "conformance": "spaces conformance"},"files": [],"dependencies": {"@react-email/components": "0.0.6","react-email": "1.9.3"+ },+ "devDependencies": {+ "@vercel/spaces": "https://spaces-cli.vercel.sh/download/0.9.0?auth=41deae36c701"}}diff --git a/packages/monaco/package.json b/packages/monaco/package.jsonindex 7b70f778..a4e774b5 100644--- a/packages/monaco/package.json+++ b/packages/monaco/package.json@@ -41,7 +41,8 @@"format:fix": "prettier . --write --cache --cache-location=\"node_modules/.cache/prettiercache\" --log-level=warn","lint": "eslint . --cache --cache-location \"node_modules/.cache/.eslintcache\" --max-warnings 0","lint:fix": "eslint . --fix --cache --cache-location \"node_modules/.cache/.eslintcache\" --max-warnings 0",- "typecheck": "tsc --noEmit"+ "typecheck": "tsc --noEmit",+ "conformance": "spaces conformance"},"dependencies": {"@hookform/resolvers": "^3.1.1",@@ -62,6 +63,7 @@"@repo/lint": "workspace:*","@repo/tsconfig": "workspace:*","eslint": "^8.42.0",- "typescript": "^5.1.3"+ "typescript": "^5.1.3",+ "@vercel/spaces": "https://spaces-cli.vercel.sh/download/0.9.0?auth=41deae36c701"}}diff --git a/packages/ui/package.json b/packages/ui/package.jsonindex ef571d67..20c88264 100644--- a/packages/ui/package.json+++ b/packages/ui/package.json@@ -25,7 +25,8 @@"format:fix": "prettier . --write --cache --cache-location=\"node_modules/.cache/prettiercache\" --log-level=warn","lint": "eslint . --cache --cache-location \"node_modules/.cache/.eslintcache\" --max-warnings 0","lint:fix": "eslint . --fix --cache --cache-location \"node_modules/.cache/.eslintcache\" --max-warnings 0",- "typecheck": "tsc --noEmit"+ "typecheck": "tsc --noEmit",+ "conformance": "spaces conformance"},"dependencies": {"@radix-ui/react-alert-dialog": "^1.0.4",@@ -67,6 +68,7 @@"@repo/tsconfig": "workspace:*","@types/react": "^18.2.20","eslint": "^8.42.0",- "typescript": "^5.1.3"+ "typescript": "^5.1.3",+ "@vercel/spaces": "https://spaces-cli.vercel.sh/download/0.9.0?auth=41deae36c701"}}diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex bc7ba9aa..854ed666 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -1,5 +1,9 @@lockfileVersion: '6.0'+settings:+ autoInstallPeers: true+ excludeLinksFromLockfile: false+patchedDependencies:'@monaco-editor/[email protected]':hash: xep4qb27qzc6gvlhv2fxe3r2ka@@ -17,6 +21,10 @@ patchedDependencies:importers:.:+ dependencies:+ '@vercel/spaces':+ specifier: https://spaces-cli.vercel.sh/download/0.9.0?auth=41deae36c701+ version: '@spaces-cli.vercel.sh/download/0.9.0?auth=41deae36c701'devDependencies:prettier:specifier: ^3.0.2@@ -121,6 +129,9 @@ importers:'@types/react-syntax-highlighter':specifier: ^15.5.7version: 15.5.7+ '@vercel/spaces':+ specifier: https://spaces-cli.vercel.sh/download/0.9.0?auth=41deae36c701+ version: '@spaces-cli.vercel.sh/download/0.9.0?auth=41deae36c701'autoprefixer:specifier: ^10.4.14version: 10.4.14([email protected])@@ -182,6 +193,9 @@ importers:'@types/react':specifier: ^18.2.8version: 18.2.20+ '@vercel/spaces':+ specifier: https://spaces-cli.vercel.sh/download/0.9.0?auth=41deae36c701+ version: '@spaces-cli.vercel.sh/download/0.9.0?auth=41deae36c701'typescript:specifier: ^5.1.3version: 5.1.6@@ -363,6 +377,9 @@ importers:'@types/react-syntax-highlighter':specifier: ^15.5.7version: 15.5.7+ '@vercel/spaces':+ specifier: https://spaces-cli.vercel.sh/download/0.9.0?auth=41deae36c701+ version: '@spaces-cli.vercel.sh/download/0.9.0?auth=41deae36c701'autoprefixer:specifier: ^10.4.14version: 10.4.14([email protected])@@ -418,6 +435,9 @@ importers:'@types/node':specifier: ^16.18.11version: 16.18.11+ '@vercel/spaces':+ specifier: https://spaces-cli.vercel.sh/download/0.9.0?auth=41deae36c701+ version: '@spaces-cli.vercel.sh/download/0.9.0?auth=41deae36c701'eslint:specifier: ^8.42.0version: 8.45.0@@ -449,6 +469,9 @@ importers:'@types/node':specifier: ^16.18.11version: 16.18.11+ '@vercel/spaces':+ specifier: https://spaces-cli.vercel.sh/download/0.9.0?auth=41deae36c701+ version: '@spaces-cli.vercel.sh/download/0.9.0?auth=41deae36c701'dotenv-cli:specifier: ^7.2.1version: 7.2.1@@ -485,6 +508,10 @@ importers:react-email:specifier: 1.9.3version: 1.9.3+ devDependencies:+ '@vercel/spaces':+ specifier: https://spaces-cli.vercel.sh/download/0.9.0?auth=41deae36c701+ version: '@spaces-cli.vercel.sh/download/0.9.0?auth=41deae36c701'packages/monaco:dependencies:@@ -534,6 +561,9 @@ importers:'@repo/tsconfig':specifier: workspace:*version: link:../../tooling/config-typescript+ '@vercel/spaces':+ specifier: https://spaces-cli.vercel.sh/download/0.9.0?auth=41deae36c701+ version: '@spaces-cli.vercel.sh/download/0.9.0?auth=41deae36c701'eslint:specifier: ^8.42.0version: 8.45.0@@ -652,6 +682,9 @@ importers:'@types/react':specifier: ^18.2.20version: 18.2.20+ '@vercel/spaces':+ specifier: https://spaces-cli.vercel.sh/download/0.9.0?auth=41deae36c701+ version: '@spaces-cli.vercel.sh/download/0.9.0?auth=41deae36c701'eslint:specifier: ^8.42.0version: 8.45.0@@ -663,7 +696,7 @@ importers:dependencies:'@next/eslint-plugin-next':specifier: canary- version: 13.4.4-canary.8+ version: 13.4.20-canary.0'@repo/tsconfig':specifier: workspace:*version: link:../config-typescript@@ -675,7 +708,7 @@ importers:version: 5.62.0([email protected])([email protected])'@vercel/style-guide':specifier: ^4.0.2eslint:specifier: ^8.40.0version: 8.45.0@@ -685,17 +718,28 @@ importers:typescript:specifier: ^5.1.3version: 5.1.6+ devDependencies:+ '@vercel/spaces':+ specifier: https://spaces-cli.vercel.sh/download/0.9.0?auth=41deae36c701+ version: '@spaces-cli.vercel.sh/download/0.9.0?auth=41deae36c701'tooling/config-tailwind:devDependencies:'@tailwindcss/typography':specifier: ^0.5.9version: 0.5.9([email protected])+ '@vercel/spaces':+ specifier: https://spaces-cli.vercel.sh/download/0.9.0?auth=41deae36c701+ version: '@spaces-cli.vercel.sh/download/0.9.0?auth=41deae36c701'tailwindcss:specifier: ^3.2.4version: 3.3.3- tooling/config-typescript: {}+ tooling/config-typescript:+ devDependencies:+ '@vercel/spaces':+ specifier: https://spaces-cli.vercel.sh/download/0.9.0?auth=41deae36c701+ version: '@spaces-cli.vercel.sh/download/0.9.0?auth=41deae36c701'tooling/scripts:devDependencies:@@ -711,6 +755,9 @@ importers:'@types/node-fetch':specifier: ^2.6.4version: 2.6.4+ '@vercel/spaces':+ specifier: https://spaces-cli.vercel.sh/download/0.9.0?auth=41deae36c701+ version: '@spaces-cli.vercel.sh/download/0.9.0?auth=41deae36c701'dotenv:specifier: ^16.3.1version: 16.3.1@@ -1508,6 +1555,15 @@ packages:eslint: 8.45.0eslint-visitor-keys: 3.4.1+ /@eslint-community/[email protected]([email protected]):+ resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==}+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}+ peerDependencies:+ eslint: ^6.0.0 || ^7.0.0 || >=8.0.0+ dependencies:+ eslint: 8.48.0+ eslint-visitor-keys: 3.4.1+/@eslint-community/[email protected]:resolution: {integrity: sha512-Z5ba73P98O1KUYCCJTUeVpja9RcGoMdncZ6T49FCUl2lN38JtCJ+3WgIDBv0AuY4WChU5PmtJmOCTlN6FZTFKQ==}engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0}@@ -1537,6 +1593,10 @@ packages:resolution: {integrity: sha512-Ag+9YM4ocKQx9AarydN0KY2j0ErMHNIocPDrVo8zAE44xLTjEtz81OdR68/cydGtk6m6jDb5Za3r2useMzYmSw==}engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}+ /@eslint/[email protected]:+ resolution: {integrity: sha512-ZSjtmelB7IJfWD2Fvb7+Z+ChTIKWq6kjda95fLcQKNS5aheVHn4IkfgRQE3sIIzTcSLwLcLZUD9UBt+V7+h+Pw==}+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}+/@faker-js/[email protected]:resolution: {integrity: sha512-Uo3pGspElQW91PCvKSIAXoEgAUlRnH29sX2/p89kg7sP1m2PzCufHINd0FhTXQf6DYGiUlVncdSPa2F9wxed2A==}engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0, npm: '>=6.14.13'}@@ -1727,8 +1787,8 @@ packages:glob: 7.1.7dev: true- /@next/[email protected]:- resolution: {integrity: sha512-hgFwPEJ5vr66yjRAfYxhKXBxpgmusZF7ztS8GpBS7HsDb05NHiMho843INE+0ToTv+S+2GTGr3YQHgjBSqzE0g==}+ /@next/[email protected]:+ resolution: {integrity: sha512-vFC1meiw/awh2xJZMWaoECsfZbgkt2fF3HIg8f2fSM/w41Z86L1SS7SjKmpbbD87yq3tiqgqHmFv0JCych4g4g==}dependencies:glob: 7.1.7dev: false@@ -4141,7 +4201,7 @@ packages:yoga-wasm-web: 0.3.0dev: false- /@vercel/[email protected](@next/[email protected])([email protected])([email protected])([email protected]):+ /@vercel/[email protected](@next/[email protected])([email protected])([email protected])([email protected]):resolution: {integrity: sha512-FroL+oOePzhw7n/I+f7zr4WNroGHT/+2TlW6WH9+CVSjMNsEyu7Qstj2mI5gWIBjT1Y2ZImKPppCzI2cIYmNZw==}engines: {node: '>=16'}peerDependencies:@@ -4161,14 +4221,14 @@ packages:dependencies:'@babel/core': 7.22.10'@babel/eslint-parser': 7.22.10(@babel/[email protected])([email protected])- '@next/eslint-plugin-next': 13.4.4-canary.8+ '@next/eslint-plugin-next': 13.4.20-canary.0'@rushstack/eslint-patch': 1.3.2'@typescript-eslint/eslint-plugin': 5.59.1(@typescript-eslint/[email protected])([email protected])([email protected])'@typescript-eslint/parser': 5.62.0([email protected])([email protected])eslint: 8.45.0eslint-config-prettier: 8.10.0([email protected])eslint-import-resolver-alias: 1.1.2([email protected])- eslint-import-resolver-typescript: 3.5.5(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])+ eslint-import-resolver-typescript: 3.5.5(@typescript-eslint/[email protected])([email protected])([email protected])eslint-plugin-eslint-comments: 3.2.0([email protected])eslint-plugin-import: 2.27.5(@typescript-eslint/[email protected])([email protected])([email protected])eslint-plugin-jest: 27.2.3(@typescript-eslint/[email protected])([email protected])([email protected])@@ -5765,6 +5825,30 @@ packages:- eslint-import-resolver-webpack- supports-color+ resolution: {integrity: sha512-TdJqPHs2lW5J9Zpe17DZNQuDnox4xo2o+0tE7Pggain9Rbc19ik8kFtXdxZ250FVx2kF4vlt2RSf4qlUpG7bhw==}+ engines: {node: ^14.18.0 || >=16.0.0}+ peerDependencies:+ eslint: '*'+ eslint-plugin-import: '*'+ dependencies:+ debug: 4.3.4+ enhanced-resolve: 5.15.0+ eslint: 8.45.0+ eslint-module-utils: 2.8.0(@typescript-eslint/[email protected])([email protected])([email protected])+ eslint-plugin-import: 2.27.5(@typescript-eslint/[email protected])([email protected])([email protected])+ get-tsconfig: 4.6.2+ globby: 13.2.2+ is-core-module: 2.12.1+ is-glob: 4.0.3+ synckit: 0.8.5+ transitivePeerDependencies:+ - '@typescript-eslint/parser'+ - eslint-import-resolver-node+ - eslint-import-resolver-webpack+ - supports-color+ dev: false+/[email protected](@typescript-eslint/[email protected])([email protected])([email protected])([email protected]):resolution: {integrity: sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==}engines: {node: '>=4'}@@ -5794,6 +5878,35 @@ packages:transitivePeerDependencies:- supports-color+ resolution: {integrity: sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==}+ engines: {node: '>=4'}+ peerDependencies:+ '@typescript-eslint/parser': '*'+ eslint: '*'+ eslint-import-resolver-node: '*'+ eslint-import-resolver-typescript: '*'+ eslint-import-resolver-webpack: '*'+ peerDependenciesMeta:+ '@typescript-eslint/parser':+ optional: true+ eslint:+ optional: true+ eslint-import-resolver-node:+ optional: true+ eslint-import-resolver-typescript:+ optional: true+ eslint-import-resolver-webpack:+ optional: true+ dependencies:+ '@typescript-eslint/parser': 5.62.0([email protected])([email protected])+ debug: 3.2.7+ eslint: 8.45.0+ eslint-import-resolver-typescript: 3.5.5(@typescript-eslint/[email protected])([email protected])([email protected])+ transitivePeerDependencies:+ - supports-color+ dev: false+resolution: {integrity: sha512-0jkOl0hfojIHHmEHgmNdqv4fmh7300NdpA9FFpF7zaoLvB/QeXOGNLIo86oAveJFrfB1p05kC8hpEMHM8DwWVQ==}engines: {node: '>=6.5.0'}@@ -6070,6 +6183,51 @@ packages:transitivePeerDependencies:- supports-color+ resolution: {integrity: sha512-sb6DLeIuRXxeM1YljSe1KEx9/YYeZFQWcV8Rq9HfigmdDEugjLEVEa1ozDjL6YDjBpQHPJxJzze+alxi4T3OLg==}+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}+ hasBin: true+ dependencies:+ '@eslint-community/eslint-utils': 4.4.0([email protected])+ '@eslint-community/regexpp': 4.6.2+ '@eslint/eslintrc': 2.1.2+ '@eslint/js': 8.48.0+ '@humanwhocodes/config-array': 0.11.10+ '@humanwhocodes/module-importer': 1.0.1+ '@nodelib/fs.walk': 1.2.8+ ajv: 6.12.6+ chalk: 4.1.2+ cross-spawn: 7.0.3+ debug: 4.3.4+ doctrine: 3.0.0+ escape-string-regexp: 4.0.0+ eslint-scope: 7.2.2+ eslint-visitor-keys: 3.4.3+ espree: 9.6.1+ esquery: 1.5.0+ esutils: 2.0.3+ fast-deep-equal: 3.1.3+ file-entry-cache: 6.0.1+ find-up: 5.0.0+ glob-parent: 6.0.2+ globals: 13.20.0+ graphemer: 1.4.0+ ignore: 5.2.4+ imurmurhash: 0.1.4+ is-glob: 4.0.3+ is-path-inside: 3.0.3+ js-yaml: 4.1.0+ json-stable-stringify-without-jsonify: 1.0.1+ levn: 0.4.1+ lodash.merge: 4.6.2+ minimatch: 3.1.2+ natural-compare: 1.4.0+ optionator: 0.9.3+ strip-ansi: 6.0.1+ text-table: 0.2.0+ transitivePeerDependencies:+ - supports-color+resolution: {integrity: sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==}engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}@@ -7498,6 +7656,9 @@ packages:'@types/mdast': 3.0.12dev: false+ resolution: {integrity: sha512-dbAWH6A+2NGuVJlQFrTKHJc07Vqn5frnhyTOGz+7BsK7V2hHdoBcwoiyV3QVhLHYpM/zqe2OSUn5ZWbVXLBB8A==}+resolution: {integrity: sha512-rkpe71W0N0c0Xz6QD0eJETuWAJGnJ9afsl1srmwPrI+yBCkge5EycXXbYRyvL29zZVUWQCY7InPRCv3GDXuZNw==}dev: false@@ -8587,6 +8748,10 @@ packages:resolution: {integrity: sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==}dev: false+ resolution: {integrity: sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==}+ engines: {node: '>=0.4.0'}+resolution: {integrity: sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==}dependencies:@@ -10445,6 +10610,16 @@ packages:resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==}dev: false-settings:- autoInstallPeers: true- excludeLinksFromLockfile: false+ '@spaces-cli.vercel.sh/download/0.9.0?auth=41deae36c701':+ resolution: {tarball: https://spaces-cli.vercel.sh/download/0.9.0?auth=41deae36c701}+ name: '@vercel/spaces'+ version: 0.9.0+ engines: {node: '>=16.18'}+ hasBin: true+ dependencies:+ enhanced-resolve: 5.15.0+ eslint: 8.48.0+ mdn-data: 2.1.0+ progress: 2.0.3+ transitivePeerDependencies:+ - supports-colordiff --git a/tooling/config-eslint/package.json b/tooling/config-eslint/package.jsonindex 978a593c..538f4ad1 100644--- a/tooling/config-eslint/package.json+++ b/tooling/config-eslint/package.json@@ -7,7 +7,8 @@"next.js"],"scripts": {- "format": "prettier \"**/*.{ts,tsx,md,mdx,json}\" --check"+ "format": "prettier \"**/*.{ts,tsx,md,mdx,json}\" --check",+ "conformance": "spaces conformance"},"dependencies": {"@next/eslint-plugin-next": "canary",@@ -18,5 +19,8 @@"eslint": "^8.40.0","eslint-config-turbo": "^1.10.12","typescript": "^5.1.3"+ },+ "devDependencies": {+ "@vercel/spaces": "https://spaces-cli.vercel.sh/download/0.9.0?auth=41deae36c701"}}diff --git a/tooling/config-tailwind/package.json b/tooling/config-tailwind/package.jsonindex d6f49cf7..dc25bc9b 100644--- a/tooling/config-tailwind/package.json+++ b/tooling/config-tailwind/package.json@@ -4,10 +4,12 @@"private": true,"main": "index.js","scripts": {- "format": "prettier \"**/*.js\" --check"+ "format": "prettier \"**/*.js\" --check",+ "conformance": "spaces conformance"},"devDependencies": {"@tailwindcss/typography": "^0.5.9",- "tailwindcss": "^3.2.4"+ "tailwindcss": "^3.2.4",+ "@vercel/spaces": "https://spaces-cli.vercel.sh/download/0.9.0?auth=41deae36c701"}}diff --git a/tooling/config-typescript/package.json b/tooling/config-typescript/package.jsonindex 9ae505a3..ab3e85b0 100644--- a/tooling/config-typescript/package.json+++ b/tooling/config-typescript/package.json@@ -7,5 +7,11 @@"base.json","nextjs.json","react-library.json"- ]+ ],+ "devDependencies": {+ "@vercel/spaces": "https://spaces-cli.vercel.sh/download/0.9.0?auth=41deae36c701"+ },+ "scripts": {+ "conformance": "spaces conformance"+ }}diff --git a/tooling/scripts/package.json b/tooling/scripts/package.jsonindex a93afad6..c11a8a95 100644--- a/tooling/scripts/package.json+++ b/tooling/scripts/package.json@@ -7,7 +7,8 @@"dl-monaco": "tsx dl-monaco.ts","dl-monaco:force": "tsx dl-monaco.ts --force","lint": "eslint .",- "typecheck": "tsc --noEmit"+ "typecheck": "tsc --noEmit",+ "conformance": "spaces conformance"},"devDependencies": {"@repo/lint": "workspace:*",@@ -20,6 +21,7 @@"node-fetch": "^3.3.2","octokit": "^3.0.0","tsx": "^3.12.7",- "typescript": "^5.1.6"+ "typescript": "^5.1.6",+ "@vercel/spaces": "https://spaces-cli.vercel.sh/download/0.9.0?auth=41deae36c701"}}diff --git a/turbo.json b/turbo.jsonindex 83409824..6312aeaf 100644--- a/turbo.json+++ b/turbo.json@@ -1,8 +1,15 @@-{+{"experimentalSpaces":{"id":"space_jbAxBIO7uk9BRo7nAYLdKycp"},"pipeline": {"build": {- "dependsOn": ["^build", "@repo/db#db:generate"],- "outputs": ["dist/**", ".next/**", "!.next/cache/**"],+ "dependsOn": [+ "^build",+ "@repo/db#db:generate"+ ],+ "outputs": [+ "dist/**",+ ".next/**",+ "!.next/cache/**"+ ],"env": ["VERCEL_URL","VERCEL_ENV",@@ -24,57 +31,106 @@]},"topo": {- "dependsOn": ["^topo"]+ "dependsOn": [+ "^topo"+ ]},"//#format": {- "outputs": ["node_modules/.cache/prettiercache"],+ "outputs": [+ "node_modules/.cache/prettiercache"+ ],"outputMode": "errors-only"},"format": {- "dependsOn": ["@repo/db#db:generate", "^topo"],- "outputs": ["node_modules/.cache/prettiercache"],+ "dependsOn": [+ "@repo/db#db:generate",+ "^topo"+ ],+ "outputs": [+ "node_modules/.cache/prettiercache"+ ],"outputMode": "errors-only"},"//#format:fix": {- "outputs": ["node_modules/.cache/prettiercache"],+ "outputs": [+ "node_modules/.cache/prettiercache"+ ],"outputMode": "errors-only"},"format:fix": {- "dependsOn": ["@repo/db#db:generate", "^topo"],- "outputs": ["node_modules/.cache/prettiercache"],+ "dependsOn": [+ "@repo/db#db:generate",+ "^topo"+ ],+ "outputs": [+ "node_modules/.cache/prettiercache"+ ],"outputMode": "errors-only"},"//#lint": {- "outputs": ["node_modules/.cache/.eslintcache"],+ "outputs": [+ "node_modules/.cache/.eslintcache"+ ],"outputMode": "errors-only"},"lint": {- "dependsOn": ["@repo/db#db:generate", "^topo"],- "outputs": ["node_modules/.cache/.eslintcache"],+ "dependsOn": [+ "@repo/db#db:generate",+ "^topo"+ ],+ "outputs": [+ "node_modules/.cache/.eslintcache"+ ],"outputMode": "errors-only"},"//#lint:fix": {- "dependsOn": ["@repo/db#db:generate", "^topo"],- "outputs": ["node_modules/.cache/.eslintcache"],+ "dependsOn": [+ "@repo/db#db:generate",+ "^topo"+ ],+ "outputs": [+ "node_modules/.cache/.eslintcache"+ ],"outputMode": "errors-only"},"lint:fix": {- "dependsOn": ["@repo/db#db:generate", "^topo"],- "outputs": ["node_modules/.cache/.eslintcache"],+ "dependsOn": [+ "@repo/db#db:generate",+ "^topo"+ ],+ "outputs": [+ "node_modules/.cache/.eslintcache"+ ],"outputMode": "errors-only"},"typecheck": {- "dependsOn": ["@repo/db#db:generate", "^topo"],- "outputs": ["node_modules/.cache/tsbuildinfo.json"],+ "dependsOn": [+ "@repo/db#db:generate",+ "^topo"+ ],+ "outputs": [+ "node_modules/.cache/tsbuildinfo.json"+ ],"outputMode": "errors-only"},"clean": {"cache": false},"dev": {- "dependsOn": ["@repo/db#db:generate"],+ "dependsOn": [+ "@repo/db#db:generate"+ ],"persistent": true,"cache": false- }+ },+ "conformance": {+ "dependsOn": [+ "^build"+ ]+ },+ // Allows running `conformance` for both the root and all workspaces, while also passing through any arguments.+ "root-conformance": {},+ // Allows running `conformance` on just the root.+ "//#root-conformance": {}}}