Skip to content

Commit

Permalink
chore: change log and add vitest
Browse files Browse the repository at this point in the history
  • Loading branch information
rboixaderg committed Dec 10, 2023
1 parent 1273a37 commit 4226afa
Show file tree
Hide file tree
Showing 4 changed files with 1,361 additions and 649 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
0.24.0
------
- feat: Implement and update some guillotina behaviors
- feat: add select vocabulary field
- feat: Allow to sort columns in items tab
- fix: auth, expired token
- feat: allow to use multiples attributes to do a generic search
- feat: Add search input to user and group items tab
- chore: add vitest


0.23.1
------
- chore: update use-reactportal
Expand Down
14 changes: 9 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.23.1",
"version": "0.24.0",
"repository": {
"type": "git",
"url": "[email protected]:guillotinaweb/guillotina_react.git"
Expand All @@ -18,7 +18,9 @@
"bulma": "0.9.4",
"jwt-decode": "3.1.2",
"prop-types": "15.7.2",
"react-useportal": "1.0.19"
"react-beautiful-dnd": "13.1.1",
"react-useportal": "1.0.19",
"uuid": "9.0.1"
},
"peerDependencies": {
"react": "^16.12.0 || ^17.0.0 || ^18.0.0",
Expand All @@ -32,9 +34,10 @@
"@testing-library/user-event": "12.6.0",
"husky": "4.3.6",
"microbundle": "0.13.0",
"sass": "1.69.5",
"prettier": "2.2.1",
"serialize-javascript": "5.0.1"
"sass": "1.69.5",
"serialize-javascript": "5.0.1",
"vitest": "^0.34.6"
},
"scripts": {
"format": "prettier --write \"src/**/*.js\"",
Expand All @@ -43,7 +46,8 @@
"build": "yarn build:js && yarn build:css",
"build:js": "rm -rf ./dist && microbundle --jsx React.createElement --no-compress --sourcemap",
"build:css": "rm -rf ./dist/css && mkdir ./dist/css && sass ./src/guillo-gmi/scss/styles.sass ./dist/css/style.css",
"prepublish": "yarn build"
"prepublish": "yarn build",
"test": "vitest run"
},
"eslintConfig": {
"extends": "react-app"
Expand Down
7 changes: 7 additions & 0 deletions vitest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { defineConfig } from 'vitest/config'

export default defineConfig({
test: {
include: ['src/**/*.{test,spec}.?(c|m)[jt]s?(x)'],
},
})
Loading

0 comments on commit 4226afa

Please sign in to comment.