p3x-tools 2022.4.129 → 2023.10.107

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/LICENSE CHANGED
@@ -1,11 +1,11 @@
1
1
 
2
- @license p3x-tools v2022.4.128
2
+ @license p3x-tools v2023.10.106
3
3
 
4
4
  💣 Tools
5
5
 
6
6
  https://corifeus.com/tools
7
7
 
8
- Copyright (c) 2022 Patrik Laszlo / P3X / Corifeus and contributors.
8
+ Copyright (c) 2023 Patrik Laszlo / P3X / Corifeus and contributors.
9
9
 
10
10
  MIT License
11
11
 
package/README.md CHANGED
@@ -11,7 +11,7 @@
11
11
 
12
12
 
13
13
 
14
- # 💣 Tools v2022.4.129
14
+ # 💣 Tools v2023.10.107
15
15
 
16
16
 
17
17
 
@@ -25,7 +25,7 @@
25
25
  ### Built on NodeJs version
26
26
 
27
27
  ```txt
28
- v16.15.0
28
+ v18.16.1
29
29
  ```
30
30
 
31
31
 
@@ -393,7 +393,7 @@ All my domains ([patrikx3.com](https://patrikx3.com) and [corifeus.com](https://
393
393
 
394
394
  ---
395
395
 
396
- [**P3X-TOOLS**](https://corifeus.com/tools) Build v2022.4.129
396
+ [**P3X-TOOLS**](https://corifeus.com/tools) Build v2023.10.107
397
397
 
398
398
  [![Donate for Corifeus / P3X](https://img.shields.io/badge/Donate-Corifeus-003087.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6) [![Contact Corifeus / P3X](https://img.shields.io/badge/Contact-P3X-ff9900.svg)](https://www.patrikx3.com/en/front/contact) [![Like Corifeus @ Facebook](https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg)](https://www.facebook.com/corifeus.software)
399
399
 
package/bin/p3x CHANGED
@@ -6,7 +6,7 @@
6
6
  //console.debug(`P3X sets UV_THREADPOOL_SIZE to ${cores} thread pool`)
7
7
 
8
8
  if (!require('fs').existsSync(`${__dirname}/../node_modules`)) {
9
- require('child_process').execSync(`cd ${__dirname}/.. && npm install --only=prod`, {
9
+ require('child_process').execSync(`cd ${__dirname}/.. && npm install --force --only=prod`, {
10
10
  stdio: 'inherit'
11
11
  });
12
12
  }
package/bin/p3x.js CHANGED
@@ -6,7 +6,7 @@
6
6
  //console.debug(`P3X sets UV_THREADPOOL_SIZE to ${cores} thread pool`)
7
7
 
8
8
  if (!require('fs').existsSync(`${__dirname}/../node_modules`)) {
9
- require('child_process').execSync(`cd ${__dirname}/.. && npm install --only=prod`, {
9
+ require('child_process').execSync(`cd ${__dirname}/.. && npm install --force --only=prod`, {
10
10
  stdio: 'inherit'
11
11
  });
12
12
  }
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "p3x-tools",
3
- "version": "2022.4.129",
3
+ "version": "2023.10.107",
4
4
  "corifeus": {
5
5
  "prefix": "p3x-",
6
6
  "publish": true,
7
7
  "type": "p3x",
8
8
  "code": "Lazy",
9
- "nodejs": "v16.15.0",
9
+ "nodejs": "v18.16.1",
10
10
  "opencollective": false,
11
11
  "reponame": "tools",
12
12
  "build": true
@@ -38,19 +38,18 @@
38
38
  },
39
39
  "homepage": "https://corifeus.com/tools",
40
40
  "devDependencies": {
41
- "corifeus-builder": "^2022.4.130",
42
- "grunt": "^1.5.3"
41
+ "corifeus-builder": "^2023.10.113",
42
+ "grunt": "^1.6.1"
43
43
  },
44
44
  "dependencies": {
45
- "commander": "^9.3.0",
46
- "corifeus-utils": "^2022.4.130",
47
- "fs-extra": "^10.1.0",
45
+ "commander": "^11.0.0",
46
+ "corifeus-utils": "^2023.10.115",
47
+ "fs-extra": "^11.1.1",
48
48
  "github-api": "^3.4.0",
49
- "glob": "^8.0.3",
50
- "glob-promise": "^4.2.2",
51
- "ini": "^3.0.0",
49
+ "globby": "^13.2.2",
50
+ "ini": "^4.1.1",
52
51
  "mz": "^2.7.0",
53
- "npm-check-updates": "^13.0.3",
52
+ "npm-check-updates": "^16.10.15",
54
53
  "progress": "^2.0.3",
55
54
  "tmp-promise": "^3.0.3",
56
55
  "yamljs": "^0.3.0"
@@ -212,7 +212,8 @@ yarn link
212
212
  plusCommands = `sudo echo "SUDO IS DONE"
213
213
  __NCU__
214
214
  ${lib.hackNpmInstallPreHook()}
215
- npm install --non-interactive
215
+ rm -rf node_modules
216
+ npm install --non-interactive --force
216
217
  ${npmLib.command.publish({all: options.all})}`;
217
218
  }
218
219
 
@@ -306,7 +307,8 @@ ${npmLib.command.publish({all: options.all})}`;
306
307
  execCommand = `
307
308
  __NCU__
308
309
  ${lib.hackNpmInstallPreHook()}
309
- npm install --non-interactive
310
+ rm -rf node_modules
311
+ npm install --non-interactive --force
310
312
  `;
311
313
 
312
314
  }
package/src/git.js CHANGED
@@ -1,5 +1,4 @@
1
1
  const utils = require('corifeus-utils');
2
- const glob = require('glob-promise');
3
2
  const path = require('path');
4
3
 
5
4
  const truncate = async (options) => {
@@ -23,6 +22,9 @@ git push -f origin master`
23
22
  }
24
23
 
25
24
  const findModules = async (root) => {
25
+ const globby = await import('globby')
26
+ const glob = globby
27
+
26
28
  const modules = await glob(`${root}/**/.gitmodules`);
27
29
  return modules.map((dir) => {
28
30
  return path.dirname(dir);
package/src/github.js CHANGED
@@ -1,7 +1,7 @@
1
1
  const GitHub = require('github-api');
2
2
  const tmp = require('tmp-promise');
3
3
  const utils = require('corifeus-utils');
4
- const glob = require('glob-promise');
4
+
5
5
  const mz = require('mz');
6
6
  const ini = require('ini');
7
7
  const url = require('url');
@@ -137,6 +137,9 @@ ${dry ? 'true' : 'git push'}
137
137
 
138
138
 
139
139
  const replacePkg = async (root, user) => {
140
+ const globby = await import('globby')
141
+ const glob = globby
142
+
140
143
  const files = await glob(`${root}/**/package.json`)
141
144
  await files.forEachAsync(async (file) => {
142
145
  console.info(`package.json ${file}`)
@@ -148,6 +151,9 @@ const replacePkg = async (root, user) => {
148
151
  }
149
152
 
150
153
  const replaceGitSubmodules = async (root, user) => {
154
+ const globby = await import('globby')
155
+ const glob = globby
156
+
151
157
  const files = await glob(`${root}/**/.gitmodules`)
152
158
  await files.forEachAsync(async (file) => {
153
159
  console.info(`submodule found ${file}`)