Skip to content

Commit

Permalink
chore: 1.0.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
Maximvdw committed Nov 18, 2024
1 parent dbd92d4 commit 28820f0
Show file tree
Hide file tree
Showing 11 changed files with 11,915 additions and 17,769 deletions.
38 changes: 0 additions & 38 deletions .eslintrc.js

This file was deleted.

36 changes: 18 additions & 18 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,21 @@ jobs:
with:
path: |
**/node_modules
key: ${{ runner.os }}-dependencies-v1-${{ hashFiles('**/package-lock.json') }}
key: ${{ runner.os }}-dependencies-v1-${{ hashFiles('**/yarn.lock') }}
- name: Load build cache
uses: actions/cache@v2
with:
path: |
**/dist
key: ${{ runner.os }}-build-v1-${{ hashFiles('**/package-lock.json') }}-${{ github.run_number }}
key: ${{ runner.os }}-build-v1-${{ hashFiles('**/yarn.lock') }}-${{ github.run_number }}
- name: Installing dependencies
run: |
npm install
yarn install
- name: Build
run: |
npm run build
- name: Upload web artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: web
path: |
Expand All @@ -50,7 +50,7 @@ jobs:
with:
path: |
**/node_modules
key: ${{ runner.os }}-dependencies-v1-${{ hashFiles('**/package-lock.json') }}
key: ${{ runner.os }}-dependencies-v1-${{ hashFiles('**/yarn.lock') }}
- name: Quality
run: |
npm run lint
Expand All @@ -66,20 +66,20 @@ jobs:
with:
path: |
**/node_modules
key: ${{ runner.os }}-dependencies-v1-${{ hashFiles('**/package-lock.json') }}
key: ${{ runner.os }}-dependencies-v1-${{ hashFiles('**/yarn.lock') }}
- name: Load build cache
uses: actions/cache@v2
with:
path: |
**/dist
key: ${{ runner.os }}-build-v1-${{ hashFiles('**/package-lock.json') }}-${{ github.run_number }}
key: ${{ runner.os }}-build-v1-${{ hashFiles('**/yarn.lock') }}-${{ github.run_number }}
- name: Load test and coverage cache
uses: actions/cache@v2
with:
path: |
**/test-results.xml
**/coverage
key: ${{ runner.os }}-test-v1-${{ hashFiles('**/package-lock.json') }}-${{ github.run_number }}
key: ${{ runner.os }}-test-v1-${{ hashFiles('**/yarn.lock') }}-${{ github.run_number }}
- name: Test
run: |
npm run cover:ci
Expand All @@ -95,19 +95,19 @@ jobs:
with:
path: |
**/node_modules
key: ${{ runner.os }}-dependencies-v1-${{ hashFiles('**/package-lock.json') }}
key: ${{ runner.os }}-dependencies-v1-${{ hashFiles('**/yarn.lock') }}
- name: Load build cache
uses: actions/cache@v2
with:
path: |
**/dist
key: ${{ runner.os }}-build-v1-${{ hashFiles('**/package-lock.json') }}-${{ github.run_number }}
key: ${{ runner.os }}-build-v1-${{ hashFiles('**/yarn.lock') }}-${{ github.run_number }}
- name: Load document cache
uses: actions/cache@v2
with:
path: |
**/docs/out
key: ${{ runner.os }}-docs-v1-${{ hashFiles('**/package-lock.json') }}-${{ github.run_number }}
key: ${{ runner.os }}-docs-v1-${{ hashFiles('**/yarn.lock') }}-${{ github.run_number }}
- name: Build documentation
run: |
npm run build:typedoc
Expand All @@ -125,9 +125,9 @@ jobs:
with:
path: |
**/docs/out
key: ${{ runner.os }}-docs-v1-${{ hashFiles('**/package-lock.json') }}-${{ github.run_number }}
key: ${{ runner.os }}-docs-v1-${{ hashFiles('**/yarn.lock') }}-${{ github.run_number }}
- name: Publish Documentation
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: docs
path: |
Expand All @@ -151,7 +151,7 @@ jobs:
path: |
**/test-results.xml
**/coverage
key: ${{ runner.os }}-test-v1-${{ hashFiles('**/package-lock.json') }}-${{ github.run_number }}
key: ${{ runner.os }}-test-v1-${{ hashFiles('**/yarn.lock') }}-${{ github.run_number }}
- name: Publish unit test results
uses: EnricoMi/publish-unit-test-result-action@v1
if: always()
Expand All @@ -178,13 +178,13 @@ jobs:
with:
path: |
**/node_modules
key: ${{ runner.os }}-dependencies-v1-${{ hashFiles('**/package-lock.json') }}
key: ${{ runner.os }}-dependencies-v1-${{ hashFiles('**/yarn.lock') }}
- name: Load build cache
uses: actions/cache@v2
with:
path: |
**/dist
key: ${{ runner.os }}-build-v1-${{ hashFiles('**/package-lock.json') }}-${{ github.run_number }}
key: ${{ runner.os }}-build-v1-${{ hashFiles('**/yarn.lock') }}-${{ github.run_number }}
- name: Configure Publish
run: |
git config --global user.name 'CI'
Expand Down Expand Up @@ -217,13 +217,13 @@ jobs:
with:
path: |
**/node_modules
key: ${{ runner.os }}-dependencies-v1-${{ hashFiles('**/package-lock.json') }}
key: ${{ runner.os }}-dependencies-v1-${{ hashFiles('**/yarn.lock') }}
- name: Load build cache
uses: actions/cache@v2
with:
path: |
**/dist
key: ${{ runner.os }}-build-v1-${{ hashFiles('**/package-lock.json') }}-${{ github.run_number }}
key: ${{ runner.os }}-build-v1-${{ hashFiles('**/yarn.lock') }}-${{ github.run_number }}
- name: Configure Publish
run: |
git config --global user.name 'CI'
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@

END OF TERMS AND CONDITIONS

Copyright 2019-2023 Maxim Van de Wynckel & Vrije Universiteit Brussel
Copyright 2019-2024 Maxim Van de Wynckel & Vrije Universiteit Brussel

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ The framework is open source and is mainly developed by PhD Student Maxim Van de
Use of OpenHPS, contributions and feedback is highly appreciated. Please read our [contributing guidelines](CONTRIBUTING.md) for more information.

## License
Copyright (C) 2019-2023 Maxim Van de Wynckel & Vrije Universiteit Brussel
Copyright (C) 2019-2024 Maxim Van de Wynckel & Vrije Universiteit Brussel

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Expand Down
64 changes: 64 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
import { fixupConfigRules, fixupPluginRules } from "@eslint/compat";
import typescriptEslint from "@typescript-eslint/eslint-plugin";
import prettier from "eslint-plugin-prettier";
import globals from "globals";
import tsParser from "@typescript-eslint/parser";
import path from "node:path";
import { fileURLToPath } from "node:url";
import js from "@eslint/js";
import { FlatCompat } from "@eslint/eslintrc";

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const compat = new FlatCompat({
baseDirectory: __dirname,
recommendedConfig: js.configs.recommended,
allConfig: js.configs.all
});

export default [...fixupConfigRules(compat.extends(
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:eslint-plugin-jsdoc/recommended",
"plugin:eslint-plugin-import/recommended",
"plugin:import/typescript",
"prettier",
)), {
plugins: {
"@typescript-eslint": fixupPluginRules(typescriptEslint),
prettier,
},

languageOptions: {
globals: {
...globals.browser,
...globals.node,
},

parser: tsParser,
ecmaVersion: 5,
sourceType: "module",

parserOptions: {
project: "tsconfig/tsconfig.lint.json",
},
},

rules: {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-unused-vars": "warn",
"@typescript-eslint/no-unused-expressions": "warn",
"import/no-cycle": ["error", {
maxDepth: 15,
}],

"import/no-unresolved": "off",
"prettier/prettier": ["error"],

"jsdoc/check-tag-names": ["error", {
definedTags: ["category"],
}],
},
}];
Loading

0 comments on commit 28820f0

Please sign in to comment.