Skip to content

Commit 00c883d

Browse files
committed
Merge branch '6.5.1-beta' of https://github.com/ngageoint/mage-server into 6.5.1-beta
2 parents d73fc0c + 6c13e9f commit 00c883d

File tree

7 files changed

+34
-34
lines changed

7 files changed

+34
-34
lines changed

docker/server/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ LABEL author="NGA"
66
ARG SERVER_VERSION=6.5.1-beta.2
77
ARG ARC_VERSION=NONE
88
ARG SFTP_VERSION=NONE
9+
ARG MSI_VERSION=NONE
910

1011
USER root
1112

@@ -24,6 +25,7 @@ RUN ls -l \
2425
&& npm i --omit dev @ngageoint/mage.web-app@${SERVER_VERSION} \
2526
&& if [ "$ARC_VERSION" != "NONE" ]; then npm i --omit dev @ngageoint/mage.arcgis.service@${ARC_VERSION} @ngageoint/mage.arcgis.web-app@${ARC_VERSION}; fi\
2627
&& if [ "$SFTP_VERSION" != "NONE" ]; then npm i --omit dev @ngageoint/mage.sftp.service@${SFTP_VERSION} @ngageoint/mage.sftp.web@${SFTP_VERSION}; fi \
28+
&& if [ "$MSI_VERSION" != "NONE" ]; then npm i --omit dev @ngageoint/mage.nga-msi@${MSI_VERSION}; fi \
2729
&& ln -s ./node_modules/.bin/mage.service
2830

2931
VOLUME /var/lib/mage
@@ -32,5 +34,6 @@ EXPOSE 4242
3234
ENTRYPOINT [ "./mage.service", \
3335
"--plugin", "@ngageoint/mage.arcgis.service", \
3436
"--plugin", "@ngageoint/mage.sftp.service", \
37+
"--plugin", "@ngageoint/mage.nga-msi", \
3538
"--web-plugin", "@ngageoint/mage.arcgis.web-app", \
3639
"--web-plugin", "@ngageoint/mage.sftp.web"]

instance/config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ module.exports = {
3636
plugins: {
3737
servicePlugins: [
3838
'@ngageoint/mage.arcgis.service',
39-
'@ngageoint/mage.sftp.service'
39+
'@ngageoint/mage.sftp.service',
40+
'@ngageoint/mage.nga-msi'
4041
],
4142
webUIPlugins: [
4243
'@ngageoint/mage.arcgis.web-app',

instance/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"@ngageoint/mage.arcgis.web-app": "../plugins/arcgis/web-app/dist/main",
2929
"@ngageoint/mage.sftp.web": "../plugins/sftp/web/dist/main",
3030
"@ngageoint/mage.sftp.service": "../plugins/sftp/service",
31+
"@ngageoint/mage.nga-msi": "../plugins/nga-msi",
3132
"@ngageoint/mage.service": "../service",
3233
"@ngageoint/mage.web-app": "../web-app/dist"
3334
}

package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
"version": "6.5.1-beta.2",
66
"files": [],
77
"scripts": {
8-
"postinstall": "npm-run-all service:ci web-app:ci arcgis:ci sftp:ci",
8+
"postinstall": "npm-run-all service:ci web-app:ci arcgis:ci sftp:ci nga-msi:ci",
99
"install:resolve": "npm-run-all service:install web-app:install",
1010
"build": "npm-run-all service:build web-app:build instance:build",
11-
"build-all": "npm-run-all build arcgis:build sftp:build",
11+
"build-all": "npm-run-all build arcgis:build sftp:build nga-msi:build",
1212
"pack-all": "npm-run-all service:pack web-app:pack image.service:pack nga-msi:pack",
1313
"service:install": "npm install --prefix service",
1414
"service:ci": "npm ci --prefix service",
@@ -39,8 +39,7 @@
3939
"image.service:ci": "npm ci --prefix plugins/image/service",
4040
"image.service:build": "npm run build --prefix plugins/image/service",
4141
"image.service:pack": "npm pack ./plugins/image/service",
42-
"nga-msi:install": "npm install --prefix plugins/nga-msi",
43-
"nga-msi:ci": "npm ci --prefix plugins/nga-msi",
42+
"nga-msi:ci": "cd plugins/nga-msi && npm ci && npm link ../../service",
4443
"nga-msi:build": "npm run build --prefix plugins/nga-msi",
4544
"nga-msi:pack": "npm pack ./plugins/nga-msi",
4645
"start": "npm run instance:start",

plugins/nga-msi/package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugins/nga-msi/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ngageoint/mage.nga-msi",
3-
"version": "1.0.5",
3+
"version": "1.0.6",
44
"description": "The NGA-MSI package is a Mage server plugin that provides feeds from National Geospatial-Intelligence Agency's Maritime Safety Information API.",
55
"main": "lib/index.js",
66
"files": [
@@ -49,6 +49,6 @@
4949
"typescript": "5.8.2"
5050
},
5151
"peerDependencies": {
52-
"@ngageoint/mage.service": "6.3.0-beta.7"
52+
"@ngageoint/mage.service": ">=6.3.0 || 6.5.0-beta.1"
5353
}
5454
}

plugins/nga-msi/tsconfig.json

Lines changed: 17 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
{
2-
"include": [
3-
],
4-
"exclude": [
5-
],
6-
"references": [
7-
],
2+
"include": [],
3+
"exclude": [],
4+
"references": [],
85
"compilerOptions": {
96
/* Basic Options */
10-
"target": "ES2016", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */
11-
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
12-
"lib": [ "ES2016" ], /* Specify library files to be included in the compilation. */
13-
"allowJs": true, /* Allow javascript files to be compiled. */
7+
"target": "ES2016", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */
8+
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
9+
"lib": [
10+
"ES2016",
11+
"DOM"
12+
], /* Specify library files to be included in the compilation. */
13+
"allowJs": true, /* Allow javascript files to be compiled. */
1414
// "checkJs": true, /* Report errors in .js files. */
1515
// "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */
16-
"declaration": true, /* Generates corresponding '.d.ts' file. */
17-
"declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
18-
"sourceMap": true, /* Generates corresponding '.map' file. */
16+
"declaration": true, /* Generates corresponding '.d.ts' file. */
17+
"declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
18+
"sourceMap": true, /* Generates corresponding '.map' file. */
1919
// "outFile": "./", /* Concatenate and emit output to single file. */
2020
// "outDir": "./lib", /* Redirect output structure to the directory. */
2121
// "rootDir": ".", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
@@ -26,40 +26,36 @@
2626
// "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */
2727
// "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */
2828
/* Strict Type-Checking Options */
29-
"strict": true, /* Enable all strict type-checking options. */
29+
"strict": true, /* Enable all strict type-checking options. */
3030
// "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */
3131
// "strictNullChecks": true, /* Enable strict null checks. */
3232
// "strictFunctionTypes": true, /* Enable strict checking of function types. */
3333
// "strictBindCallApply": true, /* Enable strict 'bind', 'call', and 'apply' methods on functions. */
3434
// "strictPropertyInitialization": true, /* Enable strict checking of property initialization in classes. */
3535
// "noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */
3636
// "alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */
37-
3837
/* Additional Checks */
3938
// "noUnusedLocals": true, /* Report errors on unused locals. */
4039
// "noUnusedParameters": true, /* Report errors on unused parameters. */
4140
// "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
4241
// "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
43-
4442
/* Module Resolution Options */
45-
"moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */
43+
"moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */
4644
// "baseUrl": "./", /* Base directory to resolve non-absolute module names. */
4745
// "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
4846
// "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */
4947
// "typeRoots": [], /* List of folders to include type definitions from. */
5048
// "types": [], /* Type declaration files to be included in compilation. */
5149
// "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
52-
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
50+
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
5351
// "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
54-
5552
/* Source Map Options */
5653
// "sourceRoot": "", /* Specify the location where debugger should locate TypeScript files instead of source locations. */
5754
// "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */
5855
// "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */
5956
// "inlineSources": true, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */
60-
6157
/* Experimental Options */
6258
// "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */
6359
// "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */
6460
}
65-
}
61+
}

0 commit comments

Comments
 (0)