@modernpoacher/isomorphic 1.3.57 → 1.3.59

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.
@@ -0,0 +1,20 @@
1
+ # Publish to NPM
2
+
3
+ For CircleCI or the shell
4
+
5
+ If you need an _authentication token_ to publish then you should resolve that before executing this script
6
+
7
+ ```bash
8
+ echo ".publish/publish.sh" >> .npmignore
9
+ git clone https://github.com/modernpoacher/publish.git .publish
10
+ .publish/publish.sh
11
+ ```
12
+
13
+ A Gist with the same content as `publish.sh` may need an additional step
14
+
15
+ ```bash
16
+ echo ".publish/publish.sh" >> .npmignore
17
+ git clone https://gist.github.com/efd85e2b8da1ee830dd637f134994a9d.git .publish
18
+ chmod +x .publish/publish.sh
19
+ .publish/publish.sh
20
+ ```
@@ -0,0 +1,49 @@
1
+ import globals from 'globals'
2
+ import standard from '@sequencemedia/eslint-config-standard/configs/recommended/merge'
3
+
4
+ export default [
5
+ /**
6
+ * Standard config
7
+ */
8
+ standard({
9
+ files: [
10
+ '**/*.{mjs,cjs,mts,cts}'
11
+ ],
12
+ ignores: [
13
+ 'src',
14
+ 'test'
15
+ ],
16
+ languageOptions: {
17
+ globals: {
18
+ ...globals.node
19
+ }
20
+ }
21
+ }),
22
+ /**
23
+ * Standard config for `mjs` and `mts` files
24
+ */
25
+ standard({
26
+ files: [
27
+ 'src/**/*.{mjs,cjs,mts,cts}'
28
+ ],
29
+ languageOptions: {
30
+ globals: {
31
+ ...globals.node
32
+ }
33
+ }
34
+ }),
35
+ /**
36
+ * Standard config for `mjs` and `mts` files
37
+ */
38
+ standard({
39
+ files: [
40
+ 'test/**/*.{mjs,cjs,mts,cts}'
41
+ ],
42
+ languageOptions: {
43
+ globals: {
44
+ ...globals.node,
45
+ ...globals.mocha
46
+ }
47
+ }
48
+ })
49
+ ]
package/package.json CHANGED
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "name": "@modernpoacher/isomorphic",
3
- "version": "1.3.57",
3
+ "version": "1.3.59",
4
4
  "description": "Isomorphic React + Redux + React Router",
5
5
  "main": "./src/index.mjs",
6
6
  "type": "module",
7
+ "types": "./src/index.d.mts",
7
8
  "author": {
8
9
  "email": "modernpoacher@modernpoacher.com",
9
10
  "name": "Jonathan Perry for Modern Poacher Limited",
@@ -18,29 +19,29 @@
18
19
  "url": "git://github.com/modernpoacher/isomorphic.git"
19
20
  },
20
21
  "scripts": {
21
- "lint": "eslint . --ext .mjs,.cjs",
22
+ "lint": "eslint .",
22
23
  "lint:fix": "npm run lint -- --fix",
23
24
  "prepare": "husky",
24
25
  "test": "cross-env NODE_ENV=test mocha test --recursive"
25
26
  },
26
27
  "dependencies": {
27
- "@sequencemedia/react-redux-render": "2.4.7",
28
- "@sequencemedia/react-render": "2.4.7",
29
- "@sequencemedia/react-router-redux-render": "2.5.7",
30
- "@sequencemedia/react-router-render": "2.5.7",
28
+ "@sequencemedia/react-redux-render": "2.4.8",
29
+ "@sequencemedia/react-render": "2.4.8",
30
+ "@sequencemedia/react-router-redux-render": "2.5.8",
31
+ "@sequencemedia/react-router-render": "2.5.8",
31
32
  "debug": "^4.4.0"
32
33
  },
33
34
  "devDependencies": {
34
35
  "@babel/core": "^7.26.10",
35
- "@babel/eslint-parser": "^7.26.10",
36
+ "@babel/plugin-syntax-jsx": "^7.25.9",
36
37
  "@babel/preset-env": "^7.26.9",
37
38
  "@babel/preset-react": "^7.26.3",
38
39
  "@babel/register": "^7.25.9",
40
+ "@sequencemedia/eslint-config-standard": "^0.2.44",
39
41
  "chai": "^5.2.0",
40
42
  "core-js": "^3.41.0",
41
43
  "cross-env": "^7.0.3",
42
- "eslint": "8.57.1",
43
- "eslint-config-standard": "^17.1.0",
44
+ "eslint": "^9.23.0",
44
45
  "husky": "^9.1.7",
45
46
  "mocha": "^11.1.0",
46
47
  "prop-types": "^15.8.1",