Skip to content

Commit 630df49

Browse files
authored
chore(sdk): Remove references to vendor directory (#2956)
It was previously used by `quick-lru`. That dependency was replaced in #2924 and therefore the directory is no longer used. ## Other changes Removed reference to the directory in `utils` package's `clean` command. There hasn't been `vendor` directory in that package.
1 parent 3b9cdac commit 630df49

File tree

8 files changed

+3
-8
lines changed

8 files changed

+3
-8
lines changed

.github/workflows/reusable/cached-build/action.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ runs:
2626
key: cache-build-${{ github.sha }}
2727
path: |
2828
packages/*/dist
29-
packages/sdk/vendor
3029
packages/proto-rpc/src/proto
3130
packages/dht/src/proto
3231
packages/trackerless-network/src/proto

packages/sdk/eslint.config.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ export default [
44
{
55
ignores: [
66
'src/ethereumArtifacts/**',
7-
'vendor/**',
87
'test/exports/**',
98
'test/benchmarks/**',
109
'test/memory/*',

packages/sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"build-browser-development": "NODE_ENV=development webpack --mode=development --progress",
2828
"build-browser-production": "NODE_ENV=production webpack --mode=production --progress",
2929
"check": "tsc -p ./tsconfig.jest.json",
30-
"clean": "jest --clearCache || true; rm -rf dist vendor *.tsbuildinfo node_modules/.cache || true",
30+
"clean": "jest --clearCache || true; rm -rf dist *.tsbuildinfo node_modules/.cache || true",
3131
"eslint": "eslint --cache --cache-location=node_modules/.cache/.eslintcache/ '*/**/*.{js,ts}'",
3232
"generate-protoc-code": "./proto.sh",
3333
"test": "npm run test-unit && npm run test-integration && npm run test-end-to-end",

packages/sdk/tsconfig.browser.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
"package.json",
2727
"src/**/*",
2828
"src/**/*.json",
29-
"vendor/**/*",
3029
"src/config.schema.json"
3130
],
3231
"exclude": ["src/exports-esm.mjs"],

packages/sdk/tsconfig.jest.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
"src/**/*",
1414
"src/**/*.json",
1515
"bin/generate-config-validator.js",
16-
"vendor/**/*",
1716
"src/config.schema.json",
1817
"test/**/*",
1918
"test/**/*.json"

packages/sdk/tsconfig.node.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
"package.json",
1414
"src/**/*",
1515
"src/**/*.json",
16-
"vendor/**/*",
1716
"src/config.schema.json"
1817
],
1918
"exclude": [

packages/sdk/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ module.exports = (env, argv) => {
5252
]
5353
},
5454
resolve: {
55-
modules: ['node_modules', ...require.resolve.paths(''), path.resolve('./vendor')],
55+
modules: ['node_modules', ...require.resolve.paths('')],
5656
extensions: ['.json', '.js', '.ts'],
5757
},
5858
plugins: [

packages/utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"scripts": {
1313
"build": "tsc --build tsconfig.node.json",
1414
"check": "tsc -p ./tsconfig.jest.json",
15-
"clean": "jest --clearCache || true; rm -rf dist vendor *.tsbuildinfo node_modules/.cache || true",
15+
"clean": "jest --clearCache || true; rm -rf dist *.tsbuildinfo node_modules/.cache || true",
1616
"eslint": "eslint --cache --cache-location=node_modules/.cache/.eslintcache/ '*/**/*.{js,ts}'",
1717
"test": "jest",
1818
"test-browser": "karma start karma.config.js"

0 commit comments

Comments
 (0)