Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@

#### 1. Main package installation

Install the package as a `devDependency` in your project:
Install our dev resources package as a `devDependency` in your project:

````
npm install -D @build-in-blocks/dev.resources
npm install -D @build-in-blocks/dev.resources --save-exact
````

#### 2. When to install `typescript`
Expand All @@ -52,7 +52,7 @@ Otherwise, you'll need to manually install `typescript` in your project. See `ty

#### 3. Import needed resources

Import and use what you need from the library in your `.ts` or `.js` file, for example:
Import and use what you need from the library in your `.ts` (or `.js`) file, for example:

````
import { _default } from '@build-in-blocks/dev.resources';
Expand Down
2 changes: 2 additions & 0 deletions docs.users/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ More info on **@build-in-blocks** framework libraries in general can be found at

````
export interface BlocksTerminalLogger {
startLoggerMessageOnNewLine?: boolean;
internalPackage?: {
fullName?: string;
errorMessage?: string;
Expand All @@ -58,6 +59,7 @@ More info on **@build-in-blocks** framework libraries in general can be found at

|Property | Type| Required| Description|
|:-- |:-- |:-- |:-- |
|`startLoggerMessageOnNewLine` |`boolean` |No |If `true`, the `blocksTerminalLogger` message will start on a new line in the terminal.|
|`internalPackage` |`object` |No |Has optional properties `fullName` and `errorMessage`, useful for logging a custom internal framework error.|
|`userApp` |`object` |No |Has optional properties `fullName` and `errorMessage`, useful for logging a custom message for a blocks web app.|
|`errorSource` |`boolean` |No |If `true`, explicitly prints the source of the error pointing to the internal package.|
Expand Down
Loading
Loading