Skip to content

Commit

Permalink
chore: rename
Browse files Browse the repository at this point in the history
  • Loading branch information
pure-js committed Dec 20, 2024
1 parent 68ddeb2 commit fe237ed
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 13 deletions.
6 changes: 3 additions & 3 deletions apps/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "client",
"version": "2.12.1",
"main": "apps/client/app/index.tsx",
"homepage": "https://pure-js.github.io/local-microblogging-client/",
"homepage": "https://pure-js.github.io/self-hosted-microblogging/",
"type": "module",
"scripts": {
"preinstall": "npx only-allow pnpm",
Expand All @@ -21,12 +21,12 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/pure-js/local-microblogging-client.git"
"url": "git+https://github.com/pure-js/self-hosted-microblogging.git"
},
"author": "pure-js",
"license": "MIT",
"bugs": {
"url": "https://github.com/pure-js/local-microblogging-client/issues"
"url": "https://github.com/pure-js/self-hosted-microblogging/issues"
},
"devDependencies": {
"@nx/eslint": "20.1.4",
Expand Down
4 changes: 1 addition & 3 deletions apps/client/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ const ReactCompilerConfig = {

export default defineConfig({
base:
process.env.NODE_ENV === 'production'
? '/local-microblogging-client/'
: '/',
process.env.NODE_ENV === 'production' ? '/self-hosted-microblogging/' : '/',
build: {
emptyOutDir: true,
cssMinify: 'lightningcss',
Expand Down
8 changes: 4 additions & 4 deletions lighthouserc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ ci:
numberOfRuns: 5
startServerCommand: pnpm run preview
url:
- 'http://localhost:4173/local-microblogging-client/'
- 'http://localhost:4173/local-microblogging-client/posts/1'
- 'http://localhost:4173/local-microblogging-client/posts/1/edit'
- 'http://localhost:4173/local-microblogging-client/posts/new'
- 'http://localhost:4173/self-hosted-microblogging/'
- 'http://localhost:4173/self-hosted-microblogging/posts/1'
- 'http://localhost:4173/self-hosted-microblogging/posts/1/edit'
- 'http://localhost:4173/self-hosted-microblogging/posts/new'
# staticDistDir: './dist'
isSinglePageApplication: true
assert:
Expand Down
4 changes: 2 additions & 2 deletions playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const config: PlaywrightTestConfig = {
/* Maximum time each action such as `click()` can take. Defaults to 0 (no limit). */
actionTimeout: 0,
/* Base URL to use in actions like `await page.goto('/')`. */
baseURL: 'http:/localhost:4173/local-microblogging-client/',
baseURL: 'http:/localhost:4173/self-hosted-microblogging/',
/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
trace: 'on-first-retry',
},
Expand Down Expand Up @@ -103,7 +103,7 @@ const config: PlaywrightTestConfig = {
webServer: {
cwd: './apps/client',
command: 'pnpm run build && pnpm run preview',
url: 'http://localhost:4173/local-microblogging-client/',
url: 'http://localhost:4173/self-hosted-microblogging/',
reuseExistingServer: !process.env.CI,
},
};
Expand Down
2 changes: 1 addition & 1 deletion tests/render.e2e.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { test, expect } from '@playwright/test';

const BASE_PATH = '/local-microblogging-client';
const BASE_PATH = '/self-hosted-microblogging';

test('homepage has Micrblogging in title and get started link linking to the new post page', async ({
page,
Expand Down

0 comments on commit fe237ed

Please sign in to comment.