Browse Source

Add service API package support

dev
David Ludwig 4 years ago
parent
commit
6ef5248792
3 changed files with 3 additions and 2 deletions
  1. +1
    -1
      docker/scripts/export_builds.sh
  2. +1
    -1
      docker/scripts/export_deps.sh
  3. +1
    -0
      lerna.json

+ 1
- 1
docker/scripts/export_builds.sh View File

@ -4,6 +4,6 @@
mkdir -p build
# Locate services/packages and grab only the built files (excluding types if any)
for file in $(find . -regex '\./\(packages/[^/]+/dist/lib\|services/[^/]+/dist\)'); do
for file in $(find . -regex '\./\(\(api\|packages\)/[^/]+/dist/lib\|services/[^/]+/dist\)'); do
cp --parents -R $file build;
done

+ 1
- 1
docker/scripts/export_deps.sh View File

@ -4,6 +4,6 @@
mkdir -p build
# Locate services/packages and grab only the dependencies + package.json
for file in $(find . -regex '\./\(services\|packages\)/[^/]+/\(package.json\|node_modules\)'); do
for file in $(find . -regex '\./\(api\|services\|packages\)/[^/]+/\(package.json\|node_modules\)'); do
cp --parents -R $file build;
done

+ 1
- 0
lerna.json View File

@ -1,5 +1,6 @@
{
"packages": [
"api/*",
"packages/*",
"services/*"
],


Loading…
Cancel
Save