Browse Source

[Explore-Services]: Remove clean library. Add gitignore. Add gitmodules

master
kostis30fyllou 6 months ago
parent
commit
958e0594b6
  1. 5
      .gitignore
  2. 6
      .gitmodules
  3. 9
      explore/clean-library.sh
  4. 1
      explore/package.json
  5. 1
      explore/src/app/openaireLibrary
  6. 1
      explore/src/assets/common-assets

5
.gitignore

@ -0,0 +1,5 @@
.idea
**/node_modules
**/package-lock.json
**/.idea
**/dist

6
.gitmodules

@ -0,0 +1,6 @@
[submodule "explore/src/app/openaireLibrary"]
path = explore/src/app/openaireLibrary
url = gitea@code-repo.d4science.org:MaDgIK/openaire-library.git
[submodule "explore/src/assets/common-assets"]
path = explore/src/assets/common-assets
url = gitea@code-repo.d4science.org:MaDgIK/openaire-assets.git

9
explore/clean-library.sh

@ -1,9 +0,0 @@
cd src/app/openaireLibrary
# Exclude Dashboard files
echo "Exclude Dashboard files"
svn update --set-depth exclude ./dashboard
# Exclude ck-editor usages
echo "Exclude ck-editor usages"
svn update --set-depth exclude ./sharedComponents/subscriber-invite
cd ../../../
echo "Done"

1
explore/package.json

@ -19,7 +19,6 @@
"build:ssr-beta": "npm run build-beta && ng run explore:server:beta",
"build:ssr-prod": "npm run build-prod && ng run explore:server:production",
"prerender": "ng run explore:prerender",
"postinstall": "chmod +x clean-library.sh && ./clean-library.sh",
"after-build-clean": "rm -rf dist/explore/browser/assets/common-assets/.svn/ src/app/openaireLibrary/.svn node_modules src/assets/common-assets/.svn/"
},
"private": true,

1
explore/src/app/openaireLibrary

@ -0,0 +1 @@
Subproject commit 6db2ef23e58300a00fc957e6221b30f1cc1a8f1f

1
explore/src/assets/common-assets

@ -0,0 +1 @@
Subproject commit 2f572df5783cb32cc84969b75939e45ffce3b424
Loading…
Cancel
Save