diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index e4e74265..beed19d0 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -14,9 +14,9 @@ jobs: node-version: [16.x, 18.x, 20.x] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: cache: npm node-version: ${{ matrix.node-version }} diff --git a/.github/workflows/pnpm-strict.yaml b/.github/workflows/pnpm-strict.yaml new file mode 100644 index 00000000..728e5fe9 --- /dev/null +++ b/.github/workflows/pnpm-strict.yaml @@ -0,0 +1,27 @@ +name: pnpm-strict + +on: + pull_request: + push: + +jobs: + all: + runs-on: ${{ matrix.os }} + + strategy: + matrix: + os: [ubuntu-latest] + node-version: [20.x] + + steps: + - uses: actions/checkout@v3 + - uses: pnpm/action-setup@v2 + with: + version: 8 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + cache: 'pnpm' + - name: Install dependencies + run: pnpm install --strict-peer-dependencies diff --git a/.npmrc b/.npmrc new file mode 100644 index 00000000..39f9c6ea --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +strict-peer-dependencies=true diff --git a/package-lock.json b/package-lock.json index 19cd85ac..9580e03d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,13 +9,13 @@ "version": "12.0.0", "license": "MIT", "dependencies": { - "@effect/match": "0.40.0", "@effect/schema": "0.56.0", "chalk": "4.1.2", "commander": "11.1.0", "cosmiconfig": "9.0.0", "effect": "2.0.0-next.62", "enquirer": "2.4.1", + "fast-check": "3.15.0", "globby": "11.1.0", "minimatch": "9.0.3", "npm-package-arg": "11.0.1", @@ -188,14 +188,6 @@ "@jridgewell/sourcemap-codec": "^1.4.10" } }, - "node_modules/@effect/match": { - "version": "0.40.0", - "resolved": "https://registry.npmjs.org/@effect/match/-/match-0.40.0.tgz", - "integrity": "sha512-1v2UpVxbUybx6zmN0R1uraRkCju15xLmHquoNQxPFGrQABq2dRI0nSsVM+/yibggUnQ9QAEx2MxQ6xdrQR+8hg==", - "peerDependencies": { - "effect": "2.0.0-next.47" - } - }, "node_modules/@effect/schema": { "version": "0.56.0", "resolved": "https://registry.npmjs.org/@effect/schema/-/schema-0.56.0.tgz", @@ -3724,7 +3716,6 @@ "url": "https://opencollective.com/fast-check" } ], - "peer": true, "dependencies": { "pure-rand": "^6.0.0" }, @@ -6580,8 +6571,7 @@ "type": "opencollective", "url": "https://opencollective.com/fast-check" } - ], - "peer": true + ] }, "node_modules/queue-microtask": { "version": "1.2.3", diff --git a/package.json b/package.json index e7d56dd6..0d31d2ae 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,7 @@ "Jamie Haywood (https://github.com/jamiehaywood)", "Jamie Mason (https://github.com/JamieMason)", "Jody Heavener (https://github.com/jodyheavener)", + "Keyan Zhang (https://github.com/keyz)", "Luis Vieira (https://github.com/luisvieiragmr)", "Marais Rossouw (https://github.com/maraisr)", "Matt Sprague (https://github.com/uforic)", @@ -32,13 +33,13 @@ "Tom Fletcher (https://github.com/tom-fletcher)" ], "dependencies": { - "@effect/match": "0.40.0", "@effect/schema": "0.56.0", "chalk": "4.1.2", "commander": "11.1.0", "cosmiconfig": "9.0.0", "effect": "2.0.0-next.62", "enquirer": "2.4.1", + "fast-check": "3.15.0", "globby": "11.1.0", "minimatch": "9.0.3", "npm-package-arg": "11.0.1",