-
-
Notifications
You must be signed in to change notification settings - Fork 167
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: release build not completing (#1712)
also refactor to use pJson imports, cleanup tsconfig
- Loading branch information
Showing
9 changed files
with
55 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ test("load community posts", async ({ page }) => { | |
|
||
await expect(page).toHaveTitle("Voyager for Lemmy"); | ||
|
||
await expect(page.getByText(posts[0].post.name)).toBeVisible(); | ||
await expect(page.getByText(posts[0]!.post.name)).toBeVisible(); | ||
}); | ||
|
||
test("navigate to post on click", async ({ page }) => { | ||
|
@@ -22,7 +22,7 @@ test("navigate to post on click", async ({ page }) => { | |
|
||
await page.goto("/"); | ||
|
||
await page.getByText(posts[0].post.name).click(); | ||
await page.getByText(posts[0]!.post.name).click(); | ||
|
||
await expect(page).toHaveURL( | ||
"/posts/lemmy.world/c/[email protected]/comments/999", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,9 @@ | |
"upgrade:react": "pnpm i --save react@experimental react-dom@experimental babel-plugin-react-compiler@experimental eslint-plugin-react-compiler@experimental eslint-plugin-react-hooks@experimental", | ||
"release": "./scripts/release.sh" | ||
}, | ||
"imports": { | ||
"#/*": "./src/*" | ||
}, | ||
"pnpm": { | ||
"overrides": { | ||
"@ionic/core": "npm:[email protected]" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,28 @@ | ||
{ | ||
"compilerOptions": { | ||
"target": "ESNext", | ||
"useDefineForClassFields": true, | ||
"lib": ["DOM", "DOM.Iterable", "ESNext"], | ||
"allowJs": false, | ||
"skipLibCheck": true, | ||
"esModuleInterop": false, | ||
"allowSyntheticDefaultImports": true, | ||
"target": "esnext", | ||
|
||
"module": "esnext", | ||
"moduleResolution": "bundler", | ||
|
||
"strict": true, | ||
"forceConsistentCasingInFileNames": true, | ||
"module": "ESNext", | ||
"moduleResolution": "Node", | ||
"resolveJsonModule": true, | ||
"isolatedModules": true, | ||
"noEmit": true, | ||
"jsx": "react-jsx", | ||
"types": ["vite-plugin-svgr/client"], | ||
"skipLibCheck": true, | ||
"isolatedModules": true, | ||
"allowJs": false, | ||
|
||
"forceConsistentCasingInFileNames": true, | ||
"useDefineForClassFields": true, | ||
"noUncheckedIndexedAccess": true, | ||
|
||
"jsx": "react-jsx", | ||
|
||
"paths": { | ||
// duplicate of package.json[imports] | ||
// typescript doesn't support this same syntax in package.json with | ||
// module resolution set to bundler, despite it working fine in esbuild/vite... | ||
// https://github.com/microsoft/TypeScript/issues/55337 (╯°□°)╯︵ ┻━┻ | ||
"#/*": ["./src/*"] | ||
} | ||
}, | ||
"include": ["src"] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters