Skip to content

Commit

Permalink
Update angular package
Browse files Browse the repository at this point in the history
Update to Angular 15
Replace TSLint with ESLint + Prettier

Update dependencies
  • Loading branch information
Theaninova committed Jan 29, 2023
1 parent ff9183c commit a070984
Show file tree
Hide file tree
Showing 10 changed files with 33,882 additions and 20,764 deletions.
2 changes: 2 additions & 0 deletions angular/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
dist/
node_modules/
14 changes: 14 additions & 0 deletions angular/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
module.exports = {
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'@ionic/eslint-config/recommended',
'prettier',
],
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint'],
rules: {
'@typescript-eslint/no-unused-vars': 'off',
'@typescript-eslint/no-empty-function': 'off',
},
};
2 changes: 2 additions & 0 deletions angular/.prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
dist/
node_modules/
3 changes: 3 additions & 0 deletions angular/.prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
...require('@ionic/prettier-config'),
};
33 changes: 21 additions & 12 deletions angular/dist/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,13 @@
},
"homepage": "https://github.com/ionic-team/ionic-storage#readme",
"dependencies": {
"@ionic/storage": "^3.0.4",
"tslib": "^1.10.0"
"@ionic/storage": "^3.0.6",
"tslib": "^2.3.0"
},
"peerDependencies": {
"@angular/core": "*",
"rxjs": "*"
},
"$schema": "./node_modules/ng-packagr/package.schema.json",
"release": {
"branches": "stable",
"pkgRoot": "dist",
Expand Down Expand Up @@ -58,14 +57,24 @@
}
},
"gitHead": "0b550acdc2d21c95c68e0655b28698ec60fa283a",
"main": "bundles/ionic-storage-angular.umd.js",
"module": "fesm5/ionic-storage-angular.js",
"es2015": "fesm2015/ionic-storage-angular.js",
"esm5": "esm5/ionic-storage-angular.js",
"esm2015": "esm2015/ionic-storage-angular.js",
"fesm5": "fesm5/ionic-storage-angular.js",
"fesm2015": "fesm2015/ionic-storage-angular.js",
"typings": "ionic-storage-angular.d.ts",
"metadata": "ionic-storage-angular.metadata.json",
"module": "fesm2015/ionic-storage-angular.mjs",
"es2020": "fesm2020/ionic-storage-angular.mjs",
"esm2020": "esm2020/ionic-storage-angular.mjs",
"fesm2020": "fesm2020/ionic-storage-angular.mjs",
"fesm2015": "fesm2015/ionic-storage-angular.mjs",
"typings": "index.d.ts",
"exports": {
"./package.json": {
"default": "./package.json"
},
".": {
"types": "./index.d.ts",
"esm2020": "./esm2020/ionic-storage-angular.mjs",
"es2020": "./fesm2020/ionic-storage-angular.mjs",
"es2015": "./fesm2015/ionic-storage-angular.mjs",
"node": "./fesm2015/ionic-storage-angular.mjs",
"default": "./fesm2020/ionic-storage-angular.mjs"
}
},
"sideEffects": false
}
10 changes: 10 additions & 0 deletions angular/ng-package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"$schema": "node_modules/ng-packagr/ng-package.schema.json",
"lib": {
"entryFile": "src/index.ts"
},
"allowedNonPeerDependencies": [
"localforage",
"@ionic/storage"
]
}
Loading

0 comments on commit a070984

Please sign in to comment.