Update packages to remove vulnerabilities
This commit is contained in:
Родитель
d93d33b01b
Коммит
4c7a9390f2
|
@ -2,11 +2,11 @@
|
|||
"manifestVersion": 1,
|
||||
"id": "team-calendar",
|
||||
"publisher": "ms-devlabs",
|
||||
"version": "2.0.16",
|
||||
"version": "2.0.17",
|
||||
"name": "Team Calendar",
|
||||
"description": "Track events important to your team, view and manage days off, quickly see when sprints start and end, and more.",
|
||||
"public": true,
|
||||
"categories": ["Plan and track"],
|
||||
"categories": ["Azure Boards"],
|
||||
"targets": [
|
||||
{
|
||||
"id": "Microsoft.VisualStudio.Services"
|
||||
|
@ -55,39 +55,67 @@
|
|||
"addressable": true
|
||||
},
|
||||
{
|
||||
"path": "legacy/static",
|
||||
"packagePath": "static",
|
||||
"addressable": true
|
||||
},
|
||||
{
|
||||
"path": "legacy/dist/js",
|
||||
"packagePath": "js",
|
||||
"addressable": true
|
||||
},
|
||||
{
|
||||
"path": "legacy/dist/css",
|
||||
"packagePath": "css",
|
||||
"addressable": true
|
||||
},
|
||||
{
|
||||
"path": "legacy/node_modules/vss-web-extension-sdk/lib",
|
||||
"addressable": true,
|
||||
"packagePath": "sdk"
|
||||
},
|
||||
{
|
||||
"path": "legacy/node_modules/jquery/dist",
|
||||
"addressable": true,
|
||||
"packagePath": "lib/jquery"
|
||||
},
|
||||
{
|
||||
"path": "legacy/node_modules/moment/min",
|
||||
"path": "node_modules/moment/min",
|
||||
"addressable": true,
|
||||
"packagePath": "lib/moment"
|
||||
},
|
||||
{
|
||||
"path": "legacy/node_modules/fullcalendar/dist",
|
||||
"addressable": true,
|
||||
"packagePath": "lib/fullcalendar"
|
||||
}
|
||||
],
|
||||
"branding": {
|
||||
"color": "rgb(149, 37, 0)",
|
||||
"theme": "dark"
|
||||
},
|
||||
"contributions": [
|
||||
{
|
||||
"id": "calendar-has-moved-banner",
|
||||
"type": "ms.vss-web.global-message-banner",
|
||||
"description": "Banner points out that the Calendar has moved to the Boards hub.",
|
||||
"targets": [
|
||||
"ms.vss-web.home-hub-group"
|
||||
],
|
||||
"properties": {
|
||||
"message": "The Calendar has moved! You may now find it under the Boards menu.",
|
||||
"level": "info"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "calendar",
|
||||
"type": "ms.vss-web.hub",
|
||||
"description": "Calendar hub in the Work hub group.",
|
||||
"targets": [
|
||||
"ms.vss-work-web.work-hub-group"
|
||||
],
|
||||
"properties": {
|
||||
"name": "Calendar",
|
||||
"order": 22,
|
||||
"uri": "dist/calendar.html"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "calendar-event-sources",
|
||||
"type": ".calendar-event-source-collection",
|
||||
"description": "Target for calendar event sources",
|
||||
"targets": [
|
||||
".calendar"
|
||||
]
|
||||
}
|
||||
],
|
||||
"contributionTypes": [
|
||||
{
|
||||
"id": "calendar-event-source-collection",
|
||||
"name": "Calendar event source collection",
|
||||
"description": "A collection of calendar event sources."
|
||||
},
|
||||
{
|
||||
"id": "calendar-event-source",
|
||||
"name": "Calendar event source",
|
||||
"description": "A provider of calendar events.",
|
||||
"properties": {
|
||||
"uri": {
|
||||
"description": "URI to the (background/hidden) HTML content which registers the calendar event source object.",
|
||||
"type": "string",
|
||||
"required": true
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"public": false,
|
||||
"baseUri": "https://localhost:8888",
|
||||
"name": "Team Calendar (Dev)",
|
||||
"publisher": "ms-devlabs"
|
||||
|
||||
}
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
43
package.json
43
package.json
|
@ -43,18 +43,19 @@
|
|||
},
|
||||
"homepage": "https://github.com/Microsoft/vso-team-calendar#readme",
|
||||
"scripts": {
|
||||
"postinstall": "cd legacy && npm install && cd ..",
|
||||
"clean": "rimraf ./dist && cd legacy && npm run clean && cd ..",
|
||||
"compile": "npm run clean && webpack --mode production",
|
||||
"compile:dev": "npm run clean && webpack --mode development",
|
||||
"build": "npm run compile && cd legacy && npm run build && cd ..",
|
||||
"clean": "rimraf ./dist",
|
||||
"compile": "npm run clean && webpack --mode production --config ./webpack.config.js",
|
||||
"compile:dev": "npm run clean && webpack --mode development --config ./webpack.config.js",
|
||||
"build": "npm run compile",
|
||||
"build:dev": "npm run compile:dev && npm run postbuild",
|
||||
"postbuild": "npm run package-extension -- --rev-version",
|
||||
"postbuild": "npm run package:dev -- --rev-version",
|
||||
"package:dev": "node ./scripts/packageDev",
|
||||
"package-extension": "tfx extension create --manifest-globs azure-devops-extension.json src/*.json",
|
||||
"publish-extension": "tfx extension publish --manifest-globs azure-devops-extension.json src/*.json"
|
||||
"publish-extension": "tfx extension publish --manifest-globs azure-devops-extension.json src/*.json",
|
||||
"dev": "webpack-dev-server --hot --progress --static ./ --https --port 8888"
|
||||
},
|
||||
"dependencies": {
|
||||
"azure-devops-extension-api": "~1.157.0",
|
||||
"azure-devops-extension-api": "~1.158.0",
|
||||
"azure-devops-extension-sdk": "~2.0.11",
|
||||
"azure-devops-ui": "~1.159.0",
|
||||
"@fullcalendar/core": "^4.1.0",
|
||||
|
@ -62,25 +63,25 @@
|
|||
"@fullcalendar/interaction": "^4.1.0",
|
||||
"@fullcalendar/react": "^4.1.0",
|
||||
"@fullcalendar/timegrid": "^4.1.0",
|
||||
"moment": "~2.24.0",
|
||||
"moment": "^2.29.4",
|
||||
"react": "~16.8.1",
|
||||
"react-dom": "~16.8.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/react": "~16.8.2",
|
||||
"@types/react-dom": "~16.8.0",
|
||||
"base64-inline-loader": "^1.1.1",
|
||||
"copy-webpack-plugin": "^4.5.4",
|
||||
"css-loader": "~1.0.0",
|
||||
"file-loader": "~2.0.0",
|
||||
"node-sass": "~4.12.0",
|
||||
"rimraf": "~2.6.2",
|
||||
"sass-loader": "~7.1.0",
|
||||
"style-loader": "~0.23.1",
|
||||
"tfx-cli": "^0.6.3",
|
||||
"base64-inline-loader": "^2.0.1",
|
||||
"copy-webpack-plugin": "^7.0.0",
|
||||
"css-loader": "^5.2.4",
|
||||
"file-loader": "^6.2.0",
|
||||
"sass": "^1.55.0",
|
||||
"rimraf": "^3.0.2",
|
||||
"sass-loader": "^10.1.1",
|
||||
"style-loader": "^1.2.1",
|
||||
"tfx-cli": "^0.12.0",
|
||||
"ts-loader": "~5.2.2",
|
||||
"typescript": "^2.9.2",
|
||||
"webpack": "^4.22.0",
|
||||
"webpack-cli": "^3.1.2"
|
||||
"typescript": "^3.9.10",
|
||||
"webpack-cli": "^4.10.0",
|
||||
"webpack-dev-server": "^4.9.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
var exec = require("child_process").exec;
|
||||
|
||||
// Load existing publisher
|
||||
var manifest = require("../azure-devops-extension.json");
|
||||
var extensionId = manifest.id;
|
||||
|
||||
// Package extension
|
||||
var command = `tfx extension create --overrides-file configs/dev.json --manifest-globs azure-devops-extension.json --extension-id ${extensionId}-dev --no-prompt`;
|
||||
exec(command, function (error) {
|
||||
if (error) {
|
||||
console.log(`Package create error: ${error}`);
|
||||
} else {
|
||||
console.log("Package created");
|
||||
}
|
||||
});
|
|
@ -51,5 +51,5 @@ module.exports = {
|
|||
}
|
||||
]
|
||||
},
|
||||
plugins: [new CopyWebpackPlugin([{ from: "**/*.html", context: "src" }])]
|
||||
plugins: [new CopyWebpackPlugin({patterns: [{ from: "**/*.html", context: "src" }]})]
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче