From 2640fccc18bded5279e4c1db5d68be92d99238d3 Mon Sep 17 00:00:00 2001 From: Manu MA Date: Sat, 5 Feb 2022 00:19:40 +0000 Subject: [PATCH] Release cli 0.0.13 (#170) --- .github/workflows/bench.yml | 10 ---------- package.json | 2 +- src/cli/package.json | 2 +- src/optimizer/src/rollup/index.ts | 13 ++++--------- starters/apps/e2e/package.json | 2 +- starters/apps/starter-builder/package.json | 2 +- starters/apps/starter-partytown/package.json | 2 +- starters/apps/starter/package.json | 2 +- starters/apps/todo/package.json | 2 +- 9 files changed, 11 insertions(+), 26 deletions(-) diff --git a/.github/workflows/bench.yml b/.github/workflows/bench.yml index ac41a7c287c..757467e5b20 100644 --- a/.github/workflows/bench.yml +++ b/.github/workflows/bench.yml @@ -102,13 +102,3 @@ jobs: git-config-email: github-bot@builder.io repository-name: BuilderIO/qwik-raw-data commit-message: 'Update' - - - name: Store benchmark result - if: ${{ github.ref == 'refs/heads/main' }} - uses: benchmark-action/github-action-benchmark@v1 - with: - name: Qwik Performance Metrics - tool: 'cargo' - output-file-path: output.txt - github-token: ${{ secrets.GITHUB_TOKEN }} - auto-push: true diff --git a/package.json b/package.json index 7404410e334..94d12f02ec0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@builder.io/qwik", - "version": "0.0.16-8", + "version": "0.0.16-9", "description": "An Open-Source sub-framework designed with a focus on server-side-rendering, lazy-loading, and styling/animation.", "scripts": { "build": "node scripts --tsc --build --api --platform-binding --wasm", diff --git a/src/cli/package.json b/src/cli/package.json index 4362debfe10..65c999b7e8a 100644 --- a/src/cli/package.json +++ b/src/cli/package.json @@ -1,6 +1,6 @@ { "name": "create-qwik", - "version": "0.0.11", + "version": "0.0.13", "description": "Interactive CLI and API for generating Qwik projects.", "bin": { "create-qwik": "create-qwik" diff --git a/src/optimizer/src/rollup/index.ts b/src/optimizer/src/rollup/index.ts index 52ac3852b83..9771065c911 100644 --- a/src/optimizer/src/rollup/index.ts +++ b/src/optimizer/src/rollup/index.ts @@ -32,15 +32,14 @@ export function qwikRollup(opts: QwikPluginOptions): any { name: 'qwik', enforce: 'pre', - config(_, { command }) { + config(config, { command }) { if (command === 'serve') { entryStrategy = { type: 'hook' }; + if ((config as any).ssr) { + (config as any).ssr.noExternal = false; + } } return { - /** - * We only need esbuild on .ts or .js files. - * .tsx & .jsx files are handled by us - */ esbuild: { include: /\.js$/ }, build: { polyfillModulePreload: false, @@ -48,12 +47,8 @@ export function qwikRollup(opts: QwikPluginOptions): any { exclude: [/./], }, }, - optimizeDeps: { - include: ['@builder.io/qwik', '@builder.io/qwik/jsx-runtime'], - }, }; }, - configureServer(server) { server.middlewares.use(async (req, res, next) => { const url = req.originalUrl!; diff --git a/starters/apps/e2e/package.json b/starters/apps/e2e/package.json index 3c29a7e5301..261fa3759b7 100644 --- a/starters/apps/e2e/package.json +++ b/starters/apps/e2e/package.json @@ -10,7 +10,7 @@ "dev": "vite" }, "devDependencies": { - "@builder.io/qwik": "0.0.16-8", + "@builder.io/qwik": "0.0.16-9", "typescript": "^4.5.2", "vite": "2.7.13" }, diff --git a/starters/apps/starter-builder/package.json b/starters/apps/starter-builder/package.json index cea95edc45f..cc7d85aa788 100644 --- a/starters/apps/starter-builder/package.json +++ b/starters/apps/starter-builder/package.json @@ -10,7 +10,7 @@ "dev": "vite" }, "devDependencies": { - "@builder.io/qwik": "0.0.16-8", + "@builder.io/qwik": "0.0.16-9", "typescript": "^4.5.2", "vite": "2.7.13" }, diff --git a/starters/apps/starter-partytown/package.json b/starters/apps/starter-partytown/package.json index e624b965076..2475ea14fad 100644 --- a/starters/apps/starter-partytown/package.json +++ b/starters/apps/starter-partytown/package.json @@ -10,7 +10,7 @@ "dev": "vite" }, "devDependencies": { - "@builder.io/qwik": "0.0.16-8", + "@builder.io/qwik": "0.0.16-9", "typescript": "4.5.2", "vite": "2.7.13" }, diff --git a/starters/apps/starter/package.json b/starters/apps/starter/package.json index 3c29a7e5301..261fa3759b7 100644 --- a/starters/apps/starter/package.json +++ b/starters/apps/starter/package.json @@ -10,7 +10,7 @@ "dev": "vite" }, "devDependencies": { - "@builder.io/qwik": "0.0.16-8", + "@builder.io/qwik": "0.0.16-9", "typescript": "^4.5.2", "vite": "2.7.13" }, diff --git a/starters/apps/todo/package.json b/starters/apps/todo/package.json index 0aaaccd7b48..a7f8d38c7d2 100644 --- a/starters/apps/todo/package.json +++ b/starters/apps/todo/package.json @@ -10,7 +10,7 @@ "dev": "vite" }, "devDependencies": { - "@builder.io/qwik": "0.0.16-8", + "@builder.io/qwik": "0.0.16-9", "typescript": "^4.5.2", "vite": "2.7.13" },