mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-10 03:00:54 +00:00
change gulp task name updatePluginVersion -> updatePluginVersions #2609
This commit is contained in:
parent
257bd4544a
commit
2154423809
@ -1 +1,5 @@
|
||||
export { createCoreDistArchive, updateUnpkgLinks, updatePluginVersion } from "@jspsych/config/gulp";
|
||||
export {
|
||||
createCoreDistArchive,
|
||||
updateUnpkgLinks,
|
||||
updatePluginVersions,
|
||||
} from "@jspsych/config/gulp";
|
||||
|
@ -10,7 +10,7 @@
|
||||
"build": "turbo run build",
|
||||
"build:archive": "gulp createCoreDistArchive",
|
||||
"update-unpkg-links": "gulp updateUnpkgLinks",
|
||||
"update-plugin-version": "gulp updatePluginVersion",
|
||||
"update-plugin-version": "gulp updatePluginVersions",
|
||||
"prepare": "node -e 'process.exit(!process.env.CI)' || (husky install && npm run build)",
|
||||
"tsc": "turbo tsc",
|
||||
"changeset": "changeset",
|
||||
|
@ -134,7 +134,7 @@ export const updateUnpkgLinks = () => {
|
||||
* Only considers `.md` files in `docs/plugins` folder.
|
||||
* Gets the package name from the docs page title (i.e. following "# "), ignoring the string " plugin" in the title.
|
||||
*/
|
||||
export const updatePluginVersion = () => {
|
||||
export const updatePluginVersions = () => {
|
||||
const packageVersions = new Map(getAllPackages().map(({ name, version }) => [name, version]));
|
||||
|
||||
return src(["././docs/plugins/*.md"])
|
||||
|
Loading…
Reference in New Issue
Block a user