diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 3b2a9a90..9669fb32 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -6,6 +6,10 @@ on: - master pull_request: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: test-and-build: name: 'Test & build' diff --git a/README.md b/README.md index 657242d2..49e54ecc 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@

- A utility library with clarity and efficiency at the core. 0 dependencies. + A utility library with clarity and efficiency at the core and no dependencies

diff --git a/jest.config.js b/jest.config.js index aa98f283..294d2e20 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,5 +1,7 @@ module.exports = { - transform: { '^.+\\.tsx?$': '@swc/jest' }, + transform: { + '^.+\\.tsx?$': ['@swc/jest', { jsc: { transform: { react: { runtime: 'automatic' } } } }], + }, coverageProvider: 'v8', testEnvironment: 'jsdom', modulePathIgnorePatterns: ['/dist'], diff --git a/package.json b/package.json index a43170cc..c3d89535 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@devoxa/flocky", - "description": "A utility library with clarity and efficiency at the core. 0 dependencies.", + "description": "A utility library with clarity and efficiency at the core and no dependencies", "version": "3.0.0", "main": "dist/index.js", "module": "dist/esm/index.js", diff --git a/tsconfig.json b/tsconfig.json index 244ce490..721c90bc 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,7 +3,7 @@ // Output Options "target": "es2022", "module": "esnext", - "jsx": "react", + "jsx": "react-jsx", "noEmitOnError": true, "newLine": "lf", "outDir": "dist/",