shinkansen-engine 1.2.272 → 1.2.273

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.2.272",
3
+ "version": "1.2.273",
4
4
  "description": "Shinkansen Engine",
5
5
  "keywords": [
6
6
  "Shinkansen",
@@ -13,7 +13,7 @@
13
13
  ],
14
14
  "main": "./src/index.cjs",
15
15
  "type": "module",
16
- "types": "./src/index.d.cts",
16
+ "types": "./src/index.d.mts",
17
17
  "author": {
18
18
  "name": "Jonathan Perry for Modern Poacher Limited",
19
19
  "email": "modernpoacher@modernpoacher.com",
@@ -36,7 +36,7 @@
36
36
  "pregulp": "npm run nvm",
37
37
  "gulp": "gulp --color",
38
38
  "prelint": "npm run nvm",
39
- "lint": "cross-env NODE_ENV=production eslint . .storybook --ext .mjs,.cjs,.jsx,.mts,.cts",
39
+ "lint": "eslint . .storybook --ext .mjs,.cjs,.jsx,.mts,.cts",
40
40
  "lint:fix": "npm run lint -- --fix",
41
41
  "pretest": "npm run nvm",
42
42
  "test": "npm run test:mocha && npm run test:jest",
@@ -50,14 +50,14 @@
50
50
  },
51
51
  "dependencies": {
52
52
  "debug": "^4.3.4",
53
- "shinkansen-cogs": "1.7.80",
54
- "shinkansen-gears": "1.1.249",
55
- "shinkansen-pantograph": "1.3.136",
53
+ "shinkansen-cogs": "1.7.82",
54
+ "shinkansen-gears": "1.1.252",
55
+ "shinkansen-pantograph": "1.3.138",
56
56
  "shinkansen-pinion": "1.1.300",
57
- "shinkansen-rails": "1.0.140",
58
- "shinkansen-signals": "1.1.119",
59
- "shinkansen-sprockets": "1.1.243",
60
- "shinkansen-transmission": "2.2.136"
57
+ "shinkansen-rails": "1.0.141",
58
+ "shinkansen-signals": "1.1.120",
59
+ "shinkansen-sprockets": "1.1.244",
60
+ "shinkansen-transmission": "2.2.137"
61
61
  },
62
62
  "devDependencies": {
63
63
  "@babel/core": "^7.23.9",
@@ -0,0 +1,3 @@
1
+ declare module 'shinkansen-engine/components/cogs' {
2
+ export * as Cogs from 'shinkansen-cogs'
3
+ }
@@ -0,0 +1,3 @@
1
+ declare module 'shinkansen-engine/components/gears' {
2
+ export { Gears } from 'shinkansen-gears'
3
+ }
@@ -0,0 +1,3 @@
1
+ declare module 'shinkansen-engine/components/pantograph' {
2
+ export { Pantograph } from 'shinkansen-pantograph'
3
+ }
@@ -0,0 +1,3 @@
1
+ declare module 'shinkansen-engine/components/pinion' {
2
+ export { Pinion } from 'shinkansen-pinion'
3
+ }
@@ -0,0 +1,3 @@
1
+ declare module 'shinkansen-engine/components/rails' {
2
+ export { Rails } from 'shinkansen-rails'
3
+ }
@@ -0,0 +1,3 @@
1
+ declare module 'shinkansen-engine/components/signals' {
2
+ export { Signals } from 'shinkansen-signals'
3
+ }
@@ -0,0 +1,3 @@
1
+ declare module 'shinkansen-engine/components/sprockets' {
2
+ export * as Sprockets from 'shinkansen-sprockets'
3
+ }
@@ -0,0 +1,9 @@
1
+ declare module 'shinkansen-engine/engine' {
2
+ import React from 'react'
3
+ import type { PinionProps } from 'shinkansen-pinion/pinion'
4
+ import type { GearsProps } from 'shinkansen-gears/gears'
5
+
6
+ export type EngineProps = PinionProps & { gears: GearsProps }
7
+
8
+ export default class Engine extends React.Component<EngineProps> {}
9
+ }
@@ -0,0 +1,19 @@
1
+ declare module 'shinkansen-engine' {
2
+ export { Cogs } from 'shinkansen-engine/components/cogs'
3
+ export { Sprockets } from 'shinkansen-engine/components/sprockets'
4
+ export { Gears } from 'shinkansen-engine/components/gears'
5
+ export { Pinion } from 'shinkansen-engine/components/pinion'
6
+ export { Rails } from 'shinkansen-engine/components/rails'
7
+ export { Signals } from 'shinkansen-engine/components/signals'
8
+ export { Pantograph } from 'shinkansen-engine/components/pantograph'
9
+
10
+ export {
11
+ fromDocumentToHash,
12
+ fromHashToDocument,
13
+ toZashiki
14
+ } from 'shinkansen-engine/transformers/transmission'
15
+
16
+ export {
17
+ default as Engine
18
+ } from 'shinkansen-engine/engine'
19
+ }
@@ -0,0 +1,4 @@
1
+ declare module 'shinkansen-engine/transformers/pinion/check-answers' {
2
+ export * from 'shinkansen-pinion/transformers/check-answers'
3
+ export { default } from 'shinkansen-pinion/transformers/check-answers'
4
+ }
@@ -0,0 +1,3 @@
1
+ declare module 'shinkansen-engine/transformers/pinion/common' {
2
+ export * from 'shinkansen-pinion/transformers/common'
3
+ }
@@ -0,0 +1,3 @@
1
+ declare module 'shinkansen-engine/transformers/pinion/error-message' {
2
+ export * from 'shinkansen-pinion/transformers/error-message'
3
+ }
@@ -0,0 +1,5 @@
1
+ declare module 'shinkansen-engine/transformers/pinion' {
2
+ export * as checkAnswers from 'shinkansen-engine/transformers/pinion/check-answers'
3
+ export * as common from 'shinkansen-engine/transformers/pinion/common'
4
+ export * as errorMessage from 'shinkansen-engine/transformers/pinion/error-message'
5
+ }
@@ -0,0 +1,3 @@
1
+ declare module 'shinkansen-engine/transformers/transmission/from-document-to-hash' {
2
+ export { default } from 'shinkansen-transmission/transmission/from-document-to-hash'
3
+ }
@@ -0,0 +1,3 @@
1
+ declare module 'shinkansen-engine/transformers/transmission/from-hash-to-document' {
2
+ export { default } from 'shinkansen-transmission/transmission/from-hash-to-document'
3
+ }
@@ -0,0 +1,5 @@
1
+ declare module 'shinkansen-engine/transformers/transmission' {
2
+ export { default as fromDocumentToHash } from 'shinkansen-engine/transformers/transmission/from-document-to-hash'
3
+ export { default as fromHashToDocument } from 'shinkansen-engine/transformers/transmission/from-hash-to-document'
4
+ export { default as toZashiki } from 'shinkansen-engine/transformers/transmission/to-zashiki'
5
+ }
@@ -0,0 +1,3 @@
1
+ declare module 'shinkansen-engine/transformers/transmission/to-zashiki' {
2
+ export { default } from 'shinkansen-transmission/transmission/to-zashiki'
3
+ }
package/src/index.d.cts DELETED
@@ -1,94 +0,0 @@
1
- declare module 'shinkansen-engine/components/cogs' {
2
- export * as Cogs from 'shinkansen-cogs'
3
- }
4
-
5
- declare module 'shinkansen-engine/components/sprockets' {
6
- export * as Sprockets from 'shinkansen-sprockets'
7
- }
8
-
9
- declare module 'shinkansen-engine/components/gears' {
10
- export { Gears } from 'shinkansen-gears'
11
- }
12
-
13
- declare module 'shinkansen-engine/components/pinion' {
14
- export { Pinion } from 'shinkansen-pinion'
15
- }
16
-
17
- declare module 'shinkansen-engine/components/rails' {
18
- export { Rails } from 'shinkansen-rails'
19
- }
20
-
21
- declare module 'shinkansen-engine/components/signals' {
22
- export { Signals } from 'shinkansen-signals'
23
- }
24
-
25
- declare module 'shinkansen-engine/components/pantograph' {
26
- export { Pantograph } from 'shinkansen-pantograph'
27
- }
28
-
29
- declare module 'shinkansen-engine/transformers/pinion/check-answers' {
30
- export * from 'shinkansen-pinion/transformers/check-answers'
31
- export { default } from 'shinkansen-pinion/transformers/check-answers'
32
- }
33
-
34
- declare module 'shinkansen-engine/transformers/pinion/common' {
35
- export * from 'shinkansen-pinion/transformers/common'
36
- }
37
-
38
- declare module 'shinkansen-engine/transformers/pinion/error-message' {
39
- export * from 'shinkansen-pinion/transformers/error-message'
40
- }
41
-
42
- declare module 'shinkansen-engine/transformers/pinion' {
43
- export * as checkAnswers from 'shinkansen-engine/transformers/pinion/check-answers'
44
- export * as common from 'shinkansen-engine/transformers/pinion/common'
45
- export * as errorMessage from 'shinkansen-engine/transformers/pinion/error-message'
46
- }
47
-
48
- declare module 'shinkansen-engine/transformers/transmission/from-hash-to-document' {
49
- export { default } from 'shinkansen-transmission/transmission/from-hash-to-document'
50
- }
51
-
52
- declare module 'shinkansen-engine/transformers/transmission/from-document-to-hash' {
53
- export { default } from 'shinkansen-transmission/transmission/from-document-to-hash'
54
- }
55
-
56
- declare module 'shinkansen-engine/transformers/transmission/to-zashiki' {
57
- export { default } from 'shinkansen-transmission/transmission/to-zashiki'
58
- }
59
-
60
- declare module 'shinkansen-engine/transformers/transmission' {
61
- export { default as fromDocumentToHash } from 'shinkansen-engine/transformers/transmission/from-document-to-hash'
62
- export { default as fromHashToDocument } from 'shinkansen-engine/transformers/transmission/from-hash-to-document'
63
- export { default as toZashiki } from 'shinkansen-engine/transformers/transmission/to-zashiki'
64
- }
65
-
66
- declare module 'shinkansen-engine/engine' {
67
- import React from 'react'
68
- import type { PinionProps } from 'shinkansen-pinion/pinion'
69
- import type { GearsProps } from 'shinkansen-gears/gears'
70
-
71
- export type EngineProps = PinionProps & { gears: GearsProps }
72
-
73
- export default class Engine extends React.Component<EngineProps> {}
74
- }
75
-
76
- declare module 'shinkansen-engine' {
77
- export { Cogs } from 'shinkansen-engine/components/cogs'
78
- export { Sprockets } from 'shinkansen-engine/components/sprockets'
79
- export { Gears } from 'shinkansen-engine/components/gears'
80
- export { Pinion } from 'shinkansen-engine/components/pinion'
81
- export { Rails } from 'shinkansen-engine/components/rails'
82
- export { Signals } from 'shinkansen-engine/components/signals'
83
- export { Pantograph } from 'shinkansen-engine/components/pantograph'
84
-
85
- export {
86
- fromDocumentToHash,
87
- fromHashToDocument,
88
- toZashiki
89
- } from 'shinkansen-engine/transformers/transmission'
90
-
91
- export {
92
- default as Engine
93
- } from 'shinkansen-engine/engine'
94
- }