Skip to content

Commit

Permalink
feat: 🔥 upgrade to nx13 (salesforce#775)
Browse files Browse the repository at this point in the history
  • Loading branch information
NetanelBasal authored Nov 27, 2021
1 parent 7b594cf commit 2aaf7e3
Show file tree
Hide file tree
Showing 861 changed files with 49,976 additions and 23,112 deletions.
568 changes: 0 additions & 568 deletions .all-contributorsrc

This file was deleted.

4 changes: 4 additions & 0 deletions .commitlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"extends": ["@commitlint/config-angular"],
"rules": {}
}
40 changes: 0 additions & 40 deletions .eslintrc

This file was deleted.

35 changes: 35 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"root": true,
"ignorePatterns": ["**/*"],
"plugins": ["@nrwl/nx"],
"overrides": [
{
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
"rules": {
"@nrwl/nx/enforce-module-boundaries": [
"error",
{
"enforceBuildableLibDependency": true,
"allow": [],
"depConstraints": [
{
"sourceTag": "*",
"onlyDependOnLibsWithTags": ["*"]
}
]
}
]
}
},
{
"files": ["*.ts", "*.tsx"],
"extends": ["plugin:@nrwl/nx/typescript"],
"rules": {}
},
{
"files": ["*.js", "*.jsx"],
"extends": ["plugin:@nrwl/nx/javascript"],
"rules": {}
}
]
}
59 changes: 0 additions & 59 deletions .github/ISSUE_TEMPLATE.md

This file was deleted.

52 changes: 52 additions & 0 deletions .github/ISSUE_TEMPLATE/1-bug-report.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: Bug Report
description: Report a bug in the Akita Library

body:
- type: dropdown
id: is-regression
attributes:
label: Is this a regression?
options:
- 'Yes'
- 'No'
validations:
required: true

- type: textarea
id: description
attributes:
label: Description
validations:
required: true

- type: input
id: reproduction
attributes:
label: Please provide a link to a minimal reproduction of the bug

- type: textarea
id: exception-or-error
attributes:
label: Please provide the exception or error you saw
render: true

- type: textarea
id: environment
attributes:
label: Please provide the environment you discovered this bug in
render: true

- type: textarea
id: other
attributes:
label: Anything else?

- type: dropdown
id: contribute
attributes:
label: Do you want to create a pull request?
options:
- 'Yes'
- 'No'
validations:
required: true
34 changes: 34 additions & 0 deletions .github/ISSUE_TEMPLATE/2-feature-request.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: 'Feature Request'
description: Suggest a feature for Akita Library

body:
- type: textarea
id: description
attributes:
label: Description
validations:
required: true

- type: textarea
id: proposed-solution
attributes:
label: Proposed solution
validations:
required: true

- type: textarea
id: alternatives-considered
attributes:
label: Alternatives considered
validations:
required: true

- type: dropdown
id: contribute
attributes:
label: Do you want to create a pull request?
options:
- 'Yes'
- 'No'
validations:
required: true
12 changes: 12 additions & 0 deletions .github/ISSUE_TEMPLATE/3-support-request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
name: 'Support Request'
about: Questions and requests for support
---

Please do not file questions or support requests on the GitHub issues tracker.

You can get your questions answered using other communication channels. Please see:

https://github.com/datorama/akita/discussions

Thank you!
24 changes: 14 additions & 10 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,16 @@ What kind of change does this PR introduce?

<!-- Please check the one that applies to this PR using "x". -->

- [ ] Bugfix
- [ ] Feature
- [ ] Code style update (formatting, local variables)
- [ ] Refactoring (no functional changes, no api changes)
- [ ] Build related changes
- [ ] CI related changes
- [ ] Documentation content changes
- [ ] Other... Please describe:
```
[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:
```

## What is the current behavior?

Expand All @@ -31,8 +33,10 @@ Issue Number: N/A

## Does this PR introduce a breaking change?

- [ ] Yes
- [ ] No
```
[ ] Yes
[ ] No
```

<!-- If this PR contains a breaking change, please describe the impact and migration path for existing applications below. -->

Expand Down
37 changes: 37 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: '@datorama/akita'

on:
pull_request:

jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: true

steps:
- uses: actions/checkout@v2
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- uses: actions/setup-node@v2
with:
node-version: '14'
cache: 'npm'

- name: Install dependencies
run: npm i

- name: Run Build
run: npm run build:all

- name: Run unit tests
run: npm run test:all
47 changes: 0 additions & 47 deletions .github/workflows/tests.yml

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,4 @@ report*.json
# System Files
.DS_Store
Thumbs.db
.angular
1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install commitlint --edit $1
Loading

0 comments on commit 2aaf7e3

Please sign in to comment.