Skip to content

Commit

Permalink
feat(core): migrate to Angular 12 and Nx workspace
Browse files Browse the repository at this point in the history
BREAKING CHANGES: Angular 12 is now the minimum required version to use the module.

Also, the whole workspace has been migrated to Nx to ease maintenance and future evolutions
  • Loading branch information
tinesoft committed Jul 7, 2021
1 parent 8c95e6d commit 0d36a56
Show file tree
Hide file tree
Showing 128 changed files with 24,513 additions and 0 deletions.
13 changes: 13 additions & 0 deletions ngx-cookieconsent/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Editor configuration, see http://editorconfig.org
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
max_line_length = off
trim_trailing_whitespace = false
32 changes: 32 additions & 0 deletions ngx-cookieconsent/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"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": {}
}
]
}
39 changes: 39 additions & 0 deletions ngx-cookieconsent/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# See http://help.github.com/ignore-files/ for more about ignoring files.

# compiled output
/dist
/tmp
/out-tsc

# dependencies
/node_modules

# IDEs and editors
/.idea
.project
.classpath
.c9/
*.launch
.settings/
*.sublime-workspace

# IDE - VSCode
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json

# misc
/.sass-cache
/connect.lock
/coverage
/libpeerconnection.log
npm-debug.log
yarn-error.log
testem.log
/typings

# System Files
.DS_Store
Thumbs.db
4 changes: 4 additions & 0 deletions ngx-cookieconsent/.prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Add files here to ignore them from prettier formatting

/dist
/coverage
3 changes: 3 additions & 0 deletions ngx-cookieconsent/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"singleQuote": true
}
8 changes: 8 additions & 0 deletions ngx-cookieconsent/.vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"recommendations": [
"angular.ng-template",
"nrwl.angular-console",
"esbenp.prettier-vscode",
"firsttris.vscode-jest-runner"
]
}
116 changes: 116 additions & 0 deletions ngx-cookieconsent/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
## [2.2.3](https://github.com/tinesoft/ngx-cookieconsent/compare/v2.2.2...v2.2.3) (2019-06-14)


### Features

* **location:** allow activating location services in config and improve typings for `NgcLawOptions`, `NgcLocationOptions` ([306fe18](https://github.com/tinesoft/ngx-cookieconsent/commit/306fe18)), closes [#57](https://github.com/tinesoft/ngx-cookieconsent/issues/57)



## [2.2.2](https://github.com/tinesoft/ngx-cookieconsent/compare/v2.2.1...v2.2.2) (2019-05-28)


### Bug Fixes

* **NgcCookieOptions:** add missing export ([971b65e](https://github.com/tinesoft/ngx-cookieconsent/commit/971b65e)), closes [#53](https://github.com/tinesoft/ngx-cookieconsent/issues/53)
* **sponsorship:** fix github sponsorship of yours truly ([d3a7b3d](https://github.com/tinesoft/ngx-cookieconsent/commit/d3a7b3d))



## [2.2.1](https://github.com/tinesoft/ngx-cookieconsent/compare/v2.2.0...v2.2.1) (2019-05-14)


### Bug Fixes

* **typings:** correct ` ERROR TS2411` when compiling with `strict` mode on ([4fb02eb](https://github.com/tinesoft/ngx-cookieconsent/commit/4fb02eb)), closes [#49](https://github.com/tinesoft/ngx-cookieconsent/issues/49)



# [2.2.0](https://github.com/tinesoft/ngx-cookieconsent/compare/v2.1.1...v2.2.0) (2019-03-28)


### Features

* **customLayout:** allow customizing the cookie bar layout and content ([4b32ce0](https://github.com/tinesoft/ngx-cookieconsent/commit/4b32ce0))



## [2.1.1](https://github.com/tinesoft/ngx-cookieconsent/compare/v2.1.0...v2.1.1) (2019-02-06)


### Bug Fixes

* **typings:** fix lint isssue due to bad typings in NgcCookieConsentStatus ([27ebb55](https://github.com/tinesoft/ngx-cookieconsent/commit/27ebb55)), closes [#11](https://github.com/tinesoft/ngx-cookieconsent/issues/11)



# [2.1.0](https://github.com/tinesoft/ngx-cookieconsent/compare/v2.0.0...v2.1.0) (2018-10-25)


### Features

* **core:** update to `cookieconsent v3.1.0` and its features ([d674b93](https://github.com/tinesoft/ngx-cookieconsent/commit/d674b93))
* **options:** add `policy` and `target` options to `NgcContentOptions` ([a0849f2](https://github.com/tinesoft/ngx-cookieconsent/commit/a0849f2)), closes [#23](https://github.com/tinesoft/ngx-cookieconsent/issues/23)



# [2.0.0](https://github.com/tinesoft/ngx-cookieconsent/compare/v1.1.1...v2.0.0) (2018-07-19)


### Features

* **ng6:** add support for angular 6 ([2ab9341](https://github.com/tinesoft/ngx-cookieconsent/commit/2ab9341)), closes [#17](https://github.com/tinesoft/ngx-cookieconsent/issues/17) [#18](https://github.com/tinesoft/ngx-cookieconsent/issues/18)
* **onNoCookieLaw:** add support for `onNoCookieLaw` callback ([2d960c8](https://github.com/tinesoft/ngx-cookieconsent/commit/2d960c8))


### BREAKING CHANGES

* **ng6:** - Minimum version of Angular is now v6+
- Minimum version of Node is v8+



## [1.1.1](https://github.com/tinesoft/ngx-cookieconsent/compare/v1.1.0...v1.1.1) (2018-07-18)


### Bug Fixes

* **initialize$:** callback was never called due to typo (`onInitialise`) ([6cd260f](https://github.com/tinesoft/ngx-cookieconsent/commit/6cd260f)), closes [#19](https://github.com/tinesoft/ngx-cookieconsent/issues/19)



# [1.1.0](https://github.com/tinesoft/ngx-cookieconsent/compare/v1.0.1...v1.1.0) (2018-07-03)


### Bug Fixes

* **demo:** fix wrong assets url on deployed demo app ([fedcbd9](https://github.com/tinesoft/ngx-cookieconsent/commit/fedcbd9))


### Features

* **close:** add `close` method to allow fully closing the 'Coookie Policy' bar ([02ada28](https://github.com/tinesoft/ngx-cookieconsent/commit/02ada28)), closes [#15](https://github.com/tinesoft/ngx-cookieconsent/issues/15)
* **demo:** add support for translated cookie consent messages + update docs ([e1bf9bf](https://github.com/tinesoft/ngx-cookieconsent/commit/e1bf9bf)), closes [#14](https://github.com/tinesoft/ngx-cookieconsent/issues/14)



## [1.0.1](https://github.com/tinesoft/ngx-cookieconsent/compare/v1.0.0...v1.0.1) (2017-11-22)


### Features

* **core:** make `cookie.domain`option mandatory in configuration service and update doc ([9835145](https://github.com/tinesoft/ngx-cookieconsent/commit/9835145))
* **demo:** update demo app to Angular CLI `1.4.7` ([37371b6](https://github.com/tinesoft/ngx-cookieconsent/commit/37371b6))
* **packaging:** relax `peerDependencies` versions ([02496e8](https://github.com/tinesoft/ngx-cookieconsent/commit/02496e8)), closes [#8](https://github.com/tinesoft/ngx-cookieconsent/issues/8)



# [1.0.0](https://github.com/tinesoft/ngx-cookieconsent/compare/5f8a340...v1.0.0) (2017-09-07)


### Features

* **all:** initial commit ([5f8a340](https://github.com/tinesoft/ngx-cookieconsent/commit/5f8a340))



22 changes: 22 additions & 0 deletions ngx-cookieconsent/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
The MIT License (MIT)

Copyright (c) 2018-2021 Tine Kondo

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Loading

0 comments on commit 0d36a56

Please sign in to comment.