Compare commits

...

2 commits

Author SHA1 Message Date
3f6e0baa51
ci: bump foundry-publish 2025-02-22 20:50:52 +01:00
0e74e43b91
chore: cleanup config files 2025-02-22 20:50:06 +01:00
6 changed files with 21 additions and 26 deletions

View file

@ -1,15 +0,0 @@
// SPDX-FileCopyrightText: 2021 Johannes Loher
//
// SPDX-License-Identifier: MIT
module.exports = {
parser: "@typescript-eslint/parser",
parserOptions: { ecmaVersion: 2020, sourceType: "module" },
env: { browser: true },
extends: ["plugin:@typescript-eslint/recommended", "prettier"],
plugins: ["@typescript-eslint"],
overrides: [
{ files: ["./*.cjs"], rules: { "@typescript-eslint/no-var-requires": "off" } },
{ files: ["./spec/**/*"], env: { browser: false } },
],
};

View file

@ -99,16 +99,13 @@ steps:
- forge_token
publish-to-foundry-admin:
group: publish
image: johannesloher/foundry-publish:v3.0.1
environment:
FVTT_DELETE_OBSOLETE_VERSIONS: "true"
image: johannesloher/foundry-publish:v4.0.0
commands:
- export FVTT_MANIFEST_PATH=${CI_REPO_NAME}/system.json
- export FVTT_MANIFEST_URL=${CI_REPO_URL}/releases/download/${CI_COMMIT_TAG}/system.json
- foundry-publish
secrets:
- fvtt_package_id
- fvtt_username
- fvtt_password
- fvtt_token
when:
<<: *is_latest_channel

View file

@ -1,5 +0,0 @@
// SPDX-FileCopyrightText: 2021 Johannes Loher
//
// SPDX-License-Identifier: MIT
module.exports = { extends: ["@commitlint/config-conventional"] };

8
commitlint.config.js Normal file
View file

@ -0,0 +1,8 @@
// SPDX-FileCopyrightText: 2021 Johannes Loher
//
// SPDX-License-Identifier: MIT
/**
* @type {import("@commitlint/types").UserConfig}
*/
export default { extends: ["@commitlint/config-conventional"] };

View file

@ -93,5 +93,10 @@
"vitest": "3.0.6",
"yargs": "17.7.2"
},
"packageManager": "pnpm@10.4.1"
"packageManager": "pnpm@10.4.1",
"pnpm": {
"onlyBuiltDependencies": [
"@swc/core"
]
}
}

View file

@ -2,6 +2,11 @@
//
// SPDX-License-Identifier: MIT
// @ts-check
/**
* @type {import("prettier").Config}
*/
export default {
semi: true,
trailingComma: "all",