@hnb-pkg/apacker 2.0.5-pre.3 → 2.0.5-pre.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/package.json +1 -1
- package/dist/config.d.ts +0 -4
- package/dist/config.js +0 -8
- package/dist/config.js.map +0 -1
- package/dist/tools/handler/path.d.ts +0 -15
- package/dist/tools/handler/path.js +0 -21
- package/dist/tools/handler/path.js.map +0 -1
package/package.json
CHANGED
package/dist/config.d.ts
DELETED
package/dist/config.js
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CONFIG = void 0;
|
|
4
|
-
const path_1 = require("./tools/handler/path");
|
|
5
|
-
exports.CONFIG = {
|
|
6
|
-
PATH: new path_1.PathConfig(process.cwd(), "v1", { src: "code" }),
|
|
7
|
-
};
|
|
8
|
-
//# sourceMappingURL=config.js.map
|
package/dist/config.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":";;;AAAA,+CAAkD;AAErC,QAAA,MAAM,GAAG;IACpB,IAAI,EAAE,IAAI,iBAAU,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,IAAI,EAAE,EAAE,GAAG,EAAE,MAAM,EAAE,CAAC;CAC3D,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
type PathOptions = {
|
|
2
|
-
src?: string;
|
|
3
|
-
dist?: string;
|
|
4
|
-
assets?: string;
|
|
5
|
-
release?: string;
|
|
6
|
-
};
|
|
7
|
-
export declare class PathConfig {
|
|
8
|
-
readonly baseDir: string;
|
|
9
|
-
readonly dist: string;
|
|
10
|
-
readonly src: string;
|
|
11
|
-
readonly assets: string;
|
|
12
|
-
readonly release: string;
|
|
13
|
-
constructor(base: string, version: string, options?: PathOptions);
|
|
14
|
-
}
|
|
15
|
-
export {};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PathConfig = void 0;
|
|
4
|
-
const path = require("node:path");
|
|
5
|
-
class PathConfig {
|
|
6
|
-
baseDir;
|
|
7
|
-
dist;
|
|
8
|
-
src;
|
|
9
|
-
assets;
|
|
10
|
-
release;
|
|
11
|
-
constructor(base, version, options) {
|
|
12
|
-
const { src = "src", dist = "dist", assets = "assets", release = "release" } = options || {};
|
|
13
|
-
this.baseDir = path.join(base, version);
|
|
14
|
-
this.dist = path.join(this.baseDir, dist);
|
|
15
|
-
this.src = path.join(this.baseDir, src);
|
|
16
|
-
this.assets = path.join(this.baseDir, assets);
|
|
17
|
-
this.release = path.join(this.baseDir, release);
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
exports.PathConfig = PathConfig;
|
|
21
|
-
//# sourceMappingURL=path.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"path.js","sourceRoot":"","sources":["../../../src/tools/handler/path.ts"],"names":[],"mappings":";;;AAAA,kCAAkC;AAIlC,MAAa,UAAU;IACZ,OAAO,CAAS;IAChB,IAAI,CAAS;IACb,GAAG,CAAS;IACZ,MAAM,CAAS;IACf,OAAO,CAAS;IAEzB,YAAY,IAAY,EAAE,OAAe,EAAE,OAAqB;QAC9D,MAAM,EAAE,GAAG,GAAG,KAAK,EAAE,IAAI,GAAG,MAAM,EAAE,MAAM,GAAG,QAAQ,EAAE,OAAO,GAAG,SAAS,EAAE,GAAG,OAAO,IAAI,EAAE,CAAC;QAC7F,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;QACxC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;QAC1C,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC;QACxC,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;QAC9C,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAClD,CAAC;CACF;AAfD,gCAeC"}
|