@adminforth/markdown 1.1.0 → 1.2.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.
@@ -5,7 +5,7 @@ set -x
5
5
  COMMIT_SHORT_SHA=$(echo $CI_COMMIT_SHA | cut -c1-8)
6
6
 
7
7
 
8
- if [ "$CI_STEP_STATUS" = "success" ]; then
8
+ if [ "$CI_PREV_PIPELINE_STATUS" = "success" ]; then
9
9
  MESSAGE="Did a build without issues on \`$CI_REPO_NAME/$CI_COMMIT_BRANCH\`. Commit: _${CI_COMMIT_MESSAGE}_ (<$CI_COMMIT_URL|$COMMIT_SHORT_SHA>)"
10
10
 
11
11
  curl -s -X POST -H "Content-Type: application/json" -d '{
@@ -15,8 +15,6 @@ steps:
15
15
  from_secret: VAULT_TOKEN
16
16
  commands:
17
17
  - infisical export --domain https://vault.devforth.io/api --format=dotenv-export --env="prod" > /woodpecker/deploy.vault.env
18
- secrets:
19
- - VAULT_TOKEN
20
18
 
21
19
  release:
22
20
  image: node:20
@@ -36,7 +34,6 @@ steps:
36
34
  when:
37
35
  - event: push
38
36
  status: [failure, success]
39
- - event: push
40
37
  image: curlimages/curl
41
38
  commands:
42
39
  - export $(cat /woodpecker/deploy.vault.env | xargs)
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Devforth.io
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,7 @@
1
+ # AdminForth Markdown Plugin
2
+
3
+ <img src="https://img.shields.io/badge/License-MIT-blue.svg" alt="License: MIT" /> <img src="https://woodpecker.devforth.io/api/badges/3848/status.svg" alt="Build Status" /> <a href="https://www.npmjs.com/package/@adminforth/markdown"> <img src="https://img.shields.io/npm/dt/@adminforth/markdown" alt="npm downloads" /> </a> <a href="https://www.npmjs.com/package/@adminforth/markdown"> <img src="https://img.shields.io/npm/v/@adminforth/markdown" alt="npm version" /> </a>
4
+
5
+ Enables powerful Markdown editing capabilities in AdminForth applications using <a href="https://milkdown.dev">Milkdown</a>.
6
+
7
+ ## For usage, see [AdminForth Markdown Documentation](https://adminforth.dev/docs/tutorial/Plugins/markdown/)
package/index.ts CHANGED
@@ -39,7 +39,6 @@ export default class MarkdownPlugin extends AdminForthPlugin {
39
39
  if (!column) {
40
40
  throw new Error(`Column ${fieldName} not found in resource ${resourceConfig.label}`);
41
41
  }
42
-
43
42
  if (!column.components) {
44
43
  column.components = {};
45
44
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminforth/markdown",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "description": "Markdown plugin for adminforth",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",