chore(bump): updated version up to angular, nx 14

This commit is contained in:
SvetlanaMuravlova
2022-09-16 12:41:24 +03:00
parent f38189462e
commit 567cdf8dc3
12 changed files with 6669 additions and 4566 deletions

View File

@@ -40,7 +40,7 @@
"coverage/libs/ng2-file-upload" "coverage/libs/ng2-file-upload"
], ],
"options": { "options": {
"jestConfig": "libs/ng2-file-upload/jest.config.js", "jestConfig": "libs/ng2-file-upload/jest.config.ts",
"passWithNoTests": true "passWithNoTests": true
} }
}, },

View File

@@ -1,10 +1,12 @@
{ {
"extends": "../../tsconfig.base.json", "extends": "../../tsconfig.base.json",
"files": [ "files": [
"./src/main.ts", "./src/main.ts",
"../../scripts/polyfills.ts" "../../scripts/polyfills.ts"
],
"include": [
"./src/typings.d.ts"
], ],
"include": ["./src/typings.d.ts"],
"references": [ "references": [
{ {
"path": "./tsconfig.app.json" "path": "./tsconfig.app.json"
@@ -16,5 +18,10 @@
"path": "./tsconfig.editor.json" "path": "./tsconfig.editor.json"
} }
], ],
"exclude": ["**/*.spec.ts"] "exclude": [
"**/*.spec.ts"
],
"compilerOptions": {
"target": "es2020"
}
} }

View File

@@ -1,5 +1,5 @@
const { getJestProjects } = require('@nrwl/jest'); const { getJestProjects } = require('@nrwl/jest');
module.exports = {"projects": getJestProjects() export default {"projects": getJestProjects()
}; };

View File

@@ -1,4 +1,4 @@
const nxPreset = require('@nrwl/jest/preset'); const nxPreset = require('@nrwl/jest/preset').default;
module.exports = { module.exports = {
...nxPreset, ...nxPreset,
...{ ...{

View File

@@ -1,4 +1,5 @@
module.exports = { /* eslint-disable */
export default {
displayName: 'ng2-file-upload', displayName: 'ng2-file-upload',
preset: '../../jest.preset.js', preset: '../../jest.preset.js',
setupFilesAfterEnv: ['<rootDir>/testing/test-setup.ts'], setupFilesAfterEnv: ['<rootDir>/testing/test-setup.ts'],

View File

@@ -17,7 +17,8 @@
"forceConsistentCasingInFileNames": true, "forceConsistentCasingInFileNames": true,
"strict": true, "strict": true,
"noImplicitReturns": true, "noImplicitReturns": true,
"noFallthroughCasesInSwitch": true "noFallthroughCasesInSwitch": true,
"target": "es2020"
}, },
"angularCompilerOptions": { "angularCompilerOptions": {
"strictInjectionParameters": true, "strictInjectionParameters": true,

View File

@@ -2,7 +2,7 @@
"extends": "./tsconfig.json", "extends": "./tsconfig.json",
"compilerOptions": { "compilerOptions": {
"outDir": "../../dist/out-tsc", "outDir": "../../dist/out-tsc",
"target": "es2015", "target": "es2020",
"declaration": true, "declaration": true,
"declarationMap": true, "declarationMap": true,
"inlineSources": true, "inlineSources": true,
@@ -22,6 +22,7 @@
], ],
"exclude": [ "exclude": [
"**/*.spec.ts", "**/*.spec.ts",
"**/*.test.ts" "**/*.test.ts",
"jest.config.ts"
] ]
} }

View File

@@ -5,5 +5,8 @@
}, },
"angularCompilerOptions": { "angularCompilerOptions": {
"compilationMode": "partial" "compilationMode": "partial"
} },
"exclude": [
"jest.config.ts"
]
} }

View File

@@ -14,6 +14,7 @@
"include": [ "include": [
"**/*.spec.ts", "**/*.spec.ts",
"**/*.test.ts", "**/*.test.ts",
"**/*.d.ts" "**/*.d.ts",
"jest.config.ts"
] ]
} }

View File

@@ -34,5 +34,6 @@
"@schematics/angular:directive": { "@schematics/angular:directive": {
"prefix": "" "prefix": ""
} }
} },
"$schema": "./node_modules/nx/schemas/nx-schema.json"
} }

11121
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -40,31 +40,31 @@
"homepage": "https://github.com/valor-software/ng2-file-upload#readme", "homepage": "https://github.com/valor-software/ng2-file-upload#readme",
"peerDependencies": {}, "peerDependencies": {},
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "13.3.3", "@angular-devkit/build-angular": "14.2.3",
"@angular-eslint/eslint-plugin": "13.0.1", "@angular-eslint/eslint-plugin": "14.0.4",
"@angular-eslint/eslint-plugin-template": "13.0.1", "@angular-eslint/eslint-plugin-template": "14.0.4",
"@angular-eslint/template-parser": "13.0.1", "@angular-eslint/template-parser": "14.0.4",
"@angular/animations": "13.3.3", "@angular/animations": "14.2.2",
"@angular/cli": "13.3.3", "@angular/cli": "~14.2.0",
"@angular/common": "13.3.3", "@angular/common": "14.2.2",
"@angular/compiler": "13.3.3", "@angular/compiler": "14.2.2",
"@angular/compiler-cli": "13.3.3", "@angular/compiler-cli": "14.2.2",
"@angular/core": "13.3.3", "@angular/core": "14.2.2",
"@angular/forms": "13.3.3", "@angular/forms": "14.2.2",
"@angular/platform-browser": "13.3.3", "@angular/platform-browser": "14.2.2",
"@angular/platform-browser-dynamic": "13.3.3", "@angular/platform-browser-dynamic": "14.2.2",
"@nrwl/angular": "13.10.2", "@nrwl/angular": "14.7.5",
"@nrwl/cli": "13.10.2", "@nrwl/cli": "14.7.5",
"@nrwl/eslint-plugin-nx": "13.10.2", "@nrwl/eslint-plugin-nx": "14.7.5",
"@nrwl/jest": "13.10.2", "@nrwl/jest": "14.7.5",
"@nrwl/linter": "13.10.2", "@nrwl/linter": "14.7.5",
"@nrwl/node": "13.10.2", "@nrwl/node": "14.7.5",
"@types/fs-extra": "9.0.7", "@types/fs-extra": "9.0.7",
"@types/jest": "27.0.2", "@types/jest": "28.1.8",
"@types/node": "^12.11.1", "@types/node": "18.7.1",
"@types/webpack": "^5.0.0", "@types/webpack": "^5.0.0",
"@typescript-eslint/eslint-plugin": "5.18.0", "@typescript-eslint/eslint-plugin": "5.33.1",
"@typescript-eslint/parser": "5.18.0", "@typescript-eslint/parser": "5.33.1",
"bootstrap": "3.3.7", "bootstrap": "3.3.7",
"classlist-polyfill": "1.2.0", "classlist-polyfill": "1.2.0",
"codecov": "3.8.2", "codecov": "3.8.2",
@@ -72,32 +72,33 @@
"conventional-changelog-cli": "2.1.1", "conventional-changelog-cli": "2.1.1",
"conventional-github-releaser": "3.1.5", "conventional-github-releaser": "3.1.5",
"core-js": "^3.14.0", "core-js": "^3.14.0",
"eslint": "8.12.0", "eslint": "8.15.0",
"eslint-config-prettier": "8.1.0", "eslint-config-prettier": "8.1.0",
"fs-extra": "9.1.0", "fs-extra": "9.1.0",
"gh-pages": "3.2.2", "gh-pages": "3.2.2",
"google-code-prettify": "1.0.5", "google-code-prettify": "1.0.5",
"html-loader": "^1.3.2", "html-loader": "^1.3.2",
"jest": "27.2.3", "jest": "28.1.3",
"jest-createspyobj": "2.0.0", "jest-createspyobj": "2.0.0",
"jest-preset-angular": "11.1.1", "jest-environment-jsdom": "28.1.1",
"jest-preset-angular": "12.2.2",
"markdown-loader": "^6.0.0", "markdown-loader": "^6.0.0",
"ng-packagr": "13.3.1", "ng-packagr": "14.2.1",
"ngx-bootstrap": "8.0.0", "ngx-bootstrap": "8.0.0",
"npm-run-all": "^4.1.5", "npm-run-all": "^4.1.5",
"postcss": "^8.3.9", "postcss": "^8.3.9",
"postcss-import": "^14.0.2", "postcss-import": "14.1.0",
"postcss-preset-env": "^6.7.0", "postcss-preset-env": "7.5.0",
"postcss-url": "^10.1.1", "postcss-url": "10.1.3",
"protractor": "~7.0.0", "protractor": "~7.0.0",
"raw-loader": "^4.0.2", "raw-loader": "^4.0.2",
"rxjs": "^6.6.0", "rxjs": "^6.6.0",
"ts-helpers": "^1.1.2", "ts-helpers": "^1.1.2",
"ts-jest": "27.0.5", "ts-jest": "28.0.8",
"ts-node": "8.3.0", "ts-node": "10.9.1",
"tslint": "^6.1.0", "tslint": "^6.1.0",
"tslint-config-valorsoft": "^2.2.1", "tslint-config-valorsoft": "^2.2.1",
"typescript": "4.6.3", "typescript": "4.7.4",
"zone.js": "0.11.5" "zone.js": "0.11.5"
}, },
"contributors": [ "contributors": [
@@ -123,8 +124,8 @@
} }
], ],
"dependencies": { "dependencies": {
"@nrwl/workspace": "13.10.2", "@nrwl/workspace": "14.7.5",
"nx": "13.10.2", "nx": "14.7.5",
"tslib": "^2.0.0" "tslib": "^2.0.0"
} }
} }