@adminforth/universal-search 1.4.1 → 1.4.3
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/.woodpecker/release.yml +1 -3
- package/build.log +2 -2
- package/custom/tsconfig.json +17 -4
- package/dist/custom/tsconfig.json +17 -4
- package/dist/index.js +1 -1
- package/index.ts +1 -1
- package/package.json +27 -1
package/.woodpecker/release.yml
CHANGED
|
@@ -20,8 +20,6 @@ steps:
|
|
|
20
20
|
image: node:20
|
|
21
21
|
when:
|
|
22
22
|
- event: push
|
|
23
|
-
volumes:
|
|
24
|
-
- /var/run/docker.sock:/var/run/docker.sock
|
|
25
23
|
commands:
|
|
26
24
|
- apt update && apt install -y rsync
|
|
27
25
|
- export $(cat /woodpecker/deploy.vault.env | xargs)
|
|
@@ -34,8 +32,8 @@ steps:
|
|
|
34
32
|
when:
|
|
35
33
|
- event: push
|
|
36
34
|
status: [failure, success]
|
|
35
|
+
- event: push
|
|
37
36
|
image: curlimages/curl
|
|
38
37
|
commands:
|
|
39
38
|
- export $(cat /woodpecker/deploy.vault.env | xargs)
|
|
40
39
|
- /bin/sh ./.woodpecker/buildSlackNotify.sh
|
|
41
|
-
|
package/build.log
CHANGED
package/custom/tsconfig.json
CHANGED
|
@@ -1,17 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"compilerOptions": {
|
|
3
3
|
"baseUrl": ".", // This should point to your project root
|
|
4
|
-
"esModuleInterop": true,
|
|
5
4
|
"paths": {
|
|
6
5
|
"@/*": [
|
|
7
|
-
"
|
|
6
|
+
// "node_modules/adminforth/dist/spa/src/*"
|
|
7
|
+
"../../../adminforth/spa/src/*"
|
|
8
8
|
],
|
|
9
9
|
"*": [
|
|
10
|
-
"
|
|
10
|
+
// "node_modules/adminforth/dist/spa/node_modules/*"
|
|
11
|
+
"../../../adminforth/spa/node_modules/*"
|
|
11
12
|
],
|
|
12
13
|
"@@/*": [
|
|
14
|
+
// "node_modules/adminforth/dist/spa/src/*"
|
|
13
15
|
"."
|
|
14
16
|
]
|
|
15
17
|
}
|
|
16
|
-
}
|
|
18
|
+
},
|
|
19
|
+
"include": [
|
|
20
|
+
"./**/*.ts",
|
|
21
|
+
"./**/*.tsx",
|
|
22
|
+
"./**/*.vue",
|
|
23
|
+
"../**/*.ts",
|
|
24
|
+
"../**/*.tsx",
|
|
25
|
+
"../**/*.vue",
|
|
26
|
+
"../*.vue",
|
|
27
|
+
"../*.ts",
|
|
28
|
+
"../*.tsx"
|
|
29
|
+
]
|
|
17
30
|
}
|
|
@@ -1,17 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"compilerOptions": {
|
|
3
3
|
"baseUrl": ".", // This should point to your project root
|
|
4
|
-
"esModuleInterop": true,
|
|
5
4
|
"paths": {
|
|
6
5
|
"@/*": [
|
|
7
|
-
"
|
|
6
|
+
// "node_modules/adminforth/dist/spa/src/*"
|
|
7
|
+
"../../../adminforth/spa/src/*"
|
|
8
8
|
],
|
|
9
9
|
"*": [
|
|
10
|
-
"
|
|
10
|
+
// "node_modules/adminforth/dist/spa/node_modules/*"
|
|
11
|
+
"../../../adminforth/spa/node_modules/*"
|
|
11
12
|
],
|
|
12
13
|
"@@/*": [
|
|
14
|
+
// "node_modules/adminforth/dist/spa/src/*"
|
|
13
15
|
"."
|
|
14
16
|
]
|
|
15
17
|
}
|
|
16
|
-
}
|
|
18
|
+
},
|
|
19
|
+
"include": [
|
|
20
|
+
"./**/*.ts",
|
|
21
|
+
"./**/*.tsx",
|
|
22
|
+
"./**/*.vue",
|
|
23
|
+
"../**/*.ts",
|
|
24
|
+
"../**/*.tsx",
|
|
25
|
+
"../**/*.vue",
|
|
26
|
+
"../*.vue",
|
|
27
|
+
"../*.ts",
|
|
28
|
+
"../*.tsx"
|
|
29
|
+
]
|
|
17
30
|
}
|
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@ export default class UniversalSearchPlugin extends AdminForthPlugin {
|
|
|
14
14
|
this.options = options;
|
|
15
15
|
}
|
|
16
16
|
instanceUniqueRepresentation(_pluginOptions) {
|
|
17
|
-
return
|
|
17
|
+
return `${this.resourceConfig.resourceId}-universal-search`;
|
|
18
18
|
}
|
|
19
19
|
modifyResourceConfig(adminforth, resourceConfig) {
|
|
20
20
|
const _super = Object.create(null, {
|
package/index.ts
CHANGED
|
@@ -12,7 +12,7 @@ export default class UniversalSearchPlugin extends AdminForthPlugin {
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
instanceUniqueRepresentation(_pluginOptions: any): string {
|
|
15
|
-
return
|
|
15
|
+
return `${this.resourceConfig.resourceId}-universal-search`;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
async modifyResourceConfig(adminforth: IAdminForth, resourceConfig: AdminForthResource) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adminforth/universal-search",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.3",
|
|
4
4
|
"description": "Universal quick search input plugin for AdminForth (injected before action buttons)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -18,9 +18,35 @@
|
|
|
18
18
|
"publishConfig": {
|
|
19
19
|
"access": "public"
|
|
20
20
|
},
|
|
21
|
+
"release": {
|
|
22
|
+
"plugins": [
|
|
23
|
+
"@semantic-release/commit-analyzer",
|
|
24
|
+
"@semantic-release/release-notes-generator",
|
|
25
|
+
"@semantic-release/npm",
|
|
26
|
+
"@semantic-release/github",
|
|
27
|
+
[
|
|
28
|
+
"semantic-release-slack-bot",
|
|
29
|
+
{
|
|
30
|
+
"notifyOnSuccess": true,
|
|
31
|
+
"notifyOnFail": true,
|
|
32
|
+
"slackIcon": ":package:",
|
|
33
|
+
"markdownReleaseNotes": true
|
|
34
|
+
}
|
|
35
|
+
]
|
|
36
|
+
],
|
|
37
|
+
"branches": [
|
|
38
|
+
"main",
|
|
39
|
+
{
|
|
40
|
+
"name": "next",
|
|
41
|
+
"prerelease": true
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
},
|
|
21
45
|
"devDependencies": {
|
|
22
46
|
"@types/node": "^22.18.6",
|
|
23
47
|
"adminforth": "^2.7.17",
|
|
48
|
+
"semantic-release": "^24.2.9",
|
|
49
|
+
"semantic-release-slack-bot": "^4.0.2",
|
|
24
50
|
"typescript": "^5.9.2"
|
|
25
51
|
}
|
|
26
52
|
}
|