@adminforth/i18n 2.0.1 → 2.0.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.
@@ -17,18 +17,18 @@ steps:
17
17
  - infisical export --domain https://vault.devforth.io/api --format=dotenv-export --env="prod" > /woodpecker/deploy.vault.env
18
18
 
19
19
  build:
20
- image: node:20
20
+ image: devforth/node20-pnpm:latest
21
21
  when:
22
22
  - event: push
23
23
  commands:
24
24
  - apt update && apt install -y rsync
25
25
  - . /woodpecker/deploy.vault.env
26
- - npm clean-install
26
+ - pnpm install
27
27
  - /bin/bash ./.woodpecker/buildRelease.sh
28
28
  - npm audit signatures
29
29
 
30
30
  release:
31
- image: node:20
31
+ image: devforth/node20-pnpm:latest
32
32
  when:
33
33
  - event:
34
34
  - push
@@ -36,7 +36,7 @@ steps:
36
36
  - main
37
37
  commands:
38
38
  - . /woodpecker/deploy.vault.env
39
- - npx semantic-release
39
+ - pnpm exec semantic-release
40
40
 
41
41
  slack-on-failure:
42
42
  image: curlimages/curl
package/build.log CHANGED
@@ -19,5 +19,5 @@ custom/package-lock.json
19
19
  custom/package.json
20
20
  custom/tsconfig.json
21
21
 
22
- sent 43,756 bytes received 286 bytes 88,084.00 bytes/sec
23
- total size is 42,662 speedup is 0.97
22
+ sent 43,660 bytes received 286 bytes 87,892.00 bytes/sec
23
+ total size is 42,566 speedup is 0.97
@@ -26,7 +26,6 @@
26
26
 
27
27
 
28
28
  <script setup lang="ts">
29
- import { AdminForthComponentDeclarationFull } from 'adminforth';
30
29
  import { useI18n } from 'vue-i18n'
31
30
  import { onMounted, onUnmounted, ref } from 'vue';
32
31
  import websocket from '@/websocket';
@@ -52,7 +51,7 @@ const props = defineProps<{
52
51
  };
53
52
  progress: number; // 0 to 100
54
53
  createdAt: Date;
55
- customComponent?: AdminForthComponentDeclarationFull;
54
+ customComponent?: any;
56
55
  };
57
56
  }>();
58
57
 
@@ -26,7 +26,6 @@
26
26
 
27
27
 
28
28
  <script setup lang="ts">
29
- import { AdminForthComponentDeclarationFull } from 'adminforth';
30
29
  import { useI18n } from 'vue-i18n'
31
30
  import { onMounted, onUnmounted, ref } from 'vue';
32
31
  import websocket from '@/websocket';
@@ -52,7 +51,7 @@ const props = defineProps<{
52
51
  };
53
52
  progress: number; // 0 to 100
54
53
  createdAt: Date;
55
- customComponent?: AdminForthComponentDeclarationFull;
54
+ customComponent?: any;
56
55
  };
57
56
  }>();
58
57
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminforth/i18n",
3
- "version": "2.0.1",
3
+ "version": "2.0.3",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",
@@ -9,8 +9,7 @@
9
9
  },
10
10
  "homepage": "https://adminforth.dev/docs/tutorial/Plugins/i18n/",
11
11
  "scripts": {
12
- "build": "tsc && rsync -av --exclude 'node_modules' custom dist/",
13
- "prepare": "npm link adminforth"
12
+ "build": "tsc && rsync -av --exclude 'node_modules' custom dist/"
14
13
  },
15
14
  "repository": {
16
15
  "type": "git",
@@ -39,7 +38,7 @@
39
38
  "p-limit": "^7.3.0"
40
39
  },
41
40
  "peerDependencies": {
42
- "adminforth": "next"
41
+ "adminforth": "^2.24.0"
43
42
  },
44
43
  "devDependencies": {
45
44
  "@types/node": "^22.10.7",
@@ -57,6 +56,7 @@
57
56
  [
58
57
  "semantic-release-slack-bot",
59
58
  {
59
+ "packageName": "@adminforth/i18n",
60
60
  "notifyOnSuccess": true,
61
61
  "notifyOnFail": true,
62
62
  "slackIcon": ":package:",