@promptbook/markdown-utils 0.75.0-4 → 0.75.2
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/README.md +22 -16
- package/esm/index.es.js +1 -3
- package/esm/index.es.js.map +1 -1
- package/esm/typings/src/_packages/core.index.d.ts +6 -0
- package/esm/typings/src/_packages/utils.index.d.ts +2 -0
- package/esm/typings/src/config.d.ts +25 -0
- package/esm/typings/src/pipeline/PipelineInterface/PipelineInterface.d.ts +0 -4
- package/esm/typings/src/pipeline/PipelineInterface/getPipelineInterface.d.ts +1 -3
- package/esm/typings/src/pipeline/PipelineInterface/isPipelineImplementingInterface.d.ts +1 -4
- package/esm/typings/src/pipeline/PipelineInterface/isPipelineInterfacesEqual.d.ts +1 -4
- package/esm/typings/src/utils/organization/spaceTrim.d.ts +11 -0
- package/esm/typings/src/version.d.ts +1 -1
- package/package.json +1 -1
- package/umd/index.umd.js +1 -3
- package/umd/index.umd.js.map +1 -1
package/README.md
CHANGED
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
#  Promptbook
|
|
4
4
|
|
|
5
|
-
It's time for a paradigm shift! The future of software is in plain English, French or Latin.
|
|
6
|
-
|
|
7
5
|
|
|
8
6
|
|
|
9
7
|
|
|
@@ -25,10 +23,6 @@ It's time for a paradigm shift! The future of software is in plain English, Fren
|
|
|
25
23
|
|
|
26
24
|
|
|
27
25
|
|
|
28
|
-
<blockquote style="color: #ff8811">
|
|
29
|
-
<b>⚠ Warning:</b> This is a pre-release version of the library. It is not yet ready for production use. Please look at <a href="https://www.npmjs.com/package/@promptbook/core?activeTab=versions">latest stable release</a>.
|
|
30
|
-
</blockquote>
|
|
31
|
-
|
|
32
26
|
## 📦 Package `@promptbook/markdown-utils`
|
|
33
27
|
|
|
34
28
|
- Promptbooks are [divided into several](#-packages) packages, all are published from [single monorepo](https://github.com/webgptorg/promptbook).
|
|
@@ -56,7 +50,7 @@ Rest of the documentation is common for **entire promptbook ecosystem**:
|
|
|
56
50
|
|
|
57
51
|
## 🤍 The Book Abstract
|
|
58
52
|
|
|
59
|
-
|
|
53
|
+
**It's time for a paradigm shift! The future of software is in plain English, French or Latin.**
|
|
60
54
|
|
|
61
55
|
During the computer revolution, we have seen [multiple generations of computer languages](https://github.com/webgptorg/promptbook/discussions/180), from the physical rewiring of the vacuum tubes through low-level machine code to the high-level languages like Python or JavaScript. And now, we're on the edge of the **next revolution**!
|
|
62
56
|
|
|
@@ -66,11 +60,17 @@ The incredible growth in power of microprocessors and the Moore's Law have been
|
|
|
66
60
|
|
|
67
61
|
This shift is going to happen, whether we are ready for it or not. Our mission is to make it excellently, not just good.
|
|
68
62
|
|
|
69
|
-
|
|
63
|
+
**Join us in this journey!**
|
|
64
|
+
|
|
70
65
|
|
|
71
66
|
|
|
67
|
+
## 🚀 Get started
|
|
72
68
|
|
|
69
|
+
Take a look at the simple starter kit with books integrated into the **Hello World** sample applications:
|
|
73
70
|
|
|
71
|
+
- [Hello Book](https://github.com/webgptorg/hello-world)
|
|
72
|
+
- [Hello Book in Node.js](https://github.com/webgptorg/hello-world-node-js)
|
|
73
|
+
- [Hello Book in Next.js](https://github.com/webgptorg/hello-world-next-js)
|
|
74
74
|
|
|
75
75
|
|
|
76
76
|
|
|
@@ -90,7 +90,7 @@ Promptbook project is ecosystem of multiple projects and tools, following is a l
|
|
|
90
90
|
<tbody>
|
|
91
91
|
<tr>
|
|
92
92
|
<td>Core</td>
|
|
93
|
-
<td>Promptbook
|
|
93
|
+
<td>Promptbook Core is a description and documentation of the basic concepts, ideas and inner workings of how Promptbook should be implemented, and defines what features must be describable by book language.</td>
|
|
94
94
|
<td rowspan=2>https://ptbk.io<br/>https://github.com/webgptorg/book</td>
|
|
95
95
|
</tr>
|
|
96
96
|
<tr>
|
|
@@ -101,17 +101,23 @@ Promptbook project is ecosystem of multiple projects and tools, following is a l
|
|
|
101
101
|
</tr>
|
|
102
102
|
<tr>
|
|
103
103
|
<td>Promptbook typescript project</td>
|
|
104
|
-
<td>
|
|
104
|
+
<td>Promptbook implementation in TypeScript released as multiple NPM packages</td>
|
|
105
105
|
<td>https://github.com/webgptorg/promptbook + Multiple packages on NPM</td>
|
|
106
106
|
</tr>
|
|
107
107
|
<tr>
|
|
108
108
|
<td>Promptbook studio</td>
|
|
109
|
-
<td>
|
|
110
|
-
<td
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
<td>
|
|
109
|
+
<td>Studio to write Books and instantly publish them as miniapps</td>
|
|
110
|
+
<td>
|
|
111
|
+
https://promptbook.studio<br/>
|
|
112
|
+
https://github.com/hejny/promptbook-studio</td>
|
|
113
|
+
</tr><tr>
|
|
114
|
+
<td>Hello World</td>
|
|
115
|
+
<td>Simple starter kit with Books integrated into the sample applications</td>
|
|
116
|
+
<td>
|
|
117
|
+
https://github.com/webgptorg/hello-world<br/>
|
|
118
|
+
https://github.com/webgptorg/hello-world-node-js<br/>
|
|
119
|
+
https://github.com/webgptorg/hello-world-next-js
|
|
120
|
+
</td>
|
|
115
121
|
</tr>
|
|
116
122
|
</tbody>
|
|
117
123
|
</table>
|
package/esm/index.es.js
CHANGED
|
@@ -20,7 +20,7 @@ var BOOK_LANGUAGE_VERSION = '1.0.0';
|
|
|
20
20
|
*
|
|
21
21
|
* @see https://github.com/webgptorg/promptbook
|
|
22
22
|
*/
|
|
23
|
-
var PROMPTBOOK_ENGINE_VERSION = '0.75.
|
|
23
|
+
var PROMPTBOOK_ENGINE_VERSION = '0.75.1';
|
|
24
24
|
/**
|
|
25
25
|
* TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
|
|
26
26
|
* Note: [💞] Ignore a discrepancy between file name and entity name
|
|
@@ -817,7 +817,6 @@ function $asDeeplyFrozenSerializableJson(name, objectValue) {
|
|
|
817
817
|
* @private within the repository
|
|
818
818
|
*/
|
|
819
819
|
var GENERATOR_WARNING = "\u26A0\uFE0F WARNING: This code has been generated so that any manual changes will be overwritten";
|
|
820
|
-
// <- TODO: [🐊] Pick the best claim
|
|
821
820
|
/**
|
|
822
821
|
* When the title is not provided, the default title is used
|
|
823
822
|
*
|
|
@@ -1330,7 +1329,6 @@ function validatePipelineCore(pipeline) {
|
|
|
1330
1329
|
while (unresovedTasks.length > 0) {
|
|
1331
1330
|
_loop_3();
|
|
1332
1331
|
}
|
|
1333
|
-
// TODO: !!!!!! Test that pipeline interface implements declared formfactor interface
|
|
1334
1332
|
}
|
|
1335
1333
|
/**
|
|
1336
1334
|
* TODO: !! [🧞♀️] Do not allow joker + foreach
|