@qwik.dev/core 2.0.0-beta.18 → 2.0.0-beta.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/backpatch/package.json +1 -1
- package/dist/build/package.json +1 -1
- package/dist/cli.mjs +2 -2
- package/dist/core-internal.d.ts +10 -3
- package/dist/core.min.mjs +1 -1
- package/dist/core.mjs +107 -91
- package/dist/core.mjs.map +1 -1
- package/dist/core.prod.mjs +64 -61
- package/dist/loader/package.json +1 -1
- package/dist/optimizer.mjs +889 -884
- package/dist/server.mjs +4 -3
- package/dist/starters/adapters/cloudflare-workers/README.md +52 -0
- package/dist/starters/adapters/cloudflare-workers/adapters/cloudflare-workers/vite.config.ts +15 -0
- package/dist/starters/adapters/cloudflare-workers/gitignore +3 -0
- package/dist/starters/adapters/cloudflare-workers/package.json +31 -0
- package/dist/starters/adapters/cloudflare-workers/public/.assetsignore +4 -0
- package/dist/starters/adapters/cloudflare-workers/public/_headers +11 -0
- package/dist/starters/adapters/cloudflare-workers/public/_redirects +1 -0
- package/dist/starters/adapters/cloudflare-workers/src/entry.cloudflare-pages.tsx +23 -0
- package/dist/starters/adapters/cloudflare-workers/worker-configuration.d.ts +5 -0
- package/dist/starters/adapters/cloudflare-workers/wrangler.jsonc +41 -0
- package/dist/starters/adapters/express/package.json +1 -1
- package/dist/starters/features/compiled-i18n/package.json +37 -0
- package/dist/starters/features/compiled-i18n/src/components/locale-selector/locale-selector.tsx +30 -0
- package/dist/starters/features/{localize → compiled-i18n}/src/entry.ssr.tsx +7 -2
- package/dist/starters/features/compiled-i18n/src/routes/plugin@compiled-i18n.ts +28 -0
- package/dist/starters/features/cypress/src/actions/example.action.ts +5 -0
- package/dist/starters/features/cypress/src/components/example/example.cy.tsx +50 -8
- package/dist/starters/features/cypress/src/components/example/example.tsx +13 -3
- package/dist/starters/features/cypress/src/loaders/example.loader.ts +5 -0
- package/dist/testing/index.mjs +71 -44
- package/dist/testing/package.json +1 -1
- package/package.json +2 -2
- package/dist/starters/features/localize/package.json +0 -37
- package/dist/starters/features/localize/src/locales/message.en.json +0 -8
- package/dist/starters/features/localize/src/locales/message.it.json +0 -8
- package/dist/starters/features/localize/src/routes/[locale]/i18n-utils.ts +0 -94
- package/dist/starters/features/localize/src/routes/[locale]/index.tsx +0 -52
- package/dist/starters/features/localize/src/routes/[locale]/layout.tsx +0 -12
package/dist/build/package.json
CHANGED
package/dist/cli.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* @qwik.dev/core/cli 2.0.0-beta.
|
|
3
|
+
* @qwik.dev/core/cli 2.0.0-beta.19-dev+0d046fb
|
|
4
4
|
* Copyright QwikDev. All Rights Reserved.
|
|
5
5
|
* Use of this source code is governed by an MIT-style license that can be
|
|
6
6
|
* found in the LICENSE file at https://github.com/QwikDev/qwik/blob/main/LICENSE
|
|
@@ -5625,7 +5625,7 @@ async function printHelp(app) {
|
|
|
5625
5625
|
await runCommand2(Object.assign(app, { task: args[0], args }));
|
|
5626
5626
|
}
|
|
5627
5627
|
function printVersion() {
|
|
5628
|
-
console.log("2.0.0-beta.
|
|
5628
|
+
console.log("2.0.0-beta.19-dev+0d046fb");
|
|
5629
5629
|
}
|
|
5630
5630
|
export {
|
|
5631
5631
|
runCli,
|
package/dist/core-internal.d.ts
CHANGED
|
@@ -3808,11 +3808,18 @@ export declare interface Tracker {
|
|
|
3808
3808
|
export declare const _UNINITIALIZED: unique symbol;
|
|
3809
3809
|
|
|
3810
3810
|
/**
|
|
3811
|
-
*
|
|
3811
|
+
* Get the value of the expression without tracking listeners. A function will be invoked, signals
|
|
3812
|
+
* will return their value, and stores will be unwrapped (they return the backing object).
|
|
3812
3813
|
*
|
|
3814
|
+
* When you pass a function, you can also pass additional arguments that the function will receive.
|
|
3815
|
+
*
|
|
3816
|
+
* Note that stores are not unwrapped recursively.
|
|
3817
|
+
*
|
|
3818
|
+
* @param expr - The function or object to evaluate without tracking.
|
|
3819
|
+
* @param args - Additional arguments to pass when `expr` is a function.
|
|
3813
3820
|
* @public
|
|
3814
3821
|
*/
|
|
3815
|
-
export declare const untrack: <T>(
|
|
3822
|
+
export declare const untrack: <T, A extends any[]>(expr: ((...args: A) => T) | Signal<T> | T, ...args: A) => T;
|
|
3816
3823
|
|
|
3817
3824
|
declare type UnwantedKeys = keyof HTMLAttributesBase | keyof DOMAttributes<any> | keyof ARIAMixin | keyof GlobalEventHandlers | 'enterKeyHint' | 'innerText' | 'innerHTML' | 'outerHTML' | 'inputMode' | 'outerText' | 'nodeValue' | 'textContent';
|
|
3818
3825
|
|
|
@@ -4439,7 +4446,7 @@ export declare const _VAR_PROPS: unique symbol;
|
|
|
4439
4446
|
export declare const _verifySerializable: <T>(value: T, preMessage?: string) => T;
|
|
4440
4447
|
|
|
4441
4448
|
/**
|
|
4442
|
-
* 2.0.0-beta.
|
|
4449
|
+
* 2.0.0-beta.19-dev+0d046fb
|
|
4443
4450
|
*
|
|
4444
4451
|
* @public
|
|
4445
4452
|
*/
|