diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 70de827..e3bf4a5 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -11,7 +11,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: "16.x" + node-version: "18.x" registry-url: "https://registry.npmjs.org" - run: npm install - run: npm run build diff --git a/package.json b/package.json index 39a0ce3..3aba68e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-use-lanyard", - "version": "0.1.3", + "version": "0.1.4", "main": "dist", "typings": "dist", "repository": { @@ -20,29 +20,31 @@ "format": "prettier --write .", "format:watch": "onchange . -- prettier --write {{changed}}", "lint": "eslint --fix .", - "lint:watch": "onchange . -- eslint --fix {{changed}}" + "lint:watch": "onchange . -- eslint --fix {{changed}}", + "update": "taze major -w && yarn" }, "devDependencies": { - "@types/node": "^17.0.34", - "@types/react": "^18.0.9", - "@types/react-dom": "^18.0.4", - "@typescript-eslint/eslint-plugin": "^5.25.0", - "@typescript-eslint/parser": "^5.25.0", - "eslint": "^8.15.0", + "@types/node": "^18.7.23", + "@types/react": "^18.0.21", + "@types/react-dom": "^18.0.6", + "@typescript-eslint/eslint-plugin": "^5.38.1", + "@typescript-eslint/parser": "^5.38.1", + "eslint": "^8.24.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-import": "^2.26.0", "onchange": "^7.1.0", - "prettier": "^2.6.2", - "react": "^18.1.0", - "react-dom": "^18.1.0", - "ts-node": "^10.7.0", - "typescript": "^4.6.4" + "prettier": "^2.7.1", + "react": "^18.2.0", + "react-dom": "^18.2.0", + "taze": "^0.8.2", + "ts-node": "^10.9.1", + "typescript": "^4.8.4" }, "peerDependencies": { "react": ">=16" }, "dependencies": { - "tslib": "^2.4.0", - "swr": "^1.3.0" + "swr": "^1.3.0", + "tslib": "^2.4.0" } }