diff --git a/.github/changeset-version.js b/.github/changeset-version.js index 1a03166..6028018 100644 --- a/.github/changeset-version.js +++ b/.github/changeset-version.js @@ -1,7 +1,7 @@ // ORIGINALLY FROM CLOUDFLARE WRANGLER: // https://github.com/cloudflare/wrangler2/blob/main/.github/changeset-version.js -const { exec } = require("child_process"); +import { exec } from "child_process"; // This script is used by the `release.yml` workflow to update the version of the packages being released. // The standard step is only to run `changeset version` but this does not update the package-lock.json file. // So we also run `npm install`, which does this update. diff --git a/package.json b/package.json index 3e1839f..554008c 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,7 @@ "name": "@t3-oss/env-root", "packageManager": "pnpm@8.3.1", "private": true, + "type": "module", "scripts": { "build": "turbo build --filter @t3-oss/env*", "dev": "turbo dev --filter @t3-oss/env*", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2065a21..b8181d7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -38,7 +38,7 @@ importers: specifier: ^2.1.0 version: 2.1.0(solid-js@1.7.3)(vite@4.3.1) '@t3-oss/env-core': - specifier: 0.1.0-alpha.0 + specifier: 0.1.0 version: link:../../packages/core astro: specifier: ^2.3.0 @@ -57,7 +57,7 @@ importers: examples/nextjs: dependencies: '@t3-oss/env-nextjs': - specifier: 0.1.0-alpha.0 + specifier: 0.1.0 version: link:../../packages/nextjs '@types/node': specifier: ^18.15.13 @@ -105,7 +105,7 @@ importers: packages/nextjs: dependencies: '@t3-oss/env-core': - specifier: 0.1.0-alpha.0 + specifier: 0.1.0 version: link:../core devDependencies: eslint: