@scandipwa/magento-scripts 2.3.3 → 2.3.4-alpha.0
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const os = require('os')
|
|
2
|
-
const { NodeSSH } = require('node-ssh')
|
|
2
|
+
const { NodeSSH } = require('node-ssh-no-cpu-features')
|
|
3
3
|
const pathExists = require('../../../../util/path-exists')
|
|
4
4
|
const regularSSHServer = require('./regular-server')
|
|
5
5
|
const readymageSSH = require('./readymage')
|
|
@@ -4,7 +4,7 @@ const { execAsyncSpawn } = require('../../../../util/exec-async-command')
|
|
|
4
4
|
const databaseDumpCommandWithOptions = require('./database-dump-command')
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
|
-
* @returns {import('listr2').ListrTask<import('../../../../../typings/context').ListrContext & { ssh: import('node-ssh').NodeSSH }>}
|
|
7
|
+
* @returns {import('listr2').ListrTask<import('../../../../../typings/context').ListrContext & { ssh: import('node-ssh-no-cpu-features').NodeSSH }>}
|
|
8
8
|
*/
|
|
9
9
|
const readymageSSH = () => ({
|
|
10
10
|
task: async (ctx, task) => {
|
|
@@ -4,7 +4,7 @@ const { execAsyncSpawn } = require('../../../../util/exec-async-command')
|
|
|
4
4
|
const databaseDumpCommandWithOptions = require('./database-dump-command')
|
|
5
5
|
const KnownError = require('../../../../errors/known-error')
|
|
6
6
|
/**
|
|
7
|
-
* @returns {import('listr2').ListrTask<import('../../../../../typings/context').ListrContext & { ssh: import('node-ssh').NodeSSH }>}
|
|
7
|
+
* @returns {import('listr2').ListrTask<import('../../../../../typings/context').ListrContext & { ssh: import('node-ssh-no-cpu-features').NodeSSH }>}
|
|
8
8
|
*/
|
|
9
9
|
const regularSSHServer = () => ({
|
|
10
10
|
task: async (ctx, task) => {
|
package/lib/util/set-config.js
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
const
|
|
1
|
+
const { Eta } = require('eta')
|
|
2
2
|
const fs = require('fs')
|
|
3
3
|
const path = require('path')
|
|
4
4
|
const pathExists = require('./path-exists')
|
|
5
5
|
|
|
6
|
+
const eta = new Eta()
|
|
7
|
+
|
|
6
8
|
/**
|
|
7
9
|
* @param {{ configPathname: string, template: string, overwrite?: boolean, templateArgs?: Record<string, unknown> }} param0
|
|
8
10
|
*/
|
|
@@ -19,7 +21,7 @@ const setConfigFile = async ({
|
|
|
19
21
|
}
|
|
20
22
|
|
|
21
23
|
const configTemplate = await fs.promises.readFile(template, 'utf-8')
|
|
22
|
-
const compliedConfig = await eta.
|
|
24
|
+
const compliedConfig = await eta.renderStringAsync(configTemplate, {
|
|
23
25
|
date: new Date().toUTCString(),
|
|
24
26
|
...templateArgs
|
|
25
27
|
})
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Scripts and configuration used by CMA.",
|
|
4
4
|
"homepage": "https://docs.create-magento-app.com/",
|
|
5
5
|
"repository": "github:scandipwa/create-magento-app",
|
|
6
|
-
"version": "2.3.
|
|
6
|
+
"version": "2.3.4-alpha.0",
|
|
7
7
|
"main": "./index.js",
|
|
8
8
|
"types": "./typings/index.d.ts",
|
|
9
9
|
"license": "OSL-3.0",
|
|
@@ -23,24 +23,24 @@
|
|
|
23
23
|
"arm64"
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@scandipwa/scandipwa-dev-utils": "0.1.
|
|
27
|
-
"@tilework/mosaic-dev-utils": "^0.2.
|
|
28
|
-
"conf": "10.
|
|
29
|
-
"enquirer": "2.
|
|
30
|
-
"eta": "
|
|
31
|
-
"fast-xml-parser": "^4.0
|
|
26
|
+
"@scandipwa/scandipwa-dev-utils": "0.1.17",
|
|
27
|
+
"@tilework/mosaic-dev-utils": "^0.2.4",
|
|
28
|
+
"conf": "10.2.0",
|
|
29
|
+
"enquirer": "2.4.1",
|
|
30
|
+
"eta": "3.4.0",
|
|
31
|
+
"fast-xml-parser": "^4.4.0",
|
|
32
32
|
"hjson": "^3.2.2",
|
|
33
33
|
"is-installed-globally": "0.4.0",
|
|
34
|
-
"joi": "17.
|
|
34
|
+
"joi": "17.13.3",
|
|
35
35
|
"listr2": "4.0.5",
|
|
36
36
|
"macos-version": "5.2.1",
|
|
37
37
|
"merge-files": "0.1.2",
|
|
38
|
-
"mysql2": "
|
|
39
|
-
"node-ssh": "
|
|
40
|
-
"semver": "7.3
|
|
38
|
+
"mysql2": "3.10.3",
|
|
39
|
+
"node-ssh-no-cpu-features": "^2.0.0",
|
|
40
|
+
"semver": "7.6.3",
|
|
41
41
|
"smol-request": "^2.1.2",
|
|
42
|
-
"systeminformation": "5.
|
|
43
|
-
"yargs": "17.
|
|
42
|
+
"systeminformation": "5.22.11",
|
|
43
|
+
"yargs": "17.7.2"
|
|
44
44
|
},
|
|
45
45
|
"publishConfig": {
|
|
46
46
|
"access": "public"
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
"scandipwa"
|
|
57
57
|
],
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@types/node": "^20.
|
|
60
|
-
"@types/yargs": "^17.0.
|
|
59
|
+
"@types/node": "^20.14.11",
|
|
60
|
+
"@types/yargs": "^17.0.32"
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "dc6b868bdfd7c4d063a8e755f050c77b5265cab9"
|
|
63
63
|
}
|