jamespot-front-business 1.3.5 → 1.3.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +2 -0
- package/dist/jamespot-front-business.js +113 -0
- package/dist/jamespot-front-business.mjs +5075 -0
- package/package.json +23 -22
- package/CHANGELOG.md +0 -43
- package/README-internal.md +0 -84
- package/dist/cjs.js +0 -6792
- package/dist/cjs.js.map +0 -1
- package/dist/esm.js +0 -6707
- package/dist/esm.js.map +0 -1
- package/dist/types.d.ts +0 -6502
- package/rollup.config.mjs +0 -47
- package/tsconfig.json +0 -55
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jamespot-front-business",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.7",
|
|
4
4
|
"description": "typescript utils",
|
|
5
|
-
"main": "dist/
|
|
6
|
-
"module": "dist/
|
|
7
|
-
"types": "dist/
|
|
5
|
+
"main": "dist/jamespot-front-business.js",
|
|
6
|
+
"module": "dist/jamespot-front-business.mjs",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
10
10
|
"url": "git+ssh://git@github.com/Jamespot/jamespot-front-business.git"
|
|
@@ -16,44 +16,45 @@
|
|
|
16
16
|
"redux"
|
|
17
17
|
],
|
|
18
18
|
"author": "Jamespot",
|
|
19
|
+
"peerDependencies": {
|
|
20
|
+
"@reduxjs/toolkit": "^2.10.1",
|
|
21
|
+
"jamespot-user-api": "*",
|
|
22
|
+
"react": "^18.3.1",
|
|
23
|
+
"react-intl": "^7.1.14",
|
|
24
|
+
"react-redux": "^8.1.3"
|
|
25
|
+
},
|
|
19
26
|
"devDependencies": {
|
|
20
|
-
"@
|
|
21
|
-
"@reduxjs/toolkit": "^1.9.7",
|
|
22
|
-
"@rollup/plugin-commonjs": "^28.0.9",
|
|
23
|
-
"@rollup/plugin-json": "^6.1.0",
|
|
24
|
-
"@rollup/plugin-typescript": "^12.3.0",
|
|
27
|
+
"@reduxjs/toolkit": "^2.10.1",
|
|
25
28
|
"@types/jest": "^30.0.0",
|
|
26
|
-
"@types/react": "^18.3.
|
|
29
|
+
"@types/react": "^18.3.27",
|
|
27
30
|
"@types/uuid": "^10.0.0",
|
|
28
31
|
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
|
29
32
|
"@typescript-eslint/parser": "^5.62.0",
|
|
33
|
+
"@vitejs/plugin-react": "^5.1.1",
|
|
30
34
|
"eslint": "^8.57.1",
|
|
31
35
|
"eslint-config-prettier": "^8.10.2",
|
|
32
36
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
33
37
|
"eslint-plugin-import": "^2.32.0",
|
|
34
|
-
"jamespot-user-api": "^1.3.
|
|
38
|
+
"jamespot-user-api": "^1.3.7",
|
|
35
39
|
"jest": "^30.2.0",
|
|
36
40
|
"jest-environment-jsdom": "^30.2.0",
|
|
37
|
-
"knip": "^5.
|
|
41
|
+
"knip": "^5.69.1",
|
|
38
42
|
"prettier": "^3.6.2",
|
|
39
43
|
"react": "^18.3.1",
|
|
40
|
-
"react-intl": "7.1.
|
|
44
|
+
"react-intl": "^7.1.14",
|
|
41
45
|
"react-redux": "^8.1.3",
|
|
42
|
-
"redux": "^4.2.1",
|
|
43
|
-
"rollup": "^4.52.5",
|
|
44
|
-
"rollup-plugin-dts": "^6.2.3",
|
|
45
46
|
"ts-jest": "^29.4.5",
|
|
46
|
-
"tslib": "^2.8.1",
|
|
47
47
|
"typescript": "^5.9.3",
|
|
48
|
-
"uuid": "^10.0.0"
|
|
48
|
+
"uuid": "^10.0.0",
|
|
49
|
+
"vite": "^7.2.2",
|
|
50
|
+
"vite-plugin-dts": "^4.5.4"
|
|
49
51
|
},
|
|
50
52
|
"engines": {
|
|
51
|
-
"node": ">=
|
|
52
|
-
"pnpm": ">=
|
|
53
|
+
"node": ">=24.10.0 <25.0.0",
|
|
54
|
+
"pnpm": ">=10.20.0 <11"
|
|
53
55
|
},
|
|
54
56
|
"scripts": {
|
|
55
|
-
"build": "
|
|
56
|
-
"watch": "rollup -c rollup.config.mjs -w",
|
|
57
|
+
"build": "vite build",
|
|
57
58
|
"format": "prettier --write --plugin-search-dir=. .",
|
|
58
59
|
"lint": "eslint --ignore-path .gitignore .",
|
|
59
60
|
"test": "jest --runInBand",
|
package/CHANGELOG.md
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
# jamespot-front-business
|
|
2
|
-
|
|
3
|
-
## 1.1.4
|
|
4
|
-
|
|
5
|
-
### Patch Changes
|
|
6
|
-
|
|
7
|
-
- patch
|
|
8
|
-
|
|
9
|
-
## 1.1.3
|
|
10
|
-
|
|
11
|
-
### Patch Changes
|
|
12
|
-
|
|
13
|
-
- bump
|
|
14
|
-
|
|
15
|
-
## 1.1.2
|
|
16
|
-
|
|
17
|
-
### Patch Changes
|
|
18
|
-
|
|
19
|
-
- jLand - fix mock
|
|
20
|
-
|
|
21
|
-
## 1.1.1
|
|
22
|
-
|
|
23
|
-
### Patch Changes
|
|
24
|
-
|
|
25
|
-
- jland maps with licenses
|
|
26
|
-
|
|
27
|
-
## 1.1.0
|
|
28
|
-
|
|
29
|
-
### Minor Changes
|
|
30
|
-
|
|
31
|
-
- Public
|
|
32
|
-
|
|
33
|
-
## 1.0.3
|
|
34
|
-
|
|
35
|
-
### Patch Changes
|
|
36
|
-
|
|
37
|
-
- cfb02e8: configure changeset
|
|
38
|
-
|
|
39
|
-
## 1.0.2
|
|
40
|
-
|
|
41
|
-
### Patch Changes
|
|
42
|
-
|
|
43
|
-
- cfb02e8: configure changeset
|
package/README-internal.md
DELETED
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
# Typescript utils for use within the Jamespot ecosystem
|
|
2
|
-
|
|
3
|
-
## Run Web on Local
|
|
4
|
-
|
|
5
|
-
Before installing anything take a look at the installation order on jamespot-user-api readMe:
|
|
6
|
-
https://github.com/Jamespot/jamespot-user-api/blob/develop/README-internal.md
|
|
7
|
-
|
|
8
|
-
### Installation
|
|
9
|
-
|
|
10
|
-
- PNPM is used in this project.
|
|
11
|
-
- It save time in packages installation and projects build among additional other features
|
|
12
|
-
|
|
13
|
-
follow this for more infos: https://pnpm.io/pnpm-cli
|
|
14
|
-
|
|
15
|
-
```
|
|
16
|
-
pnpm install --frozen-lockfile --ignore-scripts
|
|
17
|
-
pnpm build
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
## Use in another package
|
|
21
|
-
|
|
22
|
-
```
|
|
23
|
-
# install from npm
|
|
24
|
-
npm i --save jamespot-front-business
|
|
25
|
-
|
|
26
|
-
# install from a local folder
|
|
27
|
-
npm i --save ../jamespot-front-business
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
## Main commands
|
|
31
|
-
|
|
32
|
-
```
|
|
33
|
-
# install
|
|
34
|
-
git clone https://github.com/Jamespot/jamespot-front-business.git
|
|
35
|
-
pnpm i
|
|
36
|
-
|
|
37
|
-
# build
|
|
38
|
-
pnpm run build
|
|
39
|
-
|
|
40
|
-
# format with prettier
|
|
41
|
-
pnpm run format
|
|
42
|
-
|
|
43
|
-
# check linting issues
|
|
44
|
-
pnpm lint
|
|
45
|
-
|
|
46
|
-
# test with jest
|
|
47
|
-
pnpm test
|
|
48
|
-
|
|
49
|
-
# test one file
|
|
50
|
-
pnpm test:one -- <path>
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
# Test and Coverage
|
|
54
|
-
|
|
55
|
-
You can find information in coverage directory and browse file to find uncovered line
|
|
56
|
-
[link](.\coverage\lcov-report\index.html)
|
|
57
|
-
|
|
58
|
-
## versions
|
|
59
|
-
|
|
60
|
-
We use changeset to generate a changelog & bump the version in the package.json
|
|
61
|
-
|
|
62
|
-
```
|
|
63
|
-
# add a changelog entry for a branch / PR / feature
|
|
64
|
-
pnpm changeset
|
|
65
|
-
|
|
66
|
-
# generate the changelog & bump the version
|
|
67
|
-
pnpm changeset version
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
## release
|
|
71
|
-
|
|
72
|
-
To release a new version, execute the following commands:
|
|
73
|
-
|
|
74
|
-
```
|
|
75
|
-
git checkout master
|
|
76
|
-
git pull
|
|
77
|
-
git checkout develop
|
|
78
|
-
git pull
|
|
79
|
-
pnpm changeset version
|
|
80
|
-
pnpm changeset tag
|
|
81
|
-
git add .
|
|
82
|
-
git commit -m "prepare version XYZ"
|
|
83
|
-
git push --follow-tags
|
|
84
|
-
```
|