Skip to content

Commit 31237ce

Browse files
authored
feat: simplify tooling (#1531)
* chore: add yarn cache in GH actions * chore: upgrade to yarn 3.6.3 * chore: yarn dedupe * chore: remove jest-chrome * feat: update eslint * chore: update ignore files * chore: remove jest references * chore: remove ts-node * chore: upgrade vite and vitest
1 parent 57535d9 commit 31237ce

18 files changed

Lines changed: 1160 additions & 3817 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jobs:
4343
uses: actions/setup-node@v3
4444
with:
4545
node-version: ${{ matrix.node-version }}
46+
cache: yarn
4647
- run: yarn install --immutable
4748
- run: yarn checkResolutions
4849
- run: yarn build

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
- uses: actions/setup-node@v3
1313
with:
1414
node-version: 18
15+
cache: yarn
1516
- run: yarn install --immutable
1617
- run: yarn build
1718
- name: Publish Dry Run

.prettierignore

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,7 @@ node_modules/
4848
.vscode-test
4949

5050
# yarn v2
51-
.yarn/cache
52-
.yarn/unplugged
53-
.yarn/build-state.yml
51+
.yarn/*
5452
.pnp.*
5553

5654
logs

.yarn/releases/yarn-3.2.0.cjs

Lines changed: 0 additions & 785 deletions
This file was deleted.

.yarn/releases/yarn-3.6.3.cjs

Lines changed: 874 additions & 0 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ plugins:
66
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
77
spec: "@yarnpkg/plugin-interactive-tools"
88

9-
yarnPath: .yarn/releases/yarn-3.2.0.cjs
9+
yarnPath: .yarn/releases/yarn-3.6.3.cjs

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"concurrently": "^8.2.0",
6060
"crypto-browserify": "^3.12.0",
6161
"css-loader": "^6.8.1",
62-
"eslint": "^8.44.0",
62+
"eslint": "^8.48.0",
6363
"eslint-config-prettier": "^8.8.0",
6464
"eslint-config-react-app": "^7.0.1",
6565
"eslint-plugin-import": "^2.27.5",
@@ -71,13 +71,12 @@
7171
"regenerator-runtime": "^0.13.11",
7272
"rimraf": "^3.0.2",
7373
"stream-browserify": "^3.0.0",
74-
"ts-node": "^10.9.1",
7574
"typedoc": "^0.24.8",
7675
"typescript": "^5.1.6",
7776
"url-loader": "^4.1.1"
7877
},
7978
"resolutions": {
8079
"@substrate/connect": "0.7.31"
8180
},
82-
"packageManager": "yarn@3.2.0"
81+
"packageManager": "yarn@3.6.3"
8382
}

packages/connect-extension-protocol/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
"clean": "rm -rf dist/ tsconfig.tsbuildinfo",
2222
"build": "tsc -p tsconfig-mjs.json && tsc -p tsconfig-cjs.json && bash ./fix-package-type.sh",
2323
"test": "exit 0; #This package is only types",
24-
"lint": "yarn eslint . --ext .js,.ts"
24+
"lint": "eslint . --ext .js,.ts"
2525
},
2626
"devDependencies": {
27-
"eslint": "^8.44.0"
27+
"eslint": "^8.48.0"
2828
}
2929
}

packages/connect/.eslintignore

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,5 @@ coverage
66
# don't lint .cache
77
.chains
88

9-
/src/specs/*.json
10-
/src/connector/specs/*.ts
11-
jest.*.ts
9+
src/connector/specs/*.json
10+
src/connector/specs/js/*.ts

packages/connect/.npmignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,5 @@ yarn-error.log*
66
/coverage
77
tsconfig.*
88
extension-resolver.cjs
9-
jest.config*
109

1110
fix-package-type.sh

0 commit comments

Comments
 (0)