@aigne/doc-smith 0.8.8 → 0.8.10-beta

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,7 +17,6 @@ jobs:
17
17
  id: release
18
18
  with:
19
19
  token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
20
- release-type: node
21
20
 
22
21
  - name: Checkout
23
22
  uses: actions/checkout@v4
@@ -46,4 +45,9 @@ jobs:
46
45
  if: ${{ steps.release.outputs.release_created }}
47
46
  run: |
48
47
  npm config set '//registry.npmjs.org/:_authToken' "${{ secrets.NPM_TOKEN }}"
49
- pnpm publish --access public --no-git-checks
48
+ if [[ "${{ steps.release.outputs.version }}" == *beta* ]]; then
49
+ pnpm publish --access public --no-git-checks --tag beta
50
+ else
51
+ pnpm publish --access public --no-git-checks
52
+ fi
53
+
@@ -0,0 +1,3 @@
1
+ {
2
+ ".": "0.8.10-beta"
3
+ }
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.8.10-beta](https://github.com/AIGNE-io/aigne-doc-smith/compare/v0.8.9...v0.8.10-beta) (2025-09-16)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **ci:** support publish beta releases ([#112](https://github.com/AIGNE-io/aigne-doc-smith/issues/112)) ([aa51523](https://github.com/AIGNE-io/aigne-doc-smith/commit/aa515237cff275ef8c46f5ac2ad7ff60e9915ab4))
9
+
10
+ ## [0.8.9](https://github.com/AIGNE-io/aigne-doc-smith/compare/v0.8.8...v0.8.9) (2025-09-15)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * update d2 diagram theme color ([#108](https://github.com/AIGNE-io/aigne-doc-smith/issues/108)) ([d31dd80](https://github.com/AIGNE-io/aigne-doc-smith/commit/d31dd80c7cb1ca0c4d99d85eb2b6a529651d426f))
16
+
3
17
  ## [0.8.8](https://github.com/AIGNE-io/aigne-doc-smith/compare/v0.8.7...v0.8.8) (2025-09-13)
4
18
 
5
19
 
package/LICENSE ADDED
@@ -0,0 +1,93 @@
1
+ Elastic License 2.0
2
+
3
+ URL: https://www.elastic.co/licensing/elastic-license
4
+
5
+ ## Acceptance
6
+
7
+ By using the software, you agree to all of the terms and conditions below.
8
+
9
+ ## Copyright License
10
+
11
+ The licensor grants you a non-exclusive, royalty-free, worldwide,
12
+ non-sublicensable, non-transferable license to use, copy, distribute, make
13
+ available, and prepare derivative works of the software, in each case subject to
14
+ the limitations and conditions below.
15
+
16
+ ## Limitations
17
+
18
+ You may not provide the software to third parties as a hosted or managed
19
+ service, where the service provides users with access to any substantial set of
20
+ the features or functionality of the software.
21
+
22
+ You may not move, change, disable, or circumvent the license key functionality
23
+ in the software, and you may not remove or obscure any functionality in the
24
+ software that is protected by the license key.
25
+
26
+ You may not alter, remove, or obscure any licensing, copyright, or other notices
27
+ of the licensor in the software. Any use of the licensor’s trademarks is subject
28
+ to applicable law.
29
+
30
+ ## Patents
31
+
32
+ The licensor grants you a license, under any patent claims the licensor can
33
+ license, or becomes able to license, to make, have made, use, sell, offer for
34
+ sale, import and have imported the software, in each case subject to the
35
+ limitations and conditions in this license. This license does not cover any
36
+ patent claims that you cause to be infringed by modifications or additions to
37
+ the software. If you or your company make any written claim that the software
38
+ infringes or contributes to infringement of any patent, your patent license for
39
+ the software granted under these terms ends immediately. If your company makes
40
+ such a claim, your patent license ends immediately for work on behalf of your
41
+ company.
42
+
43
+ ## Notices
44
+
45
+ You must ensure that anyone who gets a copy of any part of the software from you
46
+ also gets a copy of these terms.
47
+
48
+ If you modify the software, you must include in any modified copies of the
49
+ software prominent notices stating that you have modified the software.
50
+
51
+ ## No Other Rights
52
+
53
+ These terms do not imply any licenses other than those expressly granted in
54
+ these terms.
55
+
56
+ ## Termination
57
+
58
+ If you use the software in violation of these terms, such use is not licensed,
59
+ and your licenses will automatically terminate. If the licensor provides you
60
+ with a notice of your violation, and you cease all violation of this license no
61
+ later than 30 days after you receive that notice, your licenses will be
62
+ reinstated retroactively. However, if you violate these terms after such
63
+ reinstatement, any additional violation of these terms will cause your licenses
64
+ to terminate automatically and permanently.
65
+
66
+ ## No Liability
67
+
68
+ *As far as the law allows, the software comes as is, without any warranty or
69
+ condition, and the licensor will not be liable to you for any damages arising
70
+ out of these terms or the use or nature of the software, under any kind of
71
+ legal claim.*
72
+
73
+ ## Definitions
74
+
75
+ The **licensor** is the entity offering these terms, and the **software** is the
76
+ software the licensor makes available under these terms, including any portion
77
+ of it.
78
+
79
+ **you** refers to the individual or entity agreeing to these terms.
80
+
81
+ **your company** is any legal entity, sole proprietorship, or other kind of
82
+ organization that you work for, plus all organizations that have control over,
83
+ are under the control of, or are under common control with that
84
+ organization. **control** means ownership of substantially all the assets of an
85
+ entity, or the power to direct its management and policies by vote, contract, or
86
+ otherwise. Control can be direct or indirect.
87
+
88
+ **your licenses** are all the licenses granted to you for the software under
89
+ these terms.
90
+
91
+ **use** means anything you do with the software requiring one of your licenses.
92
+
93
+ **trademark** means trademarks, service marks, and similar rights.
package/README.md CHANGED
@@ -307,3 +307,7 @@ aigne doc publish --appUrl https://your-discuss-kit-instance.com
307
307
 
308
308
 
309
309
  ```
310
+
311
+ ## License
312
+
313
+ This project is licensed under the Elastic License 2.0 License - see the [LICENSE](LICENSE) file for details.
package/RELEASE.md ADDED
@@ -0,0 +1,10 @@
1
+ ### Release a beta version
2
+
3
+ Create normal pr, release-please will auto create a beta version PR.
4
+ Merge that PR when appropriate.
5
+
6
+ ### Release a prod version
7
+
8
+ When you want publish a prod version, you can run `git commit --allow-empty -m "chore: release x.x.x" -m "Release-As: x.x.x"` to main.
9
+ release-please will update PR to release to specific version (without beta).
10
+ Merge that PR when appropriate.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aigne/doc-smith",
3
- "version": "0.8.8",
3
+ "version": "0.8.10-beta",
4
4
  "description": "",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -10,7 +10,7 @@
10
10
  "bin": "aigne.yaml",
11
11
  "keywords": [],
12
12
  "author": "Arcblock <blocklet@arcblock.io> https://github.com/blocklet",
13
- "license": "MIT",
13
+ "license": "Elastic-2.0",
14
14
  "dependencies": {
15
15
  "@aigne/aigne-hub": "^0.9.3",
16
16
  "@aigne/anthropic": "^0.13.3",
@@ -0,0 +1,13 @@
1
+ {
2
+ "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
3
+ "packages": {
4
+ ".": {
5
+ "release-type": "node",
6
+ "bump-minor-pre-major": true,
7
+ "bump-patch-for-minor-pre-major": true,
8
+ "include-component-in-tag": false,
9
+ "prerelease-type": "beta",
10
+ "versioning": "prerelease"
11
+ }
12
+ }
13
+ }
@@ -517,18 +517,17 @@ export const D2_CONFIG = `vars: {
517
517
  layout-engine: elk
518
518
  theme-id: 105
519
519
  theme-overrides: {
520
- N1: "#18181B"
521
- N2: "#421E0B"
520
+ N1: "#161B1A"
521
+ N2: "#02A996"
522
522
  N4: "#E6E8EC"
523
- N5: "#E6E8EC"
524
-
525
- B3: "#FFE9D1"
523
+ N5: "#E3FDF6"
524
+ B2: "#161B1A"
525
+ B3: "#BEF4EB"
526
526
  B4: "transparent"
527
-
528
- AA2: "#421E0B"
529
- AA4: "#FFE9D1"
530
-
531
- AB4: "#FBF4E4"
527
+ B5: "#D1F6EC"
528
+ B6: "#E4FFF0"
529
+ AA4: "#D1F6EC"
530
+ AB4: "#BEF4EB"
532
531
  }
533
532
  }
534
533
  }`;