@sera4/essentia 3.0.11 → 3.0.13-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cache/index.d.ts +22 -0
- package/dist/cache/index.js +166 -0
- package/dist/cache/index.js.map +1 -0
- package/dist/constants/index.d.ts +6 -0
- package/dist/constants/index.js +9 -0
- package/dist/constants/index.js.map +1 -0
- package/dist/formatter/index.d.ts +37 -0
- package/dist/formatter/index.js +75 -0
- package/dist/formatter/index.js.map +1 -0
- package/dist/hal/index.d.ts +5 -0
- package/dist/hal/index.js +69 -0
- package/dist/hal/index.js.map +1 -0
- package/dist/health/health-logger.d.ts +9 -0
- package/dist/health/health-logger.js +34 -0
- package/dist/health/health-logger.js.map +1 -0
- package/dist/health/index.d.ts +19 -0
- package/dist/health/index.js +175 -0
- package/dist/health/index.js.map +1 -0
- package/dist/helpers/index.d.ts +1 -0
- package/dist/helpers/index.js +2 -0
- package/dist/helpers/index.js.map +1 -0
- package/dist/helpers/test-server-wrapper.d.ts +120 -0
- package/dist/helpers/test-server-wrapper.js +165 -0
- package/dist/helpers/test-server-wrapper.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +17 -0
- package/dist/index.js.map +1 -0
- package/dist/last-commit.d.ts +1 -0
- package/dist/last-commit.js.map +1 -0
- package/dist/last_commit/index.d.ts +7 -0
- package/dist/last_commit/index.js +83 -0
- package/dist/last_commit/index.js.map +1 -0
- package/dist/paginator/s4-pagination.d.ts +9 -0
- package/dist/paginator/s4-pagination.js +49 -0
- package/dist/paginator/s4-pagination.js.map +1 -0
- package/dist/paginator/sql-pagination.d.ts +27 -0
- package/dist/paginator/sql-pagination.js +166 -0
- package/dist/paginator/sql-pagination.js.map +1 -0
- package/dist/paper-trail/helpers.d.ts +11 -0
- package/dist/paper-trail/helpers.js +74 -0
- package/dist/paper-trail/helpers.js.map +1 -0
- package/dist/paper-trail/index.d.ts +13 -0
- package/dist/paper-trail/index.js +662 -0
- package/dist/paper-trail/index.js.map +1 -0
- package/dist/prompts/index.d.ts +14 -0
- package/dist/prompts/index.js +63 -0
- package/dist/prompts/index.js.map +1 -0
- package/dist/queue/index.d.ts +166 -0
- package/dist/queue/index.js +371 -0
- package/dist/queue/index.js.map +1 -0
- package/dist/queue/publisher.d.ts +31 -0
- package/dist/queue/publisher.js +84 -0
- package/dist/queue/publisher.js.map +1 -0
- package/dist/queue/queue-logger.d.ts +9 -0
- package/dist/queue/queue-logger.js +35 -0
- package/dist/queue/queue-logger.js.map +1 -0
- package/dist/queue/subscriber.d.ts +39 -0
- package/dist/queue/subscriber.js +97 -0
- package/dist/queue/subscriber.js.map +1 -0
- package/dist/safe_proxy/index.d.ts +13 -0
- package/dist/safe_proxy/index.js +54 -0
- package/dist/safe_proxy/index.js.map +1 -0
- package/dist/serializer/index.d.ts +5 -0
- package/dist/serializer/index.js +83 -0
- package/dist/serializer/index.js.map +1 -0
- package/dist/ts/logger/s4-logger.js +2 -0
- package/dist/ts/logger/s4-logger.js.map +1 -1
- package/dist/ts/queue/index.js +54 -65
- package/dist/ts/queue/index.js.map +1 -1
- package/dist/ts/task-scheduler/index.d.ts +130 -0
- package/dist/ts/task-scheduler/index.js +259 -0
- package/dist/ts/task-scheduler/index.js.map +1 -0
- package/package.json +9 -3
- package/scripts/publish.sh +46 -0
- package/package.tar.gz +0 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
set -euo pipefail
|
|
3
|
+
|
|
4
|
+
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
|
5
|
+
cd "$ROOT"
|
|
6
|
+
|
|
7
|
+
# ── Version resolution ────────────────────────────────────────────────────────
|
|
8
|
+
VERSION="${BUILD_VERSION:-}"
|
|
9
|
+
|
|
10
|
+
if [ -z "$VERSION" ]; then
|
|
11
|
+
VERSION=$(node -p "require('./package.json').version")
|
|
12
|
+
fi
|
|
13
|
+
|
|
14
|
+
if [ -z "$VERSION" ] || [ "$VERSION" = "0.0.0" ]; then
|
|
15
|
+
echo "error: no version specified — set BUILD_VERSION or package.json version" >&2
|
|
16
|
+
exit 1
|
|
17
|
+
fi
|
|
18
|
+
|
|
19
|
+
PACKAGE=$(node -p "require('./package.json').name")
|
|
20
|
+
echo "publishing $PACKAGE@$VERSION"
|
|
21
|
+
|
|
22
|
+
# ── Stamp version, restore on exit ───────────────────────────────────────────
|
|
23
|
+
ORIGINAL_VERSION=$(node -p "require('./package.json').version")
|
|
24
|
+
restore_version() {
|
|
25
|
+
npm pkg set version="$ORIGINAL_VERSION" --silent
|
|
26
|
+
}
|
|
27
|
+
trap restore_version EXIT
|
|
28
|
+
|
|
29
|
+
npm pkg set version="$VERSION" --silent
|
|
30
|
+
|
|
31
|
+
# ── Build ─────────────────────────────────────────────────────────────────────
|
|
32
|
+
echo "building..."
|
|
33
|
+
npm run build
|
|
34
|
+
|
|
35
|
+
# ── Dist-tag: prerelease versions get 'next', stable versions get 'latest' ───
|
|
36
|
+
if [[ "$VERSION" =~ -[a-zA-Z] ]]; then
|
|
37
|
+
DIST_TAG="next"
|
|
38
|
+
else
|
|
39
|
+
DIST_TAG="latest"
|
|
40
|
+
fi
|
|
41
|
+
|
|
42
|
+
# ── Publish ───────────────────────────────────────────────────────────────────
|
|
43
|
+
echo "publishing with tag: $DIST_TAG"
|
|
44
|
+
npm publish --access public --tag "$DIST_TAG"
|
|
45
|
+
|
|
46
|
+
echo "done: $PACKAGE@$VERSION"
|
package/package.tar.gz
DELETED
|
Binary file
|