mirror of
https://github.com/appy-one/acebase-server.git
synced 2026-05-24 22:01:28 -06:00
[PR #67] [MERGED] Fix: meta info issue #65
Labels
No labels
bug
enhancement
feature request
pull-request
types
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/acebase-server#65
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/appy-one/acebase-server/pull/67
Author: @appy-one
Created: 1/2/2023
Status: ✅ Merged
Merged: 1/2/2023
Merged by: @appy-one
Base:
master← Head:fix/meta-info-issue-66📝 Commits (2)
36ab287Set server version at build time, fixes #66b4b6cb8only run vars script on prepack event📊 Changes
3 files changed (+15 additions, -5 deletions)
View changed files
➕
build-vars.js(+11 -0)📝
package.json(+2 -1)📝
src/routes/meta-info.ts(+2 -4)📄 Description
Fixes #66 by running a script in npm's prepack event hook that replaces the
%SERVER_VERSION%variable with theversioninpackage.json. This eliminates the need toimportorrequirefrompackage.jsonin themeta-infoendpoint at runtime.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.