shinkansen-pinion 1.0.40 → 1.0.43

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 CHANGED
@@ -8,8 +8,6 @@ const {
8
8
  }
9
9
  } = process
10
10
 
11
- // console.log('BABEL CONFIG')
12
-
13
11
  log('`shinkansen` is awake')
14
12
 
15
13
  function env () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shinkansen-pinion",
3
- "version": "1.0.40",
3
+ "version": "1.0.43",
4
4
  "description": "Shinkansen Pinion",
5
5
  "keywords": [
6
6
  "Shinkansen",
@@ -10,7 +10,7 @@
10
10
  "Karakuri",
11
11
  "React"
12
12
  ],
13
- "main": "./index.cjs",
13
+ "main": "./src/index.cjs",
14
14
  "type": "module",
15
15
  "author": "Jonathan Perry for Modern Poacher Limited <modernpoacher@modernpoacher.com>",
16
16
  "license": "MIT",
@@ -98,10 +98,10 @@
98
98
  "regenerator-runtime": "^0.13.11",
99
99
  "rimraf": "^5.0.0",
100
100
  "sass": "^1.62.1",
101
- "shinkansen-cogs": "^1.5.47",
102
- "shinkansen-rails": "1.0.21",
103
- "shinkansen-signals": "1.1.5",
104
- "shinkansen-sprockets": "^1.0.49",
101
+ "shinkansen-cogs": "^1.5.48",
102
+ "shinkansen-rails": "^1.0.23",
103
+ "shinkansen-signals": "^1.1.8",
104
+ "shinkansen-sprockets": "^1.0.50",
105
105
  "vinyl-paths": "3.0.1"
106
106
  },
107
107
  "imports": {
@@ -8,8 +8,6 @@ log('`shinkansen` is awake')
8
8
 
9
9
  const {
10
10
  CheckAnswersSprocket
11
- } = require('shinkansen-sprockets/sprockets')
12
-
13
- console.log(require('shinkansen-sprockets/sprockets'))
11
+ } = require('shinkansen-sprockets')
14
12
 
15
13
  module.exports = CheckAnswersSprocket
@@ -1,4 +1,4 @@
1
- require('@babel/register') // ({ configFile: require.resolve('../../../babel.config.cjs') })
1
+ require('@babel/register')
2
2
 
3
3
  const debug = require('debug')
4
4
 
package/src/index.cjs CHANGED
@@ -6,8 +6,10 @@ const log = debug('shinkansen-pinion')
6
6
 
7
7
  log('`shinkansen` is awake')
8
8
 
9
+ const components = require('./components/index.mjs')
10
+ const transformers = require('./transformers/index.mjs')
9
11
  const { default: Pinion } = require('./components/pinion/index.cjs')
10
12
 
11
- console.log(Pinion)
12
-
13
+ module.exports.components = components
14
+ module.exports.transformers = transformers
13
15
  module.exports.Pinion = Pinion
package/src/index.mjs CHANGED
@@ -4,6 +4,4 @@ const log = debug('shinkansen-pinion')
4
4
 
5
5
  log('`shinkansen` is awake')
6
6
 
7
- export * as components from './components/index.mjs'
8
- export * as transformers from './transformers/index.mjs'
9
- export { default as Pinion } from './components/pinion/index.cjs'
7
+ export * as default from './index.cjs'