File tree 2 files changed +7
-8
lines changed
2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ import zip from 'gulp-zip'
8
8
import rename from 'gulp-rename'
9
9
import del from 'delete'
10
10
11
- import * as pkg from './package.json' with { type : 'json' }
12
- const { app, version, license } = pkg . default
11
+ import pkg from './package.json' with { type : 'json' }
12
+ const { app, version, license } = pkg
13
13
const replacements = [ app , { version, license } ]
14
14
15
15
const packageUri = app . namespace
Original file line number Diff line number Diff line change @@ -5,12 +5,11 @@ import { join, basename } from 'node:path'
5
5
import axios from 'axios'
6
6
import { connect } from '@existdb/node-exist'
7
7
8
- import * as existJson from '../.existdb.json' with { type : 'json' }
8
+ import existJson from '../.existdb.json' with { type : 'json' }
9
+ const { user, password, server } = existJson . servers . localhost
9
10
10
- const { user, password, server } = existJson . default . servers . localhost
11
-
12
- import * as pkg from '../package.json' with { type : 'json' }
13
- const appNamespace = pkg . default . app . namespace
11
+ import pkg from '../package.json' with { type : 'json' }
12
+ const { namespace } = pkg . app
14
13
15
14
// for use in custom controller tests
16
15
const adminCredentials = { username : user , password }
@@ -83,7 +82,7 @@ async function install () {
83
82
}
84
83
85
84
async function remove ( ) {
86
- await db . app . remove ( appNamespace )
85
+ await db . app . remove ( namespace )
87
86
88
87
const result = await Promise . allSettled ( [
89
88
db . collections . remove ( '/db/tuttle-backup' ) ,
You can’t perform that action at this time.
0 commit comments