5.2.7 • Published 1 year ago

@gohorse/npm-core v5.2.7

Weekly downloads
-
License
GoHorse Blockchai...
Repository
github
Last release
1 year ago

@gohorse/npm-core

GoHorse is a Git-based blockchain.

Base library with general functionality for the other parts of the system.

npm install @gohorse/npm-core

Logger variables

Convention for naming values associated with log messages.

  • url : Endereço de internet contendo um protocolo como http, ftp, ws, etc.
  • path : Disk path to files or directories.
  • filePath : Disk path to files.
  • directoryPath : Disk path to directories.

Don't use id, type, name, etc. But describe it more fully as:

  • instanceId
  • toInstanceId
  • fromInstanceId
  • applicationName
  • applicationVersion
  • applicationExecutionMode
  • applicationMessageId
  • applicationMessageType
  • languageCultureName
  • className
  • authenticationMode

Use "Content" suffix for text content:

  • jsonContent
  • fileLineContent
  • commandLineContent
  • errorContent : Stacktrace or similar error information.

Use "List" suffix for listings:

  • applicationIdList
  • keyList
  • fieldRegexList

Values with units:

  • timeSeconds
  • timeMilliSeconds

Other names used:

  • errorDescription : Error message formatted with HelperText.formatError().
  • error : Error raw object.
  • invalidValue : Any invalid value.
  • count : Any quantitative value.
  • enabled : Signaling enabled and disabled.
  • logLevel : Logging level.
  • httpStatusCode : Código de status HTTP.

NPM Commands

In the package.json file you have configured the following commands:

# Rewrites TypeScript, JavaScript and tests code with formatting.
npm run format

# Finds in TypeScript files not recommended coding practices.
npm run lint

# The same as the previous two executed one after the other.
npm run format+lint

# Run the unit tests.
npm run test

# Compiles TypeScript code to JavaScript.
npm run build

# Executes the last five commands.
npm run build:prod

# If the package is an application it is expected that
# it can be started in this way.
npm run start

# If the package is an application it is expected that
# any running instance of it can be terminated in this way.
npm run stop

# Runs after initial installation with `npm install`
# and before publishing with `npm publish`
# Confirm that compiling files with `npm run build`
# is working before publishing.
npm run prepare

# Executes during versioning, but before it becomes effective,
# with `npm version patch` or `npm version minor` or npm `version major`.
# Run the `npm run build:prod` and after add with `git add` all new
# or modified files in the `./ts` directory to be included in the
# versioning commit.
npm run version

# Executed after versioning the package with `npm version patch`
# or `npm version minor` or npm `version major`
# After NPM inserts the version commit and tag, this command
# pushes to the remote repository using `git push && git push --tags`
npm run postversion

Author

sergiocabral.com
5.2.7

1 year ago

5.2.6

1 year ago

5.2.5

1 year ago

5.2.4

1 year ago

5.2.3

2 years ago

5.2.2

2 years ago

5.1.4

2 years ago

5.1.3

2 years ago

5.1.2

2 years ago

5.1.1

2 years ago

5.1.0

2 years ago

4.4.0

2 years ago

4.0.1

2 years ago

4.0.0

2 years ago

4.2.0

2 years ago

4.0.2

2 years ago

5.2.1

2 years ago

5.2.0

2 years ago

5.0.2

2 years ago

5.0.1

2 years ago

5.0.0

2 years ago

3.6.6

2 years ago

3.6.5

2 years ago

3.6.9

2 years ago

3.6.8

2 years ago

3.6.7

2 years ago

4.5.0

2 years ago

4.3.1

2 years ago

4.5.1

2 years ago

4.1.0

2 years ago

4.3.0

2 years ago

2.3.0

2 years ago

2.2.1

2 years ago

2.2.0

2 years ago

2.0.2

2 years ago

2.2.3

2 years ago

2.2.2

2 years ago

2.2.13

2 years ago

2.2.4

2 years ago

2.2.11

2 years ago

2.2.7

2 years ago

2.2.12

2 years ago

2.2.6

2 years ago

2.2.10

2 years ago

3.6.4

2 years ago

3.6.3

2 years ago

2.1.0

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

3.4.0

2 years ago

3.2.2

2 years ago

3.3.0

2 years ago

3.2.1

2 years ago

3.2.0

2 years ago

3.1.1

2 years ago

3.1.0

2 years ago

3.6.2

2 years ago

3.6.1

2 years ago

3.6.0

2 years ago

3.5.0

2 years ago

2.2.9

2 years ago

2.2.8

2 years ago

3.0.0

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago