Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates #228

Merged
merged 4 commits into from
Feb 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ jobs:
timezone: America/Sao_Paulo

- name: Setup repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
registry-url: 'https://registry.npmjs.org'

- name: Install pnpm
Expand All @@ -50,7 +50,7 @@ jobs:
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV

- name: Setup pnpm cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
Expand Down
3 changes: 0 additions & 3 deletions .husky/post-merge
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

./node_modules/.bin/repo-tools install-packages
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

./node_modules/.bin/repo-tools check-remote && npm run validate
28 changes: 15 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,25 +51,26 @@
"react": "16.8 - 18"
},
"dependencies": {
"react-from-dom": "^0.6.2"
"react-from-dom": "^0.7.1"
},
"devDependencies": {
"@gilbarbara/eslint-config": "^0.7.3",
"@arethetypeswrong/cli": "^0.15.0",
"@gilbarbara/eslint-config": "^0.7.4",
"@gilbarbara/prettier-config": "^1.0.0",
"@gilbarbara/tsconfig": "^0.2.3",
"@size-limit/preset-small-lib": "^11.0.2",
"@testing-library/jest-dom": "^6.2.1",
"@testing-library/react": "^14.1.2",
"@types/node": "^20.11.5",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.1",
"@types/node": "^20.11.21",
"@types/react": "^18.2.60",
"@types/react-dom": "^18.2.19",
"@vitejs/plugin-react": "^4.2.1",
"@vitest/coverage-v8": "^1.2.1",
"@vitest/coverage-v8": "^1.3.1",
"browser-cache-mock": "^0.1.7",
"del-cli": "^5.1.0",
"fix-tsup-cjs": "^1.2.0",
"http-server": "^14.1.1",
"husky": "^8.0.3",
"husky": "^9.0.11",
"jest-extended": "^4.0.2",
"jsdom": "^24.0.0",
"react": "^18.2.0",
Expand All @@ -78,9 +79,9 @@
"size-limit": "^11.0.2",
"start-server-and-test": "^2.0.3",
"ts-node": "^10.9.2",
"tsup": "^8.0.1",
"tsup": "^8.0.2",
"typescript": "^5.3.3",
"vitest": "^1.2.1",
"vitest": "^1.3.1",
"vitest-fetch-mock": "^0.2.2"
},
"scripts": {
Expand All @@ -93,11 +94,12 @@
"test:coverage": "vitest run --coverage",
"test:watch": "vitest watch",
"typecheck": "tsc -p test/tsconfig.json",
"typevalidation": "attw -P",
"size": "size-limit",
"validate": "pnpm run lint && pnpm run typecheck && pnpm run test && pnpm run build && pnpm run size",
"validate": "pnpm run lint && pnpm run typecheck && pnpm run test && pnpm run build && pnpm run size && npm run typevalidation",
"format": "prettier \"**/*.{js,jsx,json,yml,yaml,css,less,scss,ts,tsx,md,graphql,mdx}\" --write",
"prepublishOnly": "pnpm run validate",
"prepare": "husky install"
"prepare": "husky"
},
"tsup": {
"banner": {
Expand Down
Loading
Loading