@qwik.dev/core 2.0.0-alpha.4 → 2.0.0-alpha.6

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.
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qwik.dev/core/build",
3
- "version": "2.0.0-alpha.4-dev+374e0d6",
3
+ "version": "2.0.0-alpha.6-dev+d848ba5",
4
4
  "main": "index.mjs",
5
5
  "types": "index.d.ts",
6
6
  "private": true,
package/dist/cli.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * @qwik.dev/core/cli 2.0.0-alpha.4-dev+374e0d6
3
+ * @qwik.dev/core/cli 2.0.0-alpha.6-dev+d848ba5
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
@@ -5321,26 +5321,6 @@ async function removeTsMorphFromPackageJson() {
5321
5321
  await writePackageJson(process.cwd(), packageJson);
5322
5322
  }
5323
5323
 
5324
- // packages/qwik/src/cli/migrate-v2/update-configurations.ts
5325
- var import_fs4 = require("fs");
5326
- init_dist2();
5327
- function updateConfigurations() {
5328
- try {
5329
- updateTsconfig();
5330
- } catch (error) {
5331
- f2.error("Failed to update tsconfig.json configuration.");
5332
- }
5333
- }
5334
- function updateTsconfig() {
5335
- const tsConfigPath = "tsconfig.json";
5336
- const tsConfig = JSON.parse((0, import_fs4.readFileSync)(tsConfigPath, "utf-8"));
5337
- if (!tsConfig) {
5338
- return;
5339
- }
5340
- tsConfig.compilerOptions.moduleResolution = "bundler";
5341
- (0, import_fs4.writeFileSync)(tsConfigPath, JSON.stringify(tsConfig, null, 2));
5342
- }
5343
-
5344
5324
  // packages/qwik/src/cli/migrate-v2/run-migration.ts
5345
5325
  async function runV2Migration(app) {
5346
5326
  oe(
@@ -5384,7 +5364,6 @@ ${bold(bgRed('Warning: migration tool is experimental and will migrate your appl
5384
5364
  if (installedTsMorph) {
5385
5365
  await removeTsMorphFromPackageJson();
5386
5366
  }
5387
- updateConfigurations();
5388
5367
  await updateDependencies();
5389
5368
  f2.success(`${green(`Your application has been successfully migrated to v2!`)}`);
5390
5369
  } catch (error) {
@@ -5534,7 +5513,7 @@ async function printHelp(app) {
5534
5513
  await runCommand2(Object.assign(app, { task: args[0], args }));
5535
5514
  }
5536
5515
  function printVersion() {
5537
- console.log("2.0.0-alpha.4-dev+374e0d6");
5516
+ console.log("2.0.0-alpha.6-dev+d848ba5");
5538
5517
  }
5539
5518
  // Annotate the CommonJS export names for ESM import in node:
5540
5519
  0 && (module.exports = {
@@ -2531,7 +2531,7 @@ declare type SpecialAttrs = {
2531
2531
  * For type: HTMLInputTypeAttribute, excluding 'button' | 'reset' | 'submit' | 'checkbox' |
2532
2532
  * 'radio'
2533
2533
  */
2534
- 'bind:value'?: Signal<string | undefined>;
2534
+ 'bind:value'?: Signal<string | undefined | number>;
2535
2535
  enterKeyHint?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send' | undefined;
2536
2536
  height?: Size | undefined;
2537
2537
  max?: number | string | undefined;
@@ -2752,7 +2752,7 @@ export declare interface StreamWriter {
2752
2752
  export declare type _Stringifiable = string | boolean | number | null;
2753
2753
 
2754
2754
  declare abstract class Subscriber {
2755
- $effectDependencies$: Subscriber[] | null;
2755
+ $effectDependencies$: (Subscriber | TargetType)[] | null;
2756
2756
  }
2757
2757
 
2758
2758
  /**
@@ -3732,7 +3732,7 @@ export declare const _VAR_PROPS: unique symbol;
3732
3732
  export declare const _verifySerializable: <T>(value: T, preMessage?: string) => T;
3733
3733
 
3734
3734
  /**
3735
- * 2.0.0-alpha.4-dev+374e0d6
3735
+ * 2.0.0-alpha.6-dev+d848ba5
3736
3736
  *
3737
3737
  * @public
3738
3738
  */