shinkansen-engine 1.2.271 → 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 +11 -11
- package/src/components/cogs/index.d.mts +3 -0
- package/src/components/gears/index.d.mts +3 -0
- package/src/components/pantograph/index.d.mts +3 -0
- package/src/components/pinion/index.d.mts +3 -0
- package/src/components/rails/index.d.mts +3 -0
- package/src/components/signals/index.d.mts +3 -0
- package/src/components/sprockets/index.d.mts +3 -0
- package/src/engine/index.d.mts +9 -0
- package/src/index.d.mts +19 -0
- package/src/transformers/pinion/check-answers/index.d.mts +4 -0
- package/src/transformers/pinion/common/index.d.mts +3 -0
- package/src/transformers/pinion/error-message/index.d.mts +3 -0
- package/src/transformers/pinion/index.d.mts +5 -0
- package/src/transformers/transmission/from-document-to-hash/index.d.mts +3 -0
- package/src/transformers/transmission/from-hash-to-document/index.d.mts +3 -0
- package/src/transformers/transmission/index.d.mts +5 -0
- package/src/transformers/transmission/to-zashiki/index.d.mts +3 -0
- package/src/index.d.cts +0 -94
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "shinkansen-engine",
|
|
3
|
-
"version": "1.2.
|
|
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.
|
|
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": "
|
|
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.
|
|
54
|
-
"shinkansen-gears": "1.1.
|
|
55
|
-
"shinkansen-pantograph": "1.3.
|
|
56
|
-
"shinkansen-pinion": "1.1.
|
|
57
|
-
"shinkansen-rails": "1.0.
|
|
58
|
-
"shinkansen-signals": "1.1.
|
|
59
|
-
"shinkansen-sprockets": "1.1.
|
|
60
|
-
"shinkansen-transmission": "2.2.
|
|
53
|
+
"shinkansen-cogs": "1.7.82",
|
|
54
|
+
"shinkansen-gears": "1.1.252",
|
|
55
|
+
"shinkansen-pantograph": "1.3.138",
|
|
56
|
+
"shinkansen-pinion": "1.1.300",
|
|
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,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
|
+
}
|
package/src/index.d.mts
ADDED
|
@@ -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,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,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
|
+
}
|
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
|
-
}
|