@intelligentgraphics/ig.gfx.packager 2.1.4 → 2.2.0

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/locales/en.json CHANGED
@@ -9,15 +9,16 @@
9
9
  "options.domain.description": "Overwrite the publish domain",
10
10
  "options.subdomain.description": "Overwrite the publish subdomain",
11
11
  "options.address.description": "Address",
12
- "options.service.description": "Bridge server url",
13
- "options.service.demands": "The bridge server url has to either be provided using the option --service or through the \"%s\" environment variable",
12
+ "options.service.description": "Asset server url",
13
+ "options.service.demands": "The asset server url has to either be provided using the option --service or through the \"%s\" environment variable",
14
14
  "options.user.description": "User",
15
- "options.user.demands": "The bridge username has to either be provided using the option --user or through the \"%s\" environment variable",
15
+ "options.user.demands": "The username has to either be provided using the option --user or through the \"%s\" environment variable",
16
16
  "options.password.description": "Password",
17
- "options.password.demands": "The bridge user password has to either be provided using the option --password or through the \"%s\" environment variable",
17
+ "options.password.demands": "The user password has to either be provided using the option --password or through the \"%s\" environment variable",
18
18
  "options.pushOnly.description": "Try to upload an existing zip file without building and validating the version number",
19
19
  "options.noValidate.description": "Skip validation of wether newVersion is higher than the current version for releases",
20
20
  "options.docs.description": "Generates typedoc",
21
+ "options.license.description": "Path to a license file",
21
22
  "messages.buildSkipEmpty": "No build targets found. Please check wether a folder with the provided name exists and wether it has _Package.json.",
22
23
  "messages.releaseSkipEmpty": "No release targets found. Please check wether a folder with the provided name exists and wether it has _Package.json.",
23
24
  "messages.building": "Creating javascript files",
package/package.json CHANGED
@@ -1,12 +1,16 @@
1
1
  {
2
2
  "name": "@intelligentgraphics/ig.gfx.packager",
3
- "version": "2.1.4",
4
- "description": "IG.GFX.Packager 2.1.4 (2.1.4.100)",
3
+ "version": "2.2.0",
4
+ "description": "IG.GFX.Packager 2.2.0 (2.2.0.100)",
5
+ "author": "Michael Beier <mb@intelligentgraphics.biz>",
5
6
  "main": "build/index.js",
6
7
  "private": false,
7
8
  "publishConfig": {
8
9
  "access": "public"
9
10
  },
11
+ "engines": {
12
+ "node": ">=14.0.0"
13
+ },
10
14
  "bin": {
11
15
  "packager": "./build/index.js"
12
16
  },
@@ -22,7 +26,6 @@
22
26
  "test": "jest",
23
27
  "_postinstall": "node scripts/postinstall.js"
24
28
  },
25
- "author": "Michael Beier <mb@intelligentgraphics.biz>",
26
29
  "dependencies": {
27
30
  "ajv": "^8.6.2",
28
31
  "axios": "^0.21.1",
@@ -42,12 +45,11 @@
42
45
  "yargs": "^17.0.1"
43
46
  },
44
47
  "devDependencies": {
45
- "@babel/plugin-proposal-class-properties": "^7.14.5",
46
- "@babel/plugin-proposal-object-rest-spread": "^7.14.7",
47
- "@babel/preset-env": "^7.14.9",
48
+ "@babel/plugin-proposal-class-properties": "^7.18.6",
49
+ "@babel/plugin-proposal-object-rest-spread": "^7.18.9",
50
+ "@babel/preset-env": "^7.18.9",
48
51
  "@intelligentgraphics/ig.tools.core": "^1.5.1",
49
52
  "@intelligentgraphics/ig.utilities": "^1.6.6",
50
- "@types/archiver": "^5.1.1",
51
53
  "@types/fs-extra": "^9.0.12",
52
54
  "@types/glob": "^7.1.4",
53
55
  "@types/node": "^16.4.11",
@@ -55,29 +57,9 @@
55
57
  "@types/update-notifier": "^5.1.0",
56
58
  "@types/yargs": "^17.0.2",
57
59
  "babel-loader": "^8.1.0",
58
- "jest": "^28.1.1",
59
- "ts-jest": "^28.0.5",
60
60
  "ts-loader": "^9.2.5",
61
61
  "ts-node": "^10.1.0",
62
62
  "webpack": "^5.64.4",
63
63
  "webpack-cli": "^4.7.2"
64
- },
65
- "jest": {
66
- "transform": {
67
- "\\.tsx?$": "ts-jest"
68
- },
69
- "testRegex": "(.*\\.(test))\\.(ts|tsx)$",
70
- "moduleFileExtensions": [
71
- "ts",
72
- "tsx",
73
- "js",
74
- "json"
75
- ],
76
- "moduleNameMapper": {
77
- "^~/(.*)": "<rootDir>/src/$1"
78
- },
79
- "testEnvironmentOptions": {
80
- "url": "http://localhost/"
81
- }
82
64
  }
83
65
  }
package/readme.md CHANGED
@@ -2,14 +2,14 @@
2
2
 
3
3
  ## Requirements
4
4
 
5
- node.js (https://nodejs.org/en/download/) >= 10
5
+ node.js (https://nodejs.org/en/download/) >= 14
6
6
 
7
7
  ## Installation
8
8
 
9
9
  1\. Install this package as a dev dependency
10
10
 
11
11
  ```sh
12
- npm i --save-dev @intelligentgraphics/ig.gfx.packager@latest
12
+ npm install --save-dev @intelligentgraphics/ig.gfx.packager@latest
13
13
  ```
14
14
 
15
15
  2\. Add a build and a release command to the package.json
@@ -59,6 +59,10 @@ npm i --save-dev @intelligentgraphics/ig.gfx.packager@latest
59
59
  }
60
60
  ```
61
61
 
62
+ ## Update
63
+
64
+ You can update the installed package by running `npm install --save-dev @intelligentgraphics/ig.gfx.packager@latest` again.
65
+
62
66
  ## Environment configuration
63
67
 
64
68
  This program requires the following environment variables to be set:
@@ -67,11 +71,17 @@ This program requires the following environment variables to be set:
67
71
 
68
72
  The service to which packages should be uploaded to.
69
73
 
70
- ### IG_GFX_USER
74
+ ### Authentication
75
+
76
+ To use the new license file based authentication, the path to the license file needs to be provided in the `IG_GFX_LICENSE` environment variable. You can download your license file from the creator login page.
77
+
78
+ Alternatively the legacy username and password based authentication can be configured through the following environment variables:
79
+
80
+ **IG_GFX_USER**
71
81
 
72
82
  The identifier of the user that will login at the IG_GFX_ASSET_SERVICE.
73
83
 
74
- ### IG_GFX_PWD
84
+ **IG_GFX_PWD**
75
85
 
76
86
  The password for the user.
77
87
 
@@ -236,6 +246,11 @@ The path specified after the media:// schema will be resolved within a directory
236
246
 
237
247
  ## History
238
248
 
249
+ **IG.GFX.Packager 2.2.0**
250
+
251
+ - add support for license files
252
+ - improve error message when encountering invalid syntax in an animation json file
253
+
239
254
  **IG.GFX.Packager 2.1.4**
240
255
 
241
256
  - support referencing assets from jsdoc for typedoc generation