Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
63 changes: 27 additions & 36 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,38 +1,29 @@
{
"root": true,
"ignorePatterns": ["**/*"],
"plugins": ["@nx"],
"overrides": [
{
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"]
},
{
"files": ["*.ts", "*.tsx"],
"extends": ["plugin:@nx/typescript"],
"rules": {
"prefer-template": "warn",
"no-useless-concat": "warn",
"indent": ["off", "tab", { "SwitchCase": 1 }],
"semi": "off",
"no-empty": "off",
"no-empty-function": "off",
"@typescript-eslint/no-empty-function": "off",
"jsx-a11y/anchor-is-valid": ["off"],
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": [
"warn",
{
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_",
"caughtErrorsIgnorePattern": "^_"
}
]
}
},
{
"files": ["*.js", "*.jsx"],
"extends": ["plugin:@nx/javascript"],
"rules": {}
}
]
"root": true,
"ignorePatterns": ["!**/*"],
"plugins": ["@nx"],
"overrides": [
{
"files": ["*.ts", "*.tsx"],
"extends": ["plugin:@nx/typescript"],
"rules": {}
},
{
"files": ["*.js", "*.jsx"],
"extends": ["plugin:@nx/javascript"],
"rules": {}
},
{
"files": ["*.json"],
"parser": "jsonc-eslint-parser",
"rules": {
"@nx/dependency-checks": [
"error",
{
"ignoredFiles": ["{projectRoot}/vite.config.{js,ts,mjs,mts}"]
}
]
}
}
]
}
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# See http://help.github.com/ignore-files/ for more about ignoring files.

.npmrc

# compiled output
dist
tmp
/out-tsc
output

# dependencies
node_modules
Expand Down Expand Up @@ -38,4 +39,5 @@ testem.log
# System Files
.DS_Store
Thumbs.db
/output

.nx/cache
5 changes: 2 additions & 3 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Add files here to ignore them from prettier formatting
/dist
/coverage
/node_modules
/e2e
/tmp
/.nx/cache
10 changes: 2 additions & 8 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
{
"singleQuote": false,
"printWidth": 100,
"semi": true,
"trailingComma": "none",
"arrowParens": "avoid",
"tabWidth": 4,
"useTabs": true
}
"singleQuote": true
}
1 change: 0 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"recommendations": [
"nrwl.angular-console",
"esbenp.prettier-vscode",
"firsttris.vscode-jest-runner",
"dbaeumer.vscode-eslint"
]
}
6 changes: 1 addition & 5 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,5 @@
"cSpell.language": "en,de-de",
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"editor.formatOnPaste": false,
"cSpell.words": ["cobertura", "dijkstra"]
"editor.formatOnPaste": false
}
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
## 0.1.0 (2024-01-02)


### 🩹 Fixes

- **Recommended Path:** Delete constraints for first element ([cb09686](https://github.com/e-Learning-by-SSE/nm-skill-lib/commit/cb09686))
- **new feat:** feat-analyze-missing-skills-in-learning-path ([45a3913](https://github.com/e-Learning-by-SSE/nm-skill-lib/commit/45a3913))
- **new feat:** feat-analyze-missing-skills-in-learning-path ([d9cd3c4](https://github.com/e-Learning-by-SSE/nm-skill-lib/commit/d9cd3c4))
- **new feat:** feat-analyze-missing-skills-in-learning-path ([7044b0b](https://github.com/e-Learning-by-SSE/nm-skill-lib/commit/7044b0b))
- **new feat:** feat-analyze-missing-skills-in-learning-path Note: Using a string instead of Array or Set in goalString (more research needed) ([7fe3d8c](https://github.com/e-Learning-by-SSE/nm-skill-lib/commit/7fe3d8c))
- **tests:** Replaced fail by throw Error ([c47ed68](https://github.com/e-Learning-by-SSE/nm-skill-lib/commit/c47ed68))

### ❤️ Thank You

- alamoush@sse.uni-hildesheim.de
- Sascha El-Sharkawy
64 changes: 6 additions & 58 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,63 +1,11 @@
# Skills
# nm-skill-lib

<a alt="Nx logo" href="https://nx.dev" target="_blank" rel="noreferrer"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-logo.png" width="45"></a>
This library was generated with [Nx](https://nx.dev).

✨ **This workspace has been generated by [Nx, a Smart, fast and extensible build system.](https://nx.dev)** ✨
## Building

Run `nx build nm-skill-lib` to build the library.

## Start the app
## Running unit tests

To start the development server run `nx serve skills`. Open your browser and navigate to http://localhost:4200/. Happy coding!


## Generate code

If you happen to use Nx plugins, you can leverage code generators that might come with it.

Run `nx list` to get a list of available plugins and whether they have generators. Then run `nx list <plugin-name>` to see what generators are available.

Learn more about [Nx generators on the docs](https://nx.dev/plugin-features/use-code-generators).

## Running tasks

To execute tasks with Nx use the following syntax:

```
nx <target> <project> <...options>
```

You can also run multiple targets:

```
nx run-many -t <target1> <target2>
```

..or add `-p` to filter specific projects

```
nx run-many -t <target1> <target2> -p <proj1> <proj2>
```

Targets can be defined in the `package.json` or `projects.json`. Learn more [in the docs](https://nx.dev/core-features/run-tasks).

## Want better Editor Integration?

Have a look at the [Nx Console extensions](https://nx.dev/nx-console). It provides autocomplete support, a UI for exploring and running tasks & generators, and more! Available for VSCode, IntelliJ and comes with a LSP for Vim users.

## Ready to deploy?

Just run `nx build demoapp` to build the application. The build artifacts will be stored in the `dist/` directory, ready to be deployed.

## Set up CI!

Nx comes with local caching already built-in (check your `nx.json`). On CI you might want to go a step further.

- [Set up remote caching](https://nx.dev/core-features/share-your-cache)
- [Set up task distribution across multiple machines](https://nx.dev/core-features/distribute-task-execution)
- [Learn more how to setup CI](https://nx.dev/recipes/ci)

## Connect with us!

- [Join the community](https://nx.dev/community)
- [Subscribe to the Nx Youtube Channel](https://www.youtube.com/@nxdevtools)
- [Follow us on Twitter](https://twitter.com/nxdevtools)
Run `nx test nm-skill-lib` to execute the unit tests via [Vitest](https://vitest.dev/).
21 changes: 0 additions & 21 deletions e2e/.eslintrc.json

This file was deleted.

17 changes: 0 additions & 17 deletions e2e/jest.config.ts

This file was deleted.

22 changes: 0 additions & 22 deletions e2e/project.json

This file was deleted.

12 changes: 0 additions & 12 deletions e2e/src/cli/cli.spec.ts

This file was deleted.

1 change: 0 additions & 1 deletion e2e/src/test-setup.ts

This file was deleted.

13 changes: 0 additions & 13 deletions e2e/tsconfig.json

This file was deleted.

9 changes: 0 additions & 9 deletions e2e/tsconfig.spec.json

This file was deleted.

27 changes: 0 additions & 27 deletions jest.config.ts

This file was deleted.

3 changes: 0 additions & 3 deletions jest.preset.js

This file was deleted.

19 changes: 0 additions & 19 deletions migrations.json

This file was deleted.

Loading