Skip to content

Commit

Permalink
4126aae chore: qwik.builder.io -> qwik.dev
Browse files Browse the repository at this point in the history
  • Loading branch information
wmertens committed Mar 20, 2024
1 parent fe669fc commit 60d1c96
Show file tree
Hide file tree
Showing 20 changed files with 394 additions and 392 deletions.
2 changes: 1 addition & 1 deletion adapters/bun-server/vite/index.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function bunServerAdapter(opts = {}) {
const env = process == null ? void 0 : process.env;
return (0, import_vite.viteAdapter)({
name: opts.name || "bun-server",
origin: (env == null ? void 0 : env.ORIGIN) ?? (env == null ? void 0 : env.URL) ?? "https://yoursitename.qwik.builder.io",
origin: (env == null ? void 0 : env.ORIGIN) ?? (env == null ? void 0 : env.URL) ?? "https://yoursitename.qwik.dev",
ssg: opts.ssg,
cleanStaticGenerated: true,
config() {
Expand Down
2 changes: 1 addition & 1 deletion adapters/bun-server/vite/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ function bunServerAdapter(opts = {}) {
const env = process == null ? void 0 : process.env;
return viteAdapter({
name: opts.name || "bun-server",
origin: (env == null ? void 0 : env.ORIGIN) ?? (env == null ? void 0 : env.URL) ?? "https://yoursitename.qwik.builder.io",
origin: (env == null ? void 0 : env.ORIGIN) ?? (env == null ? void 0 : env.URL) ?? "https://yoursitename.qwik.dev",
ssg: opts.ssg,
cleanStaticGenerated: true,
config() {
Expand Down
2 changes: 1 addition & 1 deletion adapters/deno-server/vite/index.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function denoServerAdapter(opts = {}) {
const env = process == null ? void 0 : process.env;
return (0, import_vite.viteAdapter)({
name: opts.name || "deno-server",
origin: (env == null ? void 0 : env.ORIGIN) ?? (env == null ? void 0 : env.URL) ?? "https://yoursitename.qwik.builder.io",
origin: (env == null ? void 0 : env.ORIGIN) ?? (env == null ? void 0 : env.URL) ?? "https://yoursitename.qwik.dev",
ssg: opts.ssg,
cleanStaticGenerated: true,
config() {
Expand Down
2 changes: 1 addition & 1 deletion adapters/deno-server/vite/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ function denoServerAdapter(opts = {}) {
const env = process == null ? void 0 : process.env;
return viteAdapter({
name: opts.name || "deno-server",
origin: (env == null ? void 0 : env.ORIGIN) ?? (env == null ? void 0 : env.URL) ?? "https://yoursitename.qwik.builder.io",
origin: (env == null ? void 0 : env.ORIGIN) ?? (env == null ? void 0 : env.URL) ?? "https://yoursitename.qwik.dev",
ssg: opts.ssg,
cleanStaticGenerated: true,
config() {
Expand Down
2 changes: 1 addition & 1 deletion adapters/node-server/vite/index.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function nodeServerAdapter(opts = {}) {
const env = process == null ? void 0 : process.env;
return (0, import_vite.viteAdapter)({
name: opts.name || "node-server",
origin: (env == null ? void 0 : env.ORIGIN) ?? (env == null ? void 0 : env.URL) ?? "https://yoursitename.qwik.builder.io",
origin: (env == null ? void 0 : env.ORIGIN) ?? (env == null ? void 0 : env.URL) ?? "https://yoursitename.qwik.dev",
ssg: opts.ssg,
cleanStaticGenerated: true,
config() {
Expand Down
2 changes: 1 addition & 1 deletion adapters/node-server/vite/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ function nodeServerAdapter(opts = {}) {
const env = process == null ? void 0 : process.env;
return viteAdapter({
name: opts.name || "node-server",
origin: (env == null ? void 0 : env.ORIGIN) ?? (env == null ? void 0 : env.URL) ?? "https://yoursitename.qwik.builder.io",
origin: (env == null ? void 0 : env.ORIGIN) ?? (env == null ? void 0 : env.URL) ?? "https://yoursitename.qwik.dev",
ssg: opts.ssg,
cleanStaticGenerated: true,
config() {
Expand Down
6 changes: 3 additions & 3 deletions adapters/shared/vite/index.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ function viteAdapter(opts) {
if (renderModulePath && qwikCityPlanModulePath && clientOutDir && clientPublicOutDir) {
let ssgOrigin = ((_a = opts.ssg) == null ? void 0 : _a.origin) ?? opts.origin;
if (!ssgOrigin) {
ssgOrigin = `https://yoursite.qwik.builder.io`;
ssgOrigin = `https://yoursite.qwik.dev`;
}
if (ssgOrigin.length > 0 && !ssgOrigin.startsWith("https://") && !ssgOrigin.startsWith("http://")) {
ssgOrigin = `https://${ssgOrigin}`;
Expand All @@ -277,9 +277,9 @@ function viteAdapter(opts) {
ssgOrigin = new URL(ssgOrigin).origin;
} catch (e) {
this.warn(
`Invalid "origin" option: "${ssgOrigin}". Using default origin: "https://yoursite.qwik.builder.io"`
`Invalid "origin" option: "${ssgOrigin}". Using default origin: "https://yoursite.qwik.dev"`
);
ssgOrigin = `https://yoursite.qwik.builder.io`;
ssgOrigin = `https://yoursite.qwik.dev`;
}
const staticGenerate = await import("../../../static/index.cjs");
const generateOpts = {
Expand Down
4 changes: 2 additions & 2 deletions adapters/shared/vite/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ export declare interface AdapterSSGOptions extends Omit<StaticGenerateRenderOpti
exclude?: string[];
/**
* The URL `origin`, which is a combination of the scheme (protocol) and hostname (domain). For
* example, `https://qwik.builder.io` has the protocol `https://` and domain `qwik.builder.io`.
* However, the `origin` does not include a `pathname`.
* example, `https://qwik.dev` has the protocol `https://` and domain `qwik.dev`. However, the
* `origin` does not include a `pathname`.
*
* The `origin` is used to provide a full URL during Static Site Generation (SSG), and to simulate
* a complete URL rather than just the `pathname`. For example, in order to render a correct
Expand Down
6 changes: 3 additions & 3 deletions adapters/shared/vite/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ function viteAdapter(opts) {
if (renderModulePath && qwikCityPlanModulePath && clientOutDir && clientPublicOutDir) {
let ssgOrigin = ((_a = opts.ssg) == null ? void 0 : _a.origin) ?? opts.origin;
if (!ssgOrigin) {
ssgOrigin = `https://yoursite.qwik.builder.io`;
ssgOrigin = `https://yoursite.qwik.dev`;
}
if (ssgOrigin.length > 0 && !ssgOrigin.startsWith("https://") && !ssgOrigin.startsWith("http://")) {
ssgOrigin = `https://${ssgOrigin}`;
Expand All @@ -238,9 +238,9 @@ function viteAdapter(opts) {
ssgOrigin = new URL(ssgOrigin).origin;
} catch (e) {
this.warn(
`Invalid "origin" option: "${ssgOrigin}". Using default origin: "https://yoursite.qwik.builder.io"`
`Invalid "origin" option: "${ssgOrigin}". Using default origin: "https://yoursite.qwik.dev"`
);
ssgOrigin = `https://yoursite.qwik.builder.io`;
ssgOrigin = `https://yoursite.qwik.dev`;
}
const staticGenerate = await import("../../../static/index.mjs");
const generateOpts = {
Expand Down
6 changes: 3 additions & 3 deletions adapters/static/vite/index.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ function viteAdapter(opts) {
if (renderModulePath && qwikCityPlanModulePath && clientOutDir && clientPublicOutDir) {
let ssgOrigin = ((_a = opts.ssg) == null ? void 0 : _a.origin) ?? opts.origin;
if (!ssgOrigin) {
ssgOrigin = `https://yoursite.qwik.builder.io`;
ssgOrigin = `https://yoursite.qwik.dev`;
}
if (ssgOrigin.length > 0 && !ssgOrigin.startsWith("https://") && !ssgOrigin.startsWith("http://")) {
ssgOrigin = `https://${ssgOrigin}`;
Expand All @@ -274,9 +274,9 @@ function viteAdapter(opts) {
ssgOrigin = new URL(ssgOrigin).origin;
} catch (e) {
this.warn(
`Invalid "origin" option: "${ssgOrigin}". Using default origin: "https://yoursite.qwik.builder.io"`
`Invalid "origin" option: "${ssgOrigin}". Using default origin: "https://yoursite.qwik.dev"`
);
ssgOrigin = `https://yoursite.qwik.builder.io`;
ssgOrigin = `https://yoursite.qwik.dev`;
}
const staticGenerate = await import("../../../static/index.cjs");
const generateOpts = {
Expand Down
6 changes: 3 additions & 3 deletions adapters/static/vite/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ function viteAdapter(opts) {
if (renderModulePath && qwikCityPlanModulePath && clientOutDir && clientPublicOutDir) {
let ssgOrigin = ((_a = opts.ssg) == null ? void 0 : _a.origin) ?? opts.origin;
if (!ssgOrigin) {
ssgOrigin = `https://yoursite.qwik.builder.io`;
ssgOrigin = `https://yoursite.qwik.dev`;
}
if (ssgOrigin.length > 0 && !ssgOrigin.startsWith("https://") && !ssgOrigin.startsWith("http://")) {
ssgOrigin = `https://${ssgOrigin}`;
Expand All @@ -238,9 +238,9 @@ function viteAdapter(opts) {
ssgOrigin = new URL(ssgOrigin).origin;
} catch (e) {
this.warn(
`Invalid "origin" option: "${ssgOrigin}". Using default origin: "https://yoursite.qwik.builder.io"`
`Invalid "origin" option: "${ssgOrigin}". Using default origin: "https://yoursite.qwik.dev"`
);
ssgOrigin = `https://yoursite.qwik.builder.io`;
ssgOrigin = `https://yoursite.qwik.dev`;
}
const staticGenerate = await import("../../../static/index.mjs");
const generateOpts = {
Expand Down
4 changes: 2 additions & 2 deletions index.qwik.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -1212,10 +1212,10 @@ const routeLoaderQrl = (loaderQrl, ...rest) => {
if (!(id in state))
throw new Error(`routeLoader$ "${loaderQrl.getSymbol()}" was invoked in a route where it was not declared.
This is because the routeLoader$ was not exported in a 'layout.tsx' or 'index.tsx' file of the existing route.
For more information check: https://qwik.builder.io/qwikcity/route-loader/
For more information check: https://qwik.dev/qwikcity/route-loader/
If your are managing reusable logic or a library it is essential that this function is re-exported from within 'layout.tsx' or 'index.tsx file of the existing route otherwise it will not run or throw exception.
For more information check: https://qwik.builder.io/docs/cookbook/re-exporting-loaders/`);
For more information check: https://qwik.dev/docs/cookbook/re-exporting-loaders/`);
return qwik._wrapSignal(state, id);
});
}
Expand Down
4 changes: 2 additions & 2 deletions index.qwik.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -1194,10 +1194,10 @@ const routeLoaderQrl = (loaderQrl, ...rest) => {
if (!(id in state))
throw new Error(`routeLoader$ "${loaderQrl.getSymbol()}" was invoked in a route where it was not declared.
This is because the routeLoader$ was not exported in a 'layout.tsx' or 'index.tsx' file of the existing route.
For more information check: https://qwik.builder.io/qwikcity/route-loader/
For more information check: https://qwik.dev/qwikcity/route-loader/
If your are managing reusable logic or a library it is essential that this function is re-exported from within 'layout.tsx' or 'index.tsx file of the existing route otherwise it will not run or throw exception.
For more information check: https://qwik.builder.io/docs/cookbook/re-exporting-loaders/`);
For more information check: https://qwik.dev/docs/cookbook/re-exporting-loaders/`);
return _wrapSignal(state, id);
});
}
Expand Down
2 changes: 1 addition & 1 deletion middleware/request-handler/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ export declare interface RequestEventBase<PLATFORM = QwikCityPlatform> {
* provide the most common values for auto-complete, but you can use any string you want).
*
* See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control and
* https://qwik.builder.io/docs/caching/#CDN-Cache-Controls for more information.
* https://qwik.dev/docs/caching/#CDN-Cache-Controls for more information.
*/
readonly cacheControl: (cacheControl: CacheControl, target?: CacheControlTarget) => void;
/**
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@builder.io/qwik-city",
"description": "The meta-framework for Qwik.",
"version": "1.5.1-dev20240317091012",
"version": "1.5.1-dev20240320105639",
"bugs": "https://github.com/BuilderIO/qwik/issues",
"dependencies": {
"@mdx-js/mdx": "^3.0.1",
Expand All @@ -10,7 +10,7 @@
"svgo": "^3.2.0",
"undici": "*",
"vfile": "^6.0.1",
"vite": "^5.1.4",
"vite": "^5.1.6",
"vite-imagetools": "^6.2.9",
"zod": "^3.22.4"
},
Expand Down Expand Up @@ -131,7 +131,7 @@
"require": "./service-worker.cjs"
}
},
"homepage": "https://qwik.builder.io/",
"homepage": "https://qwik.dev/",
"license": "MIT",
"main": "./index.qwik.mjs",
"publishConfig": {
Expand Down
4 changes: 2 additions & 2 deletions static/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ export declare interface StaticGenerateRenderOptions extends RenderOptions {
outDir: string;
/**
* The URL `origin`, which is a combination of the scheme (protocol) and hostname (domain). For
* example, `https://qwik.builder.io` has the protocol `https://` and domain `qwik.builder.io`.
* However, the `origin` does not include a `pathname`.
* example, `https://qwik.dev` has the protocol `https://` and domain `qwik.dev`. However, the
* `origin` does not include a `pathname`.
*
* The `origin` is used to provide a full URL during Static Site Generation (SSG), and to simulate
* a complete URL rather than just the `pathname`. For example, in order to render a correct
Expand Down
2 changes: 1 addition & 1 deletion static/node.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -1034,7 +1034,7 @@ ${bold(red("Error during SSG"))}`);
};
const addToQueue = (pathname, params) => {
if (pathname) {
pathname = new URL(pathname, `https://qwik.builder.io`).pathname;
pathname = new URL(pathname, `https://qwik.dev`).pathname;
if (pathname !== opts.basePathname) {
if (trailingSlash) {
if (!pathname.endsWith("/")) {
Expand Down
2 changes: 1 addition & 1 deletion static/node.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -1002,7 +1002,7 @@ ${bold(red("Error during SSG"))}`);
};
const addToQueue = (pathname, params) => {
if (pathname) {
pathname = new URL(pathname, `https://qwik.builder.io`).pathname;
pathname = new URL(pathname, `https://qwik.dev`).pathname;
if (pathname !== opts.basePathname) {
if (trailingSlash) {
if (!pathname.endsWith("/")) {
Expand Down
Loading

0 comments on commit 60d1c96

Please sign in to comment.