Skip to content

Commit

Permalink
chore: update scripts to version 5
Browse files Browse the repository at this point in the history
  • Loading branch information
alanrodas committed Nov 11, 2023
1 parent 750a569 commit 0f87679
Show file tree
Hide file tree
Showing 100 changed files with 306 additions and 297 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/on-tag-release-github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
run: npm pkg delete scripts.prepare
- name: Installing project dependencies
run: npm install
- name: Building the project
run: npm run build
- name: Create Release on GitHub
uses: ncipollo/release-action@v1
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/on-tag-release-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
run: npm pkg delete scripts.prepare
- name: Installing project dependencies
run: npm install
- name: Building the project
run: npm run build
- name: Publishing to NPM
uses: JS-DevTools/npm-publish@v3
with:
Expand Down
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
.eslintrc.js
.vscode/*
.github/*
.husky/*

# tests
test/*
Expand Down
14 changes: 9 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
## <small>0.4.4 (2023-11-10)</small>
## <small>0.4.5 (2023-11-11)</small>

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

* [PARTIAL] Docs completed for the change. ([1e0864c](https://github.com/gobstones/gobstones-core/commit/1e0864c))
* [PARTIAL] Docs regenerated ([132eb3c](https://github.com/gobstones/gobstones-core/commit/132eb3c))
* [PARTIAL] Input name changed, tests updated ([947a16c](https://github.com/gobstones/gobstones-core/commit/947a16c))
* Fixed, although the casting is now on the constructor... ([fd8eece](https://github.com/gobstones/gobstones-core/commit/fd8eece))


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

- [PARTIAL] Docs completed for the change. ([1e0864c](https://github.com/gobstones/gobstones-core/commit/1e0864c))
- [PARTIAL] Docs regenerated ([132eb3c](https://github.com/gobstones/gobstones-core/commit/132eb3c))
- [PARTIAL] Input name changed, tests updated ([947a16c](https://github.com/gobstones/gobstones-core/commit/947a16c))
- Fixed, although the casting is now on the constructor... ([fd8eece](https://github.com/gobstones/gobstones-core/commit/fd8eece))

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

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.

8 changes: 4 additions & 4 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.

6 changes: 3 additions & 3 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.

6 changes: 3 additions & 3 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.

9 changes: 4 additions & 5 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.

16 changes: 9 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,19 @@
{
"name": "@gobstones/gobstones-core",
"version": "0.4.4",
"version": "0.4.5",
"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", "Keywords"],
"keywords": ["Gobstones", "Library", "Core", "Utilities"],
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"typings": "./dist/typings/index.d.ts",
"exports": {
".": "./dist/index.js"
},
"packageManager": "npm@9.2.0",
"gobstones-scripts": {
"type": "library",
"manager": "npm"
},
"scripts": {
"prepare": "husky install",
"prepack": "gobstones-scripts run build",
Expand All @@ -30,11 +26,17 @@
"prettify": "gobstones-scripts run prettify",
"gbs": "gobstones-scripts"
},
"config": {
"gobstones-scripts": {
"type": "library",
"manager": "npm"
}
},
"dependencies": {
"commander": "^11.1.0"
},
"devDependencies": {
"@gobstones/gobstones-scripts": "^0.4.7",
"@gobstones/gobstones-scripts": "^0.5.0",
"husky": "^8.0.2"
}
}
2 changes: 1 addition & 1 deletion src/GobstonesLang/Board.ts
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ export class Board extends EventEmitter<BoardEvents> implements BoardDefinition
/**
* Obtain the cells of the board as an array of `width` elements, each
* of which is an array of `height` elements, each of which is a {@link Cell},
* or in another sense, a {@link helpers!Matrix} of {@link Cell | Cells}.
* or in another sense, a {@link Functions!matrix} of {@link Cell | Cells}.
*
* This is retain only for compatibility reasons.
*
Expand Down
3 changes: 1 addition & 2 deletions src/Types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
* packages should be added here for better accessibility in all packages.
*
* This module includes the class {@link BiMap} as a bi-directional map,
* {@link Matrix} as a bi-dimentional array, and {@link Subset} as a recursive
* partial type definition.
* and {@link Subset} as a recursive partial type definition.
*
* @module Types
* @author Alan Rodas Bonjour <alanrodas@gmail.com>
Expand Down

0 comments on commit 0f87679

Please sign in to comment.