ootk 7.0.2 → 7.1.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.
- package/README.md +9 -8
- package/dist/main.cjs +1807 -634
- package/dist/main.d.cts +1181 -142
- package/dist/main.d.ts +1181 -142
- package/dist/main.js +1791 -635
- package/package.json +36 -12
package/README.md
CHANGED
|
@@ -109,21 +109,22 @@ The documentation covers:
|
|
|
109
109
|
|
|
110
110
|
## :desktop_computer: Building
|
|
111
111
|
|
|
112
|
-
1. Install [Node.js](https://nodejs.org/) and [
|
|
112
|
+
1. Install [Node.js](https://nodejs.org/) and [pnpm](https://pnpm.io/) (`corepack enable pnpm` is enough — the
|
|
113
|
+
required version is pinned by the `packageManager` field in `package.json`);
|
|
113
114
|
|
|
114
|
-
2. Install all required packages
|
|
115
|
+
2. Install all required packages by running the following command from repository's root directory:
|
|
115
116
|
|
|
116
117
|
```bash
|
|
117
|
-
|
|
118
|
+
pnpm install
|
|
118
119
|
```
|
|
119
120
|
|
|
120
|
-
3. Run the following
|
|
121
|
+
3. Run the following script to build everything:
|
|
121
122
|
|
|
122
123
|
```bash
|
|
123
|
-
|
|
124
|
+
pnpm run build
|
|
124
125
|
```
|
|
125
126
|
|
|
126
|
-
## :gem:
|
|
127
|
+
## :gem: Scripts
|
|
127
128
|
|
|
128
129
|
- `build` compiles TypeScript into ES6 Modules and combines them into a single file in the `dist` directory.
|
|
129
130
|
- `lint` lints source code located in `src` directory with [ESLint](http://eslint.org/)
|
|
@@ -149,13 +150,13 @@ git checkout -b my-feature
|
|
|
149
150
|
Make sure that your changes don't break the existing code by running:
|
|
150
151
|
|
|
151
152
|
```bash
|
|
152
|
-
|
|
153
|
+
pnpm test
|
|
153
154
|
```
|
|
154
155
|
|
|
155
156
|
Check that your code follows the rules established in eslint.rc:
|
|
156
157
|
|
|
157
158
|
```bash
|
|
158
|
-
|
|
159
|
+
pnpm run lint
|
|
159
160
|
```
|
|
160
161
|
|
|
161
162
|
## :man_scientist: Contributors
|