shinkansen-engine 1.0.40 → 1.0.42

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-engine",
3
- "version": "1.0.40",
3
+ "version": "1.0.42",
4
4
  "description": "Shinkansen Engine",
5
5
  "keywords": [
6
6
  "Shinkansen",
@@ -33,7 +33,7 @@
33
33
  "pregulp": "npm run nvm",
34
34
  "gulp": "gulp --color",
35
35
  "prelint": "npm run nvm",
36
- "lint": "eslint . .storybook --ext .mjs --ext .cjs --ext .jsx",
36
+ "lint": "eslint . .storybook --ext .mjs --ext .cjs --ext .jsx --ext .mts --ext .cts",
37
37
  "lint:fix": "npm run lint -- --fix",
38
38
  "pretest": "npm run nvm",
39
39
  "test": "cross-env NODE_ENV=test mocha test --recursive",
@@ -43,14 +43,14 @@
43
43
  },
44
44
  "dependencies": {
45
45
  "debug": "^4.3.4",
46
- "shinkansen-cogs": "1.5.63",
47
- "shinkansen-gears": "1.0.57",
48
- "shinkansen-pantograph": "1.1.16",
46
+ "shinkansen-cogs": "1.5.65",
47
+ "shinkansen-gears": "1.0.59",
48
+ "shinkansen-pantograph": "1.1.17",
49
49
  "shinkansen-pinion": "1.0.63",
50
- "shinkansen-rails": "1.0.32",
51
- "shinkansen-signals": "1.1.15",
52
- "shinkansen-sprockets": "1.0.61",
53
- "shinkansen-transmission": "2.2.23"
50
+ "shinkansen-rails": "1.0.34",
51
+ "shinkansen-signals": "1.1.17",
52
+ "shinkansen-sprockets": "1.0.63",
53
+ "shinkansen-transmission": "2.2.26"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@babel/core": "^7.21.8",
@@ -62,13 +62,16 @@
62
62
  "@babel/preset-env": "^7.21.5",
63
63
  "@babel/preset-react": "^7.18.6",
64
64
  "@babel/register": "^7.21.0",
65
- "@modernpoacher/design-system": "1.0.6",
66
- "@modernpoacher/hooks": "^1.0.396",
65
+ "@modernpoacher/design-system": "1.0.7",
66
+ "@modernpoacher/hooks": "^1.0.397",
67
67
  "@sequencemedia/gulp": "^1.0.7",
68
68
  "@storybook/addon-actions": "6.5.12",
69
69
  "@storybook/addon-essentials": "6.5.12",
70
70
  "@storybook/addon-links": "6.5.12",
71
71
  "@storybook/react": "6.5.12",
72
+ "@types/react": "^18.2.6",
73
+ "@typescript-eslint/eslint-plugin": "^5.59.5",
74
+ "@typescript-eslint/parser": "^5.59.5",
72
75
  "autoprefixer": "^10.4.14",
73
76
  "babel-plugin-module-resolver": "^5.0.0",
74
77
  "chai": "^4.3.7",
@@ -80,6 +83,7 @@
80
83
  "enzyme-adapter-react-16": "^1.15.7",
81
84
  "eslint": "^8.40.0",
82
85
  "eslint-config-standard": "^17.0.0",
86
+ "eslint-config-standard-with-typescript": "^34.0.1",
83
87
  "eslint-import-resolver-babel-module": "^5.3.2",
84
88
  "eslint-plugin-import": "^2.27.5",
85
89
  "eslint-plugin-node": "^11.1.0",
@@ -7,7 +7,7 @@ log('`shinkansen` is awake')
7
7
  export { default as Cogs } from './cogs/index.cjs'
8
8
  export { default as Gears } from './gears/index.cjs'
9
9
  export { default as Pantograph } from './pantograph/index.cjs'
10
- export { default as Pinion } from './pinion/index.cjs'
10
+ export { default as Pinion } from './pinion/index.mjs'
11
11
  export { default as Rails } from './rails/index.cjs'
12
12
  export { default as Signals } from './signals/index.cjs'
13
13
  export { default as Sprockets } from './sprockets/index.cjs'
@@ -3,8 +3,8 @@ require('@babel/register')({ ignore: [] })
3
3
  const debug = require('debug')
4
4
 
5
5
  const {
6
- default: Pinion
7
- } = require('shinkansen-pinion/pinion')
6
+ Pinion
7
+ } = require('shinkansen-pinion')
8
8
 
9
9
  const log = debug('shinksansen-engine')
10
10
 
@@ -0,0 +1,15 @@
1
+ import debug from 'debug'
2
+
3
+ import {
4
+ Pinion
5
+ } from 'shinkansen-pinion'
6
+
7
+ const log = debug('shinksansen-engine')
8
+
9
+ log('`shinkansen` is awake')
10
+
11
+ console.log({
12
+ Pinion
13
+ })
14
+
15
+ export default Pinion
package/src/index.mjs CHANGED
@@ -3,7 +3,7 @@ import debug from 'debug'
3
3
  import Cogs from './components/cogs/index.cjs'
4
4
  import Sprockets from './components/sprockets/index.cjs'
5
5
  import Gears from './components/gears/index.cjs'
6
- import Pinion from './components/pinion/index.cjs'
6
+ import Pinion from './components/pinion/index.mjs'
7
7
  import Rails from './components/rails/index.cjs'
8
8
  import Signals from './components/signals/index.cjs'
9
9
  import Pantograph from './components/pantograph/index.cjs'