Skip to content

Commit ad56fc5

Browse files
authored
Remove reflect-metadata (#487)
* Remove reflect-metadata and bump pnpm * Add changeset
1 parent b6103af commit ad56fc5

File tree

9 files changed

+2149
-2366
lines changed

9 files changed

+2149
-2366
lines changed

.changeset/heavy-games-yell.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
'@relate/common': patch
3+
'@relate/cli': patch
4+
'@relate/web': patch
5+
---
6+
7+
Bump @oclif/core, remove reflect-metadata

.github/workflows/setup/action.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ inputs:
99
PNPM_VERSION:
1010
description: PNPM version
1111
required: false
12-
default: 7.3.0
12+
default: 8.4.0
1313

1414
runs:
1515
using: composite
@@ -27,7 +27,7 @@ runs:
2727
- name: Get pnpm store directory
2828
shell: bash
2929
id: pnpm-cache
30-
run: 'echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"'
30+
run: 'echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT'
3131

3232
- uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
3333
name: Setup pnpm cache

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,5 @@
5050
"tar": "6.1.14",
5151
"typescript": "4.9.5"
5252
},
53-
"packageManager": "pnpm@7.32.2"
53+
"packageManager": "pnpm@8.4.0"
5454
}

packages/cli/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
]
107107
},
108108
"scripts": {
109-
"prepare": "pnpm build:clean",
109+
"prepare": "corepack pnpm build:clean",
110110
"postpack": "rimraf oclif.manifest.json",
111111
"prepack": "run-s build:clean build:manifest generate:docs",
112112
"build": "tsc -b",

packages/client/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"main": "./dist/index.js",
1616
"types": "./dist/index.d.ts",
1717
"scripts": {
18-
"prepare": "pnpm build:clean",
18+
"prepare": "corepack pnpm build:clean",
1919
"clean": "rimraf dist",
2020
"build": "tsc",
2121
"build:clean": "run-s clean build",

packages/common/package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"main": "./dist/index.js",
1616
"types": "./dist/index.d.ts",
1717
"scripts": {
18-
"prepare": "pnpm build:clean",
18+
"prepare": "corepack pnpm build:clean",
1919
"clean": "rimraf dist",
2020
"test": "jest",
2121
"build": "tsc",
@@ -46,7 +46,6 @@
4646
"jest": "29.5.0",
4747
"nock": "13.3.1",
4848
"npm-run-all": "4.1.5",
49-
"reflect-metadata": "0.1.13",
5049
"ts-jest": "29.1.0",
5150
"typedoc": "0.24.6",
5251
"typedoc-plugin-markdown": "3.15.3",

packages/types/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"main": "./dist/index.js",
1616
"types": "./dist/index.d.ts",
1717
"scripts": {
18-
"prepare": "pnpm build:clean",
18+
"prepare": "corepack pnpm build:clean",
1919
"clean": "rimraf dist",
2020
"build": "tsc",
2121
"build:clean": "run-s clean build",

packages/web/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"main": "./dist/index.js",
1919
"types": "./dist/index.d.ts",
2020
"scripts": {
21-
"prepare": "pnpm build:clean",
21+
"prepare": "corepack pnpm build:clean",
2222
"clean": "rimraf dist",
2323
"test": "jest",
2424
"build": "tsc",

0 commit comments

Comments
 (0)