shinkansen-engine 1.3.11 → 1.4.0
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 +19 -11
- package/src/components/cogs/index.d.cts +2 -0
- package/src/components/cogs/index.d.mts +1 -0
- package/src/components/gears/forward/index.d.cts +2 -0
- package/src/components/gears/index.d.cts +1 -0
- package/src/components/gears/reverse/index.d.cts +2 -0
- package/src/components/index.d.cts +7 -0
- package/src/components/pantograph/index.d.cts +1 -0
- package/src/components/pinion/check-answers/index.d.cts +1 -0
- package/src/components/pinion/error-summary/index.d.cts +1 -0
- package/src/components/pinion/fieldset/index.d.cts +1 -0
- package/src/components/pinion/index.d.cts +1 -0
- package/src/components/rails/index.d.cts +1 -0
- package/src/components/signals/index.d.cts +1 -0
- package/src/components/sprockets/index.d.cts +2 -0
- package/src/components/sprockets/index.d.mts +1 -0
- package/src/engine/index.d.cts +2 -0
- package/src/index.d.cts +17 -0
- package/src/index.mjs +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "shinkansen-engine",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "Shinkansen Engine",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Shinkansen",
|
|
@@ -100,13 +100,13 @@
|
|
|
100
100
|
"remove-files-webpack-plugin": "^1.5.0",
|
|
101
101
|
"sass": "^1.85.1",
|
|
102
102
|
"sass-loader": "^16.0.5",
|
|
103
|
-
"shinkansen-
|
|
104
|
-
"shinkansen-
|
|
103
|
+
"shinkansen-gears": "1.2.9",
|
|
104
|
+
"shinkansen-cogs": "1.8.12",
|
|
105
105
|
"shinkansen-pantograph": "1.3.354",
|
|
106
|
-
"shinkansen-pinion": "1.
|
|
106
|
+
"shinkansen-pinion": "1.3.0",
|
|
107
107
|
"shinkansen-rails": "1.0.293",
|
|
108
108
|
"shinkansen-signals": "1.1.222",
|
|
109
|
-
"shinkansen-sprockets": "1.2.
|
|
109
|
+
"shinkansen-sprockets": "1.2.12",
|
|
110
110
|
"shinkansen-transmission": "2.4.2",
|
|
111
111
|
"sinon": "^19.0.2",
|
|
112
112
|
"storybook": "7.6.20",
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
"shinkansen-cogs": "1.8.x",
|
|
118
118
|
"shinkansen-gears": "1.2.x",
|
|
119
119
|
"shinkansen-pantograph": "1.3.x",
|
|
120
|
-
"shinkansen-pinion": "1.
|
|
120
|
+
"shinkansen-pinion": "1.3.x",
|
|
121
121
|
"shinkansen-rails": "1.0.x",
|
|
122
122
|
"shinkansen-signals": "1.1.x",
|
|
123
123
|
"shinkansen-sprockets": "1.2.x",
|
|
@@ -125,14 +125,22 @@
|
|
|
125
125
|
},
|
|
126
126
|
"imports": {
|
|
127
127
|
"#build/paths": "./build/paths.mjs",
|
|
128
|
-
"#engine":
|
|
128
|
+
"#engine": {
|
|
129
|
+
"require": "./src/index.cjs",
|
|
130
|
+
"import": "./src/index.mjs"
|
|
131
|
+
},
|
|
129
132
|
"#engine/common": "./src/common/index.mjs",
|
|
130
|
-
"#engine/components":
|
|
131
|
-
|
|
133
|
+
"#engine/components": {
|
|
134
|
+
"require": "./src/components/index.cjs",
|
|
135
|
+
"import": "./src/components/index.mjs"
|
|
136
|
+
},
|
|
137
|
+
"#engine/components/*": {
|
|
138
|
+
"require": "./src/components/*/index.cjs",
|
|
139
|
+
"import": "./src/components/*/index.mjs"
|
|
140
|
+
},
|
|
132
141
|
"#engine/components/gears/forward": "./src/components/gears/forward/index.cjs",
|
|
133
142
|
"#engine/components/gears/reverse": "./src/components/gears/reverse/index.cjs",
|
|
134
|
-
"#engine/engine": "./src/engine/index.
|
|
135
|
-
"#engine/engine/*": "./src/engine/*/index.jsx",
|
|
143
|
+
"#engine/engine": "./src/engine/index.cjs",
|
|
136
144
|
"#engine/transformers": "./src/transformers/index.mjs",
|
|
137
145
|
"#engine/transformers/*": "./src/transformers/*/index.mjs",
|
|
138
146
|
"#stories/components/*": "./stories/components/*/index.stories.jsx",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Gears as default } from 'shinkansen-gears'
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { default as Cogs } from '#engine/components/cogs'
|
|
2
|
+
export { default as Gears } from '#engine/components/gears'
|
|
3
|
+
export { default as Pantograph } from '#engine/components/pantograph'
|
|
4
|
+
export { default as Pinion } from '#engine/components/pinion'
|
|
5
|
+
export { default as Rails } from '#engine/components/rails'
|
|
6
|
+
export { default as Signals } from '#engine/components/signals'
|
|
7
|
+
export { default as Sprockets } from '#engine/components/sprockets'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Pantograph as default } from 'shinkansen-pantograph'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from 'shinkansen-pinion/components/sprockets/check-answers'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from 'shinkansen-pinion/components/sprockets/error-summary'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from 'shinkansen-pinion/components/sprockets/fieldset'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Pinion as default } from 'shinkansen-pinion'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Rails as default } from 'shinkansen-rails'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Signals as default } from 'shinkansen-signals'
|
package/src/index.d.cts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export { default as Cogs } from '#engine/components/cogs'
|
|
2
|
+
export { default as Gears } from '#engine/components/gears'
|
|
3
|
+
export { default as Pantograph } from '#engine/components/pantograph'
|
|
4
|
+
export { default as Pinion } from '#engine/components/pinion'
|
|
5
|
+
export { default as Rails } from '#engine/components/rails'
|
|
6
|
+
export { default as Signals } from '#engine/components/signals'
|
|
7
|
+
export { default as Sprockets } from '#engine/components/sprockets'
|
|
8
|
+
|
|
9
|
+
export {
|
|
10
|
+
fromDocumentToHash,
|
|
11
|
+
fromHashToDocument,
|
|
12
|
+
toZashiki // @ts-expect-error MJS
|
|
13
|
+
} from '#engine/transformers/transmission'
|
|
14
|
+
|
|
15
|
+
export {
|
|
16
|
+
default as Engine
|
|
17
|
+
} from '#engine/engine'
|
package/src/index.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import debug from 'debug'
|
|
2
2
|
|
|
3
3
|
export { default as Cogs } from './components/cogs/index.mjs'
|
|
4
|
-
export { default as Sprockets } from './components/sprockets/index.mjs'
|
|
5
4
|
export { default as Gears } from './components/gears/index.mjs'
|
|
6
5
|
export { default as Pinion } from './components/pinion/index.mjs'
|
|
7
6
|
export { default as Rails } from './components/rails/index.mjs'
|
|
8
7
|
export { default as Signals } from './components/signals/index.mjs'
|
|
9
8
|
export { default as Pantograph } from './components/pantograph/index.mjs'
|
|
9
|
+
export { default as Sprockets } from './components/sprockets/index.mjs'
|
|
10
10
|
|
|
11
11
|
const log = debug('shinksansen-engine')
|
|
12
12
|
|