Skip to content

Commit

Permalink
Merge pull request #17 from bikk-uk/v1.4.2
Browse files Browse the repository at this point in the history
v1.4.2
  • Loading branch information
aboyce authored Mar 22, 2021
2 parents a319687 + 89dc863 commit 945784f
Show file tree
Hide file tree
Showing 5 changed files with 1,497 additions and 983 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
module.exports = {
parser: '@typescript-eslint/parser', // Specifies the ESLint parser
extends: [
'prettier',
'plugin:react/recommended', // Allow React specific rules
'plugin:react-hooks/recommended', // React Hook rules
'plugin:@typescript-eslint/recommended', // Uses the recommended rules from the @typescript-eslint/eslint-plugin
'prettier/@typescript-eslint', // Uses eslint-config-prettier to disable ESLint rules from @typescript-eslint/eslint-plugin that would conflict with prettier
'plugin:prettier/recommended', // Enables eslint-plugin-prettier and eslint-config-prettier. This will display prettier errors as ESLint errors. Make sure this is always the last configuration in the extends array.
],
parserOptions: {
Expand Down
30 changes: 0 additions & 30 deletions .github/workflows/npm-publish.yml

This file was deleted.

49 changes: 49 additions & 0 deletions .github/workflows/release-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Release Publish

on:
release:
types: [created]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14
check-latest: true
- run: yarn
- run: yarn test

publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14
check-latest: true
scope: '@react-css'
registry-url: https://registry.npmjs.org
- run: yarn
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

publish-github:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14
check-latest: true
scope: '@react-css'
registry-url: https://npm.pkg.github.com
- run: yarn
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32 changes: 16 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-css/grid",
"version": "1.4.1",
"version": "1.4.2",
"description": "A thin wrapper to help make CSS Grid simpler and more expressive",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down Expand Up @@ -40,28 +40,28 @@
},
"homepage": "https://github.com/bikk-uk/react-css-grid#readme",
"devDependencies": {
"@testing-library/react": "^11.2.2",
"@types/jest": "^26.0.19",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@typescript-eslint/eslint-plugin": "^4.9.1",
"@typescript-eslint/parser": "^4.9.1",
"@testing-library/react": "^11.2.5",
"@types/jest": "^26.0.21",
"@types/react": "^17.0.3",
"@types/react-dom": "^17.0.2",
"@typescript-eslint/eslint-plugin": "^4.18.0",
"@typescript-eslint/parser": "^4.18.0",
"coveralls": "^3.1.0",
"csstype": "^3.0.5",
"eslint": "^7.15.0",
"eslint-config-prettier": "^7.0.0",
"eslint-plugin-prettier": "^3.2.0",
"eslint-plugin-react": "^7.21.5",
"csstype": "^3.0.7",
"eslint": "^7.22.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-react": "^7.22.0",
"eslint-plugin-react-hooks": "^4.2.0",
"jest": "^26.6.3",
"prettier": "^2.2.1",
"snyk": "^1.436.0",
"ts-jest": "^26.4.4",
"typescript": "^4.1.3"
"snyk": "^1.503.0",
"ts-jest": "^26.5.4",
"typescript": "^4.2.3"
},
"dependencies": {
"react": "^17.0.1",
"react-dom": "^17.0.1"
},
"snyk": true
}
}
Loading

0 comments on commit 945784f

Please sign in to comment.