@sasjs/cli 3.19.4 → 3.19.5
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 +6 -5
package/package.json
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
"build/**/*"
|
|
7
7
|
],
|
|
8
8
|
"scripts": {
|
|
9
|
+
"nodeVersionMessage": "echo \u001b[33m make sure you are running node lts version \u001b[0m",
|
|
9
10
|
"checkNodeVersion": "node -e \"console.log('\u001b[36m', 'Checking your Node.js version...'); if (!process.versions || !process.versions.node) { console.log('\u001b[31m', 'Error determining Node.js version. Exiting...') } if (parseInt(process.versions.node) < 14) { console.log('\u001b[31m', '❌ You must be running at least Node.js 14 to install SASjs CLI.\\nYour current version is ' + process.versions.node + '.\\nPlease install a more recent version and try again.'); process.exit(1); } else { console.log('\u001b[32m', '✅ Node.js version check passed. Continuing...'); } console.log('\u001b[0m', '');\"",
|
|
10
11
|
"start": "nodemon --watch \"src/**/*\" --exec \"npm run build && npm run set:permissions\"",
|
|
11
12
|
"set:permissions": "node -e \"require('fs').chmodSync('build/index.js', '755')\"",
|
|
@@ -17,7 +18,7 @@
|
|
|
17
18
|
"test:mocked": "jest --silent --runInBand --config=jest.config.js --coverage",
|
|
18
19
|
"lint:fix": "npx prettier --write \"{src,test}/**/*.{ts,tsx,js,jsx,html,css,sass,less,yml,md,graphql}\"",
|
|
19
20
|
"lint": "npx prettier --check \"{src,test}/**/*.{ts,tsx,js,jsx,html,css,sass,less,yml,md,graphql}\"",
|
|
20
|
-
"preinstall": "npm run
|
|
21
|
+
"preinstall": "npm run nodeVersionMessage",
|
|
21
22
|
"prepare": "git rev-parse --git-dir && git config core.hooksPath ./.git-hooks || true"
|
|
22
23
|
},
|
|
23
24
|
"testServerTypes": "viya,sas9,sasjs",
|
|
@@ -48,10 +49,10 @@
|
|
|
48
49
|
"access": "public"
|
|
49
50
|
},
|
|
50
51
|
"dependencies": {
|
|
51
|
-
"@sasjs/adapter": "3.10.
|
|
52
|
-
"@sasjs/core": "4.
|
|
52
|
+
"@sasjs/adapter": "3.10.18",
|
|
53
|
+
"@sasjs/core": "4.40.0",
|
|
53
54
|
"@sasjs/lint": "1.12.0",
|
|
54
|
-
"@sasjs/utils": "2.
|
|
55
|
+
"@sasjs/utils": "2.48.2",
|
|
55
56
|
"adm-zip": "0.5.9",
|
|
56
57
|
"chalk": "4.1.2",
|
|
57
58
|
"csv-stringify": "5.6.5",
|
|
@@ -97,5 +98,5 @@
|
|
|
97
98
|
"typescript": "4.5.4",
|
|
98
99
|
"util": "0.12.4"
|
|
99
100
|
},
|
|
100
|
-
"version": "3.19.
|
|
101
|
+
"version": "3.19.5"
|
|
101
102
|
}
|