diff --git a/package.json b/package.json index 53de130005..74002b2407 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "node": "22.22.3" }, "devDependencies": { - "@stdy/cli": "0.22.1", + "@stdy/cli": "0.22.2", "pyright": "1.1.399" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 45da89b46c..6596484c44 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,41 +9,41 @@ importers: .: devDependencies: '@stdy/cli': - specifier: 0.22.1 - version: 0.22.1 + specifier: 0.22.2 + version: 0.22.2 pyright: specifier: 1.1.399 version: 1.1.399 packages: - '@stdy/cli-darwin-arm64@0.22.1': - resolution: {integrity: sha512-sahxc3R9I+vO7dDr7t9aneE8aLZdZeaQU5OfhZVLny97K8K7RXqhpXHN/0DFvg3Pw5ZKisHvJysY3iu/LIZA6g==} + '@stdy/cli-darwin-arm64@0.22.2': + resolution: {integrity: sha512-k5WGyCQl7DDpYWy3BI5TxGIxOdUpMeJ0q7kUi1EYs7Y72B/q0hIKDv3/fCgoZPWBI+N9XjnlSyetaxVQTRvWow==} cpu: [arm64] os: [darwin] - '@stdy/cli-darwin-x64@0.22.1': - resolution: {integrity: sha512-/bVzcHkbX6zn5qZL73oWR5YXVc/+/IP7uWYw905B+hWRuZlJfN7hX4+68BxCBOI8wiRf82cSQjRnI/Datdwz1Q==} + '@stdy/cli-darwin-x64@0.22.2': + resolution: {integrity: sha512-BYbQhEqBiEd+G9IyXWLpgAcSXFKMr6W3ZQXiOS3O5NnOWv+bNuyo793eBvEJ5fRKiuCV6n/ANVSJZLFOf6Nzog==} cpu: [x64] os: [darwin] - '@stdy/cli-linux-arm64@0.22.1': - resolution: {integrity: sha512-XGQy3ZqF5COqRgAVGxCdoW9dzxnfxxCSAHCGmhpFc+pVfpQcYHfPcnNhmWhplMCeriTUyCKLJG+/fGdyji7e2Q==} + '@stdy/cli-linux-arm64@0.22.2': + resolution: {integrity: sha512-HjSQdAt40CpYIauUKJ1xyIEsdrf5LtQP1x8Su7BEZJN94807ROJXxabW+jXyc48823tVBkrnxNUUTrBK4TVTRw==} cpu: [arm64] os: [linux] - '@stdy/cli-linux-x64@0.22.1': - resolution: {integrity: sha512-u7581I3sc6R+PUwGkvEFbvD/w6YXvRk+iT0BImWKPtKYA26cPP16lgA7gquu3tAEk+3c9YGn5xhUphCc96aLSg==} + '@stdy/cli-linux-x64@0.22.2': + resolution: {integrity: sha512-kp5QdG26EC8gEzVXI0YgzmiiFHz7DFCNRLNfAWa2rDPHr/jUBnfkP8AlbTPmv0YNQpnKn1wzSWHFw88fn/OTog==} cpu: [x64] os: [linux] - '@stdy/cli-win32-x64@0.22.1': - resolution: {integrity: sha512-4kkgSGCKTO/Fb+ciBANshegYIztBqynIyOveWYc3Vp7mXszg8yx6slKSzz5bg757H8Ol2jxxuL4XxHVIGMr6Rw==} + '@stdy/cli-win32-x64@0.22.2': + resolution: {integrity: sha512-7ZsJltOYVvMTl6eAy1AKMya7TFhb629FXr/BKZTyQsBrPj28rAaebQSTFYs1IZN0+n6LnJTpue6m4SIkevqBNA==} cpu: [x64] os: [win32] - '@stdy/cli@0.22.1': - resolution: {integrity: sha512-VdnCoK/d0JWIhToajBxAdagTpLCX/zTd7RiuK1KdT12Q4pZn/+eS97gq94+jv6TbiMd+9SWeOdsQCoagpLmNfA==} + '@stdy/cli@0.22.2': + resolution: {integrity: sha512-37UQfqcOSv1kevXJDt4FUA/l3vc62gzahzMcKJx5qL/kSt5ExRg++hGMwV1/PTRLIBOgbMzpKfoK26TaUYkdng==} engines: {node: '>=14.0.0'} hasBin: true @@ -59,28 +59,28 @@ packages: snapshots: - '@stdy/cli-darwin-arm64@0.22.1': + '@stdy/cli-darwin-arm64@0.22.2': optional: true - '@stdy/cli-darwin-x64@0.22.1': + '@stdy/cli-darwin-x64@0.22.2': optional: true - '@stdy/cli-linux-arm64@0.22.1': + '@stdy/cli-linux-arm64@0.22.2': optional: true - '@stdy/cli-linux-x64@0.22.1': + '@stdy/cli-linux-x64@0.22.2': optional: true - '@stdy/cli-win32-x64@0.22.1': + '@stdy/cli-win32-x64@0.22.2': optional: true - '@stdy/cli@0.22.1': + '@stdy/cli@0.22.2': optionalDependencies: - '@stdy/cli-darwin-arm64': 0.22.1 - '@stdy/cli-darwin-x64': 0.22.1 - '@stdy/cli-linux-arm64': 0.22.1 - '@stdy/cli-linux-x64': 0.22.1 - '@stdy/cli-win32-x64': 0.22.1 + '@stdy/cli-darwin-arm64': 0.22.2 + '@stdy/cli-darwin-x64': 0.22.2 + '@stdy/cli-linux-arm64': 0.22.2 + '@stdy/cli-linux-x64': 0.22.2 + '@stdy/cli-win32-x64': 0.22.2 fsevents@2.3.3: optional: true diff --git a/tests/node-tooling.test.cjs b/tests/node-tooling.test.cjs index 35c0c2fc2e..d9f676fe13 100644 --- a/tests/node-tooling.test.cjs +++ b/tests/node-tooling.test.cjs @@ -86,8 +86,9 @@ test('Steady is local-only and receives the original arguments', (t) => { assert.equal(missing.status, 1); assert.match(missing.stderr, /Missing local steady/); const directory = path.join(root, 'node_modules/@stdy/cli'); + const manifest = JSON.parse(fs.readFileSync(path.join(root, 'package.json'), 'utf8')); fs.mkdirSync(directory, { recursive: true }); - fs.writeFileSync(path.join(directory, 'package.json'), JSON.stringify({ version: '0.22.1' })); + fs.writeFileSync(path.join(directory, 'package.json'), JSON.stringify({ version: manifest.devDependencies['@stdy/cli'] })); fs.writeFileSync(path.join(directory, 'steady.js'), 'console.log(JSON.stringify(process.argv.slice(2)));'); const result = run(root, ['steady', 'spec with spaces.yml', '--version']); assert.equal(result.status, 0);