@coaction/solid 2.0.0 → 2.1.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.
Files changed (2) hide show
  1. package/README.md +3 -5
  2. package/package.json +11 -6
package/README.md CHANGED
@@ -1,17 +1,15 @@
1
1
  # @coaction/solid
2
2
 
3
- ![Node CI](https://github.com/coactionjs/coaction/workflows/Node%20CI/badge.svg)
4
- [![npm](https://img.shields.io/npm/v/@coaction/solid.svg)](https://www.npmjs.com/package/@coaction/solid)
5
- ![license](https://img.shields.io/npm/l/@coaction/solid)
3
+ ![Node CI](https://github.com/coactionjs/coaction/workflows/Node%20CI/badge.svg) [![npm](https://img.shields.io/npm/v/@coaction/solid.svg)](https://www.npmjs.com/package/@coaction/solid) ![license](https://img.shields.io/npm/l/@coaction/solid)
6
4
 
7
5
  A Coaction integration tool for Solid.
8
6
 
9
7
  ## Installation
10
8
 
11
- You can install it via npm, yarn or pnpm.
9
+ Install it with pnpm:
12
10
 
13
11
  ```sh
14
- npm install coaction @coaction/solid
12
+ pnpm add coaction @coaction/solid
15
13
  ```
16
14
 
17
15
  ## Usage
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coaction/solid",
3
- "version": "2.0.0",
3
+ "version": "2.1.0",
4
4
  "description": "A Coaction integration tool for Solid",
5
5
  "keywords": [
6
6
  "coaction",
@@ -28,9 +28,14 @@
28
28
  "types": "dist/index.d.ts",
29
29
  "exports": {
30
30
  ".": {
31
- "types": "./dist/index.d.ts",
32
- "import": "./dist/index.mjs",
33
- "require": "./dist/index.js",
31
+ "import": {
32
+ "types": "./dist/index.d.mts",
33
+ "default": "./dist/index.mjs"
34
+ },
35
+ "require": {
36
+ "types": "./dist/index.d.ts",
37
+ "default": "./dist/index.js"
38
+ },
34
39
  "default": "./dist/index.mjs"
35
40
  },
36
41
  "./package.json": "./package.json"
@@ -41,10 +46,10 @@
41
46
  },
42
47
  "devDependencies": {
43
48
  "solid-js": "^1.9.10",
44
- "coaction": "2.0.0"
49
+ "coaction": "2.1.0"
45
50
  },
46
51
  "peerDependencies": {
47
- "coaction": "^2.0.0",
52
+ "coaction": ">=2.1.0 <3",
48
53
  "solid-js": "^1.8.0"
49
54
  },
50
55
  "authors": [