diff --git a/scripts/release b/scripts/release index 9399c99..2393ade 100755 --- a/scripts/release +++ b/scripts/release @@ -23,15 +23,16 @@ function gitCheckoutMainOf { git pull } function npmInstallUpdateOf { - echo Install $1 + echo update dependencies $1 nvm use --delete-prefix rm -rf node_modules rm package-lock.json npx npm-check-updates -u # npm install --save-dev eslint@7 # eslint@8 do not works with node.j < 16 - npm install } function testBuildPushTagOn { + echo install $1 + npm install echo Test, Build and Create tag of $1 npm test npm run build @@ -67,9 +68,17 @@ updateRepo solid-logic # solid-logic (rdflib, solid-namespace) updateRepo pane-registry # pane-registry (solid-logic, rdflib) -updateRepo solid-ui # solid-ui (pane-registry, solid-logic, rdflib, solid-auth-client, solid-namespace) +gitCheckoutMainOf solid-ui # solid-ui (pane-registry, solid-logic, rdflib, solid-auth-client, solid-namespace) +npmInstallUpdateOf solid-ui +npm install --save-dev @testing-library/user-event@13 +npm install --save react@17 react-dom@17 react-is@17 # for storybook@6.4.19 +testBuildPushTagOn solid-ui + +gitCheckoutMainOf activitystreams-pane # activity-streams (solid-ui, pane-registry, solid-logic, rdflib) +npmInstallUpdateOf activitystreams-pane +npm install --save react@17 react-dom@17 # for storybook@6.4.19 +testBuildPushTagOn activitystreams-pane -updateRepo activitystreams-pane # activity-streams (solid-ui, pane-registry, solid-logic, rdflib) updateRepo chat-pane # chat-pane (solid-ui, solid-logic, rdflib) updateRepo folder-pane # folder-pane (solid-ui, solid-logic) updateRepo issue-pane # issue-pane (solid-ui, pane-registry, rdflib)