Skip to content

Commit

Permalink
chore(dev): make slowdown message not scary (#7239)
Browse files Browse the repository at this point in the history
+ pnpm fmt
  • Loading branch information
wmertens authored Jan 10, 2025
1 parent 3e09a1a commit 8406d8d
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -242,10 +242,10 @@
"start": "concurrently \"npm:build.watch\" \"npm:tsc.watch\" -n build,tsc -c green,cyan",
"test": "pnpm build.full && pnpm test.unit && pnpm test.e2e",
"test.e2e": "pnpm test.e2e.chromium && pnpm test.e2e.webkit",
"test.e2e.cli": "pnpm --filter qwik-cli-e2e e2e",
"test.e2e.chromium": "playwright test starters --browser=chromium --config starters/playwright.config.ts",
"test.e2e.chromium.debug": "PWDEBUG=1 playwright test starters --browser=chromium --config starters/playwright.config.ts",
"test.e2e.city": "playwright test starters/e2e/qwikcity --browser=chromium --config starters/playwright.config.ts",
"test.e2e.cli": "pnpm --filter qwik-cli-e2e e2e",
"test.e2e.firefox": "playwright test starters --browser=firefox --config starters/playwright.config.ts",
"test.e2e.webkit": "playwright test starters --browser=webkit --config starters/playwright.config.ts",
"test.rust": "make test",
Expand Down
4 changes: 2 additions & 2 deletions packages/eslint-plugin-qwik/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"author": "Builder Team",
"bugs": "https://github.com/QwikDev/qwik/issues",
"dependencies": {
"jsx-ast-utils": "^3.3.5",
"@typescript-eslint/utils": "^8.12.2"
"@typescript-eslint/utils": "^8.12.2",
"jsx-ast-utils": "^3.3.5"
},
"devDependencies": {
"@builder.io/qwik": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion packages/insights/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@
"build.types": "tsc --incremental --noEmit",
"db.local": "turso dev --db-file ./tmp/local.db",
"db.migrate": "node scripts/db.migrate.cjs",
"db.migrate.up": "./node_modules/.bin/drizzle-kit up",
"db.migrate.generate": "./node_modules/.bin/drizzle-kit generate",
"db.migrate.up": "./node_modules/.bin/drizzle-kit up",
"db.studio": "./node_modules/.bin/drizzle-kit studio --verbose",
"deploy": "netlify deploy --build",
"dev": "vite --mode ssr",
Expand Down
4 changes: 2 additions & 2 deletions packages/qwik-labs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
],
"main": "./lib/index.qwik.mjs",
"peerDependencies": {
"zod": "3.22.4",
"vite": "^5"
"vite": "^5",
"zod": "3.22.4"
},
"private": true,
"qwik": "./lib/index.qwik.mjs",
Expand Down
2 changes: 1 addition & 1 deletion packages/qwik/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
"devDependencies": {
"@builder.io/qwik": "workspace:^",
"@builder.io/qwik-dom": "workspace:^",
"ignore": "5.3.1",
"image-size": "1.1.1",
"kleur": "4.1.5",
"ignore": "5.3.1",
"ts-morph": "23.0.0"
},
"engines": {
Expand Down
5 changes: 3 additions & 2 deletions packages/qwik/src/optimizer/src/plugins/vite-dev-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,9 @@ export async function configureDevServer(
});

setTimeout(() => {
console.log(`\n ❗️ ${magenta('Expect significant performance loss in development.')}`);
console.log(` ❗️ ${magenta("Disabling the browser's cache results in waterfall requests.")}`);
console.log(
`\n 🚧 ${magenta('Please note that development mode is slower than production.')}`
);
}, 1000);
}

Expand Down

0 comments on commit 8406d8d

Please sign in to comment.