Skip to content

Commit

Permalink
Lower our ATTW standards
Browse files Browse the repository at this point in the history
  • Loading branch information
Peeja committed Jan 28, 2025
1 parent e4d51a9 commit 038231c
Show file tree
Hide file tree
Showing 12 changed files with 83 additions and 48 deletions.
3 changes: 3 additions & 0 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@
},
"test:all": {
"cache": true
},
"attw": {
"dependsOn": ["build"]
}
},
"defaultBase": "main",
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"docs:markdown": "pnpm run build && docusaurus generate-typedoc"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.15.3",
"@docusaurus/core": "^3.0.0",
"@docusaurus/preset-classic": "^3.0.0",
"@nx/js": "^20.3.2",
Expand Down
1 change: 1 addition & 0 deletions packages/access-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@
"uint8arrays": "^5.1.0"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.17.3",
"@storacha/eslint-config": "workspace:^",
"@types/assert": "^1.5.6",
"@types/inquirer": "^9.0.4",
Expand Down
3 changes: 2 additions & 1 deletion packages/blob-index/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"lint": "eslint '**/*.{js,ts}' && prettier --check '**/*.{js,ts,yml,json}' --ignore-path ../../.gitignore",
"lint:fix": "eslint --fix '**/*.{js,ts}' && prettier --write '**/*.{js,ts,yml,json}' --ignore-path ../../.gitignore",
"test": "entail test/*.spec.js",
"attw": "attw --pack .",
"attw": "attw --profile esm-only --pack .",
"coverage": "c8 --reporter text --reporter html npm run test"
},
"dependencies": {
Expand All @@ -52,6 +52,7 @@
"uint8arrays": "^5.0.3"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.17.3",
"@storacha/eslint-config": "workspace:^",
"@ucanto/transport": "^9.1.1",
"c8": "^7.14.0",
Expand Down
1 change: 1 addition & 0 deletions packages/capabilities/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@
"uint8arrays": "^5.0.3"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.17.3",
"@ipld/dag-ucan": "^3.4.5",
"@storacha/eslint-config": "workspace:^",
"@types/assert": "^1.5.6",
Expand Down
1 change: 1 addition & 0 deletions packages/did-mailto/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"attw": "attw --pack ."
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.17.3",
"@storacha/eslint-config": "workspace:^",
"@types/assert": "^1.5.6",
"@types/mocha": "^10.0.1",
Expand Down
1 change: 1 addition & 0 deletions packages/filecoin-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@
"p-map": "^6.0.0"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.17.3",
"@storacha/eslint-config": "workspace:^",
"@storacha/filecoin-client": "workspace:^",
"@storacha/one-webcrypto": "^1.0.1",
Expand Down
1 change: 1 addition & 0 deletions packages/filecoin-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
"@ucanto/transport": "^9.1.1"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.17.3",
"@ipld/dag-json": "^10.1.4",
"@storacha/eslint-config": "workspace:^",
"@types/assert": "^1.5.6",
Expand Down
3 changes: 2 additions & 1 deletion packages/upload-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@
"lint:fix": "eslint --fix '**/*.{js,ts}' && prettier --write '**/*.{js,ts,yml,json}' --ignore-path ../../.gitignore",
"test": "mocha --bail --timeout 10s -n no-warnings -n experimental-vm-modules -n experimental-fetch 'test/**/*.spec.js'",
"test-watch": "pnpm build && mocha --bail --timeout 10s --watch --parallel -n no-warnings -n experimental-vm-modules -n experimental-fetch --watch-files src,test",
"attw": "attw --pack ."
"attw": "attw --profile node16 --pack ."
},
"dependencies": {
"@storacha/access": "workspace:^",
Expand All @@ -209,6 +209,7 @@
"uint8arrays": "^5.0.3"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.17.3",
"@ipld/car": "^5.1.1",
"@ipld/dag-ucan": "^3.4.5",
"@storacha/blob-index": "workspace:^",
Expand Down
4 changes: 2 additions & 2 deletions packages/upload-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"build": "tsc --build",
"clean": "rm -rf dist",
"typecheck": "tsc --build",
"attw": "attw --pack .",
"lint": "eslint '**/*.{js,ts}' && prettier --check '**/*.{js,ts,yml,json}' --ignore-path ../../.gitignore",
"lint:fix": "eslint --fix '**/*.{js,ts}' && prettier --write '**/*.{js,ts,yml,json}' --ignore-path ../../.gitignore",
"test:node": "npm-run-all --parallel --race --npm-path pnpm mock:* 'test-:node'",
Expand All @@ -31,6 +30,7 @@
"mock:bucket-200": "PORT=9200 STATUS=200 node test/helpers/bucket-server.js",
"mock:bucket-400": "PORT=9400 STATUS=400 node test/helpers/bucket-server.js",
"mock:bucket-500": "PORT=9500 STATUS=500 node test/helpers/bucket-server.js",
"attw": "attw --pack .",
"rc": "npm version prerelease --preid rc"
},
"exports": {
Expand All @@ -41,7 +41,6 @@
"./index": "./dist/src/index/index.js",
"./sharding": "./dist/src/sharding.js",
"./upload": "./dist/src/upload/index.js",
"./store": "./dist/src/store.js",
"./unixfs": "./dist/src/unixfs.js",
"./types": "./dist/src/types.js"
},
Expand Down Expand Up @@ -101,6 +100,7 @@
"varint": "^6.0.0"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.17.3",
"@storacha/eslint-config": "workspace:^",
"@types/assert": "^1.5.6",
"@types/mocha": "^10.0.1",
Expand Down
1 change: 1 addition & 0 deletions packages/w3up-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@
"@ucanto/transport": "^9.1.1"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.17.3",
"@ipld/car": "^5.1.1",
"@ipld/unixfs": "^3.0.0",
"@storacha/eslint-config": "workspace:^",
Expand Down
Loading

0 comments on commit 038231c

Please sign in to comment.