adminforth 1.6.1 → 1.6.2-next.1

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.
Files changed (1) hide show
  1. package/package.json +32 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adminforth",
3
- "version": "1.6.1",
3
+ "version": "1.6.2-next.1",
4
4
  "description": "OpenSource Vue3 powered forth-generation admin panel",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -13,13 +13,10 @@
13
13
  "adminforth": "./commands/cli.js"
14
14
  },
15
15
  "scripts": {
16
- "test": "echo \"Error: no test specified\" && exit 1",
16
+ "test": "echo \"Error: no test specified yet\" && exit 1",
17
17
  "build": "rm -rf dist && tsc && npm run prepareDist && npm link",
18
18
  "--comment-prepareDist": "-rl allows supply the spa without symlinks which allows to not include source code in the package",
19
19
  "prepareDist": "cp -rL spa dist/",
20
- "put-git-tag": "git tag v$(node -p \"require('./package.json').version\") && git push --tags",
21
- "rollout": "npm run build && npm version patch && npm publish && npm run rollout-doc && npm run put-git-tag",
22
- "rollout-next": "npm run build && npm version prerelease --preid=next && npm publish --tag next && npm run put-git-tag",
23
20
  "rollout-doc": "cd documentation && npm run build && npm run deploy",
24
21
  "docs": "typedoc",
25
22
  "--comment_postinstall": "postinstall executed after package installed in other project package and when we do npm ci in the package",
@@ -27,6 +24,33 @@
27
24
  "install-plugins": "cd ../plugins && sh install-plugins.sh",
28
25
  "install-adapters": "cd ../adapters && sh install-adapters.sh"
29
26
  },
27
+ "release": {
28
+ "plugins": [
29
+ "@semantic-release/commit-analyzer",
30
+ "@semantic-release/release-notes-generator",
31
+ "@semantic-release/npm",
32
+ "@semantic-release/github",
33
+ [
34
+ "semantic-release-slack-bot",
35
+ {
36
+ "notifyOnSuccess": true,
37
+ "notifyOnFail": true,
38
+ "slackIcon": ":package:",
39
+ "onSuccessTemplate": {
40
+ "text": "$npm_package_version has been released!"
41
+ },
42
+ "markdownReleaseNotes": true
43
+ }
44
+ ]
45
+ ],
46
+ "branches": [
47
+ "main",
48
+ {
49
+ "name": "next",
50
+ "prerelease": true
51
+ }
52
+ ]
53
+ },
30
54
  "exports": {
31
55
  ".": {
32
56
  "import": "./dist/index.js",
@@ -62,7 +86,10 @@
62
86
  "ws": "^8.18.0"
63
87
  },
64
88
  "devDependencies": {
89
+ "@semantic-release/exec": "^6.0.3",
65
90
  "@types/node": "^20.14.2",
91
+ "semantic-release": "^24.2.1",
92
+ "semantic-release-slack-bot": "^4.0.2",
66
93
  "typescript": "^5.4.5"
67
94
  }
68
95
  }