@naturalcycles/dev-lib 15.0.3 → 15.0.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/dist/bin/dev-lib.js +6 -0
- package/dist/build.util.d.ts +1 -0
- package/dist/build.util.js +1 -0
- package/package.json +1 -1
package/dist/bin/dev-lib.js
CHANGED
|
@@ -18,6 +18,12 @@ const commands = [
|
|
|
18
18
|
desc: 'Clean ./dist, run "build-copy" then tsc with emit, using tsconfig.prod.json',
|
|
19
19
|
cliOnly: true,
|
|
20
20
|
},
|
|
21
|
+
{
|
|
22
|
+
name: 'build-copy',
|
|
23
|
+
fn: build_util_1.buildCopy,
|
|
24
|
+
desc: 'Copy the non-ts files from ./src to ./dist',
|
|
25
|
+
cliOnly: true,
|
|
26
|
+
},
|
|
21
27
|
{
|
|
22
28
|
name: 'build-esm-cjs',
|
|
23
29
|
fn: build_util_1.buildEsmCjs,
|
package/dist/build.util.d.ts
CHANGED
|
@@ -9,3 +9,4 @@ export declare function runTSCInFolders(tsconfigPaths: string[], args?: string[]
|
|
|
9
9
|
*/
|
|
10
10
|
export declare function runTSCInFolder(tsconfigPath: string, args?: string[]): Promise<void>;
|
|
11
11
|
export declare function runTSCProd(): Promise<void>;
|
|
12
|
+
export declare function buildCopy(): void;
|
package/dist/build.util.js
CHANGED
|
@@ -5,6 +5,7 @@ exports.buildProd = buildProd;
|
|
|
5
5
|
exports.runTSCInFolders = runTSCInFolders;
|
|
6
6
|
exports.runTSCInFolder = runTSCInFolder;
|
|
7
7
|
exports.runTSCProd = runTSCProd;
|
|
8
|
+
exports.buildCopy = buildCopy;
|
|
8
9
|
const tslib_1 = require("tslib");
|
|
9
10
|
const node_fs_1 = tslib_1.__importDefault(require("node:fs"));
|
|
10
11
|
const js_lib_1 = require("@naturalcycles/js-lib");
|