@sasjs/cli 4.20.7 → 4.20.9
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 +8 -9
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@sasjs/cli",
|
|
3
3
|
"description": "Command line interface for SASjs",
|
|
4
4
|
"engines": {
|
|
5
|
-
"node": ">=
|
|
5
|
+
"node": "^14.18.0 || >=16.10.0"
|
|
6
6
|
},
|
|
7
7
|
"main": "index.js",
|
|
8
8
|
"files": [
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
],
|
|
11
11
|
"scripts": {
|
|
12
12
|
"nodeVersionMessage": "echo \u001b[33m make sure you are running node lts version \u001b[0m",
|
|
13
|
-
"checkNodeVersion": "node -e \"console.log('
|
|
13
|
+
"checkNodeVersion": "node -e \"console.log('\\u001b[36m', 'Checking your Node.js version...'); const v = process.versions && process.versions.node; const ok = v && (() => { const [m, n] = v.split('.').map(Number); if (m === 14) return n >= 18; if (m === 15) return false; if (m === 16) return n >= 10; return m > 16 })(); if (!ok) { console.log('\\u001b[31m', '\\u274c You must be running Node.js ^14.18.0 || >=16.10.0 to install SASjs CLI.\\nYour current version is ' + v + '.\\nPlease install a more recent version and try again.'); process.exit(1) } else { console.log('\\u001b[32m', '\\u2705 Node.js version check passed. Continuing...') } console.log('\\u001b[0m', '');\"",
|
|
14
14
|
"start:ci": "npm run build && npm run set:permissions",
|
|
15
15
|
"start": "nodemon --watch \"src/**/*\" --exec \"npm run build && npm run set:permissions\"",
|
|
16
16
|
"set:permissions": "node -e \"require('fs').chmodSync('build/index.js', '755')\"",
|
|
@@ -22,7 +22,6 @@
|
|
|
22
22
|
"test:mocked": "jest --silent --runInBand --config=jest.config.js --coverage",
|
|
23
23
|
"lint:fix": "npx prettier --write \"{src,test}/**/*.{ts,tsx,js,jsx,html,css,sass,less,yml,md,graphql}\"",
|
|
24
24
|
"lint": "npx prettier --check \"{src,test}/**/*.{ts,tsx,js,jsx,html,css,sass,less,yml,md,graphql}\"",
|
|
25
|
-
"prepare": "git rev-parse --git-dir && git config core.hooksPath ./.git-hooks || true",
|
|
26
25
|
"doc": "npx compodoc -p tsconfig.doc.json --coverageTest 16 --coverageTestThresholdFail"
|
|
27
26
|
},
|
|
28
27
|
"testServerTypes": "sasjs",
|
|
@@ -72,13 +71,12 @@
|
|
|
72
71
|
"registry": "https://registry.npmjs.org"
|
|
73
72
|
},
|
|
74
73
|
"dependencies": {
|
|
75
|
-
"@sasjs/adapter": "4.19.
|
|
76
|
-
"@sasjs/core": "5.
|
|
77
|
-
"@sasjs/lint": "4.1.
|
|
78
|
-
"@sasjs/utils": "3.6.
|
|
74
|
+
"@sasjs/adapter": "4.19.2",
|
|
75
|
+
"@sasjs/core": "5.3.0",
|
|
76
|
+
"@sasjs/lint": "4.1.2",
|
|
77
|
+
"@sasjs/utils": "3.6.5",
|
|
79
78
|
"chalk": "4.1.2",
|
|
80
79
|
"dotenv": "17.4.2",
|
|
81
|
-
"find": "0.3.0",
|
|
82
80
|
"js-base64": "3.9.3",
|
|
83
81
|
"jsdom": "26.0.0",
|
|
84
82
|
"jwt-decode": "3.1.2",
|
|
@@ -106,6 +104,7 @@
|
|
|
106
104
|
"@types/lodash.groupby": "4.6.9",
|
|
107
105
|
"@types/lodash.uniqby": "4.7.9",
|
|
108
106
|
"@types/node": "22.10.2",
|
|
107
|
+
"@types/prompts": "2.4.9",
|
|
109
108
|
"@types/url-parse": "1.4.11",
|
|
110
109
|
"@types/xml": "1.0.11",
|
|
111
110
|
"@types/yauzl": "3.4.0",
|
|
@@ -128,5 +127,5 @@
|
|
|
128
127
|
"ws": "8.21.0",
|
|
129
128
|
"nanoid": "3.3.18"
|
|
130
129
|
},
|
|
131
|
-
"version": "4.20.
|
|
130
|
+
"version": "4.20.9"
|
|
132
131
|
}
|