mirror of
https://github.com/immich-app/immich
synced 2026-08-15 13:03:57 +00:00
parent
a5e8b451b2
commit
e7aa50425c
9 changed files with 45 additions and 16 deletions
|
|
@ -24,7 +24,8 @@ function typescript {
|
|||
npm --prefix typescript-sdk ci && npm --prefix typescript-sdk run build
|
||||
}
|
||||
|
||||
node ./bin/sync-spec-version.js
|
||||
# requires server to be built
|
||||
npm run sync:open-api --prefix=../server
|
||||
|
||||
if [[ $1 == 'dart' ]]; then
|
||||
dart
|
||||
|
|
|
|||
|
|
@ -1,9 +0,0 @@
|
|||
const spec = require('../immich-openapi-specs.json');
|
||||
const pkg = require('../../server/package.json');
|
||||
const path = require('path');
|
||||
const fs = require('fs');
|
||||
spec.info.version = pkg.version;
|
||||
fs.writeFileSync(
|
||||
path.join(__dirname, '../immich-openapi-specs.json'),
|
||||
JSON.stringify(spec, null, 2)
|
||||
);
|
||||
Loading…
Add table
Add a link
Reference in a new issue