@naturalcycles/dev-lib 13.0.3 → 13.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.
@@ -0,0 +1,53 @@
1
+ #
2
+ # DO NOT MODIFY, WILL BE OVERWRITTEN BY @naturalcycles/dev-lib
3
+ #
4
+ # You can put more .gitignore files in your respective subfolders (e.g `src`) to ignore additional things.
5
+ # Or PR to @naturalcycles/dev-lib if you want to ignore something generic.
6
+ #
7
+
8
+ #
9
+ # Global (all dirs)
10
+ #
11
+ *.iml
12
+ .idea
13
+ .DS_Store
14
+ node_modules
15
+ .env
16
+ .npmrc
17
+ .classpath
18
+ .project
19
+ .settings
20
+ .externalToolBuilders
21
+ .cache
22
+ .stencil
23
+ .nuxt
24
+ .gitconfig
25
+ .lighthouseci
26
+
27
+ #
28
+ # Root dir
29
+ #
30
+ /target
31
+ /*.log
32
+ /log.txt
33
+ /.sass-cache
34
+ /.sourcemaps
35
+ /docs/.vuepress/dist
36
+ /loader
37
+ /.angular/cache
38
+
39
+ /coverage
40
+
41
+ /dist
42
+ /dist-cjs
43
+ /dist-esm
44
+ /tmp
45
+
46
+ # All secrets are ignored, except encrypted
47
+ /secret/**/*.*
48
+ !/secret/**/*.enc
49
+
50
+ /scripts/try.*
51
+ /logs
52
+ /www/*
53
+ !/www/.gitkeep
@@ -1,6 +1,14 @@
1
1
  #!/usr/bin/env node
2
2
  "use strict";
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
+ const fs_1 = require("@naturalcycles/nodejs-lib/dist/fs");
4
5
  const script_1 = require("@naturalcycles/nodejs-lib/dist/script");
5
- const update_from_dev_lib_command_1 = require("../cmd/update-from-dev-lib.command");
6
- (0, script_1.runScript)(update_from_dev_lib_command_1.updateFromDevLibCommand);
6
+ const paths_cnst_1 = require("../cnst/paths.cnst");
7
+ (0, script_1.runScript)(() => {
8
+ (0, fs_1.kpySync)({
9
+ baseDir: paths_cnst_1.cfgOverwriteDir,
10
+ outputDir: './',
11
+ dotfiles: true,
12
+ verbose: true,
13
+ });
14
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturalcycles/dev-lib",
3
- "version": "13.0.3",
3
+ "version": "13.0.4",
4
4
  "scripts": {
5
5
  "prepare": "husky install",
6
6
  "tsn-debug": "tsn testScript.ts",
@@ -71,6 +71,7 @@
71
71
  "files": [
72
72
  "dist",
73
73
  "scripts/tsconfig.json",
74
+ "cfg/overwrite/.gitignore",
74
75
  "cfg"
75
76
  ],
76
77
  "main": "dist/index.js",
@@ -1 +0,0 @@
1
- export declare function updateFromDevLibCommand(): void;
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.updateFromDevLibCommand = void 0;
4
- const fs_1 = require("@naturalcycles/nodejs-lib/dist/fs");
5
- const paths_cnst_1 = require("../cnst/paths.cnst");
6
- function updateFromDevLibCommand() {
7
- (0, fs_1.kpySync)({
8
- baseDir: paths_cnst_1.cfgOverwriteDir,
9
- outputDir: './',
10
- dotfiles: true,
11
- verbose: true,
12
- });
13
- }
14
- exports.updateFromDevLibCommand = updateFromDevLibCommand;