mirror of
https://github.com/jonnydeates/obsidian-pivotal-tracker-integration-plugin.git
synced 2026-07-22 07:40:25 +00:00
Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2eabf49aa0 |
7 changed files with 948 additions and 1034 deletions
|
|
@ -33,7 +33,6 @@ esbuild.build({
|
|||
'@lezer/lr',
|
||||
...builtins],
|
||||
format: 'cjs',
|
||||
watch: !prod,
|
||||
target: 'es2018',
|
||||
logLevel: "info",
|
||||
sourcemap: prod ? false : 'inline',
|
||||
|
|
|
|||
8
main.js
8
main.js
|
|
@ -124,7 +124,7 @@ function appendLine(content, destination) {
|
|||
return newLine(`${destination + content}`);
|
||||
}
|
||||
function generateTags(type) {
|
||||
return newLine("") + newLine("---") + newLine("tags") + newLine(" - pivotal-tracker") + newLine(" - " + type) + newLine("---");
|
||||
return newLine("") + newLine("") + newLine("tags") + newLine("- #pivotal-tracker") + newLine("- #" + type) + newLine("");
|
||||
}
|
||||
async function generateMarkdown(folderPath, stories) {
|
||||
let storiesIgnored = 0;
|
||||
|
|
@ -198,7 +198,11 @@ var pullTrackerStories = (settings) => {
|
|||
var MyPlugin = class extends import_obsidian4.Plugin {
|
||||
async onload() {
|
||||
await this.loadSettings();
|
||||
this.addRibbonIcon("book-open", "Pull Tracker Stories", () => pullTrackerStories(this.settings));
|
||||
this.addRibbonIcon(
|
||||
"book-open",
|
||||
"Pull Tracker Stories",
|
||||
() => pullTrackerStories(this.settings)
|
||||
);
|
||||
this.addCommand({
|
||||
id: "pivotal-tracker-retrieve-stories",
|
||||
name: "Pull Pivotal Tracker Stories",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"id": "pivotal-tracker-integration",
|
||||
"name": "Pivotal Tracker Integration",
|
||||
"version": "1.0.5",
|
||||
"version": "1.0.6",
|
||||
"minAppVersion": "0.15.0",
|
||||
"description": "This is an unofficial pivotal tracker integration plugin for Obsidian. This plugin allows the user to pull stories, chores, bugs from their pivotal counterpart.",
|
||||
"author": "Jon Deates",
|
||||
|
|
|
|||
1954
package-lock.json
generated
1954
package-lock.json
generated
File diff suppressed because it is too large
Load diff
12
package.json
12
package.json
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "pivotal-tracker-integration",
|
||||
"version": "1.0.5",
|
||||
"version": "1.0.6",
|
||||
"description": "This is an unofficial pivotal tracker integration plugin for Obsidian. (https://obsidian.md)",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
|
|
@ -13,12 +13,12 @@
|
|||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"@types/node": "^16.11.6",
|
||||
"@typescript-eslint/eslint-plugin": "5.29.0",
|
||||
"@typescript-eslint/parser": "5.29.0",
|
||||
"@typescript-eslint/eslint-plugin": "5.59.9",
|
||||
"@typescript-eslint/parser": "5.59.9",
|
||||
"builtin-modules": "3.3.0",
|
||||
"esbuild": "0.14.47",
|
||||
"esbuild": "0.17.19",
|
||||
"obsidian": "latest",
|
||||
"tslib": "2.4.0",
|
||||
"typescript": "4.7.4"
|
||||
"tslib": "2.5.3",
|
||||
"typescript": "5.1.3"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ function appendLine(content: string, destination: string): string {
|
|||
|
||||
function generateTags(type: "feature" | "bug" | "chore"){
|
||||
|
||||
return newLine("") + newLine("---") + newLine("tags") + newLine(" - pivotal-tracker") + newLine(" - " + type) +newLine("---")
|
||||
return newLine("") + newLine("") + newLine("tags") + newLine("- #pivotal-tracker") + newLine("- #" + type) +newLine("")
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -4,5 +4,6 @@
|
|||
"1.0.2": "0.15.0",
|
||||
"1.0.3": "0.15.0",
|
||||
"1.0.4": "0.15.0",
|
||||
"1.0.5": "0.15.0"
|
||||
"1.0.5": "0.15.0",
|
||||
"1.0.6": "0.15.0"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue