@guanghechen/filepart 1.0.0-alpha.3 → 1.0.0-alpha.5

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,34 +1,55 @@
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.3](https://github.com/guanghechen/sora/compare/@guanghechen/filepart@1.0.0-alpha.2...@guanghechen/filepart@1.0.0-alpha.3) (2024-01-15)
6
+ # [1.0.0-alpha.5](https://github.com/guanghechen/sora/compare/@guanghechen/filepart@1.0.0-alpha.4...@guanghechen/filepart@1.0.0-alpha.5) (2024-03-09)
7
7
 
8
+ **Note:** Version bump only for package @guanghechen/filepart
8
9
 
9
- ### Bug Fixes
10
+ # Change Log
10
11
 
11
- * 🐛 partSize could be POSITIVE_INFINITY ([e7bd085](https://github.com/guanghechen/sora/commit/e7bd085968177e312a4c4c12739096626f5e8832))
12
+ All notable changes to this project will be documented in this file. See
13
+ [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
12
14
 
15
+ # [1.0.0-alpha.4](https://github.com/guanghechen/sora/compare/@guanghechen/filepart@1.0.0-alpha.3...@guanghechen/filepart@1.0.0-alpha.4) (2024-02-03)
13
16
 
17
+ ### Performance Improvements
14
18
 
19
+ - 💄 fix lint
20
+ ([2d5bb6f](https://github.com/guanghechen/sora/commit/2d5bb6f03d0312a42c1117d95181df8b69de827a))
21
+ - 🔧 fix nx scripts
22
+ ([47bc4e6](https://github.com/guanghechen/sora/commit/47bc4e66df825cb37127219bccf60dc81d6a9b48))
23
+ - 🔧 update tsconfig
24
+ ([98855bc](https://github.com/guanghechen/sora/commit/98855bcc245d98c61217c5bafc6a1b2506b7824d))
15
25
 
26
+ # Change Log
16
27
 
17
- # [1.0.0-alpha.2](https://github.com/guanghechen/sora/compare/@guanghechen/filepart@1.0.0-alpha.1...@guanghechen/filepart@1.0.0-alpha.2) (2024-01-02)
28
+ All notable changes to this project will be documented in this file. See
29
+ [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
18
30
 
19
- **Note:** Version bump only for package @guanghechen/filepart
31
+ # [1.0.0-alpha.3](https://github.com/guanghechen/sora/compare/@guanghechen/filepart@1.0.0-alpha.2...@guanghechen/filepart@1.0.0-alpha.3) (2024-01-15)
20
32
 
33
+ ### Bug Fixes
21
34
 
35
+ - 🐛 partSize could be POSITIVE_INFINITY
36
+ ([e7bd085](https://github.com/guanghechen/sora/commit/e7bd085968177e312a4c4c12739096626f5e8832))
22
37
 
38
+ # [1.0.0-alpha.2](https://github.com/guanghechen/sora/compare/@guanghechen/filepart@1.0.0-alpha.1...@guanghechen/filepart@1.0.0-alpha.2) (2024-01-02)
23
39
 
40
+ **Note:** Version bump only for package @guanghechen/filepart
24
41
 
25
42
  # 1.0.0-alpha.1 (2023-12-10)
26
43
 
27
-
28
44
  ### Performance Improvements
29
45
 
30
- * 🎨 export const DEFAULT_FILEPART_CODE_PREFIX from @guanghechen/filepart.types ([d6d2b1d](https://github.com/guanghechen/sora/commit/d6d2b1d960a9a02b3315c4cbd32cdc1fa53cccc3))
31
- * 🎨 export new method 'calcFilePartNamesByCount' ([dbd16b6](https://github.com/guanghechen/sora/commit/dbd16b65610088e38ac84e39d66196e67b33446f))
32
- * 🎨 make methods return iterator instead of array ([1fddedd](https://github.com/guanghechen/sora/commit/1fddedd8a8de6b21c0431bdacf2a7d8a17bd2c86))
33
- * 🎨 move filepart related code from @guanghechen/file-split to new package @guanghechen/filepart ([833aa10](https://github.com/guanghechen/sora/commit/833aa10f4eee38b09a375b221a0a763f96d8fd4c))
34
- * 🎨 refactor virtual file system to support filesplit case ([d520715](https://github.com/guanghechen/sora/commit/d520715e1195169914e9a4563fc8c2b1cd035b27))
46
+ - 🎨 export const DEFAULT_FILEPART_CODE_PREFIX from @guanghechen/filepart.types
47
+ ([d6d2b1d](https://github.com/guanghechen/sora/commit/d6d2b1d960a9a02b3315c4cbd32cdc1fa53cccc3))
48
+ - 🎨 export new method 'calcFilePartNamesByCount'
49
+ ([dbd16b6](https://github.com/guanghechen/sora/commit/dbd16b65610088e38ac84e39d66196e67b33446f))
50
+ - 🎨 make methods return iterator instead of array
51
+ ([1fddedd](https://github.com/guanghechen/sora/commit/1fddedd8a8de6b21c0431bdacf2a7d8a17bd2c86))
52
+ - 🎨 move filepart related code from @guanghechen/file-split to new package @guanghechen/filepart
53
+ ([833aa10](https://github.com/guanghechen/sora/commit/833aa10f4eee38b09a375b221a0a763f96d8fd4c))
54
+ - 🎨 refactor virtual file system to support filesplit case
55
+ ([d520715](https://github.com/guanghechen/sora/commit/d520715e1195169914e9a4563fc8c2b1cd035b27))
package/lib/cjs/index.cjs CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  var filepart_types = require('@guanghechen/filepart.types');
4
4
 
5
- const isProduction = process.env.NODE_ENV === 'production';
5
+ const isProduction = process.env['NODE_ENV'] === 'production';
6
6
  const prefix = 'Invariant failed';
7
7
  function invariant(condition, message) {
8
8
  if (condition)
package/lib/esm/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import 'node:fs';
2
2
  export * from '@guanghechen/filepart.types';
3
3
 
4
- const isProduction = process.env.NODE_ENV === 'production';
4
+ const isProduction = process.env['NODE_ENV'] === 'production';
5
5
  const prefix = 'Invariant failed';
6
6
  function invariant(condition, message) {
7
7
  if (condition)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@guanghechen/filepart",
3
- "version": "1.0.0-alpha.3",
3
+ "version": "1.0.0-alpha.5",
4
4
  "description": "File helper",
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/filepart@1.0.0-alpha.2",
11
+ "url": "https://github.com/guanghechen/sora/tree/@guanghechen/filepart@1.0.0-alpha.4",
12
12
  "directory": "packages/filepart"
13
13
  },
14
- "homepage": "https://github.com/guanghechen/sora/tree/@guanghechen/filepart@1.0.0-alpha.2/packages/filepart#readme",
14
+ "homepage": "https://github.com/guanghechen/sora/tree/@guanghechen/filepart@1.0.0-alpha.4/packages/filepart#readme",
15
15
  "keywords": [
16
16
  "file helper",
17
17
  "split file",
@@ -39,16 +39,11 @@
39
39
  "LICENSE",
40
40
  "README.md"
41
41
  ],
42
- "scripts": {
43
- "build": "../../node_modules/.bin/rimraf lib/ && ../../node_modules/.bin/cross-env NODE_ENV=production ../../node_modules/.bin/rollup -c ../../rollup.config.mjs",
44
- "prepublishOnly": "yarn build",
45
- "test": "node --experimental-vm-modules ../../node_modules/.bin/jest --config ../../jest.config.mjs --rootDir ."
46
- },
47
42
  "dependencies": {
48
- "@guanghechen/filepart.types": "^1.0.0-alpha.1"
43
+ "@guanghechen/filepart.types": "^1.0.0-alpha.2"
49
44
  },
50
45
  "devDependencies": {
51
46
  "@guanghechen/internal": "^1.0.0-alpha.0"
52
47
  },
53
- "gitHead": "2c2033cf65c38740cfa836a80bbc775b2acd30bd"
48
+ "gitHead": "8f4595ed8e3b21ac509a16aeb52cbb686636d9f0"
54
49
  }