Skip to content

Commit

Permalink
build: update gobstones-core to latest version of scripts
Browse files Browse the repository at this point in the history
Latest version of scripts should provide better builds for both CJS and ESM modules, and will make
this library importable in  from diferent mpdes of usage.

fix #19
  • Loading branch information
alanrodas committed Nov 21, 2023
1 parent 0f87679 commit 2949b1c
Show file tree
Hide file tree
Showing 97 changed files with 309 additions and 291 deletions.
7 changes: 7 additions & 0 deletions .husky/prepare-commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

COMMIT_MSG_FILE=$1
COMMIT_SOURCE=$2
SHA1=$3

if [ $COMMIT_SOURCE = 'commit' ] && [ -n $SHA1 ]; then
exit 0;
fi
exec < /dev/tty && npx cz --hook || true
14 changes: 12 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,18 @@
## <small>0.4.5 (2023-11-11)</small>
## <small>0.4.6 (2023-11-21)</small>

* build: update gobstones-core to latest version of scripts ([0a29c20](https://github.com/gobstones/gobstones-core/commit/0a29c20)), closes [#19](https://github.com/gobstones/gobstones-core/issues/19)



* chore: update scripts to version 5 ([4e2f67d](https://github.com/gobstones/gobstones-core/commit/4e2f67d))
## <small>0.4.6 (2023-11-21)</small>

- build: update gobstones-core to latest version of scripts ([0a29c20](https://github.com/gobstones/gobstones-core/commit/0a29c20)), closes [#19](https://github.com/gobstones/gobstones-core/issues/19)

## <small>0.4.6 (2023-11-20)</small>

## <small>0.4.5 (2023-11-11)</small>

- chore: update scripts to version 5 ([4e2f67d](https://github.com/gobstones/gobstones-core/commit/4e2f67d))

## <small>0.4.4 (2023-11-10)</small>

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A set of utility types, interfaces and classes that are used through all the Gob

[![Licence](https://img.shields.io/github/license/gobstones/gobstones-core?style=plastic&label=License&logo=open-source-initiative&logoColor=white&color=olivegreen)](https://github.com/gobstones/gobstones-core/blob/main/LICENSE) [![Version](https://img.shields.io/github/package-json/v/gobstones/gobstones-core?style=plastic&label=Version&logo=git-lfs&logoColor=white&color=crimson)](https://www.npmjs.com/package/@gobstones/gobstones-core) [![API Docs](https://img.shields.io/github/package-json/homepage/gobstones/gobstones-core?color=blue&label=API%20Docs&logo=gitbook&logoColor=white&style=plastic)](https://gobstones.github.io/gobstones-core)

![GitHub Workflow Tests](https://img.shields.io/github/workflow/status/gobstones/gobstones-core/test-on-commit?style=plastic&label=Tests&logo=github-actions&logoColor=white) ![GitHub Workflow Build](https://img.shields.io/github/workflow/status/gobstones/gobstones-core/build-on-commit?style=plastic&label=Build&logo=github-actions&logoColor=white)
![GitHub Workflow Tests](https://img.shields.io/github/workflow/status/gobstones/gobstones-core/on-commit-test?style=plastic&label=Tests&logo=github-actions&logoColor=white) ![GitHub Workflow Build](https://img.shields.io/github/workflow/status/gobstones/gobstones-core/on-commit-build?style=plastic&label=Build&logo=github-actions&logoColor=white)

## Install

Expand Down
6 changes: 3 additions & 3 deletions docs/classes/Events.EventEmitter.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/classes/Expectations.Expectation.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/classes/Expectations.FinishedExpectation.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/classes/Expectations.JoinedExpectation.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/classes/Expectations.Matchers.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/classes/GobstonesLang.Board.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/classes/GobstonesLang.BoardError.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/classes/GobstonesLang.Cell.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/classes/GobstonesLang.Color.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/classes/GobstonesLang.Direction.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/classes/GobstonesLang.InvalidBoardDescription.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/classes/GobstonesLang.InvalidCellReading.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/classes/GobstonesLang.InvalidSizeChange.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/classes/GobstonesLang.InvalidStonesAmount.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/classes/GobstonesLang.LocationFallsOutsideBoard.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/classes/SourceReader.DefinedSourcePosition.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/classes/SourceReader.EndOfInputSourcePosition.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/classes/SourceReader.EndOfStringSourcePosition.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/classes/SourceReader.ErrorAtEndOfInputBy.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/classes/SourceReader.ErrorAtEndOfStringBy.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/classes/SourceReader.ErrorNoInput.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/classes/SourceReader.ErrorUnmatchingPositionsBy.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/classes/SourceReader.KnownSourcePosition.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/classes/SourceReader.SourcePosition.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/classes/SourceReader.SourceReader.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/classes/SourceReader.SourceReaderError.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/classes/SourceReader.SourceReaderErrorBy.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/classes/SourceReader.StringSourcePosition.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/classes/SourceReader.UnknownSourcePosition.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/classes/Translator.Translator.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/classes/Types.BiMap.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/classes/cli.CLIApp.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/classes/cli.CLICommandBuilder.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/docs/globals.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/functions/Expectations.and.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/functions/Expectations.expect.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/functions/Expectations.or.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/functions/Functions.deepEquals.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/functions/Functions.deepStringAssign.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/functions/Functions.flatten.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/functions/Functions.matrix.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/functions/Functions.unflatten.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/functions/cli.cli-1.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/interfaces/Expectations.IArrayExpectation.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/interfaces/Expectations.IFinishedExpectation.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/interfaces/Expectations.IGenericExpectation.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/interfaces/Expectations.INumberExpectation.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/interfaces/Expectations.IObjectExpectation.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/interfaces/Expectations.IStringExpectation.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/interfaces/Expectations.MatcherCall.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/interfaces/Functions.FlattenOptions.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/interfaces/Functions.UnflattenOptions.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/interfaces/GobstonesLang.BoardDefinition.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/interfaces/GobstonesLang.BoardEvents.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/interfaces/GobstonesLang.CellDataDefinition.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/interfaces/GobstonesLang.CellEvents.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/interfaces/GobstonesLang.CellInfo.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/interfaces/SourceReader.SourceReaderLocale.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/interfaces/cli.CLIAppOptions.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/interfaces/cli.CLIGeneralFlags.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/modules/Events.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/modules/Expectations.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/modules/Functions.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/modules/GobstonesLang.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/modules/SourceReader.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/modules/Translator.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/modules/Types.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/modules/cli.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/types/Events.DefaultEventSignature.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/types/Events.EventSignature.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/types/GobstonesLang.BoardInfo.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/types/GobstonesLang.CellLocation.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/types/GobstonesLang.CellReadingActionAttempt.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/types/GobstonesLang.InvalidSizeChangeAttempt.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/types/GobstonesLang.LocationChangeActionAttempt.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/types/GobstonesLang.OnBoardHeadMovedCallback.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/types/GobstonesLang.OnBoardSizeChangedCallback.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/types/GobstonesLang.OnCellStonesChanged.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/types/GobstonesLang.StonesChangeActionAttempt.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/types/SourceReader.SourceInput.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/types/Types.Subset.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/types/cli.cli.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/variables/GobstonesLang.identifier.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/variables/GobstonesLang.lowerId.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/variables/GobstonesLang.nonAlphabeticId.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/variables/GobstonesLang.number.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/variables/GobstonesLang.sigiledNonAlphabeticId.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/variables/GobstonesLang.upperId.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/variables/SourceReader.SourceReaderIntl.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/variables/SourceReader.availableLocales.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/variables/SourceReader.en.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/variables/SourceReader.es.html

Large diffs are not rendered by default.

15 changes: 8 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
{
"name": "@gobstones/gobstones-core",
"version": "0.4.5",
"version": "0.4.6",
"description": "A set of utility types, interfaces and classes that are used through all the Gobstones Platform repositories.",
"repository": "https://github.com/gobstones/gobstones-core",
"homepage": "https://gobstones.github.io/gobstones-core",
"author": "Alan Rodas Bonjour <alanrodas@gmail.com>",
"license": "AGPL-3.0",
"keywords": ["Gobstones", "Library", "Core", "Utilities"],
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"typings": "./dist/typings/index.d.ts",
"main": "./dist/cjs/index.cjs",
"module": "./dist/esm/index.mjs",
"typings": "./dist/esm/typings/index.d.ts",
"exports": {
".": "./dist/index.js"
"require": "./dist/cjs/index.cjs",
"import": "./dist/esm/index.mjs"
},
"packageManager": "npm@9.2.0",
"scripts": {
"prepare": "husky install",
"prepare": "is-ci || husky install",
"prepack": "gobstones-scripts run build",
"start": "gobstones-scripts run",
"dev": "gobstones-scripts run dev",
Expand All @@ -36,7 +37,7 @@
"commander": "^11.1.0"
},
"devDependencies": {
"@gobstones/gobstones-scripts": "^0.5.0",
"@gobstones/gobstones-scripts": "^0.5.2",
"husky": "^8.0.2"
}
}

0 comments on commit 2949b1c

Please sign in to comment.