Skip to content

Commit

Permalink
Release 10.0.0 (#79)
Browse files Browse the repository at this point in the history
## What's changed

* feat: upgrade deps and add react compiler rules
([#78](#78))
  • Loading branch information
puehringer authored Aug 1, 2024
2 parents 6c77f03 + 50c3ea0 commit 7758685
Show file tree
Hide file tree
Showing 6 changed files with 2,718 additions and 2,684 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
name: release
name: Create a new release PR

on: workflow_dispatch
on:
workflow_dispatch:
inputs:
release_version:
type: string
description: 'The next version to release'
required: false

jobs:
release:
uses: datavisyn/github-workflows/.github/workflows/release-source.yml@main
secrets: inherit
uses: datavisyn/github-workflows/.github/workflows/release-source.yml@feat-automate-releases-releasenotes
secrets: inherit
3 changes: 1 addition & 2 deletions bin/commands/lint.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ module.exports = {
type: 'boolean',
}),
handler: (args) => {
// TODO: Remove --fix to ensure all linting errors are reported in CI. Disable until a codebase is fully migrated, as otherwise formatting causes merge conflicts.
call('eslint', `--fix ${args.cache ? '--cache' : ''} --no-error-on-unmatched-pattern ${(args.strings || []).join(' ')} "src/**/*.ts{,x}" "tests/**/*.ts{,x}" "cypress/**/*.ts{,x}"`);
call('eslint', `${args.cache ? '--cache' : ''} --no-error-on-unmatched-pattern ${(args.strings || []).join(' ')} "src/**/*.ts{,x}" "tests/**/*.ts{,x}" "cypress/**/*.ts{,x}"`);
},
};
4 changes: 3 additions & 1 deletion config/eslintrc.template.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module.exports = ({ tsconfigRootDir }) => ({
'plugin:@typescript-eslint/recommended',
'plugin:prettier/recommended',
],
plugins: ['react', '@typescript-eslint'],
plugins: ['react', '@typescript-eslint', 'react-compiler'],
ignorePatterns: ['*.js'],
env: {
browser: true,
Expand All @@ -37,6 +37,7 @@ module.exports = ({ tsconfigRootDir }) => ({
return acc;
}, {}),
'class-methods-use-this': 'off',
curly: [2, 'all'],
'linebreak-style': 'off',
'no-console': 'off',
'no-continue': 'off',
Expand Down Expand Up @@ -87,6 +88,7 @@ module.exports = ({ tsconfigRootDir }) => ({
displayName: 'static public field',
},
],
'react-compiler/react-compiler': 'warn',
},
overrides: [
{
Expand Down
72 changes: 37 additions & 35 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "visyn_scripts",
"description": "",
"version": "9.0.0",
"version": "10.0.0",
"author": {
"name": "datavisyn GmbH",
"email": "[email protected]",
Expand Down Expand Up @@ -29,15 +29,16 @@
"lint:fix": "eslint --fix bin/**/*.js config/**/*.js tests/**/*.js",
"test": "jest -w 1",
"test:watch": "jest -w 1 --watch",
"build": "echo 'No build script defined'",
"dist": "npm run lint && npm run test"
},
"dependencies": {
"@rsdoctor/cli": "^0.1.3",
"@rsdoctor/rspack-plugin": "^0.1.3",
"@rspack/cli": "~0.5.4",
"@rspack/core": "~0.5.4",
"@rspack/plugin-minify": "~0.5.4",
"@rspack/plugin-react-refresh": "~0.5.4",
"@rsdoctor/cli": "^0.3.10",
"@rsdoctor/rspack-plugin": "^0.3.10",
"@rspack/cli": "~0.7.5",
"@rspack/core": "~0.7.5",
"@rspack/plugin-minify": "~0.7.5",
"@rspack/plugin-react-refresh": "~0.7.5",
"@storybook/addon-actions": "^7.6.17",
"@storybook/addon-essentials": "^7.6.17",
"@storybook/addon-interactions": "^7.6.17",
Expand All @@ -48,58 +49,59 @@
"@storybook/react": "^7.6.17",
"@storybook/react-webpack5": "^7.6.17",
"@storybook/testing-library": "0.2.2",
"@swc/core": "~1.4.2",
"@swc/helpers": "~0.5.6",
"@swc/core": "~1.7.2",
"@swc/helpers": "~0.5.12",
"@swc/jest": "~0.2.36",
"@types/jest": "~27.4.1",
"@types/node": "^20.11.20",
"@typescript-eslint/eslint-plugin": "~7.1.0",
"@typescript-eslint/parser": "~7.1.0",
"@types/node": "^20.14.12",
"@typescript-eslint/eslint-plugin": "~7.17.0",
"@typescript-eslint/parser": "~7.17.0",
"dotenv": "^16.4.5",
"dotenv-expand": "^11.0.6",
"eslint": "^8.57.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-config-airbnb-typescript": "^18.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-chai-friendly": "^0.7.4",
"eslint-plugin-cypress": "^2.15.1",
"eslint-plugin-chai-friendly": "^1.0.0",
"eslint-plugin-cypress": "^3.4.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-jsx-a11y": "^6.9.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.35.0",
"eslint-plugin-react-compiler": "0.0.0-experimental-9ed098e-20240725",
"eslint-plugin-react-hooks": "^4.6.2",
"fork-ts-checker-webpack-plugin": "^9.0.2",
"fs-extra": "^11.2.0",
"glob": "^10.3.10",
"html-loader": "~5.0.0",
"glob": "^11.0.0",
"html-loader": "~5.1.0",
"html-webpack-plugin": "^5.6.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^27.5.1",
"jest-raw-loader": "~1.0.1",
"jest-resolve": "^27.4.2",
"postcss": "^8.4.35",
"postcss-flexbugs-fixes": "^5.0.2",
"postcss-loader": "^8.1.0",
"postcss-loader": "^8.1.1",
"postcss-normalize": "^10.0.1",
"postcss-preset-env": "^9.4.0",
"prettier": "^3.2.5",
"postcss-preset-env": "^9.6.0",
"prettier": "^3.3.3",
"react-dev-utils": "^12.0.1",
"react-refresh": "^0.14.0",
"react-refresh": "^0.14.2",
"resolve-url-loader": "^5.0.0",
"rimraf": "~5.0.5",
"rimraf": "~6.0.1",
"rspack-plugin-dotenv": "^0.0.3",
"sass-embedded": "~1.71.1",
"sass-loader": "^14.1.1",
"sass-embedded": "~1.77.8",
"sass-loader": "^16.0.0",
"shx": "~0.3.4",
"storybook": "^7.6.17",
"storybook-addon-swc": "^1.2.0",
"tailwindcss": "^3.4.1",
"tailwindcss": "^3.4.7",
"ts-node": "^10.9.2",
"tslib": "~2.6.2",
"typescript": "~5.3.3",
"tslib": "~2.6.3",
"typescript": "~5.5.4",
"util": "^0.12.5",
"yargs": "^17.7.2"
},
Expand All @@ -109,10 +111,10 @@
"jest-dev-server": "^6.1.1"
},
"peerDependencies": {
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"react": "^18.0.0",
"react-dom": "^18.0.0"
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"jest": {
"testPathIgnorePatterns": [
Expand Down
1 change: 1 addition & 0 deletions tests_fixtures/standalone_template/cypress/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"compilerOptions": {
"outDir": "./dist",
"sourceMap": false,
"declarationMap": false,
"types": [
"cypress"
]
Expand Down
Loading

0 comments on commit 7758685

Please sign in to comment.