react-elmish 7.0.0 → 7.0.2
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/Common.d.ts +1 -1
- package/dist/Common.js +18 -6
- package/dist/ElmComponent.d.ts +1 -1
- package/dist/ElmComponent.js +1 -1
- package/dist/ErrorHandling.d.ts +16 -2
- package/dist/ErrorHandling.js +16 -2
- package/dist/Init.d.ts +2 -2
- package/dist/Init.js +1 -1
- package/dist/Testing/createUpdateArgsFactory.d.ts +2 -2
- package/dist/Testing/createUpdateArgsFactory.js +1 -1
- package/dist/Testing/execCmd.d.ts +1 -1
- package/dist/Testing/execCmd.js +2 -2
- package/dist/Testing/fakeOptions.d.ts +2 -2
- package/dist/Testing/fakeOptions.js +1 -1
- package/dist/Testing/getCreateUpdateArgs.d.ts +1 -1
- package/dist/Testing/getCreateUpdateArgs.js +1 -1
- package/dist/Testing/getUpdateFn.d.ts +4 -4
- package/dist/Testing/getUpdateFn.js +5 -5
- package/dist/Testing/index.d.ts +3 -3
- package/dist/Testing/index.js +1 -1
- package/dist/Testing/initAndExecCmd.d.ts +1 -1
- package/dist/Testing/initAndExecCmd.js +2 -2
- package/dist/Testing/renderWithModel.d.ts +1 -1
- package/dist/Testing/renderWithModel.js +1 -1
- package/dist/Types.d.ts +10 -5
- package/dist/Types.js +1 -1
- package/dist/cmd.d.ts +49 -49
- package/dist/cmd.js +49 -49
- package/dist/index.d.ts +6 -6
- package/dist/index.js +2 -2
- package/dist/useElmish.d.ts +3 -3
- package/dist/useElmish.js +6 -7
- package/package.json +21 -17
- package/.eslintrc +0 -3
- package/.github/workflows/release.yml +0 -47
- package/.releaserc.json +0 -3
- package/.vscode/settings.json +0 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-elmish",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.2",
|
|
4
4
|
"description": "Elmish for React using Typescript",
|
|
5
5
|
"author": "atheck",
|
|
6
6
|
"license": "MIT",
|
|
@@ -10,30 +10,31 @@
|
|
|
10
10
|
"build:js": "babel src --out-dir dist --extensions \".ts,.tsx\" --ignore \"./**/*.spec.ts\",\"./**/*.spec.tsx\" --source-maps inline",
|
|
11
11
|
"test": "jest --coverage",
|
|
12
12
|
"test:watch": "jest --watch --coverage",
|
|
13
|
-
"lint": "npx eslint \"src/**/*.ts[x]\"",
|
|
14
|
-
"update": "npx npm-check-updates -i",
|
|
13
|
+
"lint": "rome check src --max-diagnostics 200 && npx eslint \"src/**/*.ts[x]\"",
|
|
14
|
+
"update": "npx -y npm-check-updates -i --install always",
|
|
15
15
|
"semantic-release": "semantic-release"
|
|
16
16
|
},
|
|
17
17
|
"peerDependencies": {
|
|
18
18
|
"react": ">=16.8.0"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@babel/cli": "7.
|
|
22
|
-
"@babel/core": "7.
|
|
21
|
+
"@babel/cli": "7.22.10",
|
|
22
|
+
"@babel/core": "7.22.10",
|
|
23
23
|
"@babel/plugin-proposal-class-properties": "7.18.6",
|
|
24
|
-
"@babel/preset-env": "7.
|
|
25
|
-
"@babel/preset-react": "7.
|
|
26
|
-
"@babel/preset-typescript": "7.
|
|
24
|
+
"@babel/preset-env": "7.22.10",
|
|
25
|
+
"@babel/preset-react": "7.22.5",
|
|
26
|
+
"@babel/preset-typescript": "7.22.5",
|
|
27
27
|
"@testing-library/react": "14.0.0",
|
|
28
|
-
"@types/jest": "29.5.
|
|
29
|
-
"@types/react": "18.
|
|
30
|
-
"eslint": "8.
|
|
31
|
-
"eslint-config-heck": "1.
|
|
32
|
-
"jest": "29.
|
|
33
|
-
"jest-environment-jsdom": "29.
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
28
|
+
"@types/jest": "29.5.4",
|
|
29
|
+
"@types/react": "18.2.21",
|
|
30
|
+
"eslint": "8.47.0",
|
|
31
|
+
"eslint-config-heck": "1.47.1",
|
|
32
|
+
"jest": "29.6.4",
|
|
33
|
+
"jest-environment-jsdom": "29.6.4",
|
|
34
|
+
"rome": "12.1.3",
|
|
35
|
+
"semantic-release": "21.1.0",
|
|
36
|
+
"ts-jest": "29.1.1",
|
|
37
|
+
"typescript": "5.1.6"
|
|
37
38
|
},
|
|
38
39
|
"homepage": "https://github.com/atheck/react-elmish",
|
|
39
40
|
"repository": {
|
|
@@ -46,6 +47,9 @@
|
|
|
46
47
|
"elmish",
|
|
47
48
|
"state management"
|
|
48
49
|
],
|
|
50
|
+
"files": [
|
|
51
|
+
"dist/**/*"
|
|
52
|
+
],
|
|
49
53
|
"main": "dist/index.js",
|
|
50
54
|
"types": "dist/index.d.ts"
|
|
51
55
|
}
|
package/.eslintrc
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
name: Release
|
|
2
|
-
on:
|
|
3
|
-
push:
|
|
4
|
-
branches:
|
|
5
|
-
- main
|
|
6
|
-
- beta
|
|
7
|
-
- alpha
|
|
8
|
-
|
|
9
|
-
jobs:
|
|
10
|
-
test:
|
|
11
|
-
name: Test
|
|
12
|
-
runs-on: ubuntu-latest
|
|
13
|
-
steps:
|
|
14
|
-
- name: Checkout
|
|
15
|
-
uses: actions/checkout@v3.5.2
|
|
16
|
-
- name: Setup Node.js
|
|
17
|
-
uses: actions/setup-node@v3.6.0
|
|
18
|
-
with:
|
|
19
|
-
node-version: 'lts/*'
|
|
20
|
-
- name: Test
|
|
21
|
-
run: |
|
|
22
|
-
npm install
|
|
23
|
-
npm run lint
|
|
24
|
-
npm run test
|
|
25
|
-
|
|
26
|
-
release:
|
|
27
|
-
name: Release
|
|
28
|
-
needs: test
|
|
29
|
-
runs-on: ubuntu-latest
|
|
30
|
-
steps:
|
|
31
|
-
- name: Checkout
|
|
32
|
-
uses: actions/checkout@v3.5.2
|
|
33
|
-
with:
|
|
34
|
-
fetch-depth: 0
|
|
35
|
-
- name: Setup Node.js
|
|
36
|
-
uses: actions/setup-node@v3.6.0
|
|
37
|
-
with:
|
|
38
|
-
node-version: 'lts/*'
|
|
39
|
-
- name: Install dependencies
|
|
40
|
-
run: npm ci --ignore-scripts
|
|
41
|
-
- name: Build
|
|
42
|
-
run: npm run build
|
|
43
|
-
- name: Release
|
|
44
|
-
env:
|
|
45
|
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
46
|
-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
47
|
-
run: npx semantic-release
|
package/.releaserc.json
DELETED
package/.vscode/settings.json
DELETED