@guanghechen/path 1.0.0-alpha.2 → 1.0.0-alpha.4

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
@@ -3,6 +3,25 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [1.0.0-alpha.4](https://github.com/guanghechen/sora/compare/@guanghechen/path@1.0.0-alpha.3...@guanghechen/path@1.0.0-alpha.4) (2023-10-10)
7
+
8
+ **Note:** Version bump only for package @guanghechen/path
9
+
10
+
11
+
12
+
13
+
14
+ # [1.0.0-alpha.3](https://github.com/guanghechen/sora/compare/@guanghechen/path@1.0.0-alpha.2...@guanghechen/path@1.0.0-alpha.3) (2023-10-09)
15
+
16
+
17
+ ### Performance Improvements
18
+
19
+ * re-expose @guanghechen/path.types ([92f5299](https://github.com/guanghechen/sora/commit/92f5299a62093f5e4167dda1b57adda1a45a3c8d))
20
+
21
+
22
+
23
+
24
+
6
25
  # 1.0.0-alpha.2 (2023-10-09)
7
26
 
8
27
 
package/lib/cjs/index.cjs CHANGED
@@ -1,6 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var path = require('node:path');
4
+ var path_types = require('@guanghechen/path.types');
4
5
 
5
6
  function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
6
7
 
@@ -174,3 +175,9 @@ exports.PhysicalWorkspacePathResolver = PhysicalWorkspacePathResolver;
174
175
  exports.VirtualPathResolver = VirtualPathResolver;
175
176
  exports.VirtualWorkspacePathResolver = VirtualWorkspacePathResolver;
176
177
  exports.WorkspacePathResolver = WorkspacePathResolver;
178
+ Object.keys(path_types).forEach(function (k) {
179
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
180
+ enumerable: true,
181
+ get: function () { return path_types[k]; }
182
+ });
183
+ });
package/lib/esm/index.mjs CHANGED
@@ -1,4 +1,5 @@
1
1
  import path from 'node:path';
2
+ export * from '@guanghechen/path.types';
2
3
 
3
4
  const clazz$2 = 'PhysicalPathResolver';
4
5
  class PhysicalPathResolver {
@@ -1,4 +1,5 @@
1
1
  import { IPathResolver, IWorkspacePathResolver } from '@guanghechen/path.types';
2
+ export * from '@guanghechen/path.types';
2
3
 
3
4
  declare class PhysicalPathResolver implements IPathResolver {
4
5
  basename(filepath: string): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@guanghechen/path",
3
- "version": "1.0.0-alpha.2",
3
+ "version": "1.0.0-alpha.4",
4
4
  "description": "Path utils.",
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/path@1.0.0-alpha.1",
11
+ "url": "https://github.com/guanghechen/sora/tree/@guanghechen/path@1.0.0-alpha.3",
12
12
  "directory": "packages/path"
13
13
  },
14
- "homepage": "https://github.com/guanghechen/sora/tree/@guanghechen/path@1.0.0-alpha.1/packages/path#readme",
14
+ "homepage": "https://github.com/guanghechen/sora/tree/@guanghechen/path@1.0.0-alpha.3/packages/path#readme",
15
15
  "type": "module",
16
16
  "exports": {
17
17
  ".": {
@@ -43,12 +43,12 @@
43
43
  "test": "node --experimental-vm-modules ../../node_modules/.bin/jest --config ../../jest.config.mjs --rootDir ."
44
44
  },
45
45
  "dependencies": {
46
- "@guanghechen/path.types": "^1.0.0-alpha.2"
46
+ "@guanghechen/path.types": "^1.0.0-alpha.3"
47
47
  },
48
48
  "devDependencies": {
49
49
  "cross-env": "*",
50
50
  "rimraf": "*",
51
51
  "rollup": "*"
52
52
  },
53
- "gitHead": "b8d110d46e40575b2c7bc018ea823a779c3cff5a"
53
+ "gitHead": "208ce260c87a55fc8b52650541486be2f94e90be"
54
54
  }