Skip to content

Commit

Permalink
Update node, pnpm and dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
yumauri committed Aug 17, 2024
1 parent 3bd400f commit da851ad
Show file tree
Hide file tree
Showing 13 changed files with 532 additions and 556 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: 🐧 Setup node
uses: actions/setup-node@v4
with:
node-version: 20.15.0
node-version: 20.16.0
registry-url: https://registry.npmjs.org/
cache: pnpm

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: 🐧 Setup node
uses: actions/setup-node@v4
with:
node-version: 20.15.0
node-version: 20.16.0
registry-url: https://registry.npmjs.org/
cache: pnpm

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: 🐧 Setup node
uses: actions/setup-node@v4
with:
node-version: 20.15.0
node-version: 20.16.0
registry-url: https://registry.npmjs.org/
cache: pnpm

Expand Down
4 changes: 2 additions & 2 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
nodejs 20.15.0
pnpm 9.4.0
nodejs 20.16.0
pnpm 9.7.1
8 changes: 2 additions & 6 deletions e2e/broadcast.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,11 +162,7 @@ test('should sync store values between tab and worker', async ({ context }) => {
])
})

test('should fail on `messageerror`', async ({ context, browserName }) => {
// SharedArrayBuffer currently disabled in webkit
// https://github.com/microsoft/playwright/issues/14043
test.fail(browserName === 'webkit', 'no shared array buffer on webkit')

test('should fail on `messageerror`', async ({ context }) => {
// open tab
const tab = await context.newPage()
await tab.goto('/')
Expand Down Expand Up @@ -243,5 +239,5 @@ test('should fail on `messageerror`', async ({ context, browserName }) => {
status: 'fail',
value: undefined,
})
expect(error).toMatch(/Unable to deserialize message/)
expect(String(error)).toMatch(/Unable to deserialize message/)
})
File renamed without changes.
13 changes: 13 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export default tseslint.config(
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-empty-interface': 'off',
'@typescript-eslint/no-empty-function': 'off',
'@typescript-eslint/no-empty-object-type': 'off',
'@typescript-eslint/unified-signatures': 'off',
'@typescript-eslint/consistent-type-definitions': 'off',
'@typescript-eslint/no-invalid-void-type': [
Expand All @@ -33,6 +34,18 @@ export default tseslint.config(
'error',
{ allowArgumentsExplicitlyTypedAsAny: true },
],
'@typescript-eslint/no-unused-vars': [
'error',
{
args: 'all',
argsIgnorePattern: '^_',
caughtErrors: 'all',
caughtErrorsIgnorePattern: '^_',
destructuredArrayIgnorePattern: '^_',
varsIgnorePattern: '^_',
ignoreRestSiblings: true,
},
],
// '@typescript-eslint/only-throw-error': 'off',
// '@typescript-eslint/no-unsafe-return': 'off',
// '@typescript-eslint/no-unsafe-member-access': 'off',
Expand Down
36 changes: 18 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/yumauri/effector-storage"
"url": "git+https://github.com/yumauri/effector-storage.git"
},
"bugs": {
"url": "https://github.com/yumauri/effector-storage/issues"
Expand Down Expand Up @@ -38,36 +38,36 @@
"test-try:types": "uvu -r ts-node/register tests types",
"test-one": "uvu -r ts-node/register -i mock -i types tests",
"e2e": "playwright test",
"e2e:server": "vite build -c e2e/empty-app/vite.config.ts && vite preview -c e2e/empty-app/vite.config.ts",
"e2e:server": "vite build -c e2e/empty-app/vite.config.mts && vite preview -c e2e/empty-app/vite.config.mts",
"doc:update-readme": "npx doctoc --maxlevel 3 README.md",
"clean": "rm -rf build coverage",
"size": "size-limit --highlight-less"
},
"devDependencies": {
"@babel/core": "^7.24.7",
"@babel/plugin-transform-block-scoping": "^7.24.7",
"@babel/core": "^7.25.2",
"@babel/plugin-transform-block-scoping": "^7.25.0",
"@babel/preset-typescript": "^7.24.7",
"@eslint/js": "^9.6.0",
"@farfetched/core": "^0.12.4",
"@farfetched/runtypes": "^0.12.4",
"@playwright/test": "^1.45.1",
"@eslint/js": "^9.9.0",
"@farfetched/core": "^0.12.5",
"@farfetched/runtypes": "^0.12.5",
"@playwright/test": "^1.46.1",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"@sinonjs/fake-timers": "^11.2.2",
"@size-limit/preset-small-lib": "^11.1.4",
"@types/eslint__js": "^8.42.3",
"@types/node": "^20.14.10",
"@types/node": "^20.15.0",
"@types/sinonjs__fake-timers": "^8.1.5",
"c8": "^10.1.2",
"effector": "^23.2.2",
"esbuild-register": "^3.5.0",
"eslint": "^9.6.0",
"esbuild-register": "^3.6.0",
"eslint": "^9.9.0",
"eslint-config-prettier": "^9.1.0",
"patronum": "^2.2.0",
"prettier": "^3.3.2",
"publint": "^0.2.8",
"rollup": "^4.18.0",
"prettier": "^3.3.3",
"publint": "^0.2.10",
"rollup": "^4.20.0",
"rollup-plugin-command": "^1.1.3",
"rollup-plugin-dts": "^6.1.1",
"rollup-plugin-generate-package-json": "^3.2.0",
Expand All @@ -76,12 +76,12 @@
"snoop": "^1.0.4",
"ts-node": "^10.9.2",
"tsd": "^0.31.1",
"typescript": "^5.5.3",
"typescript-eslint": "^7.15.0",
"typescript": "^5.5.4",
"typescript-eslint": "^8.1.0",
"uvu": "^0.5.6",
"vite": "^5.3.3"
"vite": "^5.4.1"
},
"packageManager": "pnpm@9.4.0",
"packageManager": "pnpm@9.7.1",
"pnpm": {
"overrides": {
"is-core-module": "npm:@nolyfill/is-core-module@^1"
Expand Down
Loading

0 comments on commit da851ad

Please sign in to comment.