piral-inferno 0.14.28-beta.4379 → 0.14.30

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 (2) hide show
  1. package/README.md +1 -2
  2. package/package.json +9 -5
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  # [Piral Inferno](https://piral.io) · [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-inferno.svg?style=flat)](https://www.npmjs.com/package/piral-inferno) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)
4
4
 
5
- This is a plugin that only has a peer dependency to `piral-core`. What `piral-inferno` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.
5
+ This is a plugin that only has a peer dependency to `inferno`. What `piral-inferno` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.
6
6
 
7
7
  The set includes an Inferno converter for any component registration, as well as a `fromInferno` shortcut and a `InfernoExtension` component.
8
8
 
@@ -62,7 +62,6 @@ export function setup(piral: PiletApi) {
62
62
  Using Inferno with Piral is as simple as installing `piral-inferno` and `inferno`.
63
63
 
64
64
  ```ts
65
- import 'inferno';
66
65
  import { createInfernoApi } from 'piral-inferno';
67
66
  ```
68
67
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "piral-inferno",
3
- "version": "0.14.28-beta.4379",
3
+ "version": "0.14.30",
4
4
  "description": "Plugin for integrating Inferno components in Piral.",
5
5
  "keywords": [
6
6
  "piral",
@@ -33,6 +33,10 @@
33
33
  "./lib/*": {
34
34
  "require": "./lib/*"
35
35
  },
36
+ "./_/*": {
37
+ "import": "./esm/*.js",
38
+ "require": "./lib/*.js"
39
+ },
36
40
  "./package.json": "./package.json"
37
41
  },
38
42
  "sideEffects": false,
@@ -51,6 +55,7 @@
51
55
  "url": "https://github.com/smapiot/piral/issues"
52
56
  },
53
57
  "scripts": {
58
+ "cleanup": "rimraf esm lib convert.d.ts convert.js",
54
59
  "build": "yarn build:commonjs && yarn build:esnext && yarn build:convert",
55
60
  "build:convert": "tsc convert.ts --skipLibCheck --declaration --module esnext",
56
61
  "build:commonjs": "tsc --project tsconfig.json --outDir lib --module commonjs",
@@ -61,12 +66,11 @@
61
66
  "devDependencies": {
62
67
  "inferno": "^7.3.2",
63
68
  "inferno-create-element": "^7.3.2",
64
- "piral-core": "0.14.28-beta.4379"
69
+ "piral-core": "^0.14.30"
65
70
  },
66
71
  "peerDependencies": {
67
72
  "inferno": "^7.0.0",
68
- "inferno-create-element": "^7.0.0",
69
- "piral-core": "0.14.x"
73
+ "inferno-create-element": "^7.0.0"
70
74
  },
71
- "gitHead": "b709551801efd8c4db99e1e6aa97b7479c59dcd6"
75
+ "gitHead": "f8fa71fb0f71425771ceda09c17080bf15412002"
72
76
  }