diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ab2260b..b5f5902 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -49,7 +49,7 @@ jobs: id: changesets uses: changesets/action@v1 with: - version: pnpm run version + version: node .github/changeset-version.cjs publish: pnpm run release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/package.json b/package.json index f562958..504ebd2 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ ], "scripts": { "changeset": "changeset", + "release": "changeset publish", "clean": "ultra -r clean && rimraf tsconfig.tsbuildinfo", "build": "pnpm build-all && ultra -r -b build-pack", "build-all": "tsc -b tsconfig.build.json", @@ -19,8 +20,7 @@ "autofix": "ultra -r autofix", "lint": "ultra -r lint", "tc": "ultra -r tc", - "version": "changeset version && pnpm install --frozen-lockfile false", - "release": "pnpm install && changeset publish" + "version": "changeset version && pnpm install --no-frozen-lockfile" }, "devDependencies": { "@babel/cli": "^7.21.0", @@ -32,6 +32,8 @@ "@effect-ts/core": "^0.60.5", "@effect/babel-plugin": "^0.2.0", "@effect/language-service": "^0.0.19", + "@effect/printer": "workspace:^", + "@effect/printer-ansi": "workspace:^", "@repo-tooling/eslint-plugin-dprint": "^0.0.4", "@rollup/pluginutils": "^5.0.2", "@types/benchmark": "^2.1.2", diff --git a/packages/printer-ansi/package.json b/packages/printer-ansi/package.json index 377a494..9bbdee5 100644 --- a/packages/printer-ansi/package.json +++ b/packages/printer-ansi/package.json @@ -58,7 +58,7 @@ "dependencies": { "@effect/data": "^0.3.2", "@effect/io": "^0.6.0", - "@effect/printer": "workspace:*" + "@effect/printer": "*" }, "config": { "side": [], diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index bc2c38c..f6ba368 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -13,6 +13,8 @@ importers: '@effect-ts/core': ^0.60.5 '@effect/babel-plugin': ^0.2.0 '@effect/language-service': ^0.0.19 + '@effect/printer': workspace:^ + '@effect/printer-ansi': workspace:^ '@repo-tooling/eslint-plugin-dprint': ^0.0.4 '@rollup/pluginutils': ^5.0.2 '@types/benchmark': ^2.1.2 @@ -60,6 +62,8 @@ importers: '@effect-ts/core': 0.60.5 '@effect/babel-plugin': 0.2.0_@babel+core@7.21.0 '@effect/language-service': 0.0.19 + '@effect/printer': link:packages/printer + '@effect/printer-ansi': link:packages/printer-ansi '@repo-tooling/eslint-plugin-dprint': 0.0.4_typescript@4.9.5 '@rollup/pluginutils': 5.0.2 '@types/benchmark': 2.1.2 @@ -111,7 +115,7 @@ importers: specifiers: '@effect/data': ^0.3.2 '@effect/io': ^0.6.0 - '@effect/printer': workspace:* + '@effect/printer': '*' dependencies: '@effect/data': 0.3.2 '@effect/io': 0.6.0