shinkansen-pinion 1.1.3 → 1.1.5

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.
Files changed (33) hide show
  1. package/babel.config.cjs +8 -3
  2. package/package.json +29 -27
  3. package/src/components/cogs/index.mjs +9 -0
  4. package/src/components/cogs/radio/index.cjs +17 -0
  5. package/src/components/cogs/radio/index.mjs +11 -0
  6. package/src/components/cogs/select/index.cjs +17 -0
  7. package/src/components/cogs/select/index.mjs +11 -0
  8. package/src/components/cogs/text/index.cjs +17 -0
  9. package/src/components/cogs/text/index.mjs +11 -0
  10. package/src/components/index.mjs +3 -4
  11. package/src/components/{check-answers → sprockets/check-answers}/index.cjs +6 -2
  12. package/src/components/{check-answers → sprockets/check-answers}/index.mjs +1 -1
  13. package/src/components/{error-summary → sprockets/error-summary}/index.cjs +6 -2
  14. package/src/components/{error-summary → sprockets/error-summary}/index.mjs +1 -1
  15. package/src/components/{fieldset → sprockets/fieldset}/index.cjs +6 -2
  16. package/src/components/{fieldset → sprockets/fieldset}/index.mjs +1 -1
  17. package/src/components/sprockets/index.mjs +9 -0
  18. package/src/index.cjs +5 -1
  19. package/src/pinion/index.cjs +5 -1
  20. package/src/pinion/index.jsx +5 -9
  21. package/test/components/cogs/index.spec.mjs +33 -0
  22. package/test/components/cogs/radio/index.spec.mjs +13 -0
  23. package/test/components/cogs/select/index.spec.mjs +13 -0
  24. package/test/components/cogs/text/index.spec.mjs +13 -0
  25. package/test/components/{check-answers → sprockets/check-answers}/index.spec.mjs +2 -2
  26. package/test/components/{error-summary → sprockets/error-summary}/index.spec.mjs +2 -2
  27. package/test/components/{fieldset → sprockets/fieldset}/index.spec.mjs +2 -2
  28. package/test/components/{index.spec.mjs → sprockets/index.spec.mjs} +2 -2
  29. package/.gitattributes +0 -21
  30. package/.husky/post-commit +0 -4
  31. package/.husky/post-commit.cjs +0 -8
  32. package/.husky/post-commit.mjs +0 -5
  33. package/.husky/pre-commit +0 -8
package/babel.config.cjs CHANGED
@@ -135,9 +135,14 @@ const plugins = [
135
135
  /**
136
136
  * Storybook - Pinion
137
137
  */
138
- 'shinkansen-pinion/components/check-answers': './src/components/check-answers/index.cjs',
139
- 'shinkansen-pinion/components/error-summary': './src/components/error-summary/index.cjs',
140
- 'shinkansen-pinion/components/fieldset': './src/components/fieldset/index.cjs',
138
+ 'shinkansen-pinion/components/sprockets/check-answers': './src/components/sprockets/check-answers/index.cjs',
139
+ 'shinkansen-pinion/components/sprockets/error-summary': './src/components/sprockets/error-summary/index.cjs',
140
+ 'shinkansen-pinion/components/sprockets/fieldset': './src/components/sprockets/fieldset/index.cjs',
141
+ 'shinkansen-pinion/components/sprockets': './src/components/sprockets/index.mjs',
142
+ 'shinkansen-pinion/components/cogs/radio': './src/components/cogs/radio/index.cjs',
143
+ 'shinkansen-pinion/components/cogs/select': './src/components/cogs/select/index.cjs',
144
+ 'shinkansen-pinion/components/cogs/text': './src/components/cogs/text/index.cjs',
145
+ 'shinkansen-pinion/components/cogs': './src/components/cogs/index.mjs',
141
146
  'shinkansen-pinion/components': './src/components/index.mjs',
142
147
  'shinkansen-pinion/transformers/check-answers/get-answer-title': './src/transformers/check-answers.mjs',
143
148
  'shinkansen-pinion/transformers/check-answers/get-answer-value-for-type-array': './src/transformers/check-answers.mjs',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shinkansen-pinion",
3
- "version": "1.1.3",
3
+ "version": "1.1.5",
4
4
  "description": "Shinkansen Pinion",
5
5
  "keywords": [
6
6
  "Shinkansen",
@@ -23,10 +23,8 @@
23
23
  },
24
24
  "scripts": {
25
25
  "prepublishOnly": "cross-env NODE_ENV=production npm run build",
26
- "prebuild": "npm run clean",
27
26
  "build": "cross-env DEBUG=shinkansen-pinion npm run gulp -- build",
28
27
  "build:watch": "cross-env DEBUG=shinkansen-pinion npm run gulp -- build:watch",
29
- "clean": "rimraf lib",
30
28
  "transform": "cross-env DEBUG=shinkansen-pinion npm run gulp -- transform",
31
29
  "transform:watch": "cross-env DEBUG=shinkansen-pinion npm run gulp -- transform:watch",
32
30
  "pregulp": "npm run nvm",
@@ -37,7 +35,7 @@
37
35
  "pretest": "npm run nvm",
38
36
  "test": "npm run test:mocha && npm run test:jest",
39
37
  "test:mocha": "cross-env NODE_ENV=test mocha test --recursive",
40
- "test:jest": "cross-env NODE_ENV=test jest --collect-coverage false --verbose --run-in-band",
38
+ "test:jest": "cross-env NODE_ENV=test jest",
41
39
  "nvm": "bash nvm.sh",
42
40
  "prestorybook": "npm run build && npm run transform",
43
41
  "storybook": "storybook dev -p 6009",
@@ -57,14 +55,14 @@
57
55
  "@babel/preset-env": "^7.21.5",
58
56
  "@babel/preset-react": "^7.18.6",
59
57
  "@babel/register": "^7.21.0",
60
- "@modernpoacher/design-system": "1.0.9",
61
- "@modernpoacher/hooks": "^1.0.399",
62
- "@sequencemedia/gulp": "^1.0.7",
63
- "@storybook/addon-actions": "^7.0.10",
64
- "@storybook/addon-essentials": "^7.0.10",
65
- "@storybook/addon-links": "^7.0.10",
66
- "@storybook/react": "^7.0.10",
67
- "@storybook/react-webpack5": "^7.0.10",
58
+ "@modernpoacher/design-system": "1.0.14",
59
+ "@modernpoacher/hooks": "^1.0.402",
60
+ "@sequencemedia/gulp": "^1.0.11",
61
+ "@storybook/addon-actions": "^7.0.11",
62
+ "@storybook/addon-essentials": "^7.0.11",
63
+ "@storybook/addon-links": "^7.0.11",
64
+ "@storybook/react": "^7.0.11",
65
+ "@storybook/react-webpack5": "^7.0.11",
68
66
  "@types/react": "^18.2.6",
69
67
  "@typescript-eslint/eslint-plugin": "^5.59.5",
70
68
  "@typescript-eslint/parser": "^5.59.5",
@@ -106,15 +104,14 @@
106
104
  "react-router-dom": "^6.11.1",
107
105
  "react-test-renderer": "^18.2.0",
108
106
  "regenerator-runtime": "^0.13.11",
109
- "rimraf": "^5.0.0",
110
107
  "sass": "^1.62.1",
111
- "shinkansen-cogs": "1.6.1",
112
- "shinkansen-rails": "1.0.42",
113
- "shinkansen-signals": "1.1.25",
114
- "shinkansen-sprockets": "1.1.1",
108
+ "shinkansen-cogs": "1.6.3",
109
+ "shinkansen-rails": "1.0.47",
110
+ "shinkansen-signals": "1.1.30",
111
+ "shinkansen-sprockets": "1.1.3",
115
112
  "sinon": "^15.0.4",
116
113
  "sinon-chai": "^3.7.0",
117
- "storybook": "^7.0.10",
114
+ "storybook": "^7.0.11",
118
115
  "vinyl-paths": "^5.0.0"
119
116
  },
120
117
  "imports": {
@@ -130,18 +127,23 @@
130
127
  "require": "./src/index.cjs",
131
128
  "import": "./src/index.mjs"
132
129
  },
133
- "./components/check-answers": {
134
- "require": "./src/components/check-answers/index.cjs",
135
- "import": "./src/components/check-answers/index.mjs"
130
+ "./components/sprockets/check-answers": {
131
+ "require": "./src/components/sprockets/check-answers/index.cjs",
132
+ "import": "./src/components/sprockets/check-answers/index.mjs"
136
133
  },
137
- "./components/error-summary": {
138
- "require": "./src/components/error-summary/index.cjs",
139
- "import": "./src/components/error-summary/index.mjs"
134
+ "./components/sprockets/error-summary": {
135
+ "require": "./src/components/sprockets/error-summary/index.cjs",
136
+ "import": "./src/components/sprockets/error-summary/index.mjs"
140
137
  },
141
- "./components/fieldset": {
142
- "require": "./src/components/fieldset/index.cjs",
143
- "import": "./src/components/fieldset/index.mjs"
138
+ "./components/sprockets/fieldset": {
139
+ "require": "./src/components/sprockets/fieldset/index.cjs",
140
+ "import": "./src/components/sprockets/fieldset/index.mjs"
144
141
  },
142
+ "./components/sprockets": "./src/components/sprockets/index.mjs",
143
+ "./components/cogs/radio": "./src/components/cogs/radio/index.cjs",
144
+ "./components/cogs/select": "./src/components/cogs/select/index.cjs",
145
+ "./components/cogs/text": "./src/components/cogs/text/index.cjs",
146
+ "./components/cogs": "./src/components/cogs/index.mjs",
145
147
  "./components": "./src/components/index.mjs",
146
148
  "./transformers/check-answers/*": "./src/transformers/check-answers/*.mjs",
147
149
  "./transformers/check-answers": "./src/transformers/check-answers/index.mjs",
@@ -0,0 +1,9 @@
1
+ import debug from 'debug'
2
+
3
+ const log = debug('shinkansen-pinion/components/sprockets')
4
+
5
+ log('`shinkansen` is awake')
6
+
7
+ export { default as RadioCog } from './radio/index.cjs'
8
+ export { default as SelectCog } from './select/index.cjs'
9
+ export { default as TextCog } from './text/index.cjs'
@@ -0,0 +1,17 @@
1
+ require('@babel/register')({
2
+ ignore: [
3
+ /node_modules\/(?!shinkansen-)/
4
+ ]
5
+ })
6
+
7
+ const debug = require('debug')
8
+
9
+ const log = debug('shinkansen-pinion/components/cogs/radio')
10
+
11
+ log('`shinkansen` is awake')
12
+
13
+ const {
14
+ RadioCog
15
+ } = require('shinkansen-cogs')
16
+
17
+ module.exports = RadioCog
@@ -0,0 +1,11 @@
1
+ import debug from 'debug'
2
+
3
+ import {
4
+ RadioCog
5
+ } from 'shinkansen-cogs'
6
+
7
+ const log = debug('shinkansen-pinion/components/cogs/radio')
8
+
9
+ log('`shinkansen` is awake')
10
+
11
+ export default RadioCog
@@ -0,0 +1,17 @@
1
+ require('@babel/register')({
2
+ ignore: [
3
+ /node_modules\/(?!shinkansen-)/
4
+ ]
5
+ })
6
+
7
+ const debug = require('debug')
8
+
9
+ const log = debug('shinkansen-pinion/components/cogs/select')
10
+
11
+ log('`shinkansen` is awake')
12
+
13
+ const {
14
+ SelectCog
15
+ } = require('shinkansen-cogs')
16
+
17
+ module.exports = SelectCog
@@ -0,0 +1,11 @@
1
+ import debug from 'debug'
2
+
3
+ import {
4
+ SelectCog
5
+ } from 'shinkansen-cogs'
6
+
7
+ const log = debug('shinkansen-pinion/components/cogs/select')
8
+
9
+ log('`shinkansen` is awake')
10
+
11
+ export default SelectCog
@@ -0,0 +1,17 @@
1
+ require('@babel/register')({
2
+ ignore: [
3
+ /node_modules\/(?!shinkansen-)/
4
+ ]
5
+ })
6
+
7
+ const debug = require('debug')
8
+
9
+ const log = debug('shinkansen-pinion/components/cogs/text')
10
+
11
+ log('`shinkansen` is awake')
12
+
13
+ const {
14
+ TextCog
15
+ } = require('shinkansen-cogs')
16
+
17
+ module.exports = TextCog
@@ -0,0 +1,11 @@
1
+ import debug from 'debug'
2
+
3
+ import {
4
+ TextCog
5
+ } from 'shinkansen-cogs'
6
+
7
+ const log = debug('shinkansen-pinion/components/cogs/text')
8
+
9
+ log('`shinkansen` is awake')
10
+
11
+ export default TextCog
@@ -1,9 +1,8 @@
1
1
  import debug from 'debug'
2
2
 
3
- const log = debug('shinkansen-pinion/components')
3
+ const log = debug('shinkansen-pinion/components/sprockets')
4
4
 
5
5
  log('`shinkansen` is awake')
6
6
 
7
- export { default as CheckAnswers } from './check-answers/index.cjs'
8
- export { default as ErrorSummary } from './error-summary/index.cjs'
9
- export { default as Fieldset } from './fieldset/index.cjs'
7
+ export * as Cogs from './cogs/index.mjs'
8
+ export * as Sprockets from './sprockets/index.mjs'
@@ -1,8 +1,12 @@
1
- require('@babel/register')({ ignore: [] })
1
+ require('@babel/register')({
2
+ ignore: [
3
+ /node_modules\/(?!shinkansen-)/
4
+ ]
5
+ })
2
6
 
3
7
  const debug = require('debug')
4
8
 
5
- const log = debug('shinkansen-pinion/components/check-answers')
9
+ const log = debug('shinkansen-pinion/components/sprockets/check-answers')
6
10
 
7
11
  log('`shinkansen` is awake')
8
12
 
@@ -4,7 +4,7 @@ import {
4
4
  CheckAnswersSprocket
5
5
  } from 'shinkansen-sprockets'
6
6
 
7
- const log = debug('shinkansen-pinion/components/check-answers')
7
+ const log = debug('shinkansen-pinion/components/sprockets/check-answers')
8
8
 
9
9
  log('`shinkansen` is awake')
10
10
 
@@ -1,8 +1,12 @@
1
- require('@babel/register')({ ignore: [] })
1
+ require('@babel/register')({
2
+ ignore: [
3
+ /node_modules\/(?!shinkansen-)/
4
+ ]
5
+ })
2
6
 
3
7
  const debug = require('debug')
4
8
 
5
- const log = debug('shinkansen-pinion/components/error-summary')
9
+ const log = debug('shinkansen-pinion/components/sprockets/error-summary')
6
10
 
7
11
  log('`shinkansen` is awake')
8
12
 
@@ -4,7 +4,7 @@ import {
4
4
  ErrorSummarySprocket
5
5
  } from 'shinkansen-sprockets'
6
6
 
7
- const log = debug('shinkansen-pinion/components/error-summary')
7
+ const log = debug('shinkansen-pinion/components/sprockets/error-summary')
8
8
 
9
9
  log('`shinkansen` is awake')
10
10
 
@@ -1,8 +1,12 @@
1
- require('@babel/register')({ ignore: [] })
1
+ require('@babel/register')({
2
+ ignore: [
3
+ /node_modules\/(?!shinkansen-)/
4
+ ]
5
+ })
2
6
 
3
7
  const debug = require('debug')
4
8
 
5
- const log = debug('shinkansen-pinion/components/fieldset')
9
+ const log = debug('shinkansen-pinion/components/sprockets/fieldset')
6
10
 
7
11
  log('`shinkansen` is awake')
8
12
 
@@ -4,7 +4,7 @@ import {
4
4
  FieldsetSprocket
5
5
  } from 'shinkansen-sprockets'
6
6
 
7
- const log = debug('shinkansen-pinion/components/fieldset')
7
+ const log = debug('shinkansen-pinion/components/sprockets/fieldset')
8
8
 
9
9
  log('`shinkansen` is awake')
10
10
 
@@ -0,0 +1,9 @@
1
+ import debug from 'debug'
2
+
3
+ const log = debug('shinkansen-pinion/components/sprockets')
4
+
5
+ log('`shinkansen` is awake')
6
+
7
+ export { default as CheckAnswers } from './check-answers/index.cjs'
8
+ export { default as ErrorSummary } from './error-summary/index.cjs'
9
+ export { default as Fieldset } from './fieldset/index.cjs'
package/src/index.cjs CHANGED
@@ -1,4 +1,8 @@
1
- require('@babel/register')({ ignore: [] })
1
+ require('@babel/register')({
2
+ ignore: [
3
+ /node_modules\/(?!shinkansen-)/
4
+ ]
5
+ })
2
6
 
3
7
  const debug = require('debug')
4
8
 
@@ -1,4 +1,8 @@
1
- require('@babel/register')({ ignore: [] })
1
+ require('@babel/register')({
2
+ ignore: [
3
+ /node_modules\/(?!shinkansen-)/
4
+ ]
5
+ })
2
6
 
3
7
  const debug = require('debug')
4
8
 
@@ -12,15 +12,11 @@ import React from 'react'
12
12
  import PropTypes from 'prop-types'
13
13
  import debug from 'debug'
14
14
 
15
- import {
16
- FieldsetSprocket
17
- } from 'shinkansen-sprockets'
15
+ import FieldsetSprocket from 'shinkansen-pinion/components/sprockets/fieldset'
18
16
 
19
- import {
20
- RadioCog,
21
- SelectCog,
22
- TextCog
23
- } from 'shinkansen-cogs'
17
+ import RadioCog from 'shinkansen-pinion/components/cogs/radio'
18
+ import SelectCog from 'shinkansen-pinion/components/cogs/select'
19
+ import TextCog from 'shinkansen-pinion/components/cogs/text'
24
20
 
25
21
  import hasEnum from 'shinkansen-pinion/transformers/common/has-enum'
26
22
  import hasAnyOf from 'shinkansen-pinion/transformers/common/has-any-of'
@@ -470,7 +466,7 @@ Pinion.propTypes = {
470
466
  }).isRequired,
471
467
  params: PropTypes.shape({
472
468
  components: PropTypes.shape(),
473
- errors: PropTypes.array
469
+ errors: PropTypes.arrayOf(PropTypes.shape())
474
470
  }),
475
471
  onChange: PropTypes.func
476
472
  }
@@ -0,0 +1,33 @@
1
+ import chai, { expect } from 'chai'
2
+ import sinonChai from 'sinon-chai'
3
+
4
+ import {
5
+ RadioCog,
6
+ SelectCog,
7
+ TextCog
8
+ } from 'shinkansen-pinion/components/cogs'
9
+
10
+ chai.use(sinonChai)
11
+
12
+ describe('shinkansen-pinion/components/cogs', () => {
13
+ describe('`RadioCog`', () => {
14
+ it('is a function', () => {
15
+ return expect(RadioCog)
16
+ .to.be.a('function')
17
+ })
18
+ })
19
+
20
+ describe('`SelectCog`', () => {
21
+ it('is a function', () => {
22
+ return expect(SelectCog)
23
+ .to.be.a('function')
24
+ })
25
+ })
26
+
27
+ describe('`TextCog`', () => {
28
+ it('is a function', () => {
29
+ return expect(TextCog)
30
+ .to.be.a('function')
31
+ })
32
+ })
33
+ })
@@ -0,0 +1,13 @@
1
+ import chai, { expect } from 'chai'
2
+ import sinonChai from 'sinon-chai'
3
+
4
+ import Radio from 'shinkansen-pinion/components/cogs/radio'
5
+
6
+ chai.use(sinonChai)
7
+
8
+ describe('shinkansen-pinion/components/cogs/radio', () => {
9
+ it('is an function', () => {
10
+ return expect(Radio)
11
+ .to.be.a('function')
12
+ })
13
+ })
@@ -0,0 +1,13 @@
1
+ import chai, { expect } from 'chai'
2
+ import sinonChai from 'sinon-chai'
3
+
4
+ import Select from 'shinkansen-pinion/components/cogs/select'
5
+
6
+ chai.use(sinonChai)
7
+
8
+ describe('shinkansen-pinion/components/cogs/select', () => {
9
+ it('is an function', () => {
10
+ return expect(Select)
11
+ .to.be.a('function')
12
+ })
13
+ })
@@ -0,0 +1,13 @@
1
+ import chai, { expect } from 'chai'
2
+ import sinonChai from 'sinon-chai'
3
+
4
+ import Text from 'shinkansen-pinion/components/cogs/text'
5
+
6
+ chai.use(sinonChai)
7
+
8
+ describe('shinkansen-pinion/components/cogs/text', () => {
9
+ it('is an function', () => {
10
+ return expect(Text)
11
+ .to.be.a('function')
12
+ })
13
+ })
@@ -1,11 +1,11 @@
1
1
  import chai, { expect } from 'chai'
2
2
  import sinonChai from 'sinon-chai'
3
3
 
4
- import CheckAnswers from 'shinkansen-pinion/components/check-answers'
4
+ import CheckAnswers from 'shinkansen-pinion/components/sprockets/check-answers'
5
5
 
6
6
  chai.use(sinonChai)
7
7
 
8
- describe('shinkansen-pinion/components/check-answers', () => {
8
+ describe('shinkansen-pinion/components/sprockets/check-answers', () => {
9
9
  it('is an function', () => {
10
10
  return expect(CheckAnswers)
11
11
  .to.be.a('function')
@@ -1,11 +1,11 @@
1
1
  import chai, { expect } from 'chai'
2
2
  import sinonChai from 'sinon-chai'
3
3
 
4
- import ErrorSummary from 'shinkansen-pinion/components/error-summary'
4
+ import ErrorSummary from 'shinkansen-pinion/components/sprockets/error-summary'
5
5
 
6
6
  chai.use(sinonChai)
7
7
 
8
- describe('shinkansen-pinion/components/error-summary', () => {
8
+ describe('shinkansen-pinion/components/sprockets/error-summary', () => {
9
9
  it('is an function', () => {
10
10
  return expect(ErrorSummary)
11
11
  .to.be.a('function')
@@ -1,11 +1,11 @@
1
1
  import chai, { expect } from 'chai'
2
2
  import sinonChai from 'sinon-chai'
3
3
 
4
- import Fieldset from 'shinkansen-pinion/components/fieldset'
4
+ import Fieldset from 'shinkansen-pinion/components/sprockets/fieldset'
5
5
 
6
6
  chai.use(sinonChai)
7
7
 
8
- describe('shinkansen-pinion/components/fieldset', () => {
8
+ describe('shinkansen-pinion/components/sprockets/fieldset', () => {
9
9
  it('is an function', () => {
10
10
  return expect(Fieldset)
11
11
  .to.be.a('function')
@@ -5,11 +5,11 @@ import {
5
5
  CheckAnswers,
6
6
  ErrorSummary,
7
7
  Fieldset
8
- } from 'shinkansen-pinion/components'
8
+ } from 'shinkansen-pinion/components/sprockets'
9
9
 
10
10
  chai.use(sinonChai)
11
11
 
12
- describe('shinkansen-pinion/components', () => {
12
+ describe('shinkansen-pinion/components/sprockets', () => {
13
13
  describe('`CheckAnswers`', () => {
14
14
  it('is a function', () => {
15
15
  return expect(CheckAnswers)
package/.gitattributes DELETED
@@ -1,21 +0,0 @@
1
- # Default behavior
2
- * text=auto
3
-
4
- # LF line endings
5
- *.json text eol=lf
6
- *.mjs text eol=lf
7
- *.cjs text eol=lf
8
- *.jsx text eol=lf
9
- *.mts text eol=lf
10
- *.cts text eol=lf
11
- *.sh text eol=lf
12
- .editorconfig text eol=lf
13
- .eslintignore text eol=lf
14
- .eslintrc text eol=lf
15
- .gitattributes text eol=lf
16
- .gitignore text eol=lf
17
- .npmignore text eol=lf
18
- .npmrc text eol=lf
19
- .eslintrc text eol=lf
20
- .babelrc text eol=lf
21
- .husky/* text eol=lf
@@ -1,4 +0,0 @@
1
- #!/bin/sh
2
- . "$(dirname "$0")/_/husky.sh"
3
-
4
- npx cross-env DEBUG=@modernpoacher/hooks* node .husky/post-commit.mjs
@@ -1,8 +0,0 @@
1
- module.exports = (
2
- import('@modernpoacher/hooks')
3
- .then(({
4
- postCommit
5
- }) => (
6
- postCommit()
7
- ))
8
- )
@@ -1,5 +0,0 @@
1
- import {
2
- postCommit
3
- } from '@modernpoacher/hooks'
4
-
5
- export default postCommit()
package/.husky/pre-commit DELETED
@@ -1,8 +0,0 @@
1
- #!/bin/sh
2
- . "$(dirname "$0")/_/husky.sh"
3
-
4
- npm run lint
5
- npm test
6
- npm run build
7
- npm run transform
8
- git add .storybook