Skip to content

Commit

Permalink
fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSergey committed May 26, 2024
1 parent c4fe259 commit 4830992
Show file tree
Hide file tree
Showing 21 changed files with 42 additions and 44 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## [4.3.0]

- ESLint 9 preparation for use
- Bug fixing
- Refactoring
- All dependencies were updated

Expand Down
8 changes: 4 additions & 4 deletions book/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rockpack/book",
"version": "4.3.0",
"version": "4.3.1",
"description": "",
"main": "index.js",
"scripts": {
Expand All @@ -20,9 +20,9 @@
"react-helmet": "6.1.0"
},
"devDependencies": {
"@rockpack/codestyle": "4.3.0",
"@rockpack/compiler": "4.3.0",
"@rockpack/tsconfig": "4.3.0",
"@rockpack/codestyle": "4.3.1",
"@rockpack/compiler": "4.3.1",
"@rockpack/tsconfig": "4.3.1",
"@types/react": "18.2.28",
"@types/react-dom": "18.2.13",
"@types/react-helmet": "6.1.7",
Expand Down
8 changes: 4 additions & 4 deletions next/api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-starter",
"version": "4.3.0",
"version": "4.3.1",
"main": "index.js",
"scripts": {
"start": "node scripts.build",
Expand Down Expand Up @@ -55,9 +55,9 @@
"yargs": "16.2.0"
},
"devDependencies": {
"@rockpack/codestyle": "4.3.0",
"@rockpack/compiler": "4.3.0",
"@rockpack/tester": "4.3.0",
"@rockpack/codestyle": "4.3.1",
"@rockpack/compiler": "4.3.1",
"@rockpack/tester": "4.3.1",
"@types/dotenv-safe": "8.1.1",
"@types/jsonwebtoken": "8.5.0",
"@types/koa": "2.11.7",
Expand Down
10 changes: 5 additions & 5 deletions next/web-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-starter",
"version": "4.3.0",
"version": "4.3.1",
"scripts": {
"start": "node scripts.build",
"build": "node scripts.build --mode=production",
Expand Down Expand Up @@ -51,10 +51,10 @@
"devDependencies": {
"@localazer/webpack-plugin": "3.1.0",
"@localazer/po2json": "3.1.0",
"@rockpack/codestyle": "4.3.0",
"@rockpack/compiler": "4.3.0",
"@rockpack/tester": "4.3.0",
"@rockpack/tsconfig": "4.3.0",
"@rockpack/codestyle": "4.3.1",
"@rockpack/compiler": "4.3.1",
"@rockpack/tester": "4.3.1",
"@rockpack/tsconfig": "4.3.1",
"@issr/babel-plugin": "2.2.0",
"@storybook/addon-actions": "5.3.21",
"@storybook/addon-backgrounds": "5.3.21",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rockpack",
"version": "4.3.0",
"version": "4.3.1",
"private": true,
"license": "MIT",
"workspaces": [
Expand Down
6 changes: 3 additions & 3 deletions packages/babel/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rockpack/babel",
"version": "4.3.0",
"version": "4.3.1",
"description": "Babel presets module for Rockpack",
"main": "index.js",
"scripts": {
Expand Down Expand Up @@ -45,7 +45,7 @@
"@babel/preset-typescript": "7.24.1",
"@babel/traverse": "7.24.5",
"@loadable/babel-plugin": "5.16.1",
"@rockpack/utils": "4.3.0",
"@rockpack/utils": "4.3.1",
"babel-plugin-import": "1.13.8",
"babel-plugin-parameter-decorator": "1.0.16",
"babel-plugin-transform-react-class-to-function": "1.2.2",
Expand All @@ -56,6 +56,6 @@
"valid-types": "2.0.5"
},
"devDependencies": {
"@rockpack/codestyle": "4.3.0"
"@rockpack/codestyle": "4.3.1"
}
}
6 changes: 3 additions & 3 deletions packages/codestyle/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rockpack/codestyle",
"version": "4.3.0",
"version": "4.3.1",
"description": "The best practice for ESLint and TSLint",
"main": "index.js",
"scripts": {
Expand Down Expand Up @@ -28,8 +28,8 @@
"@babel/eslint-parser": "7.24.5",
"@commitlint/cli": "19.3.0",
"@commitlint/config-conventional": "19.2.2",
"@rockpack/babel": "4.3.0",
"@rockpack/utils": "4.3.0",
"@rockpack/babel": "4.3.1",
"@rockpack/utils": "4.3.1",
"@typescript-eslint/eslint-plugin": "7.8.0",
"@typescript-eslint/parser": "7.8.0",
"deep-extend": "0.6.0",
Expand Down
8 changes: 4 additions & 4 deletions packages/compiler/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rockpack/compiler",
"version": "4.3.0",
"version": "4.3.1",
"description": "The easiest webpack config generator.",
"main": "index.js",
"scripts": {
Expand Down Expand Up @@ -37,9 +37,9 @@
"@loadable/webpack-plugin": "5.15.2",
"@mdx-js/loader": "2.3.0",
"@nuxt/friendly-errors-webpack-plugin": "2.6.0",
"@rockpack/babel": "4.3.0",
"@rockpack/codestyle": "4.3.0",
"@rockpack/utils": "4.3.0",
"@rockpack/babel": "4.3.1",
"@rockpack/codestyle": "4.3.1",
"@rockpack/utils": "4.3.1",
"@statoscope/webpack-plugin": "5.28.2",
"@svgr/webpack": "8.1.0",
"@teamsupercell/typings-for-css-modules-loader": "2.5.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/starter/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rockpack/starter",
"version": "4.3.0",
"version": "4.3.1",
"main": "lib/index.js",
"type": "module",
"description": "Create-react-app on steroids. Create CSR/SSR Applications, with configured Webpack, Jest, ESLint's best practices rules and many optimizations",
Expand Down Expand Up @@ -32,7 +32,7 @@
},
"private": false,
"dependencies": {
"@rockpack/utils": "4.3.0",
"@rockpack/utils": "4.3.1",
"chalk": "5.3.0",
"inquirer": "9.2.20",
"latest-version": "6.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;

-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export * from './reducer';
export * from './service';
export * from './actions';
export * from './hooks';
export * from './components/image-area';
export * from './hooks';
export * from './reducer';
export * from './service';
2 changes: 1 addition & 1 deletion packages/starter/templates/backbone/csr/src/store.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Store, configureStore, combineReducers } from '@reduxjs/toolkit';
import { Store, combineReducers, configureStore } from '@reduxjs/toolkit';

import { imageReducer } from './features/image';
import { IRootState, IStoreProps } from './types/store';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import HelloWorld from '../../src';

const world = new HelloWorld('foo');
const world = new HelloWorld('Rockpack');

alert(world.show());
2 changes: 1 addition & 1 deletion packages/starter/templates/backbone/pure/src/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ import { ReactElement } from 'react';

import './assets/styles/global.scss';

export const App = (): ReactElement => <div>Hello world!</div>;
export const App = (): ReactElement => <div>Rockpack!</div>;
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;

-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;

-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export * from './reducer';
export * from './actions';
export * from './components/image-area';
export * from './hooks';
export * from './reducer';
export * from './service';
export * from './components/image-area';
2 changes: 1 addition & 1 deletion packages/starter/templates/backbone/ssr/src/store.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Store, configureStore, combineReducers } from '@reduxjs/toolkit';
import { Store, combineReducers, configureStore } from '@reduxjs/toolkit';

import { imageReducer } from './features/image';
import { IRootState, IStoreProps } from './types/store';
Expand Down
8 changes: 4 additions & 4 deletions packages/tester/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rockpack/tester",
"version": "4.3.0",
"version": "4.3.1",
"description": "Small wrapper for Jest and testing best practice.",
"main": "index.js",
"scripts": {
Expand Down Expand Up @@ -28,8 +28,8 @@
"private": false,
"dependencies": {
"@adobe/css-tools": "4.3.3",
"@rockpack/babel": "4.3.0",
"@rockpack/utils": "4.3.0",
"@rockpack/babel": "4.3.1",
"@rockpack/utils": "4.3.1",
"@testing-library/jest-dom": "5.17.0",
"babel-jest": "29.7.0",
"deep-extend": "0.6.0",
Expand All @@ -47,7 +47,7 @@
"yargs-unparser": "2.0.0"
},
"devDependencies": {
"@rockpack/codestyle": "4.3.0",
"@rockpack/codestyle": "4.3.1",
"@types/jest": "29.5.1"
}
}
2 changes: 1 addition & 1 deletion packages/tsconfig/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rockpack/tsconfig",
"version": "4.3.0",
"version": "4.3.1",
"description": "TSConfig for Rockpack projects",
"main": "tsconfig.json",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rockpack/utils",
"version": "4.3.0",
"version": "4.3.1",
"description": "Rockpack specific utils",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 4830992

Please sign in to comment.