Skip to content

Releases: Coreoz/create-plume-react-project

3.1.0

27 Oct 13:41
Compare
Choose a tag to compare

Changelog

Upgrade instructions (for an existing project)

See 39a015a...4e17362

3.0.1

23 Oct 10:33
Compare
Choose a tag to compare

Changelog

  • Fix crash in BO when accessing /users page

3.0.0

23 Oct 10:32
Compare
Choose a tag to compare

Changelog

  • Use SCSS modules
  • Add ESLint rules to TS type delimiter and type definition
  • Specify node minimum version in package.json
  • Upgrade vite and yarn
  • React hooks alias simplification
  • Add Storybook

Upgrade instructions (for an existing project)

Add ESLint configuration

To avoid have issues with Google Translate, add extends: 'plugin:@sayari/recommended'

To avoid have issues with hooks, add plugins: 'react-hooks'

To uniformize TS type members delimiter (comma instead of semicolon), to force explicit type definition, add rules:

    // Uniformize TS type members delimiter (comma instead of semicolon)
    "@typescript-eslint/member-delimiter-style": ["error", {
      "multiline": {
        "delimiter": "comma",
        "requireLast": true
      },
      "singleline": {
        "delimiter": "comma",
        "requireLast": false
      }
    }],
    // Force explicit type definition
    '@typescript-eslint/typedef': [
      'error',
      {
        'arrayDestructuring': false,
        'arrowCallSignature': true,
        'arrowParameter': true,
        'callSignature': true,
        'memberVariableDeclaration': true,
        'parameter': true,
        'propertyDeclaration': true,
        'objectDestructuring': false,
        'variableDeclaration': true,
        'variableDeclarationIgnoreFunction': true
      }
    ],
    'react-hooks/rules-of-hooks': 'error',
    // Add all your custom hooks which have dependencies in the additional hooks
    // If you have several hooks, here is the syntax 'additionalHooks': '(hook1|hook2)'
    'react-hooks/exhaustive-deps': ['warn', { 'additionalHooks': 'useOnDependenciesChange|useEffectWithSsrSupport|useObservableLoader' }],

Node engine minimum version

Specify node engine minimum version in the package.json file to avoid having node related issues:

  "engines": {
    "node": "~18"
  }

SCSS modules support and Storybook

See 6ede25a...25c8521

2.4.0

02 Jun 11:21
Compare
Choose a tag to compare

Changelog

Upgrade instructions (for an existing project)

  • Add editor config to ensure consistent formatting in the project

2.3.0

25 Jan 14:57
Compare
Choose a tag to compare

Changelog

Upgrade instructions (for an existing project)

  • Upgrade plume-ts-di to version 1.2.4
  • Upgrade ts-transformer-classname to version 2.0.0
  • Delete di-transformer-adapter.ts file
  • In the tsconfig.json file, replace the plugins block by:
    • { "transform": "ts-transformer-classname", "import": "diTransformerAdapter" },
    • { "transform": "ts-transformer-classname", "import": "classNameTransformer" }

2.2.1

26 Dec 17:37
Compare
Choose a tag to compare

Template admin

Template front

2.2.0

26 Dec 15:07
Compare
Choose a tag to compare

Template admin

  • 8369c11 Add more information about how to change the base path of the application (aka context path)
  • 22d3c1b Upgrade simple-http-rest-client to version 2.0.2
  • 62a15b5 Vite upgrade to version 4.0.3, Typescript upgrade to version 4.9.4, ttypescript upgrade to version 1.5.15

Template front