shinkansen-engine 1.1.3 → 1.1.4
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/babel.config.cjs +4 -1
- package/package.json +8 -8
- package/src/components/pinion/check-answers/index.cjs +1 -3
- package/src/components/pinion/error-summary/index.cjs +1 -3
- package/src/components/pinion/fieldset/index.cjs +1 -3
- package/test/components/pinion/check-answers/index.spec.cjs +16 -0
- package/test/components/pinion/error-summary/index.spec.cjs +16 -0
- package/test/components/pinion/fieldset/index.spec.cjs +16 -0
package/babel.config.cjs
CHANGED
|
@@ -205,11 +205,14 @@ const plugins = [
|
|
|
205
205
|
*/
|
|
206
206
|
'shinkansen-signals': './node_modules/shinkansen-signals/src/index.mjs',
|
|
207
207
|
/**
|
|
208
|
-
* Storybook - Engine
|
|
208
|
+
* Storybook & Jest - Engine
|
|
209
209
|
*/
|
|
210
210
|
'shinkansen-engine/components/cogs': './src/components/cogs/index.cjs',
|
|
211
211
|
'shinkansen-engine/components/sprockets': './src/components/sprockets/index.cjs',
|
|
212
212
|
'shinkansen-engine/components/gears': './src/components/gears/index.cjs',
|
|
213
|
+
'shinkansen-engine/components/pinion/check-answers': './src/components/pinion/check-answers/index.cjs',
|
|
214
|
+
'shinkansen-engine/components/pinion/error-summary': './src/components/pinion/error-summary/index.cjs',
|
|
215
|
+
'shinkansen-engine/components/pinion/fieldset': './src/components/pinion/fieldset/index.cjs',
|
|
213
216
|
'shinkansen-engine/components/pinion': './src/components/pinion/index.cjs',
|
|
214
217
|
'shinkansen-engine/engine': './src/engine/index.cjs',
|
|
215
218
|
'shinkansen-engine': './src/index.cjs',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "shinkansen-engine",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.4",
|
|
4
4
|
"description": "Shinkansen Engine",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Shinkansen",
|
|
@@ -49,12 +49,12 @@
|
|
|
49
49
|
"debug": "^4.3.4",
|
|
50
50
|
"shinkansen-cogs": "1.6.1",
|
|
51
51
|
"shinkansen-gears": "1.1.1",
|
|
52
|
-
"shinkansen-pantograph": "1.2.
|
|
52
|
+
"shinkansen-pantograph": "1.2.3",
|
|
53
53
|
"shinkansen-pinion": "1.1.3",
|
|
54
|
-
"shinkansen-rails": "1.0.
|
|
55
|
-
"shinkansen-signals": "1.1.
|
|
54
|
+
"shinkansen-rails": "1.0.43",
|
|
55
|
+
"shinkansen-signals": "1.1.26",
|
|
56
56
|
"shinkansen-sprockets": "1.1.1",
|
|
57
|
-
"shinkansen-transmission": "2.2.
|
|
57
|
+
"shinkansen-transmission": "2.2.39"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@babel/core": "^7.21.8",
|
|
@@ -66,9 +66,9 @@
|
|
|
66
66
|
"@babel/preset-env": "^7.21.5",
|
|
67
67
|
"@babel/preset-react": "^7.18.6",
|
|
68
68
|
"@babel/register": "^7.21.0",
|
|
69
|
-
"@modernpoacher/design-system": "1.0.
|
|
70
|
-
"@modernpoacher/hooks": "^1.0.
|
|
71
|
-
"@sequencemedia/gulp": "^1.0.
|
|
69
|
+
"@modernpoacher/design-system": "1.0.11",
|
|
70
|
+
"@modernpoacher/hooks": "^1.0.401",
|
|
71
|
+
"@sequencemedia/gulp": "^1.0.9",
|
|
72
72
|
"@storybook/addon-actions": "^7.0.10",
|
|
73
73
|
"@storybook/addon-essentials": "^7.0.10",
|
|
74
74
|
"@storybook/addon-links": "^7.0.10",
|
|
@@ -2,9 +2,7 @@ require('@babel/register')({ ignore: [] })
|
|
|
2
2
|
|
|
3
3
|
const debug = require('debug')
|
|
4
4
|
|
|
5
|
-
const
|
|
6
|
-
default: CheckAnswers
|
|
7
|
-
} = require('shinkansen-pinion/components/check-answers')
|
|
5
|
+
const CheckAnswers = require('shinkansen-pinion/components/check-answers')
|
|
8
6
|
|
|
9
7
|
const log = debug('shinksansen-engine/components/pinion/check-answers')
|
|
10
8
|
|
|
@@ -2,9 +2,7 @@ require('@babel/register')({ ignore: [] })
|
|
|
2
2
|
|
|
3
3
|
const debug = require('debug')
|
|
4
4
|
|
|
5
|
-
const
|
|
6
|
-
default: ErrorSummary
|
|
7
|
-
} = require('shinkansen-pinion/components/error-summary')
|
|
5
|
+
const ErrorSummary = require('shinkansen-pinion/components/error-summary')
|
|
8
6
|
|
|
9
7
|
const log = debug('shinksansen-engine/components/pinion/error-summary')
|
|
10
8
|
|
|
@@ -2,9 +2,7 @@ require('@babel/register')({ ignore: [] })
|
|
|
2
2
|
|
|
3
3
|
const debug = require('debug')
|
|
4
4
|
|
|
5
|
-
const
|
|
6
|
-
default: Fieldset
|
|
7
|
-
} = require('shinkansen-pinion/components/fieldset')
|
|
5
|
+
const Fieldset = require('shinkansen-pinion/components/fieldset')
|
|
8
6
|
|
|
9
7
|
const log = debug('shinksansen-engine/components/pinion/fieldset')
|
|
10
8
|
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const chai = require('chai')
|
|
2
|
+
const sinonChai = require('sinon-chai')
|
|
3
|
+
const {
|
|
4
|
+
expect
|
|
5
|
+
} = chai
|
|
6
|
+
|
|
7
|
+
const CheckAnswers = require('shinkansen-engine/components/pinion/check-answers')
|
|
8
|
+
|
|
9
|
+
chai.use(sinonChai)
|
|
10
|
+
|
|
11
|
+
describe('shinkansen-engine/components/pinion/check-answers', () => {
|
|
12
|
+
it('is a function', () => {
|
|
13
|
+
return expect(CheckAnswers)
|
|
14
|
+
.to.be.a('function')
|
|
15
|
+
})
|
|
16
|
+
})
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const chai = require('chai')
|
|
2
|
+
const sinonChai = require('sinon-chai')
|
|
3
|
+
const {
|
|
4
|
+
expect
|
|
5
|
+
} = chai
|
|
6
|
+
|
|
7
|
+
const ErrorSummary = require('shinkansen-engine/components/pinion/error-summary')
|
|
8
|
+
|
|
9
|
+
chai.use(sinonChai)
|
|
10
|
+
|
|
11
|
+
describe('shinkansen-engine/components/pinion/error-summary', () => {
|
|
12
|
+
it('is a function', () => {
|
|
13
|
+
return expect(ErrorSummary)
|
|
14
|
+
.to.be.a('function')
|
|
15
|
+
})
|
|
16
|
+
})
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const chai = require('chai')
|
|
2
|
+
const sinonChai = require('sinon-chai')
|
|
3
|
+
const {
|
|
4
|
+
expect
|
|
5
|
+
} = chai
|
|
6
|
+
|
|
7
|
+
const Fieldset = require('shinkansen-engine/components/pinion/error-summary')
|
|
8
|
+
|
|
9
|
+
chai.use(sinonChai)
|
|
10
|
+
|
|
11
|
+
describe('shinkansen-engine/components/pinion/error-summary', () => {
|
|
12
|
+
it('is a function', () => {
|
|
13
|
+
return expect(Fieldset)
|
|
14
|
+
.to.be.a('function')
|
|
15
|
+
})
|
|
16
|
+
})
|