Skip to content

Commit

Permalink
feat: added angular 16 support (#1094)
Browse files Browse the repository at this point in the history

---------

Co-authored-by: Bong Bui <[email protected]>
Co-authored-by: Dmitriy Shekhovtsov valorkin <[email protected]>
  • Loading branch information
3 people authored Jul 21, 2023
1 parent a6835aa commit dcde382
Show file tree
Hide file tree
Showing 29 changed files with 17,808 additions and 30,491 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
16 changes: 9 additions & 7 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,30 @@
{
"root": true,
"ignorePatterns": ["**/*"],
"plugins": ["@nrwl/nx"],
"rules": {
},
"plugins": ["@nx"],
"rules": {},
"overrides": [
{
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
"rules": {
"@nrwl/nx/enforce-module-boundaries": [
"@nx/enforce-module-boundaries": [
"error",
{
"enforceBuildableLibDependency": true,
"allow": [],
"depConstraints": [
{ "sourceTag": "*", "onlyDependOnLibsWithTags": ["*"] }
{
"sourceTag": "*",
"onlyDependOnLibsWithTags": ["*"]
}
]
}
]
}
},
{
"files": ["*.ts", "*.tsx"],
"extends": ["plugin:@nrwl/nx/typescript"],
"extends": ["plugin:@nx/typescript"],
"rules": {
"semi": "off",
"@typescript-eslint/semi": ["error"],
Expand All @@ -31,7 +33,7 @@
},
{
"files": ["*.js", "*.jsx"],
"extends": ["plugin:@nrwl/nx/javascript"],
"extends": ["plugin:@nx/javascript"],
"rules": {}
}
]
Expand Down
26 changes: 13 additions & 13 deletions .github/workflows/on-push-or-pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.9.0
uses: styfle/cancel-workflow-action@0.11.0
with:
access_token: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -32,8 +32,8 @@ jobs:
runs-on: ubuntu-latest
needs: one_run
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
- uses: actions/checkout@v3
- uses: actions/cache@v3
id: cache
with:
path: ${{ env.CACHE_NODE_MODULES_PATH }}
Expand All @@ -46,12 +46,12 @@ jobs:
needs: install
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: ${{ env.CACHE_NODE_MODULES_PATH }}
key: node_modules-${{ hashFiles('**/package-lock.json') }}
- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: ${{ env.CACHE_DIST_PATH }}
key: dist-${{ github.run_id }}
Expand All @@ -63,12 +63,12 @@ jobs:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: ${{ env.CACHE_NODE_MODULES_PATH }}
key: node_modules-${{ hashFiles('**/package-lock.json') }}
- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: ${{ env.CACHE_DIST_PATH }}
key: dist-${{ github.run_id }}
Expand All @@ -80,8 +80,8 @@ jobs:
runs-on: ubuntu-latest
needs: install
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: ${{ env.CACHE_NODE_MODULES_PATH }}
key: node_modules-${{ hashFiles('**/package-lock.json') }}
Expand All @@ -94,8 +94,8 @@ jobs:
outputs:
output_url: ${{ steps.firebase_hosting_preview.outputs.details_url }}
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: ${{ env.CACHE_DIST_PATH }}
key: dist-${{ github.run_id }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.9.0
uses: styfle/cancel-workflow-action@0.11.0
with:
access_token: ${{ secrets.GITHUB_TOKEN }}

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,4 @@ Thumbs.db

# AoT generated files
factories
migrations.json
42 changes: 42 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,53 @@

# [3.1.0](https://github.com/valor-software/ng2-dragula/compare/v2.1.1...v3.1.0) (2022-12-07)


### Bug Fixes

* **chore:** added publish config to package.json file ([1afbdbc](https://github.com/valor-software/ng2-dragula/commit/1afbdbcc240797c406b87e51806cbf9dfd6c1db3))
* **chore:** fix release flow ([d0279ef](https://github.com/valor-software/ng2-dragula/commit/d0279efcfa74642128211d4c75b533eea4820cbb))
* **chore:** fixed angularCompilerOptions ([b963d52](https://github.com/valor-software/ng2-dragula/commit/b963d5217207eb51c40a659a2f9a39d0c03a2706))
* **chore:** fixed release files ([f6798c9](https://github.com/valor-software/ng2-dragula/commit/f6798c90d34db1c2e7c13b35f5dd69e800651b23))
* **chore:** fixed yaml file ([2204e0b](https://github.com/valor-software/ng2-dragula/commit/2204e0b039895f03168a56c3d114beea40685e36))


### Features

* Angular 10 Compatibility ([#1008](https://github.com/valor-software/ng2-dragula/issues/1008)) ([ad945e0](https://github.com/valor-software/ng2-dragula/commit/ad945e0d5e709216e2bb551927a1dd3713589bf3))
* **chore:** added set-version.ts file ([22fd062](https://github.com/valor-software/ng2-dragula/commit/22fd06202a09790d3763e58d378bf676caa772d5))
* **dragula:** updated angular 14 ([#1065](https://github.com/valor-software/ng2-dragula/issues/1065)) ([2d2388d](https://github.com/valor-software/ng2-dragula/commit/2d2388dc6138e2ee0ca2093a58c8227c420104cc))


### Reverts

* Revert "3.0.0" ([e2cb7fa](https://github.com/valor-software/ng2-dragula/commit/e2cb7fa08ae16a810ee51745ea4ee14eab185fe2))



# [3.0.0](https://github.com/valor-software/ng2-dragula/compare/v2.1.1...v3.0.0) (2022-12-07)


### Bug Fixes

* **chore:** added publish config to package.json file ([1afbdbc](https://github.com/valor-software/ng2-dragula/commit/1afbdbcc240797c406b87e51806cbf9dfd6c1db3))
* **chore:** fix release flow ([d0279ef](https://github.com/valor-software/ng2-dragula/commit/d0279efcfa74642128211d4c75b533eea4820cbb))
* **chore:** fixed angularCompilerOptions ([b963d52](https://github.com/valor-software/ng2-dragula/commit/b963d5217207eb51c40a659a2f9a39d0c03a2706))
* **chore:** fixed release files ([f6798c9](https://github.com/valor-software/ng2-dragula/commit/f6798c90d34db1c2e7c13b35f5dd69e800651b23))


### Features

* Angular 10 Compatibility ([#1008](https://github.com/valor-software/ng2-dragula/issues/1008)) ([ad945e0](https://github.com/valor-software/ng2-dragula/commit/ad945e0d5e709216e2bb551927a1dd3713589bf3))
* **chore:** added set-version.ts file ([22fd062](https://github.com/valor-software/ng2-dragula/commit/22fd06202a09790d3763e58d378bf676caa772d5))
* **dragula:** updated angular 14 ([#1065](https://github.com/valor-software/ng2-dragula/issues/1065)) ([2d2388d](https://github.com/valor-software/ng2-dragula/commit/2d2388dc6138e2ee0ca2093a58c8227c420104cc))


### Reverts

* Revert "3.0.0" ([e2cb7fa](https://github.com/valor-software/ng2-dragula/commit/e2cb7fa08ae16a810ee51745ea4ee14eab185fe2))



# Change Log

All notable changes to this project will be documented in this file.
Expand Down
140 changes: 0 additions & 140 deletions MIGRATION-v2.md

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Latest version available for each version of Angular
| ng2-dragula | Angular |
| ---------- |---------|
| 2.1.1 | <= 9.x |
| current | 15.x.x |
| current | 16.x.x |

# Install

Expand Down
9 changes: 0 additions & 9 deletions angular.json

This file was deleted.

23 changes: 6 additions & 17 deletions apps/demo/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,19 @@
{
"extends": [
"../../.eslintrc.json"
],
"ignorePatterns": [
"!**/*"
],
"extends": ["../../.eslintrc.json"],
"ignorePatterns": ["!**/*"],
"overrides": [
{
"files": [
"*.ts"
],
"files": ["*.ts"],
"extends": [
"plugin:@nrwl/nx/angular",
"plugin:@nx/angular",
"plugin:@angular-eslint/template/process-inline-templates"
],
"rules": {}
},
{
"files": [
"*.html"
],
"extends": [
"plugin:@nrwl/nx/angular-template"
],
"files": ["*.html"],
"extends": ["plugin:@nx/angular-template"],
"rules": {}
}
]
}

Loading

0 comments on commit dcde382

Please sign in to comment.