@rljson/rljson 0.0.9 → 0.0.10

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.
@@ -26,6 +26,7 @@
26
26
  - [Commit](#commit)
27
27
  - [Update dependencies](#update-dependencies)
28
28
  - [Increase version](#increase-version)
29
+ - [Push the branch](#push-the-branch)
29
30
  - [Create a pull request](#create-a-pull-request)
30
31
  - [Wait until PR is merged](#wait-until-pr-is-merged)
31
32
  - [Delete feature branch](#delete-feature-branch)
@@ -157,7 +158,7 @@ Please replace `Commit Message` in the next command by your commit message.
157
158
  It will also used for branch name and pull request
158
159
 
159
160
  ```bash
160
- export MESSAGE="Add package.json tests and fix issues" && \
161
+ export MESSAGE="Add multi row example" && \
161
162
  export BRANCH=`echo "$MESSAGE" | tr '[:upper:]' '[:lower:]' | sed 's/[^a-z0-9_]/_/g'` &&\
162
163
  git checkout -b $BRANCH
163
164
  ```
@@ -171,16 +172,16 @@ Commit your changes
171
172
  If you only have one thing, execute
172
173
 
173
174
  ```bash
174
- git commit -am"$MESSAGE"
175
+ git add . && git commit -m "$MESSAGE"
175
176
  ```
176
177
 
177
178
  ### Update dependencies
178
179
 
179
- We aim to work with the latest versions of our dependencies.
180
+ We aim to work with the latest versions of our dependencies
180
181
 
181
182
  ```bash
182
183
  pnpm update --latest &&\
183
- git commit -am"Update dependencies"
184
+ git commit -m"Update dependencies"
184
185
  ```
185
186
 
186
187
  ### Increase version
@@ -190,13 +191,19 @@ pnpm version patch --no-git-tag-version && \
190
191
  git commit -am"Increase version"
191
192
  ```
192
193
 
194
+ ### Push the branch
195
+
196
+ Use your ID or this git command to push the branch
197
+
198
+ ```bash
199
+ git push -u origin $BRANCH
200
+ ```
201
+
193
202
  ### Create a pull request
194
203
 
195
204
  ```bash
196
- git push -u origin $BRANCH && \
197
205
  gh pr create --base main --title "$MESSAGE" --body "" && \
198
206
  gh pr merge --auto --squash
199
-
200
207
  ```
201
208
 
202
209
  ### Wait until PR is merged
@@ -26,6 +26,7 @@
26
26
  - [Commit](#commit)
27
27
  - [Update dependencies](#update-dependencies)
28
28
  - [Increase version](#increase-version)
29
+ - [Push the branch](#push-the-branch)
29
30
  - [Create a pull request](#create-a-pull-request)
30
31
  - [Wait until PR is merged](#wait-until-pr-is-merged)
31
32
  - [Delete feature branch](#delete-feature-branch)
@@ -157,7 +158,7 @@ Please replace `Commit Message` in the next command by your commit message.
157
158
  It will also used for branch name and pull request
158
159
 
159
160
  ```bash
160
- export MESSAGE="Add package.json tests and fix issues" && \
161
+ export MESSAGE="Add multi row example" && \
161
162
  export BRANCH=`echo "$MESSAGE" | tr '[:upper:]' '[:lower:]' | sed 's/[^a-z0-9_]/_/g'` &&\
162
163
  git checkout -b $BRANCH
163
164
  ```
@@ -171,16 +172,16 @@ Commit your changes
171
172
  If you only have one thing, execute
172
173
 
173
174
  ```bash
174
- git commit -am"$MESSAGE"
175
+ git add . && git commit -m "$MESSAGE"
175
176
  ```
176
177
 
177
178
  ### Update dependencies
178
179
 
179
- We aim to work with the latest versions of our dependencies.
180
+ We aim to work with the latest versions of our dependencies
180
181
 
181
182
  ```bash
182
183
  pnpm update --latest &&\
183
- git commit -am"Update dependencies"
184
+ git commit -m"Update dependencies"
184
185
  ```
185
186
 
186
187
  ### Increase version
@@ -190,13 +191,19 @@ pnpm version patch --no-git-tag-version && \
190
191
  git commit -am"Increase version"
191
192
  ```
192
193
 
194
+ ### Push the branch
195
+
196
+ Use your ID or this git command to push the branch
197
+
198
+ ```bash
199
+ git push -u origin $BRANCH
200
+ ```
201
+
193
202
  ### Create a pull request
194
203
 
195
204
  ```bash
196
- git push -u origin $BRANCH && \
197
205
  gh pr create --base main --title "$MESSAGE" --body "" && \
198
206
  gh pr merge --auto --squash
199
-
200
207
  ```
201
208
 
202
209
  ### Wait until PR is merged
package/dist/rljson.d.ts CHANGED
@@ -168,3 +168,4 @@ export interface Rljson extends Json {
168
168
  export declare const exampleRljson: () => Rljson;
169
169
  export declare const exampleRljsonEmpty: () => Rljson;
170
170
  export declare const exampleRljsonWithErrors: () => Rljson;
171
+ export declare const exampleRljsonWithMultipleRows: () => Rljson;
package/dist/rljson.js CHANGED
@@ -13,8 +13,37 @@ const exampleRljsonWithErrors = () => ({
13
13
  _data: []
14
14
  }
15
15
  });
16
+ const exampleRljsonWithMultipleRows = () => ({
17
+ table: {
18
+ _type: "properties",
19
+ _data: [
20
+ {
21
+ string: "str0",
22
+ boolean: true,
23
+ number: 1,
24
+ array: [1, "str0", true, { a: { b: "c" } }],
25
+ object: { a: { b: "c" } }
26
+ },
27
+ {
28
+ string: "str1",
29
+ boolean: true,
30
+ number: 1,
31
+ array: [1, "str1", true, { a: { b: "c" } }],
32
+ object: { a: { b: "c" } }
33
+ },
34
+ {
35
+ string: "str2",
36
+ boolean: false,
37
+ number: 1,
38
+ array: [1, "str1", true, { a: { b: "c" } }],
39
+ object: { d: { e: "f" } }
40
+ }
41
+ ]
42
+ }
43
+ });
16
44
  export {
17
45
  exampleRljson,
18
46
  exampleRljsonEmpty,
19
- exampleRljsonWithErrors
47
+ exampleRljsonWithErrors,
48
+ exampleRljsonWithMultipleRows
20
49
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rljson/rljson",
3
- "version": "0.0.9",
3
+ "version": "0.0.10",
4
4
  "packageManager": "pnpm@10.6.2",
5
5
  "description": "The RLJSON data format specification",
6
6
  "homepage": "https://github.com/rljson/rljson",