Skip to content

Commit

Permalink
Add support scripts to enable automated nightly integration testing
Browse files Browse the repository at this point in the history
  • Loading branch information
MSNev committed Nov 1, 2024
1 parent b239484 commit 9043011
Show file tree
Hide file tree
Showing 8 changed files with 877 additions and 165 deletions.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"sarif-viewer.connectToGithubCodeScanning": "off"
}
160 changes: 81 additions & 79 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,81 +1,83 @@
{
"name": "@microsoft/applicationinsights-angularplugin-js",
"version": "15.3.4",
"description": "Microsoft Application Insights Angular plugin",
"main": "dist/bundles/microsoft-applicationinsights-angularplugin-js.umd.js",
"module": "dist/fesm2015/microsoft-applicationinsights-angularplugin-js.js",
"types": "dist/microsoft-applicationinsights-angularplugin-js.d.ts",
"metadata": "dist/microsoft-applicationinsights-angularplugin-js.metadata.json",
"repository": {
"type": "git",
"url": "https://github.com/microsoft/applicationinsights-angularplugin-js"
},
"scripts": {
"ng": "ng",
"start": "ng serve",
"rebuild": "npm run build && npm run test",
"build": "npm run lintfix && ng build --configuration production",
"test": "ng test --watch=false --browsers=ChromeHeadless --code-coverage=true",
"watch": "ng test",
"lint": "ng lint",
"lintfix": "ng lint --fix",
"clean": "git clean -xdf",
"gh-status": "node ./tools/status-tools/github-status.js",
"npm-package": "node ./tools/release-tools/npm-package.js"
},
"devDependencies": {
"@angular-devkit/build-angular": "^15.2.9",
"@angular-eslint/builder": "15.0.0",
"@angular-eslint/eslint-plugin": "15.0.0",
"@angular-eslint/eslint-plugin-template": "15.0.0",
"@angular-eslint/schematics": "15.0.0",
"@angular-eslint/template-parser": "15.0.0",
"@angular/animations": "^15.2.9",
"@angular/cli": "^15.2.9",
"@angular/common": "^15.2.9",
"@angular/compiler": "^15.2.9",
"@angular/compiler-cli": "^15.2.9",
"@angular/core": "^15.2.9",
"@angular/forms": "^15.2.9",
"@angular/platform-browser": "^15.2.9",
"@angular/platform-browser-dynamic": "^15.2.9",
"@angular/router": "^15.2.9",
"@microsoft/applicationinsights-analytics-js": "^3.3.4",
"@types/jasmine": "~3.6.0",
"@types/node": "^12.20.55",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"chromium": "^3.0.3",
"eslint": "^8.50.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jsdoc": "^46.8.2",
"eslint-plugin-prefer-arrow": "^1.2.3",
"jasmine-core": "~3.6.0",
"jasmine-spec-reporter": "~5.0.0",
"karma": "~6.3.17",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage": "~2.0.3",
"karma-jasmine": "~4.0.0",
"ng-packagr": "^15.2.2",
"protractor": "~7.0.0",
"puppeteer": "^22.12.1",
"rxjs": "~6.6.0",
"ts-node": "~8.3.0",
"tslib": "^2.6.2",
"typescript": "~4.9.5",
"zone.js": "^0.11.8"
},
"dependencies": {
"@microsoft/applicationinsights-common": "^3.3.4",
"@microsoft/applicationinsights-core-js": "^3.3.4",
"@microsoft/applicationinsights-properties-js": "^3.3.4",
"@microsoft/applicationinsights-shims": "^3.0.1",
"tslib": "^2.6.2"
},
"peerDependencies": {
"@angular/common": ">= 14.0.3",
"@angular/core": ">= 14.0.3",
"@microsoft/applicationinsights-analytics-js": "^3.3.4"
},
"license": "MIT"
"name": "@microsoft/applicationinsights-angularplugin-js",
"version": "15.3.4",
"description": "Microsoft Application Insights Angular plugin",
"main": "dist/bundles/microsoft-applicationinsights-angularplugin-js.umd.js",
"module": "dist/fesm2015/microsoft-applicationinsights-angularplugin-js.js",
"types": "dist/microsoft-applicationinsights-angularplugin-js.d.ts",
"metadata": "dist/microsoft-applicationinsights-angularplugin-js.metadata.json",
"repository": {
"type": "git",
"url": "https://github.com/microsoft/applicationinsights-angularplugin-js"
},
"scripts": {
"ng": "ng",
"start": "ng serve",
"rebuild": "npm run build && npm run test",
"build": "npm run lintfix && ng build --configuration production",
"test": "ng test --watch=false --browsers=ChromeHeadless --code-coverage=true",
"watch": "ng test",
"lint": "ng lint",
"lintfix": "ng lint --fix",
"clean": "git clean -xdf",
"gh-status": "node ./tools/status-tools/github-status.js",
"npm-package": "node ./tools/release-tools/npm-package.js",
"setVersion": "cd ./tools/release-tools && npm install && cd ../.. && node ./tools/release-tools/setVersion.js",
"setAiVersion": "cd ./tools/release-tools && npm install && cd ../.. && node ./tools/release-tools/setAiVersion.js"
},
"devDependencies": {
"@angular-devkit/build-angular": "^15.2.9",
"@angular-eslint/builder": "15.0.0",
"@angular-eslint/eslint-plugin": "15.0.0",
"@angular-eslint/eslint-plugin-template": "15.0.0",
"@angular-eslint/schematics": "15.0.0",
"@angular-eslint/template-parser": "15.0.0",
"@angular/animations": "^15.2.9",
"@angular/cli": "^15.2.9",
"@angular/common": "^15.2.9",
"@angular/compiler": "^15.2.9",
"@angular/compiler-cli": "^15.2.9",
"@angular/core": "^15.2.9",
"@angular/forms": "^15.2.9",
"@angular/platform-browser": "^15.2.9",
"@angular/platform-browser-dynamic": "^15.2.9",
"@angular/router": "^15.2.9",
"@microsoft/applicationinsights-analytics-js": "^3.3.4",
"@types/jasmine": "~3.6.0",
"@types/node": "^12.20.55",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"chromium": "^3.0.3",
"eslint": "^8.50.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jsdoc": "^46.8.2",
"eslint-plugin-prefer-arrow": "^1.2.3",
"jasmine-core": "~3.6.0",
"jasmine-spec-reporter": "~5.0.0",
"karma": "~6.3.17",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage": "~2.0.3",
"karma-jasmine": "~4.0.0",
"ng-packagr": "^15.2.2",
"protractor": "~7.0.0",
"puppeteer": "^22.12.1",
"rxjs": "~6.6.0",
"ts-node": "~8.3.0",
"tslib": "^2.6.2",
"typescript": "~4.9.5",
"zone.js": "^0.11.8"
},
"dependencies": {
"@microsoft/applicationinsights-common": "^3.3.4",
"@microsoft/applicationinsights-core-js": "^3.3.4",
"@microsoft/applicationinsights-properties-js": "^3.3.4",
"@microsoft/applicationinsights-shims": "^3.0.1",
"tslib": "^2.6.2"
},
"peerDependencies": {
"@angular/common": ">= 14.0.3",
"@angular/core": ">= 14.0.3",
"@microsoft/applicationinsights-analytics-js": "^3.3.4"
},
"license": "MIT"
}
56 changes: 28 additions & 28 deletions projects/applicationinsights-angularplugin-js/package.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
{
"name": "@microsoft/applicationinsights-angularplugin-js",
"version": "15.3.4",
"description": "Microsoft Application Insights Angular plugin",
"author": "Microsoft Application Insights Team",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/microsoft/applicationinsights-angularplugin-js"
},
"bugs": {
"url": "https://github.com/microsoft/applicationinsights-angularplugin-js/issues"
},
"homepage": "https://github.com/microsoft/applicationinsights-angularplugin-js#readme",
"dependencies": {
"@microsoft/applicationinsights-shims": "^3.0.1",
"@microsoft/applicationinsights-common": "^3.3.4",
"@microsoft/applicationinsights-core-js": "^3.3.4",
"@microsoft/applicationinsights-properties-js": "^3.3.4",
"tslib": "^2.0.0"
},
"devDependencies": {
"@microsoft/applicationinsights-analytics-js": "^3.3.4"
},
"peerDependencies": {
"@microsoft/applicationinsights-analytics-js": "^3.3.4",
"@angular/common": ">= 14.0.3",
"@angular/core": ">= 14.0.3"
}
"name": "@microsoft/applicationinsights-angularplugin-js",
"version": "15.3.4",
"description": "Microsoft Application Insights Angular plugin",
"author": "Microsoft Application Insights Team",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/microsoft/applicationinsights-angularplugin-js"
},
"bugs": {
"url": "https://github.com/microsoft/applicationinsights-angularplugin-js/issues"
},
"homepage": "https://github.com/microsoft/applicationinsights-angularplugin-js#readme",
"dependencies": {
"@microsoft/applicationinsights-shims": "^3.0.1",
"@microsoft/applicationinsights-common": "^3.3.4",
"@microsoft/applicationinsights-core-js": "^3.3.4",
"@microsoft/applicationinsights-properties-js": "^3.3.4",
"tslib": "^2.0.0"
},
"devDependencies": {
"@microsoft/applicationinsights-analytics-js": "^3.3.4"
},
"peerDependencies": {
"@microsoft/applicationinsights-analytics-js": "^3.3.4",
"@angular/common": ">= 14.0.3",
"@angular/core": ">= 14.0.3"
}
}
116 changes: 58 additions & 58 deletions sample/applicationinsights-angularplugin-sample/package.json
Original file line number Diff line number Diff line change
@@ -1,60 +1,60 @@
{
"name": "applicationinsights-angularplugin-sample",
"version": "0.3.0",
"description": "Microsoft Applicationinsights Angularplugin Sample App",
"author": "Microsoft Application Insights Team",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/microsoft/applicationinsights-angularplugin-js"
},
"bugs": {
"url": "https://github.com/microsoft/applicationinsights-angularplugin-js/issues"
},
"homepage": "https://github.com/microsoft/applicationinsights-angularplugin-js#readme",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"rebuild": "ng build",
"watch": "ng build --watch --configuration development",
"test": "ng test --watch=false --browsers=ChromeHeadless --code-coverage=true",
"e2e": "ng e2e"
},
"private": true,
"dependencies": {
"@angular/animations": "^15.2.9",
"@angular/common": "^15.2.9",
"@angular/compiler": "^15.2.9",
"@angular/core": "^15.2.9",
"@angular/forms": "^15.2.9",
"@angular/platform-browser": "^15.2.9",
"@angular/platform-browser-dynamic": "^15.2.9",
"@angular/router": "^15.2.9",
"@microsoft/applicationinsights-angularplugin-js": "^15.3.4",
"@microsoft/applicationinsights-web": "^3.3.4",
"angular-in-memory-web-api": "~0.15.0",
"rxjs": "~7.5.0",
"tslib": "^2.3.0",
"zone.js": "~0.11.4"
},
"devDependencies": {
"@angular-devkit/build-angular": "^15.2.9",
"@angular/cli": "^15.2.9",
"@angular/compiler-cli": "^15.2.9",
"@types/jasmine": "~4.0.0",
"@types/node": "^16.11.35",
"copyfiles": "^2.4.1",
"jasmine-core": "~4.3.0",
"jasmine-marbles": "~0.9.2",
"jasmine-spec-reporter": "~7.0.0",
"karma": "~6.4.0",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage": "~2.2.0",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "~2.0.0",
"protractor": "~7.0.0",
"ts-node": "~10.9.0",
"typescript": "~4.9.5"
}
"name": "applicationinsights-angularplugin-sample",
"version": "0.3.0",
"description": "Microsoft Applicationinsights Angularplugin Sample App",
"author": "Microsoft Application Insights Team",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/microsoft/applicationinsights-angularplugin-js"
},
"bugs": {
"url": "https://github.com/microsoft/applicationinsights-angularplugin-js/issues"
},
"homepage": "https://github.com/microsoft/applicationinsights-angularplugin-js#readme",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"rebuild": "ng build",
"watch": "ng build --watch --configuration development",
"test": "ng test --watch=false --browsers=ChromeHeadless --code-coverage=true",
"e2e": "ng e2e"
},
"private": true,
"dependencies": {
"@angular/animations": "^15.2.9",
"@angular/common": "^15.2.9",
"@angular/compiler": "^15.2.9",
"@angular/core": "^15.2.9",
"@angular/forms": "^15.2.9",
"@angular/platform-browser": "^15.2.9",
"@angular/platform-browser-dynamic": "^15.2.9",
"@angular/router": "^15.2.9",
"@microsoft/applicationinsights-angularplugin-js": "^15.3.4",
"@microsoft/applicationinsights-web": "^3.3.4",
"angular-in-memory-web-api": "~0.15.0",
"rxjs": "~7.5.0",
"tslib": "^2.3.0",
"zone.js": "~0.11.4"
},
"devDependencies": {
"@angular-devkit/build-angular": "^15.2.9",
"@angular/cli": "^15.2.9",
"@angular/compiler-cli": "^15.2.9",
"@types/jasmine": "~4.0.0",
"@types/node": "^16.11.35",
"copyfiles": "^2.4.1",
"jasmine-core": "~4.3.0",
"jasmine-marbles": "~0.9.2",
"jasmine-spec-reporter": "~7.0.0",
"karma": "~6.4.0",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage": "~2.2.0",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "~2.0.0",
"protractor": "~7.0.0",
"ts-node": "~10.9.0",
"typescript": "~4.9.5"
}
}
28 changes: 28 additions & 0 deletions tools/release-tools/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"name": "applicationinsights-angularplugin-js-release-tools",
"version": "15.3.4",
"author": "Microsoft Application Insights Team",
"description": "Microsoft Application Insights Angular plugin release tools",
"homepage": "https://github.com/microsoft/applicationinsights-angularplugin-js#readme",
"sideEffects": false,
"scripts": {
"update": "rush update",
"build": "",
"rebuild": "",
"test": "",
"updateVer": "node ./tools/release-tools/updateVersion.js"
},
"keywords": [
"1DS",
"Js",
"SDK"
],
"repository": {
"type": "git",
"url": "https://github.com/microsoft/applicationinsights-angularplugin-js"
},
"devDependencies": {
"grunt": "^1.5.3",
"globby": "^11.0.0"
}
}
Loading

0 comments on commit 9043011

Please sign in to comment.