Skip to content

fix(deps): update dependency @arkenv/vite-plugin to ^0.0.14#329

Merged
yamcodes merged 1 commit intomainfrom
renovate/arkenv-vite-plugin-0.x
Nov 10, 2025
Merged

fix(deps): update dependency @arkenv/vite-plugin to ^0.0.14#329
yamcodes merged 1 commit intomainfrom
renovate/arkenv-vite-plugin-0.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Nov 10, 2025

This PR contains the following updates:

Package Change Age Confidence
@arkenv/vite-plugin (source) ^0.0.10 -> ^0.0.14 age confidence

Release Notes

yamcodes/arkenv (@​arkenv/vite-plugin)

v0.0.14

Compare Source

Patch Changes
  • Support array defaults using type().default() syntax #224 ecf9b64 @​yamcodes

    Fix to an issue where type("array[]").default(() => [...]) syntax was not accepted by the plugin due to overly restrictive type constraints. The plugin now accepts any string-keyed record while still maintaining type safety through ArkType's validation system.

    New Features
    • Array defaults to empty using type("string[]").default(() => []) syntax
    • Support for complex array types with defaults
    • Mixed schemas combining string-based and type-based defaults
    Example
    // vite.config.ts
    import arkenv from "@​arkenv/vite-plugin";
    import { type } from "arkenv";
    
    export default defineConfig({
      plugins: [
        arkenv({
          ALLOWED_ORIGINS: type("string[]").default(() => ["localhost"]),
          FEATURE_FLAGS: type("string[]").default(() => []),
          PORT: "number.port",
        }),
      ],
    });

    [!NOTE]
    This is the same fix as in arkenv@0.7.2 (the core library), but for the Vite plugin.

  • Fix import.meta.env not respecting morphed environment variables #227 d41878f @​yamcodes

    The Vite plugin now properly exposes transformed environment variables through import.meta.env.

    Previously, type transformations (string → number, string → boolean) and default values were lost because the plugin only called createEnv() without integrating the results with Vite's environment system.

    Now the plugin uses Vite's define option to expose the morphed values, ensuring all schema transformations are respected.

v0.0.13

Compare Source

Patch Changes
  • Support Vite 2.x #212 bfe08f6 @​yamcodes

    Extended the supported Vite versions to include 2.9.18 through 7.x (inclusive).

    Also, we've added the vite-plugin keyword to the package.json, and a section in the README.md explaining why this plugin is a Vite only plugin (and not a Rollup plugin).

Updated 1 dependency

e554e2b

  • arkenv@0.7.3

v0.0.12

Compare Source

Patch Changes
Updated 1 dependency

e50dba1

  • arkenv@0.7.2

v0.0.11

Compare Source

Patch Changes
Updated 1 dependency

221f9ef 221f9ef

  • arkenv@0.7.1

Configuration

📅 Schedule: Branch creation - "on friday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@vercel
Copy link

vercel bot commented Nov 10, 2025

Deployment failed with the following error:

Resource is limited - try again in 1 hour (more than 100, code: "api-deployments-free-per-day").

Learn More: https://vercel.com/yamcodes?upgradeToPro=build-rate-limit

@changeset-bot
Copy link

changeset-bot bot commented Nov 10, 2025

⚠️ No Changeset found

Latest commit: 2669ad9

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions github-actions bot added the example Issues or Pull Requests concerning at least one ArkEnv example. (Found in the `examples/` directory) label Nov 10, 2025
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Nov 10, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

@yamcodes yamcodes merged commit a22bfa3 into main Nov 10, 2025
14 of 15 checks passed
@yamcodes yamcodes deleted the renovate/arkenv-vite-plugin-0.x branch November 10, 2025 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

example Issues or Pull Requests concerning at least one ArkEnv example. (Found in the `examples/` directory)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant