From ff9d703a3186fb9a08cc346eed4176334a0fa829 Mon Sep 17 00:00:00 2001 From: uiolee <22849383+uiolee@users.noreply.github.com> Date: Tue, 8 Oct 2024 22:36:28 +0800 Subject: [PATCH 1/2] Add simple-mind-map w/ npm auto-update Resolves https://github.com/cdnjs/packages/issues/1877 --- packages/s/simple-mind-map.json | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 packages/s/simple-mind-map.json diff --git a/packages/s/simple-mind-map.json b/packages/s/simple-mind-map.json new file mode 100644 index 000000000..670875be3 --- /dev/null +++ b/packages/s/simple-mind-map.json @@ -0,0 +1,30 @@ +{ + "name": "simple-mind-map", + "description": "一个简单的web在线思维导图", + "keywords": ["phylogenetics", "phylogeny", "d3", "branching", "tree"], + "license": "MIT", + "homepage": "https://github.com/wanglin2/mind-map", + "repository": { + "type": "git", + "url": "https://github.com/wanglin2/mind-map.git" + }, + "authors": [ + { + "name": "街角小林" + }, + { + "name": "理想青年实验室" + } + ], + "autoupdate": { + "source": "npm", + "target": "simple-mind-map", + "fileMap": [ + { + "basePath": "simple-mind-map", + "files": ["*.js", "*.css"] + } + ] + }, + "filename": "simpleMindMap.esm.min.js" +} From 327cece76c97796606040421128b4f589a55ea0b Mon Sep 17 00:00:00 2001 From: uiolee <22849383+uiolee@users.noreply.github.com> Date: Tue, 8 Oct 2024 22:48:50 +0800 Subject: [PATCH 2/2] fix error --- packages/s/simple-mind-map.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/s/simple-mind-map.json b/packages/s/simple-mind-map.json index 670875be3..d65e55071 100644 --- a/packages/s/simple-mind-map.json +++ b/packages/s/simple-mind-map.json @@ -21,7 +21,7 @@ "target": "simple-mind-map", "fileMap": [ { - "basePath": "simple-mind-map", + "basePath": "dist", "files": ["*.js", "*.css"] } ]