@guanghechen/task 1.0.0-alpha.24 → 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 +63 -129
- package/lib/cjs/index.cjs +1 -1
- package/lib/esm/index.mjs +1 -1
- package/package.json +7 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,250 +1,184 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
All notable changes to this project will be documented in this file.
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
# [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)
|
|
7
|
-
|
|
8
|
-
**Note:** Version bump only for package @guanghechen/task
|
|
3
|
+
All notable changes to this project will be documented in this file. See
|
|
4
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
9
5
|
|
|
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)
|
|
10
7
|
|
|
8
|
+
### Performance Improvements
|
|
11
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))
|
|
12
16
|
|
|
17
|
+
# Change Log
|
|
13
18
|
|
|
14
|
-
|
|
19
|
+
All notable changes to this project will be documented in this file. See
|
|
20
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
15
21
|
|
|
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)
|
|
16
23
|
|
|
17
|
-
|
|
24
|
+
**Note:** Version bump only for package @guanghechen/task
|
|
18
25
|
|
|
19
|
-
|
|
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)
|
|
20
27
|
|
|
28
|
+
**Note:** Version bump only for package @guanghechen/task
|
|
21
29
|
|
|
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)
|
|
22
31
|
|
|
32
|
+
### Performance Improvements
|
|
23
33
|
|
|
34
|
+
- 🔧 fix lint
|
|
35
|
+
([4bc57d2](https://github.com/guanghechen/sora/commit/4bc57d2deabf2a4f144c7af46d45582387825ecb))
|
|
24
36
|
|
|
25
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)
|
|
26
38
|
|
|
27
39
|
**Note:** Version bump only for package @guanghechen/task
|
|
28
40
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
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)
|
|
34
42
|
|
|
35
|
-
|
|
36
43
|
### Performance Improvements
|
|
37
44
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
45
|
+
- 🔧 no longer to require node engine version in packages
|
|
46
|
+
([6dc2014](https://github.com/guanghechen/sora/commit/6dc2014122dd44bcadc893e2ee98697265e7d61e))
|
|
43
47
|
|
|
44
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)
|
|
45
49
|
|
|
46
50
|
**Note:** Version bump only for package @guanghechen/task
|
|
47
51
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
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)
|
|
53
53
|
|
|
54
54
|
**Note:** Version bump only for package @guanghechen/task
|
|
55
55
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
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)
|
|
61
57
|
|
|
62
|
-
|
|
63
58
|
### Performance Improvements
|
|
64
59
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
60
|
+
- 🔧 upgrade engine version requirement from '>= 16.0.0' to '>= 18.0.0'
|
|
61
|
+
([ddb9521](https://github.com/guanghechen/sora/commit/ddb9521b529b2ca838554794339b9e27ac80b8aa))
|
|
70
62
|
|
|
71
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)
|
|
72
64
|
|
|
73
|
-
|
|
74
65
|
### Performance Improvements
|
|
75
66
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
67
|
+
- 🔧 make tsconfig.json tidy
|
|
68
|
+
([809f8cf](https://github.com/guanghechen/sora/commit/809f8cf6b18da2d8fbba1566a5f4a783b52683da))
|
|
81
69
|
|
|
82
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)
|
|
83
71
|
|
|
84
72
|
**Note:** Version bump only for package @guanghechen/task
|
|
85
73
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
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)
|
|
91
75
|
|
|
92
76
|
**Note:** Version bump only for package @guanghechen/task
|
|
93
77
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
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)
|
|
99
79
|
|
|
100
80
|
**Note:** Version bump only for package @guanghechen/task
|
|
101
81
|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
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)
|
|
107
83
|
|
|
108
|
-
|
|
109
84
|
### Performance Improvements
|
|
110
85
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
86
|
+
- 🔧 remove unnecessary devDependencies
|
|
87
|
+
([944f3ae](https://github.com/guanghechen/sora/commit/944f3aee64e68ce52ca30237c7d0240a82c9c58f))
|
|
116
88
|
|
|
117
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)
|
|
118
90
|
|
|
119
91
|
**Note:** Version bump only for package @guanghechen/task
|
|
120
92
|
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
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)
|
|
126
94
|
|
|
127
95
|
**Note:** Version bump only for package @guanghechen/task
|
|
128
96
|
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
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)
|
|
134
98
|
|
|
135
|
-
|
|
136
99
|
### Features
|
|
137
100
|
|
|
138
|
-
|
|
139
|
-
|
|
101
|
+
- ✨ add @guanghechen/scheduler.types and @guanghechen/task.types
|
|
102
|
+
([81fa522](https://github.com/guanghechen/sora/commit/81fa52203ace549fc15da97218bd38a31eda4af9))
|
|
140
103
|
|
|
141
104
|
### Performance Improvements
|
|
142
105
|
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
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))
|
|
152
116
|
|
|
153
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)
|
|
154
118
|
|
|
155
|
-
|
|
156
119
|
### Performance Improvements
|
|
157
120
|
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
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))
|
|
164
125
|
|
|
165
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)
|
|
166
127
|
|
|
167
|
-
|
|
168
128
|
### Performance Improvements
|
|
169
129
|
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
130
|
+
- ⬆️ upgrade dependencies
|
|
131
|
+
([0af59d8](https://github.com/guanghechen/sora/commit/0af59d85d8c2c514f57e5289e87f0a3cbb6ab5ab))
|
|
175
132
|
|
|
176
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)
|
|
177
134
|
|
|
178
|
-
|
|
179
135
|
### Performance Improvements
|
|
180
136
|
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
137
|
+
- ⬆️ upgrade dev dependencies & fix rollup config
|
|
138
|
+
([593e19b](https://github.com/guanghechen/sora/commit/593e19bf68c159ec4f9f5d34a567c832997b5055))
|
|
186
139
|
|
|
187
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)
|
|
188
141
|
|
|
189
|
-
|
|
190
142
|
### Performance Improvements
|
|
191
143
|
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
144
|
+
- 🔧 update entries, support both esm and cjs
|
|
145
|
+
([b3f54dd](https://github.com/guanghechen/sora/commit/b3f54dde89d3b079c422e062cef795194482e165))
|
|
197
146
|
|
|
198
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)
|
|
199
148
|
|
|
200
|
-
|
|
201
149
|
### Performance Improvements
|
|
202
150
|
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
151
|
+
- 🎨 re-export types and constants
|
|
152
|
+
([7213062](https://github.com/guanghechen/sora/commit/721306218d253c3dad6549f145cf51c81e86d9ad))
|
|
208
153
|
|
|
209
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)
|
|
210
155
|
|
|
211
156
|
**Note:** Version bump only for package @guanghechen/task
|
|
212
157
|
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
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)
|
|
218
159
|
|
|
219
|
-
|
|
220
160
|
### Performance Improvements
|
|
221
161
|
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
162
|
+
- 🎨 reuse constants and types
|
|
163
|
+
([5efb70e](https://github.com/guanghechen/sora/commit/5efb70e6df130dc870ccb5add632291dcbd94809))
|
|
227
164
|
|
|
228
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)
|
|
229
166
|
|
|
230
|
-
|
|
231
167
|
### Features
|
|
232
168
|
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
169
|
+
- ✨ add @guanghechen/error & refactor other sub packages
|
|
170
|
+
([c50e94d](https://github.com/guanghechen/sora/commit/c50e94de4b9e6d7fd635c10e202eb8bdc4f4f8dd))
|
|
238
171
|
|
|
239
172
|
# 1.0.0-alpha.1 (2023-08-27)
|
|
240
173
|
|
|
241
|
-
|
|
242
174
|
### Features
|
|
243
175
|
|
|
244
|
-
|
|
245
|
-
|
|
176
|
+
- ✨ add @guanghechen/task
|
|
177
|
+
([83b66a5](https://github.com/guanghechen/sora/commit/83b66a52d84dd43e4125ca40bc297a511f5712f1))
|
|
246
178
|
|
|
247
179
|
### Performance Improvements
|
|
248
180
|
|
|
249
|
-
|
|
250
|
-
|
|
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
|
|
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
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
44
|
-
"@guanghechen/monitor": "^1.0.0-alpha.
|
|
45
|
-
"@guanghechen/task.types": "^1.0.0-alpha.
|
|
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": "
|
|
45
|
+
"gitHead": "9c051a66df3f4dbd8eddd709046af0a975fdc702"
|
|
51
46
|
}
|