@factorypure/devdb 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/bin/devdb.js +2 -1
  2. package/package.json +2 -2
package/bin/devdb.js CHANGED
@@ -533,7 +533,8 @@ const commands = {
533
533
  ['mysqld (brew install mysql@8.4)', () => capture(bin('mysqld'), ['--version'])],
534
534
  ['zstd (brew install zstd)', () => capture('zstd', ['--version'])],
535
535
  ['aws cli', () => capture('aws', ['--version'])],
536
- ['AWS credentials (aws sso login)', () => capture('aws', ['s3', 'ls', `s3://${BUCKET}/dev-db/`])],
536
+ // `aws s3 ls` exits 1 on an empty prefix; list-objects-v2 doesn't
537
+ ['AWS credentials (aws sso login)', () => capture('aws', ['s3api', 'list-objects-v2', '--bucket', BUCKET, '--prefix', 'dev-db/', '--max-keys', '1'])],
537
538
  ]
538
539
  let ok = true
539
540
  for (const [label, check] of checks) {
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@factorypure/devdb",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Local copies of the prod MySQL database for development",
5
5
  "type": "module",
6
6
  "bin": {
7
- "devdb": "./bin/devdb.js"
7
+ "devdb": "bin/devdb.js"
8
8
  },
9
9
  "files": [
10
10
  "bin"