Skip to content

Commit cc69326

Browse files
authored
Merge pull request #30 from splitio/angular-version
Update angular version
2 parents 3452aa6 + 86bf7a7 commit cc69326

12 files changed

Lines changed: 7749 additions & 9920 deletions

.eslintrc.json

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"root": true,
3+
"ignorePatterns": ["dist", "coverage"],
4+
"parserOptions": {
5+
"ecmaVersion": 2020
6+
},
7+
"overrides": [
8+
{
9+
"files": ["*.ts"],
10+
"parserOptions": {
11+
"project": ["tsconfig.json"],
12+
"createDefaultProgram": true
13+
},
14+
"extends": [
15+
"plugin:@angular-eslint/recommended",
16+
"eslint:recommended",
17+
"plugin:@typescript-eslint/recommended"
18+
],
19+
"rules": {
20+
"@typescript-eslint/no-non-null-assertion": "off",
21+
"@typescript-eslint/ban-ts-comment": "off",
22+
"@typescript-eslint/no-explicit-any": "off",
23+
"@typescript-eslint/no-unused-vars": "error",
24+
"indent": ["error", 2, {"SwitchCase": 1}],
25+
"quotes": ["warn", "single", "avoid-escape"],
26+
"linebreak-style": ["error", "unix"],
27+
"semi": ["error", "always"],
28+
"no-underscore-dangle": "off",
29+
"eqeqeq": ["error", "smart"],
30+
"no-unused-expressions": "off",
31+
"new-cap" : "off",
32+
"no-mixed-requires": "off",
33+
"camelcase": ["error", {"properties": "never"}],
34+
"no-use-before-define": ["error", "nofunc"],
35+
"eol-last": ["error", "always"],
36+
"no-unused-vars": "off",
37+
"keyword-spacing": "error",
38+
"comma-style": "error"
39+
}
40+
}
41+
]
42+
}

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v14
1+
v16.10

CHANGES.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
1.0.0 (December 15, 2022)
2+
- Updated the minimum angular version to match Angular's support up to date. Breaking change version is regarding the angular minimum version update, there are no breaking changes to Split's plugin API or functionality itself.
3+
14
0.4.0 (October 5, 2022)
25
- Added a new impressions mode for the SDK called NONE, to be used in factory when there is no desire to capture impressions on an SDK factory to feed Split's analytics engine. Running NONE mode, the SDK will only capture unique keys evaluated for a particular feature flag instead of full blown impressions.
36
- Updated default value of `scheduler.featuresRefreshRate` config parameter from 30 seconds to 60 seconds.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This utilities are designed to work with Split, the platform for controlled roll
77
[![Twitter Follow](https://img.shields.io/twitter/follow/splitsoftware.svg?style=social&label=Follow&maxAge=1529000)](https://twitter.com/intent/follow?screen_name=splitsoftware)
88

99
## Compatibility
10-
This SDK is compatible with Angular 10.2.5 and above.
10+
This SDK is compatible with Angular 13.3.0 and above.
1111

1212
## Getting started
1313
Below is a simple example that describes the instantiation and most basic usage of our SDK:

angular.json

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,11 @@
2525
"defaultConfiguration": "production"
2626
},
2727
"lint": {
28-
"builder": "@angular-devkit/build-angular:tslint",
28+
"builder": "@angular-eslint/builder:lint",
2929
"options": {
30-
"tsConfig": [
31-
"projects/splitio/tsconfig.lib.json",
32-
"projects/splitio/tsconfig.spec.json",
33-
"tsconfig.json"
34-
],
35-
"exclude": [
36-
"**/node_modules/**",
37-
"projects/splitio/**/*.spec.ts"
30+
"lintFilePatterns": [
31+
"projects/splitio/**/*.ts",
32+
"projects/splitio/**/*.html"
3833
]
3934
}
4035
}

0 commit comments

Comments
 (0)