shinkansen-gears 1.1.1 → 1.1.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shinkansen-gears",
3
- "version": "1.1.1",
3
+ "version": "1.1.3",
4
4
  "description": "Shinkansen Gears",
5
5
  "keywords": [
6
6
  "Shinkansen",
@@ -34,7 +34,7 @@
34
34
  "lint": "cross-env NODE_ENV=production eslint . .storybook --ext .mjs --ext .cjs --ext .jsx --ext .mts --ext .cts",
35
35
  "lint:fix": "npm run lint -- --fix",
36
36
  "pretest": "npm run nvm",
37
- "test": "cross-env NODE_ENV=test jest --collect-coverage false --verbose --run-in-band",
37
+ "test": "cross-env NODE_ENV=test jest",
38
38
  "nvm": "bash nvm.sh",
39
39
  "prestorybook": "npm run build && npm run transform",
40
40
  "storybook": "storybook dev -p 6008",
@@ -55,14 +55,14 @@
55
55
  "@babel/preset-env": "^7.21.5",
56
56
  "@babel/preset-react": "^7.18.6",
57
57
  "@babel/register": "^7.21.0",
58
- "@modernpoacher/design-system": "1.0.9",
59
- "@modernpoacher/hooks": "^1.0.399",
60
- "@sequencemedia/gulp": "^1.0.7",
61
- "@storybook/addon-actions": "^7.0.10",
62
- "@storybook/addon-essentials": "^7.0.10",
63
- "@storybook/addon-links": "^7.0.10",
64
- "@storybook/react": "^7.0.10",
65
- "@storybook/react-webpack5": "^7.0.10",
58
+ "@modernpoacher/design-system": "1.0.14",
59
+ "@modernpoacher/hooks": "^1.0.402",
60
+ "@sequencemedia/gulp": "^1.0.11",
61
+ "@storybook/addon-actions": "^7.0.11",
62
+ "@storybook/addon-essentials": "^7.0.11",
63
+ "@storybook/addon-links": "^7.0.11",
64
+ "@storybook/react": "^7.0.11",
65
+ "@storybook/react-webpack5": "^7.0.11",
66
66
  "@types/react": "^18.2.6",
67
67
  "@typescript-eslint/eslint-plugin": "^5.59.5",
68
68
  "@typescript-eslint/parser": "^5.59.5",
@@ -102,10 +102,9 @@
102
102
  "react-router-dom": "^6.11.1",
103
103
  "react-test-renderer": "^18.2.0",
104
104
  "regenerator-runtime": "^0.13.11",
105
- "rimraf": "^5.0.0",
106
105
  "sass": "^1.62.1",
107
- "shinkansen-rails": "1.0.41",
108
- "storybook": "^7.0.10",
106
+ "shinkansen-rails": "1.0.47",
107
+ "storybook": "^7.0.11",
109
108
  "vinyl-paths": "^5.0.0"
110
109
  },
111
110
  "imports": {
@@ -1,4 +1,8 @@
1
- require('@babel/register')({ ignore: [] })
1
+ require('@babel/register')({
2
+ ignore: [
3
+ /node_modules\/(?!shinkansen-)/
4
+ ]
5
+ })
2
6
 
3
7
  const debug = require('debug')
4
8
 
@@ -1,4 +1,8 @@
1
- require('@babel/register')({ ignore: [] })
1
+ require('@babel/register')({
2
+ ignore: [
3
+ /node_modules\/(?!shinkansen-)/
4
+ ]
5
+ })
2
6
 
3
7
  const debug = require('debug')
4
8
 
@@ -128,7 +128,7 @@ Gears.defaultProps = {
128
128
  }
129
129
 
130
130
  Gears.propTypes = {
131
- reverse: PropTypes.object,
132
- forward: PropTypes.object,
131
+ reverse: PropTypes.shape(),
132
+ forward: PropTypes.shape(),
133
133
  pattern: PropTypes.string
134
134
  }
@@ -1,4 +1,8 @@
1
- require('@babel/register')({ ignore: [] })
1
+ require('@babel/register')({
2
+ ignore: [
3
+ /node_modules\/(?!shinkansen-)/
4
+ ]
5
+ })
2
6
 
3
7
  const debug = require('debug')
4
8
 
package/src/index.cjs CHANGED
@@ -1,4 +1,8 @@
1
- require('@babel/register')({ ignore: [] })
1
+ require('@babel/register')({
2
+ ignore: [
3
+ /node_modules\/(?!shinkansen-)/
4
+ ]
5
+ })
2
6
 
3
7
  const debug = require('debug')
4
8
 
package/.gitattributes DELETED
@@ -1,21 +0,0 @@
1
- # Default behavior
2
- * text=auto
3
-
4
- # LF line endings
5
- *.json text eol=lf
6
- *.mjs text eol=lf
7
- *.cjs text eol=lf
8
- *.jsx text eol=lf
9
- *.mts text eol=lf
10
- *.cts text eol=lf
11
- *.sh text eol=lf
12
- .editorconfig text eol=lf
13
- .eslintignore text eol=lf
14
- .eslintrc text eol=lf
15
- .gitattributes text eol=lf
16
- .gitignore text eol=lf
17
- .npmignore text eol=lf
18
- .npmrc text eol=lf
19
- .eslintrc text eol=lf
20
- .babelrc text eol=lf
21
- .husky/* text eol=lf
@@ -1,4 +0,0 @@
1
- #!/bin/sh
2
- . "$(dirname "$0")/_/husky.sh"
3
-
4
- npx cross-env DEBUG=@modernpoacher/hooks* node .husky/post-commit.mjs
@@ -1,8 +0,0 @@
1
- module.exports = (
2
- import('@modernpoacher/hooks')
3
- .then(({
4
- postCommit
5
- }) => (
6
- postCommit()
7
- ))
8
- )
@@ -1,5 +0,0 @@
1
- import {
2
- postCommit
3
- } from '@modernpoacher/hooks'
4
-
5
- export default postCommit()
package/.husky/pre-commit DELETED
@@ -1,8 +0,0 @@
1
- #!/bin/sh
2
- . "$(dirname "$0")/_/husky.sh"
3
-
4
- npm run lint
5
- npm test
6
- npm run build
7
- npm run transform
8
- git add .storybook
package/src/.babelrc DELETED
@@ -1,18 +0,0 @@
1
- {
2
- "plugins": [
3
- [
4
- "module-resolver",
5
- {
6
- "cwd": "babelrc",
7
- "alias": {
8
- /**
9
- * For Jest
10
- */
11
- "shinkansen-gears/forward": "./gears/forward/index.jsx",
12
- "shinkansen-gears/reverse": "./gears/reverse/index.jsx",
13
- "shinkansen-gears": "./gears/index.jsx"
14
- }
15
- }
16
- ]
17
- ]
18
- }