@guanghechen/task 1.0.0-alpha.25 → 1.0.0-alpha.26

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/CHANGELOG.md CHANGED
@@ -1,258 +1,184 @@
1
1
  # Change Log
2
2
 
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
3
+ All notable changes to this project will be documented in this file. See
4
+ [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- # [1.0.0-alpha.25](https://github.com/guanghechen/sora/compare/@guanghechen/task@1.0.0-alpha.24...@guanghechen/task@1.0.0-alpha.25) (2024-01-02)
7
-
8
- **Note:** Version bump only for package @guanghechen/task
6
+ # [1.0.0-alpha.26](https://github.com/guanghechen/sora/compare/@guanghechen/task@1.0.0-alpha.25...@guanghechen/task@1.0.0-alpha.26) (2024-02-03)
9
7
 
8
+ ### Performance Improvements
10
9
 
10
+ - 💄 fix lint
11
+ ([2d5bb6f](https://github.com/guanghechen/sora/commit/2d5bb6f03d0312a42c1117d95181df8b69de827a))
12
+ - 🔧 fix nx scripts
13
+ ([47bc4e6](https://github.com/guanghechen/sora/commit/47bc4e66df825cb37127219bccf60dc81d6a9b48))
14
+ - 🔧 update tsconfig
15
+ ([98855bc](https://github.com/guanghechen/sora/commit/98855bcc245d98c61217c5bafc6a1b2506b7824d))
11
16
 
17
+ # Change Log
12
18
 
19
+ All notable changes to this project will be documented in this file. See
20
+ [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
13
21
 
14
- # [1.0.0-alpha.24](https://github.com/guanghechen/sora/compare/@guanghechen/task@1.0.0-alpha.23...@guanghechen/task@1.0.0-alpha.24) (2023-12-04)
22
+ # [1.0.0-alpha.25](https://github.com/guanghechen/sora/compare/@guanghechen/task@1.0.0-alpha.24...@guanghechen/task@1.0.0-alpha.25) (2024-01-02)
15
23
 
16
24
  **Note:** Version bump only for package @guanghechen/task
17
25
 
26
+ # [1.0.0-alpha.24](https://github.com/guanghechen/sora/compare/@guanghechen/task@1.0.0-alpha.23...@guanghechen/task@1.0.0-alpha.24) (2023-12-04)
18
27
 
19
-
20
-
28
+ **Note:** Version bump only for package @guanghechen/task
21
29
 
22
30
  # [1.0.0-alpha.23](https://github.com/guanghechen/sora/compare/@guanghechen/task@1.0.0-alpha.22...@guanghechen/task@1.0.0-alpha.23) (2023-12-03)
23
31
 
24
-
25
32
  ### Performance Improvements
26
33
 
27
- * 🔧 fix lint ([4bc57d2](https://github.com/guanghechen/sora/commit/4bc57d2deabf2a4f144c7af46d45582387825ecb))
28
-
29
-
30
-
31
-
34
+ - 🔧 fix lint
35
+ ([4bc57d2](https://github.com/guanghechen/sora/commit/4bc57d2deabf2a4f144c7af46d45582387825ecb))
32
36
 
33
37
  # [1.0.0-alpha.22](https://github.com/guanghechen/sora/compare/@guanghechen/task@1.0.0-alpha.21...@guanghechen/task@1.0.0-alpha.22) (2023-12-02)
34
38
 
35
39
  **Note:** Version bump only for package @guanghechen/task
36
40
 
37
-
38
-
39
-
40
-
41
41
  # [1.0.0-alpha.21](https://github.com/guanghechen/sora/compare/@guanghechen/task@1.0.0-alpha.20...@guanghechen/task@1.0.0-alpha.21) (2023-11-29)
42
42
 
43
-
44
43
  ### Performance Improvements
45
44
 
46
- * 🔧 no longer to require node engine version in packages ([6dc2014](https://github.com/guanghechen/sora/commit/6dc2014122dd44bcadc893e2ee98697265e7d61e))
47
-
48
-
49
-
50
-
45
+ - 🔧 no longer to require node engine version in packages
46
+ ([6dc2014](https://github.com/guanghechen/sora/commit/6dc2014122dd44bcadc893e2ee98697265e7d61e))
51
47
 
52
48
  # [1.0.0-alpha.20](https://github.com/guanghechen/sora/compare/@guanghechen/task@1.0.0-alpha.19...@guanghechen/task@1.0.0-alpha.20) (2023-11-18)
53
49
 
54
50
  **Note:** Version bump only for package @guanghechen/task
55
51
 
56
-
57
-
58
-
59
-
60
52
  # [1.0.0-alpha.19](https://github.com/guanghechen/sora/compare/@guanghechen/task@1.0.0-alpha.18...@guanghechen/task@1.0.0-alpha.19) (2023-11-18)
61
53
 
62
54
  **Note:** Version bump only for package @guanghechen/task
63
55
 
64
-
65
-
66
-
67
-
68
56
  # [1.0.0-alpha.18](https://github.com/guanghechen/sora/compare/@guanghechen/task@1.0.0-alpha.17...@guanghechen/task@1.0.0-alpha.18) (2023-11-18)
69
57
 
70
-
71
58
  ### Performance Improvements
72
59
 
73
- * 🔧 upgrade engine version requirement from '>= 16.0.0' to '>= 18.0.0' ([ddb9521](https://github.com/guanghechen/sora/commit/ddb9521b529b2ca838554794339b9e27ac80b8aa))
74
-
75
-
76
-
77
-
60
+ - 🔧 upgrade engine version requirement from '>= 16.0.0' to '>= 18.0.0'
61
+ ([ddb9521](https://github.com/guanghechen/sora/commit/ddb9521b529b2ca838554794339b9e27ac80b8aa))
78
62
 
79
63
  # [1.0.0-alpha.17](https://github.com/guanghechen/sora/compare/@guanghechen/task@1.0.0-alpha.16...@guanghechen/task@1.0.0-alpha.17) (2023-11-07)
80
64
 
81
-
82
65
  ### Performance Improvements
83
66
 
84
- * 🔧 make tsconfig.json tidy ([809f8cf](https://github.com/guanghechen/sora/commit/809f8cf6b18da2d8fbba1566a5f4a783b52683da))
85
-
86
-
87
-
88
-
67
+ - 🔧 make tsconfig.json tidy
68
+ ([809f8cf](https://github.com/guanghechen/sora/commit/809f8cf6b18da2d8fbba1566a5f4a783b52683da))
89
69
 
90
70
  # [1.0.0-alpha.16](https://github.com/guanghechen/sora/compare/@guanghechen/task@1.0.0-alpha.15...@guanghechen/task@1.0.0-alpha.16) (2023-10-26)
91
71
 
92
72
  **Note:** Version bump only for package @guanghechen/task
93
73
 
94
-
95
-
96
-
97
-
98
74
  # [1.0.0-alpha.15](https://github.com/guanghechen/sora/compare/@guanghechen/task@1.0.0-alpha.14...@guanghechen/task@1.0.0-alpha.15) (2023-10-25)
99
75
 
100
76
  **Note:** Version bump only for package @guanghechen/task
101
77
 
102
-
103
-
104
-
105
-
106
78
  # [1.0.0-alpha.14](https://github.com/guanghechen/sora/compare/@guanghechen/task@1.0.0-alpha.13...@guanghechen/task@1.0.0-alpha.14) (2023-10-22)
107
79
 
108
80
  **Note:** Version bump only for package @guanghechen/task
109
81
 
110
-
111
-
112
-
113
-
114
82
  # [1.0.0-alpha.13](https://github.com/guanghechen/sora/compare/@guanghechen/task@1.0.0-alpha.12...@guanghechen/task@1.0.0-alpha.13) (2023-10-16)
115
83
 
116
-
117
84
  ### Performance Improvements
118
85
 
119
- * 🔧 remove unnecessary devDependencies ([944f3ae](https://github.com/guanghechen/sora/commit/944f3aee64e68ce52ca30237c7d0240a82c9c58f))
120
-
121
-
122
-
123
-
86
+ - 🔧 remove unnecessary devDependencies
87
+ ([944f3ae](https://github.com/guanghechen/sora/commit/944f3aee64e68ce52ca30237c7d0240a82c9c58f))
124
88
 
125
89
  # [1.0.0-alpha.12](https://github.com/guanghechen/sora/compare/@guanghechen/task@1.0.0-alpha.11...@guanghechen/task@1.0.0-alpha.12) (2023-10-10)
126
90
 
127
91
  **Note:** Version bump only for package @guanghechen/task
128
92
 
129
-
130
-
131
-
132
-
133
93
  # [1.0.0-alpha.11](https://github.com/guanghechen/sora/compare/@guanghechen/task@1.0.0-alpha.10...@guanghechen/task@1.0.0-alpha.11) (2023-10-09)
134
94
 
135
95
  **Note:** Version bump only for package @guanghechen/task
136
96
 
137
-
138
-
139
-
140
-
141
97
  # [1.0.0-alpha.10](https://github.com/guanghechen/sora/compare/@guanghechen/task@1.0.0-alpha.9...@guanghechen/task@1.0.0-alpha.10) (2023-10-04)
142
98
 
143
-
144
99
  ### Features
145
100
 
146
- * ✨ add @guanghechen/scheduler.types and @guanghechen/task.types ([81fa522](https://github.com/guanghechen/sora/commit/81fa52203ace549fc15da97218bd38a31eda4af9))
147
-
101
+ - ✨ add @guanghechen/scheduler.types and @guanghechen/task.types
102
+ ([81fa522](https://github.com/guanghechen/sora/commit/81fa52203ace549fc15da97218bd38a31eda4af9))
148
103
 
149
104
  ### Performance Improvements
150
105
 
151
- * fix type error ([d06e855](https://github.com/guanghechen/sora/commit/d06e855ccc9d98768fcd4dd171e9288d7b645bd2))
152
- * :truck: move @guanghechen/_shared to @guanghechen/internal ([73a08c9](https://github.com/guanghechen/sora/commit/73a08c918d5bf1eeb3c6daa69dc50169198b77bf))
153
- * 🎨 reorganize files ([0aef7fc](https://github.com/guanghechen/sora/commit/0aef7fce0cca25b2f4c40ba5881a37cdd1bcb40f))
154
- * ⬆️ the version of subpackage devDependencies is not matter ([3287c22](https://github.com/guanghechen/sora/commit/3287c22fb150af6620c1c9f6f4b186498aea815b))
155
- * ⬆️ upgrade dependencies ([7fcee0d](https://github.com/guanghechen/sora/commit/7fcee0de7b515b1cc9e18758c2be1f38a7374cfb))
156
-
157
-
158
-
159
-
106
+ - fix type error
107
+ ([d06e855](https://github.com/guanghechen/sora/commit/d06e855ccc9d98768fcd4dd171e9288d7b645bd2))
108
+ - :truck: move @guanghechen/\_shared to @guanghechen/internal
109
+ ([73a08c9](https://github.com/guanghechen/sora/commit/73a08c918d5bf1eeb3c6daa69dc50169198b77bf))
110
+ - 🎨 reorganize files
111
+ ([0aef7fc](https://github.com/guanghechen/sora/commit/0aef7fce0cca25b2f4c40ba5881a37cdd1bcb40f))
112
+ - ⬆️ the version of subpackage devDependencies is not matter
113
+ ([3287c22](https://github.com/guanghechen/sora/commit/3287c22fb150af6620c1c9f6f4b186498aea815b))
114
+ - ⬆️ upgrade dependencies
115
+ ([7fcee0d](https://github.com/guanghechen/sora/commit/7fcee0de7b515b1cc9e18758c2be1f38a7374cfb))
160
116
 
161
117
  # [1.0.0-alpha.9](https://github.com/guanghechen/sora/compare/@guanghechen/task@1.0.0-alpha.8...@guanghechen/task@1.0.0-alpha.9) (2023-09-16)
162
118
 
163
-
164
119
  ### Performance Improvements
165
120
 
166
- * 🎨 expand monitors into smaller properties ([28179bf](https://github.com/guanghechen/sora/commit/28179bf6ab0904c5b669e33fbadc9f13f12ccab7))
167
- * ⬆️ upgrade dependencies ([a259feb](https://github.com/guanghechen/sora/commit/a259feba5933148a34e4f498c9b883a5f87b7b50))
168
-
169
-
170
-
171
-
121
+ - 🎨 expand monitors into smaller properties
122
+ ([28179bf](https://github.com/guanghechen/sora/commit/28179bf6ab0904c5b669e33fbadc9f13f12ccab7))
123
+ - ⬆️ upgrade dependencies
124
+ ([a259feb](https://github.com/guanghechen/sora/commit/a259feba5933148a34e4f498c9b883a5f87b7b50))
172
125
 
173
126
  # [1.0.0-alpha.8](https://github.com/guanghechen/sora/compare/@guanghechen/task@1.0.0-alpha.7...@guanghechen/task@1.0.0-alpha.8) (2023-09-14)
174
127
 
175
-
176
128
  ### Performance Improvements
177
129
 
178
- * ⬆️ upgrade dependencies ([0af59d8](https://github.com/guanghechen/sora/commit/0af59d85d8c2c514f57e5289e87f0a3cbb6ab5ab))
179
-
180
-
181
-
182
-
130
+ - ⬆️ upgrade dependencies
131
+ ([0af59d8](https://github.com/guanghechen/sora/commit/0af59d85d8c2c514f57e5289e87f0a3cbb6ab5ab))
183
132
 
184
133
  # [1.0.0-alpha.7](https://github.com/guanghechen/sora/compare/@guanghechen/task@1.0.0-alpha.6...@guanghechen/task@1.0.0-alpha.7) (2023-09-07)
185
134
 
186
-
187
135
  ### Performance Improvements
188
136
 
189
- * ⬆️ upgrade dev dependencies & fix rollup config ([593e19b](https://github.com/guanghechen/sora/commit/593e19bf68c159ec4f9f5d34a567c832997b5055))
190
-
191
-
192
-
193
-
137
+ - ⬆️ upgrade dev dependencies & fix rollup config
138
+ ([593e19b](https://github.com/guanghechen/sora/commit/593e19bf68c159ec4f9f5d34a567c832997b5055))
194
139
 
195
140
  # [1.0.0-alpha.6](https://github.com/guanghechen/sora/compare/@guanghechen/task@1.0.0-alpha.5...@guanghechen/task@1.0.0-alpha.6) (2023-09-06)
196
141
 
197
-
198
142
  ### Performance Improvements
199
143
 
200
- * 🔧 update entries, support both esm and cjs ([b3f54dd](https://github.com/guanghechen/sora/commit/b3f54dde89d3b079c422e062cef795194482e165))
201
-
202
-
203
-
204
-
144
+ - 🔧 update entries, support both esm and cjs
145
+ ([b3f54dd](https://github.com/guanghechen/sora/commit/b3f54dde89d3b079c422e062cef795194482e165))
205
146
 
206
147
  # [1.0.0-alpha.5](https://github.com/guanghechen/sora/compare/@guanghechen/task@1.0.0-alpha.4...@guanghechen/task@1.0.0-alpha.5) (2023-09-05)
207
148
 
208
-
209
149
  ### Performance Improvements
210
150
 
211
- * 🎨 re-export types and constants ([7213062](https://github.com/guanghechen/sora/commit/721306218d253c3dad6549f145cf51c81e86d9ad))
212
-
213
-
214
-
215
-
151
+ - 🎨 re-export types and constants
152
+ ([7213062](https://github.com/guanghechen/sora/commit/721306218d253c3dad6549f145cf51c81e86d9ad))
216
153
 
217
154
  # [1.0.0-alpha.4](https://github.com/guanghechen/sora/compare/@guanghechen/task@1.0.0-alpha.3...@guanghechen/task@1.0.0-alpha.4) (2023-09-02)
218
155
 
219
156
  **Note:** Version bump only for package @guanghechen/task
220
157
 
221
-
222
-
223
-
224
-
225
158
  # [1.0.0-alpha.3](https://github.com/guanghechen/sora/compare/@guanghechen/task@1.0.0-alpha.2...@guanghechen/task@1.0.0-alpha.3) (2023-08-30)
226
159
 
227
-
228
160
  ### Performance Improvements
229
161
 
230
- * 🎨 reuse constants and types ([5efb70e](https://github.com/guanghechen/sora/commit/5efb70e6df130dc870ccb5add632291dcbd94809))
231
-
232
-
233
-
234
-
162
+ - 🎨 reuse constants and types
163
+ ([5efb70e](https://github.com/guanghechen/sora/commit/5efb70e6df130dc870ccb5add632291dcbd94809))
235
164
 
236
165
  # [1.0.0-alpha.2](https://github.com/guanghechen/sora/compare/@guanghechen/task@1.0.0-alpha.1...@guanghechen/task@1.0.0-alpha.2) (2023-08-28)
237
166
 
238
-
239
167
  ### Features
240
168
 
241
- * ✨ add @guanghechen/error & refactor other sub packages ([c50e94d](https://github.com/guanghechen/sora/commit/c50e94de4b9e6d7fd635c10e202eb8bdc4f4f8dd))
242
-
243
-
244
-
245
-
169
+ - ✨ add @guanghechen/error & refactor other sub packages
170
+ ([c50e94d](https://github.com/guanghechen/sora/commit/c50e94de4b9e6d7fd635c10e202eb8bdc4f4f8dd))
246
171
 
247
172
  # 1.0.0-alpha.1 (2023-08-27)
248
173
 
249
-
250
174
  ### Features
251
175
 
252
- * ✨ add @guanghechen/task ([83b66a5](https://github.com/guanghechen/sora/commit/83b66a52d84dd43e4125ca40bc297a511f5712f1))
253
-
176
+ - ✨ add @guanghechen/task
177
+ ([83b66a5](https://github.com/guanghechen/sora/commit/83b66a52d84dd43e4125ca40bc297a511f5712f1))
254
178
 
255
179
  ### Performance Improvements
256
180
 
257
- * 🔧 update path alias ([c396ec3](https://github.com/guanghechen/sora/commit/c396ec3316b2b19a69ba0234cc7a9d86edd9fac2))
258
- * ⬆️ upgrade devDependencies ([2b70a3f](https://github.com/guanghechen/sora/commit/2b70a3f5b895ed51de035b962d843661475663d6))
181
+ - 🔧 update path alias
182
+ ([c396ec3](https://github.com/guanghechen/sora/commit/c396ec3316b2b19a69ba0234cc7a9d86edd9fac2))
183
+ - ⬆️ upgrade devDependencies
184
+ ([2b70a3f](https://github.com/guanghechen/sora/commit/2b70a3f5b895ed51de035b962d843661475663d6))
package/lib/cjs/index.cjs CHANGED
@@ -4,7 +4,7 @@ var task_types = require('@guanghechen/task.types');
4
4
  var error = require('@guanghechen/error');
5
5
  var monitor = require('@guanghechen/monitor');
6
6
 
7
- process.env.NODE_ENV === 'production';
7
+ process.env['NODE_ENV'] === 'production';
8
8
 
9
9
  function noop(..._args) { }
10
10
 
package/lib/esm/index.mjs CHANGED
@@ -3,7 +3,7 @@ export * from '@guanghechen/task.types';
3
3
  import { SoraErrorCollector, ErrorLevelEnum } from '@guanghechen/error';
4
4
  import { Monitor } from '@guanghechen/monitor';
5
5
 
6
- process.env.NODE_ENV === 'production';
6
+ process.env['NODE_ENV'] === 'production';
7
7
 
8
8
  function noop(..._args) { }
9
9
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@guanghechen/task",
3
- "version": "1.0.0-alpha.25",
3
+ "version": "1.0.0-alpha.26",
4
4
  "description": "Atomic and resumable tasks",
5
5
  "author": {
6
6
  "name": "guanghechen",
@@ -8,10 +8,10 @@
8
8
  },
9
9
  "repository": {
10
10
  "type": "git",
11
- "url": "https://github.com/guanghechen/sora/tree/@guanghechen/task@1.0.0-alpha.24",
11
+ "url": "https://github.com/guanghechen/sora/tree/@guanghechen/task@1.0.0-alpha.25",
12
12
  "directory": "packages/task"
13
13
  },
14
- "homepage": "https://github.com/guanghechen/sora/tree/@guanghechen/task@1.0.0-alpha.24/packages/task#readme",
14
+ "homepage": "https://github.com/guanghechen/sora/tree/@guanghechen/task@1.0.0-alpha.25/packages/task#readme",
15
15
  "type": "module",
16
16
  "exports": {
17
17
  ".": {
@@ -34,18 +34,13 @@
34
34
  "LICENSE",
35
35
  "README.md"
36
36
  ],
37
- "scripts": {
38
- "build": "../../node_modules/.bin/rimraf lib/ && ../../node_modules/.bin/cross-env NODE_ENV=production ../../node_modules/.bin/rollup -c ../../rollup.config.mjs",
39
- "prepublishOnly": "yarn build",
40
- "test": "node --experimental-vm-modules ../../node_modules/.bin/jest --config ../../jest.config.mjs --rootDir ."
41
- },
42
37
  "dependencies": {
43
- "@guanghechen/error": "^1.0.0-alpha.17",
44
- "@guanghechen/monitor": "^1.0.0-alpha.25",
45
- "@guanghechen/task.types": "^1.0.0-alpha.8"
38
+ "@guanghechen/error": "^1.0.0-alpha.18",
39
+ "@guanghechen/monitor": "^1.0.0-alpha.26",
40
+ "@guanghechen/task.types": "^1.0.0-alpha.9"
46
41
  },
47
42
  "devDependencies": {
48
43
  "@guanghechen/internal": "^1.0.0-alpha.0"
49
44
  },
50
- "gitHead": "0632489b361b9fa783de73b3b31eec8f10227e89"
45
+ "gitHead": "9c051a66df3f4dbd8eddd709046af0a975fdc702"
51
46
  }