@contrail/flexplm 1.7.4-alpha.13923d0 → 1.7.4-alpha.368c8b1

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.
@@ -79,7 +79,7 @@ class ConfigCreateCommand {
79
79
  }
80
80
  fs.writeFileSync(outPath, rendered, 'utf8');
81
81
  console.log(`Created ${outPath}`);
82
- console.log('Only "orgName" and "appIdentifier" are required. See the "_availableAttributes" block in the file for other attributes this org can set (apiHost, identifierAtts, LCSMaterial, etc.) — add the ones you need as real top-level keys, then delete "_availableAttributes"; the connector ignores it and applies defaults at runtime for anything you omit.');
82
+ console.log('"orgName" and "appIdentifier" are pre-filled, but this file is not complete yet: FlexPLM connectivity also requires apiHost, userName, and password. See the "_availableAttributes" block in the file for these and other attributes this org can set (identifierAtts, LCSMaterial, etc.) — add the ones you need as real top-level keys, then delete "_availableAttributes"; the connector ignores it and applies defaults at runtime for anything you omit.');
83
83
  }
84
84
  }
85
85
  exports.ConfigCreateCommand = ConfigCreateCommand;
@@ -30,6 +30,10 @@ describe('ConfigUploadCommand.parseArgs', () => {
30
30
  const opts = config_upload_1.ConfigUploadCommand.parseArgs(['config.json', '--skip-git']);
31
31
  expect(opts.skipGit).toBe(true);
32
32
  });
33
+ it('accepts the legacy --skipGit alias', () => {
34
+ const opts = config_upload_1.ConfigUploadCommand.parseArgs(['config.json', '--skipGit']);
35
+ expect(opts.skipGit).toBe(true);
36
+ });
33
37
  it('parses --update-config flag', () => {
34
38
  const opts = config_upload_1.ConfigUploadCommand.parseArgs(['config.json', '--update-config']);
35
39
  expect(opts.updateConfig).toBe(true);
@@ -11,7 +11,7 @@
11
11
  "itemPreDevelopmentLifecycleStages": "Item lifecycle stages during which items are not synced to FlexPLM. Default: ['concept']",
12
12
  "logLevel": "Possible values: error/warn/info/debug. Default: info",
13
13
  "identifierAtts": "Deprecated. Map of FlexPLM object class to identifier attribute name(s), e.g. { \"LCSProduct\": [\"itemNumber\"] }",
14
- "plmEnviornment": "Sent as the PLM_ENV header on every FlexPLM request. Only used by 1 customer",
14
+ "plmEnviornment": "Sent as the PLM_ENV header on every FlexPLM request. Only used by 1 customer. NOTE: this key is intentionally spelled \"plmEnviornment\" (matching the connector's actual config key) — do not \"fix\" the spelling to \"plmEnvironment\", it will silently stop working",
15
15
  "propertyMapping": "Deprecated. Reserved for custom property-mapping overrides",
16
16
  "complexConfig": "Object of additional attributes (see below) merged onto the top level of the config, then deleted; __proto__/constructor/prototype keys are stripped for safety. e.g. { \"complexConfig\": { \"csrfEndpoint\": \"...\" } }",
17
17
  "csrfEndpoint (in complexConfig)": "CSRF token endpoint path. Default: '/servlet/rest/security/csrf'",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contrail/flexplm",
3
- "version": "1.7.4-alpha.13923d0",
3
+ "version": "1.7.4-alpha.368c8b1",
4
4
  "description": "Library used for integration with flexplm.",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",