coaction 1.4.1 → 2.0.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.
package/package.json CHANGED
@@ -1,17 +1,28 @@
1
1
  {
2
2
  "name": "coaction",
3
- "version": "1.4.1",
3
+ "version": "2.0.0",
4
4
  "description": "A sleek JavaScript library designed for high-performance and multithreading web apps.",
5
5
  "keywords": [
6
6
  "coaction"
7
7
  ],
8
- "authors": [
9
- "Michael Lin <unadlib@gmail.com> (https://github.com/unadlib)"
10
- ],
11
- "homepage": "https://github.com/unadlib/coaction/tree/main/packages/core#readme",
8
+ "homepage": "https://github.com/coactionjs/coaction/tree/main/packages/core#readme",
9
+ "bugs": {
10
+ "url": "https://github.com/coactionjs/coaction/issues"
11
+ },
12
12
  "license": "MIT",
13
+ "author": "unadlib",
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "https://github.com/coactionjs/coaction.git",
17
+ "directory": "packages/core"
18
+ },
19
+ "files": [
20
+ "dist"
21
+ ],
22
+ "sideEffects": false,
13
23
  "main": "dist/index.js",
14
24
  "module": "dist/index.mjs",
25
+ "types": "dist/index.d.ts",
15
26
  "exports": {
16
27
  ".": {
17
28
  "types": "./dist/index.d.ts",
@@ -21,32 +32,22 @@
21
32
  },
22
33
  "./package.json": "./package.json"
23
34
  },
24
- "sideEffects": false,
25
- "files": [
26
- "dist"
27
- ],
28
- "repository": {
29
- "type": "git",
30
- "url": "https://github.com/unadlib/coaction.git",
31
- "directory": "packages/core"
32
- },
33
- "bugs": {
34
- "url": "https://github.com/unadlib/coaction/issues"
35
+ "publishConfig": {
36
+ "access": "public",
37
+ "provenance": true
35
38
  },
36
39
  "dependencies": {
40
+ "alien-signals": "^3.1.2",
37
41
  "data-transport": "^5.0.3",
38
42
  "mutative": "^1.3.0"
39
43
  },
40
- "publishConfig": {
41
- "access": "public",
42
- "provenance": true
43
- },
44
- "author": "unadlib",
45
- "types": "dist/index.d.ts",
44
+ "authors": [
45
+ "Michael Lin <unadlib@gmail.com> (https://github.com/unadlib)"
46
+ ],
46
47
  "scripts": {
47
48
  "clean": "rm -rf dist",
48
49
  "test": "vitest run test",
49
- "build": "tsup index.ts --format cjs,esm --dts --clean --out-dir dist",
50
- "dev": "tsup index.ts --format cjs,esm --dts --watch --out-dir dist"
50
+ "build": "node ../../scripts/build-package.mjs",
51
+ "dev": "node ../../scripts/build-package.mjs --watch"
51
52
  }
52
53
  }