Skip to content

Commit

Permalink
Merge pull request #418 from numero33/feat/generics
Browse files Browse the repository at this point in the history
Feat/generics
  • Loading branch information
n33pm committed Sep 21, 2023
2 parents 6b90ee9 + 4385cf1 commit db80358
Show file tree
Hide file tree
Showing 8 changed files with 5,141 additions and 3,917 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/coveralls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: pnpm/action-setup@v2
with:
version: latest
run_install: false

- uses: actions/setup-node@v3
with:
node-version: 14
node-version: 16
cache: 'pnpm'

- run: |
yarn install
yarn run test:coverage
pnpm install --reporter=append-only --frozen-lockfile
pnpm run test:coverage
- name: Coveralls
uses: coverallsapp/github-action@master
Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: pnpm/action-setup@v2
id: pnpm-install
with:
version: latest
run_install: false

- uses: actions/setup-node@v3
with:
node-version: 14
- run: yarn install
node-version: 16
cache: 'pnpm'

- run: pnpm install --reporter=append-only --frozen-lockfile
- uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}
9 changes: 9 additions & 0 deletions .github/workflows/size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@ jobs:
CI_JOB_NUMBER: 1
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: latest
run_install: false

- uses: actions/setup-node@v3
with:
node-version: 16
cache: 'pnpm'
- uses: andresz1/size-limit-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"dependencies": {
"react-visual-window": "link:..",
"vite": "^3.1.7"
"vite": "^4.4.9"
},
"alias": {
"react": "../node_modules/react",
Expand All @@ -18,7 +18,7 @@
"devDependencies": {
"@types/react": "link:..",
"@types/react-dom": "link:..",
"@vitejs/plugin-react": "^2.1.0",
"@vitejs/plugin-react": "^4.0.4",
"typescript": "link:.."
}
}
36 changes: 18 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,27 +55,27 @@
}
],
"devDependencies": {
"@size-limit/preset-small-lib": "^8.1.0",
"@testing-library/react": "^13.4.0",
"@types/jest": "^29.1.2",
"@types/react": "^18.0.21",
"@types/react-dom": "^18.0.6",
"@typescript-eslint/eslint-plugin": "^5.39.0",
"@typescript-eslint/parser": "^5.39.0",
"eslint": "^8.25.0",
"@size-limit/preset-small-lib": "^9.0.0",
"@testing-library/react": "^14.0.0",
"@types/jest": "^29.5.5",
"@types/react": "^18.2.22",
"@types/react-dom": "^18.2.7",
"@typescript-eslint/eslint-plugin": "^6.7.2",
"@typescript-eslint/parser": "^6.7.2",
"eslint": "^8.49.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "^8.0.1",
"jest": "^29.1.2",
"jest-environment-jsdom": "^29.1.2",
"prettier": "^2.7.1",
"husky": "^8.0.3",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"prettier": "^3.0.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"size-limit": "^8.1.0",
"ts-jest": "^29.0.3",
"tslib": "^2.4.0",
"typescript": "^4.8.4"
"size-limit": "^9.0.0",
"ts-jest": "^29.1.1",
"tslib": "^2.6.2",
"typescript": "^5.2.2"
}
}

0 comments on commit db80358

Please sign in to comment.