Skip to content

Commit

Permalink
Merge tag 'release-2.4.0' into publish-wiki
Browse files Browse the repository at this point in the history
  • Loading branch information
Fyorl committed Nov 16, 2023
2 parents cfda871 + 3e26c7c commit a3b42b9
Show file tree
Hide file tree
Showing 2,296 changed files with 61,845 additions and 31,456 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,8 @@
"jsdoc": {
"mode": "typescript",
"preferredTypes": {
".<>": "<>"
".<>": "<>",
"Object": "object"
},
"tagNamePreference": {
"auguments": "extends"
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,14 @@ jobs:
fi
- name: Adjust manifest
uses: microsoft/variable-substitution@v1
with:
files: "system.json"
env:
flags.hotReload: false


# Set up Node
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
Expand Down
26 changes: 13 additions & 13 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@ This repository leverages [gulp](https://gulpjs.com/) to run automated build tas

Installs all dependencies needed to run developer tooling scripts.

### `npm run build` / `gulp buildAll`
### `npm run build`

Runs all relevant build scripts:

- Converts LESS -> CSS
- Converts JSON -> DB (compendia)

### `npm run build:css` / `gulp buildCSS`
### `npm run build:css`

Converts the LESS in `./less` to the final `dnd5e.css`.

### `npm run build:watch` / `gulp`
### `npm run build:watch`

Runs the LESS -> CSS builder in watch mode so that changes made to the LESS files will automatically compile to CSS.

Expand All @@ -44,8 +44,8 @@ npm run build:db
gulp compilePacks
```

- `gulp compilePacks` - Compile all JSON files into their NEDB files.
- `gulp compilePacks --pack classes` - Only compile the specified pack.
- `npm run build:db` - Compile all JSON files into their NEDB files.
- `npm run build:db -- classes` - Only compile the specified pack.

#### Extracting Packs

Expand All @@ -56,9 +56,9 @@ npm run build:json
gulp extractPacks
```

- `gulp extractPacks` - Extract all compendium NEDB files into JSON files.
- `gulp extractPacks --pack classes` - Only extract the contents of the specified compendium.
- `gulp extractPacks --pack classes --name Barbarian` - Only extract a single item from the specified compendium.
- `npm run build:json` - Extract all compendium NEDB files into JSON files.
- `npm run build:json -- classes` - Only extract the contents of the specified compendium.
- `npm run build:json -- classes Barbarian` - Only extract a single item from the specified compendium.

#### Cleaning Packs

Expand All @@ -69,9 +69,9 @@ npm run build:clean
gulp extractPacks
```

- `gulp cleanPacks` - Clean all source JSON files.
- `gulp cleanPacks --pack classes` - Only clean the source files for the specified compendium.
- `gulp cleanPacks --pack classes --name Barbarian` - Only clean a single item from the specified compendium.
- `npm run build:clean` - Clean all source JSON files.
- `npm run build:clean -- classes` - Only clean the source files for the specified compendium.
- `npm run build:clean -- classes Barbarian` - Only clean a single item from the specified compendium.

## Issues

Expand Down Expand Up @@ -118,8 +118,8 @@ To contribute code, [fork this project](https://docs.github.com/en/get-started/q

Please attempt to follow code style present throughout the project. An ESLint profile is included to help with maintaining a consistent code style. All warnings presented by the linter should be resolved before an PR is submitted.

- `gulp lint` or `npm run lint` - Run the linter and display any issues found.
- `gulp lint --fix` or `npm run lint:fix` - Automatically fix any code style issues that can be fixed.
- `npm run lint` - Run the linter and display any issues found.
- `npm run lint:fix` - Automatically fix any code style issues that can be fixed.

### Linked Issues

Expand Down
Loading

0 comments on commit a3b42b9

Please sign in to comment.