Skip to content

Commit

Permalink
chore: update dev dependencies (#201)
Browse files Browse the repository at this point in the history
* chore: update dev dependencies

* no legacy mode

* update website

* update 01 snapshot

* remove unused script

* Revert "remove unused script"

This reverts commit fb3b2dc.

* fix install.mjs
  • Loading branch information
dai-shi authored Mar 2, 2024
1 parent 940b114 commit 76ffa6a
Show file tree
Hide file tree
Showing 10 changed files with 6,552 additions and 5,737 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Change Log

## [Unreleased]
### Changed
- update use-context-selector #200

## [1.7.11] - 2023-01-04
### Changed
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2019-2023 Daishi Kato
Copyright (c) 2019 Daishi Kato

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
32 changes: 16 additions & 16 deletions __tests__/e2e/__snapshots__/01_minimal.ts.snap

Large diffs are not rendered by default.

5 changes: 2 additions & 3 deletions examples/01_minimal/src/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { useReducer, StrictMode } from 'react';
import ReactDOM from 'react-dom';
import { createRoot } from 'react-dom/client';

import { createContainer } from 'react-tracked';

Expand Down Expand Up @@ -62,5 +62,4 @@ const App = () => (
</StrictMode>
);

// legacy mode
ReactDOM.render(<App />, document.getElementById('app'));
createRoot(document.getElementById('app')).render(<App />);
53 changes: 26 additions & 27 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"./package.json": "./package.json",
".": {
"types": "./dist/src/index.d.ts",
"module": "./dist/index.modern.js",
"import": "./dist/index.modern.mjs",
"default": "./dist/index.umd.js"
}
Expand All @@ -33,7 +32,7 @@
"eslint": "eslint --ext .js,.ts,.tsx --ignore-path .gitignore --ignore-pattern dist .",
"jest": "jest --preset ts-jest/presets/js-with-ts --env jsdom __tests__/*.tsx",
"tsc-test": "tsc --project . --noEmit",
"prepare-e2e": "test -z $CI || node node_modules/puppeteer/install.js",
"prepare-e2e": "test -z $CI || node node_modules/puppeteer/install.mjs",
"e2e-test:01_minimal": "server-test examples:01_minimal 8080 'jest --preset jest-puppeteer __tests__/e2e/01_minimal.ts'",
"e2e-test:02_typescript": "server-test examples:02_typescript 8080 'jest --preset jest-puppeteer __tests__/e2e/02_typescript.ts'",
"e2e-test:03_usestate": "server-test examples:03_usestate 8080 'jest --preset jest-puppeteer __tests__/e2e/03_usestate.ts'",
Expand Down Expand Up @@ -82,40 +81,40 @@
"use-context-selector": "1.4.2"
},
"devDependencies": {
"@testing-library/react": "^14.0.0",
"@types/jest": "^29.5.2",
"@types/jest-environment-puppeteer": "^5.0.3",
"@types/react": "^18.2.14",
"@types/react-dom": "^18.2.6",
"@types/scheduler": "^0.16.3",
"@typescript-eslint/eslint-plugin": "^5.60.0",
"@typescript-eslint/parser": "^5.60.0",
"eslint": "^8.43.0",
"@testing-library/react": "^14.2.1",
"@types/jest": "^29.5.12",
"@types/jest-environment-puppeteer": "^5.0.6",
"@types/react": "^18.2.61",
"@types/react-dom": "^18.2.19",
"@types/scheduler": "^0.16.8",
"@typescript-eslint/eslint-plugin": "^7.1.0",
"@typescript-eslint/parser": "^7.1.0",
"eslint": "^8.57.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"html-webpack-plugin": "^5.5.3",
"immer": "^10.0.2",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"jest-puppeteer": "^9.0.0",
"html-webpack-plugin": "^5.6.0",
"immer": "^10.0.3",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-puppeteer": "^10.0.1",
"microbundle": "^0.15.1",
"npm-run-all": "^4.1.5",
"puppeteer": "^20.7.3",
"puppeteer": "^22.3.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"redux-saga": "^1.2.3",
"start-server-and-test": "^2.0.0",
"ts-jest": "^29.1.0",
"ts-loader": "^9.4.3",
"typescript": "^5.1.3",
"redux-saga": "^1.3.0",
"start-server-and-test": "^2.0.3",
"ts-jest": "^29.1.2",
"ts-loader": "^9.5.1",
"typescript": "^5.3.3",
"use-reducer-async": "^2.1.1",
"use-saga-reducer": "^3.0.0",
"webpack": "^5.88.0",
"webpack": "^5.90.3",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.1"
"webpack-dev-server": "^5.0.2"
},
"peerDependencies": {
"react": ">=16.8.0",
Expand Down
Loading

0 comments on commit 76ffa6a

Please sign in to comment.