genomic 5.3.10 → 5.4.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/esm/licenses.js CHANGED
@@ -3,6 +3,7 @@ import * as path from 'path';
3
3
  const PLACEHOLDER_PATTERN = /{{(\w+)}}/g;
4
4
  let cachedTemplates = null;
5
5
  export const DEFAULT_LICENSE = 'MIT';
6
+ export const CONSTRUCTIVE_LICENSE = 'CONSTRUCTIVE';
6
7
  export const CLOSED_LICENSE = 'CLOSED';
7
8
  export const LICENSE_VALUE_KEYS = ['LICENSE', 'license'];
8
9
  export const LICENSE_AUTHOR_KEYS = [
@@ -55,6 +56,10 @@ export function listSupportedLicenses() {
55
56
  return -1;
56
57
  if (b === DEFAULT_LICENSE)
57
58
  return 1;
59
+ if (a === CONSTRUCTIVE_LICENSE)
60
+ return -1;
61
+ if (b === CONSTRUCTIVE_LICENSE)
62
+ return 1;
58
63
  if (a === CLOSED_LICENSE)
59
64
  return 1;
60
65
  if (b === CLOSED_LICENSE)
@@ -0,0 +1,33 @@
1
+ Constructive License
2
+
3
+ Copyright (c) {{YEAR}} Interweb, Inc.
4
+ Generated by Constructive (https://constructive.io)
5
+
6
+ You own the application code generated for you. You may use, modify, deploy,
7
+ and distribute it freely, including for commercial use.
8
+
9
+ Restrictions:
10
+
11
+ - You may not use this code to offer a service whose primary purpose is to
12
+ provide database provisioning, schema generation, security policy
13
+ compilation, cloud functions, or AI infrastructure to third parties,
14
+ except under a separate commercial agreement with Interweb, Inc.
15
+ - You may not sell, license, or distribute the exported code, in whole or
16
+ substantial part, as a standalone product or library.
17
+ - You may not repackage the framework components generated by Constructive
18
+ (as defined in the full license) as your own developer platform or toolchain
19
+ for third-party builders.
20
+
21
+ Generated TypeScript clients and SDKs may be distributed under their own
22
+ applicable open-source licenses, as indicated in the LICENSE files included
23
+ with those packages.
24
+
25
+ Full license terms: https://constructive.io/legal/license/v1.0
26
+
27
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
28
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
29
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
30
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
31
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
32
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
33
+ SOFTWARE.
package/licenses.d.ts CHANGED
@@ -5,6 +5,7 @@ interface LicenseContext {
5
5
  }
6
6
  export type SupportedLicense = string;
7
7
  export declare const DEFAULT_LICENSE = "MIT";
8
+ export declare const CONSTRUCTIVE_LICENSE = "CONSTRUCTIVE";
8
9
  export declare const CLOSED_LICENSE = "CLOSED";
9
10
  export declare const LICENSE_VALUE_KEYS: string[];
10
11
  export declare const LICENSE_AUTHOR_KEYS: string[];
package/licenses.js CHANGED
@@ -33,7 +33,7 @@ var __importStar = (this && this.__importStar) || (function () {
33
33
  };
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.LICENSE_EMAIL_KEYS = exports.LICENSE_AUTHOR_KEYS = exports.LICENSE_VALUE_KEYS = exports.CLOSED_LICENSE = exports.DEFAULT_LICENSE = void 0;
36
+ exports.LICENSE_EMAIL_KEYS = exports.LICENSE_AUTHOR_KEYS = exports.LICENSE_VALUE_KEYS = exports.CLOSED_LICENSE = exports.CONSTRUCTIVE_LICENSE = exports.DEFAULT_LICENSE = void 0;
37
37
  exports.isSupportedLicense = isSupportedLicense;
38
38
  exports.renderLicense = renderLicense;
39
39
  exports.listSupportedLicenses = listSupportedLicenses;
@@ -45,6 +45,7 @@ const path = __importStar(require("path"));
45
45
  const PLACEHOLDER_PATTERN = /{{(\w+)}}/g;
46
46
  let cachedTemplates = null;
47
47
  exports.DEFAULT_LICENSE = 'MIT';
48
+ exports.CONSTRUCTIVE_LICENSE = 'CONSTRUCTIVE';
48
49
  exports.CLOSED_LICENSE = 'CLOSED';
49
50
  exports.LICENSE_VALUE_KEYS = ['LICENSE', 'license'];
50
51
  exports.LICENSE_AUTHOR_KEYS = [
@@ -97,6 +98,10 @@ function listSupportedLicenses() {
97
98
  return -1;
98
99
  if (b === exports.DEFAULT_LICENSE)
99
100
  return 1;
101
+ if (a === exports.CONSTRUCTIVE_LICENSE)
102
+ return -1;
103
+ if (b === exports.CONSTRUCTIVE_LICENSE)
104
+ return 1;
100
105
  if (a === exports.CLOSED_LICENSE)
101
106
  return 1;
102
107
  if (b === exports.CLOSED_LICENSE)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "genomic",
3
- "version": "5.3.10",
3
+ "version": "5.4.0",
4
4
  "author": "Constructive <developers@constructive.io>",
5
5
  "description": "Clone and customize template repositories with variable replacement",
6
6
  "main": "index.js",
@@ -29,12 +29,12 @@
29
29
  },
30
30
  "dependencies": {
31
31
  "appstash": "0.7.0",
32
- "inquirerer": "4.8.0"
32
+ "inquirerer": "4.8.1"
33
33
  },
34
34
  "devDependencies": {
35
35
  "copyfiles": "^2.4.1",
36
36
  "makage": "0.1.10"
37
37
  },
38
38
  "keywords": [],
39
- "gitHead": "d0e1a1b963e849c3e65a83e1cd7a183d9b5928a0"
39
+ "gitHead": "2bb590b0b3e7726d900a6fd054300887862ad138"
40
40
  }