@sasjs/cli 6.30.1 → 6.32.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.
package/package.json CHANGED
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "name": "@sasjs/cli",
3
+ "version": "6.32.0",
3
4
  "description": "Command line interface for SASjs",
4
5
  "engines": {
5
6
  "node": "^22.14.0 || >=24.10.0"
@@ -9,43 +10,23 @@
9
10
  "build/**/*"
10
11
  ],
11
12
  "scripts": {
12
- "start:ci": "npm run build && npm run set:permissions",
13
- "start": "nodemon --watch \"src/**/*\" --exec \"npm run build && npm run set:permissions\"",
14
- "set:permissions": "node -e \"require('fs').chmodSync('build/index.js', '755')\"",
15
13
  "build": "npx rimraf build && tsc -p . && npm run copy:files",
16
- "copy:files": "copyfiles -u 1 ./src/config.json ./build/ && npm run copy:doxy && npm run copy:mock",
17
14
  "copy:doxy": "copyfiles -u 2 src/doxy/* build/doxy/",
15
+ "copy:files": "copyfiles -u 1 ./src/config.json ./build/ && npm run copy:doxy && npm run copy:mock",
18
16
  "copy:mock": "copyfiles -u 6 src/commands/build/internal/mockSite/assets/* build/commands/build/internal/mockSite/assets/",
17
+ "doc": "npx compodoc -p tsconfig.doc.json --coverageTest 16 --coverageTestThresholdFail",
18
+ "lint": "npx prettier --check \"{src,test}/**/*.{ts,tsx,js,jsx,html,css,sass,less,yml,md,graphql}\"",
19
+ "lint:fix": "npx prettier --write \"{src,test}/**/*.{ts,tsx,js,jsx,html,css,sass,less,yml,md,graphql}\"",
20
+ "prepublishOnly": "node -e \"const v=require('./package.json').version; if (/^0\\.0\\.0/.test(v)) { console.error('refusing to publish ' + v + ': the version is stamped from the tag (npm version <tag> --no-git-tag-version)'); process.exit(1) }\"",
21
+ "release": "sasjs-release",
22
+ "set:permissions": "node -e \"require('fs').chmodSync('build/index.js', '755')\"",
23
+ "start": "nodemon --watch \"src/**/*\" --exec \"npm run build && npm run set:permissions\"",
24
+ "start:ci": "npm run build && npm run set:permissions",
19
25
  "test": "npm run test:mocked && npm run test:server",
20
- "test:server": "jest --silent --runInBand --config=jest.server.config.js",
21
26
  "test:mocked": "jest --silent --runInBand --config=jest.config.js --coverage",
22
- "lint:fix": "npx prettier --write \"{src,test}/**/*.{ts,tsx,js,jsx,html,css,sass,less,yml,md,graphql}\"",
23
- "lint": "npx prettier --check \"{src,test}/**/*.{ts,tsx,js,jsx,html,css,sass,less,yml,md,graphql}\"",
24
- "doc": "npx compodoc -p tsconfig.doc.json --coverageTest 16 --coverageTestThresholdFail"
27
+ "test:server": "jest --silent --runInBand --config=jest.server.config.js"
25
28
  },
26
29
  "testServerTypes": "sasjs",
27
- "release": {
28
- "branches": [
29
- "main"
30
- ],
31
- "plugins": [
32
- "@semantic-release/commit-analyzer",
33
- "@semantic-release/release-notes-generator",
34
- [
35
- "@semantic-release/npm",
36
- {
37
- "npmPublish": false
38
- }
39
- ],
40
- [
41
- "@semantic-release/exec",
42
- {
43
- "publishCmd": "npm publish --provenance --access public"
44
- }
45
- ],
46
- "@semantic-release/github"
47
- ]
48
- },
49
30
  "bin": {
50
31
  "sasjs": "build/index.js"
51
32
  },
@@ -97,6 +78,7 @@
97
78
  "@babel/preset-env": "7.29.7",
98
79
  "@babel/preset-typescript": "7.29.7",
99
80
  "@nogoo9/gitleaks": "8.30.1-post.2",
81
+ "@sasjs/release": "0.1.3",
100
82
  "@types/debug": "4.1.13",
101
83
  "@types/find": "0.2.4",
102
84
  "@types/jest": "30.0.0",
@@ -124,6 +106,5 @@
124
106
  "overrides": {
125
107
  "ws": "8.21.0",
126
108
  "nanoid": "3.3.18"
127
- },
128
- "version": "6.30.1"
109
+ }
129
110
  }