shinkansen-engine 2.1.177 → 2.1.179
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/eslint.config.mjs +2 -4
- package/husky.mjs +16 -0
- package/package.json +58 -58
package/eslint.config.mjs
CHANGED
|
@@ -185,8 +185,7 @@ export default [
|
|
|
185
185
|
languageOptions: {
|
|
186
186
|
parser: typescriptParser,
|
|
187
187
|
parserOptions: {
|
|
188
|
-
projectService: true
|
|
189
|
-
project: 'tsconfig.json'
|
|
188
|
+
projectService: true
|
|
190
189
|
},
|
|
191
190
|
globals: {
|
|
192
191
|
...globals.node,
|
|
@@ -202,8 +201,7 @@ export default [
|
|
|
202
201
|
languageOptions: {
|
|
203
202
|
parser: typescriptParser,
|
|
204
203
|
parserOptions: {
|
|
205
|
-
projectService: true
|
|
206
|
-
project: 'tsconfig.json'
|
|
204
|
+
projectService: true
|
|
207
205
|
},
|
|
208
206
|
globals: {
|
|
209
207
|
...globals.browser,
|
package/husky.mjs
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
// @ts-ignore
|
|
4
|
+
Promise.resolve(import('husky'))
|
|
5
|
+
.then(({ default: husky }) => { husky() })
|
|
6
|
+
.catch((e) => {
|
|
7
|
+
if (e instanceof Error) {
|
|
8
|
+
if ('code' in e) {
|
|
9
|
+
const { code } = e
|
|
10
|
+
if (code === 'ERR_MODULE_NOT_FOUND') return
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
const { message } = e
|
|
14
|
+
if (message) console.error(`💥 ${message}`)
|
|
15
|
+
}
|
|
16
|
+
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "shinkansen-engine",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.179",
|
|
4
4
|
"description": "Shinkansen Engine",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Shinkansen",
|
|
@@ -40,12 +40,12 @@
|
|
|
40
40
|
"nvm": "bash nvm.sh",
|
|
41
41
|
"prebuild": "npm run nvm",
|
|
42
42
|
"prelint": "npm run nvm",
|
|
43
|
-
"prepare": "husky",
|
|
43
|
+
"prepare": "node husky.mjs",
|
|
44
44
|
"prestorybook": "npm run build && npm run prettier && npm run transform",
|
|
45
45
|
"pretest": "npm run nvm",
|
|
46
46
|
"prettier": "prettier src/sass/**/*.scss .storybook --write",
|
|
47
47
|
"storybook": "storybook dev -p 6010",
|
|
48
|
-
"test": "npm run test:mocha && npm run test:jest",
|
|
48
|
+
"test": "npm run test:mocha # && npm run test:jest",
|
|
49
49
|
"test:jest": "cross-env NODE_ENV=test jest",
|
|
50
50
|
"test:mocha": "cross-env NODE_ENV=test mocha test --recursive",
|
|
51
51
|
"transform": "cross-env DEBUG=shinkansen-engine* .storybook/transform.sh",
|
|
@@ -55,75 +55,75 @@
|
|
|
55
55
|
"debug": "^4.4.3"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@babel/core": "
|
|
59
|
-
"@babel/eslint-parser": "
|
|
60
|
-
"@babel/plugin-syntax-import-attributes": "
|
|
61
|
-
"@babel/preset-env": "
|
|
62
|
-
"@babel/preset-react": "
|
|
63
|
-
"@babel/register": "
|
|
58
|
+
"@babel/core": "7.29.7",
|
|
59
|
+
"@babel/eslint-parser": "7.29.7",
|
|
60
|
+
"@babel/plugin-syntax-import-attributes": "7.29.7",
|
|
61
|
+
"@babel/preset-env": "7.29.7",
|
|
62
|
+
"@babel/preset-react": "7.29.7",
|
|
63
|
+
"@babel/register": "7.29.7",
|
|
64
64
|
"@modernpoacher/design-system": "2.0.17",
|
|
65
|
-
"@sequencemedia/eslint-config-standard": "^0.2.
|
|
66
|
-
"@sequencemedia/eslint-config-typescript": "^0.1.
|
|
67
|
-
"@storybook/addon-docs": "^10.0
|
|
68
|
-
"@storybook/addon-links": "^10.0
|
|
69
|
-
"@storybook/addon-webpack5-compiler-babel": "^
|
|
70
|
-
"@storybook/react-webpack5": "^10.0
|
|
71
|
-
"@testing-library/jest-dom": "^
|
|
72
|
-
"@testing-library/react": "^16.3.
|
|
65
|
+
"@sequencemedia/eslint-config-standard": "^0.2.107",
|
|
66
|
+
"@sequencemedia/eslint-config-typescript": "^0.1.182",
|
|
67
|
+
"@storybook/addon-docs": "^10.6.0",
|
|
68
|
+
"@storybook/addon-links": "^10.6.0",
|
|
69
|
+
"@storybook/addon-webpack5-compiler-babel": "^4.0.1",
|
|
70
|
+
"@storybook/react-webpack5": "^10.6.0",
|
|
71
|
+
"@testing-library/jest-dom": "^7.0.1",
|
|
72
|
+
"@testing-library/react": "^16.3.3",
|
|
73
73
|
"@types/babel__register": "^7.17.3",
|
|
74
74
|
"@types/chai": "^5.2.3",
|
|
75
|
-
"@types/debug": "^4.1.
|
|
75
|
+
"@types/debug": "^4.1.13",
|
|
76
76
|
"@types/jest": "^30.0.0",
|
|
77
77
|
"@types/prop-types": "^15.7.15",
|
|
78
|
-
"@types/react": "^19.2.
|
|
79
|
-
"@types/react-dom": "^19.2.
|
|
80
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
81
|
-
"@typescript-eslint/parser": "^8.
|
|
82
|
-
"autoprefixer": "^10.
|
|
83
|
-
"chai": "^6.2.
|
|
78
|
+
"@types/react": "^19.2.18",
|
|
79
|
+
"@types/react-dom": "^19.2.7",
|
|
80
|
+
"@typescript-eslint/eslint-plugin": "^8.69.0",
|
|
81
|
+
"@typescript-eslint/parser": "^8.69.0",
|
|
82
|
+
"autoprefixer": "^10.5.5",
|
|
83
|
+
"chai": "^6.2.2",
|
|
84
84
|
"clean-webpack-plugin": "^4.0.0",
|
|
85
|
-
"core-js": "^3.
|
|
85
|
+
"core-js": "^3.50.0",
|
|
86
86
|
"cross-env": "^10.1.0",
|
|
87
87
|
"eslint": "9.38.0",
|
|
88
88
|
"eslint-plugin-react": "^7.37.5",
|
|
89
|
-
"eslint-plugin-storybook": "^10.0
|
|
90
|
-
"globals": "^
|
|
89
|
+
"eslint-plugin-storybook": "^10.6.0",
|
|
90
|
+
"globals": "^17.12.0",
|
|
91
91
|
"husky": "^9.1.7",
|
|
92
|
-
"jest": "^30.
|
|
93
|
-
"jest-environment-jsdom": "^30.
|
|
94
|
-
"mini-css-extract-plugin": "^2.
|
|
95
|
-
"mocha": "^
|
|
92
|
+
"jest": "^30.5.1",
|
|
93
|
+
"jest-environment-jsdom": "^30.5.1",
|
|
94
|
+
"mini-css-extract-plugin": "^2.10.2",
|
|
95
|
+
"mocha": "^12.0.0",
|
|
96
96
|
"perfectionist": "^2.4.0",
|
|
97
|
-
"postcss": "^8.5.
|
|
98
|
-
"postcss-discard-comments": "^
|
|
99
|
-
"postcss-discard-empty": "^
|
|
100
|
-
"postcss-import": "^
|
|
101
|
-
"postcss-loader": "^8.2.
|
|
97
|
+
"postcss": "^8.5.28",
|
|
98
|
+
"postcss-discard-comments": "^9.0.2",
|
|
99
|
+
"postcss-discard-empty": "^9.0.2",
|
|
100
|
+
"postcss-import": "^17.0.0",
|
|
101
|
+
"postcss-loader": "^8.2.1",
|
|
102
102
|
"postcss-map": "^0.11.0",
|
|
103
|
-
"prettier": "^3.6
|
|
103
|
+
"prettier": "^3.9.6",
|
|
104
104
|
"prop-types": "^15.8.1",
|
|
105
|
-
"react": "^19.2.
|
|
106
|
-
"react-component-snapshot": "^0.0.
|
|
107
|
-
"react-dom": "^19.2.
|
|
108
|
-
"react-router": "^
|
|
105
|
+
"react": "^19.2.8",
|
|
106
|
+
"react-component-snapshot": "^0.0.168",
|
|
107
|
+
"react-dom": "^19.2.8",
|
|
108
|
+
"react-router": "^8.3.1",
|
|
109
109
|
"remove-files-webpack-plugin": "^1.5.0",
|
|
110
|
-
"sass": "^1.
|
|
111
|
-
"sass-loader": "^
|
|
112
|
-
"shinkansen-cogs": "2.1.
|
|
113
|
-
"shinkansen-gears": "2.1.
|
|
114
|
-
"shinkansen-pantograph": "1.5.
|
|
115
|
-
"shinkansen-pinion": "2.1.
|
|
116
|
-
"shinkansen-rails": "1.1.
|
|
117
|
-
"shinkansen-signals": "1.2.
|
|
118
|
-
"shinkansen-sprockets": "2.1.
|
|
119
|
-
"shinkansen-transmission": "2.5.
|
|
120
|
-
"sinon": "^
|
|
121
|
-
"storybook": "^10.0
|
|
122
|
-
"stylelint": "^
|
|
123
|
-
"stylelint-config-recommended-scss": "^
|
|
124
|
-
"stylelint-scss": "^
|
|
125
|
-
"webpack": "^5.
|
|
126
|
-
"webpack-cli": "^
|
|
110
|
+
"sass": "^1.104.0",
|
|
111
|
+
"sass-loader": "^17.0.1",
|
|
112
|
+
"shinkansen-cogs": "2.1.152",
|
|
113
|
+
"shinkansen-gears": "2.1.122",
|
|
114
|
+
"shinkansen-pantograph": "1.5.178",
|
|
115
|
+
"shinkansen-pinion": "2.1.163",
|
|
116
|
+
"shinkansen-rails": "1.1.130",
|
|
117
|
+
"shinkansen-signals": "1.2.129",
|
|
118
|
+
"shinkansen-sprockets": "2.1.151",
|
|
119
|
+
"shinkansen-transmission": "2.5.96",
|
|
120
|
+
"sinon": "^22.1.0",
|
|
121
|
+
"storybook": "^10.6.0",
|
|
122
|
+
"stylelint": "^17.15.0",
|
|
123
|
+
"stylelint-config-recommended-scss": "^17.0.1",
|
|
124
|
+
"stylelint-scss": "^7.2.0",
|
|
125
|
+
"webpack": "^5.110.3",
|
|
126
|
+
"webpack-cli": "^7.2.3"
|
|
127
127
|
},
|
|
128
128
|
"peerDependencies": {
|
|
129
129
|
"shinkansen-cogs": "2.1.x",
|