@goatlab/fluent 0.5.20 → 0.6.2
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/dist/index.js +31 -23
- package/package.json +48 -127
- package/LICENSE +0 -21
- package/Readme.md +0 -180
package/dist/index.js
CHANGED
|
@@ -1,24 +1,32 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.loadRelations = exports.TypeOrmConnector = exports.HideField = exports.ObjectType = exports.getModelSchemaRef = exports.Column = exports.PartialType = exports.InputType = exports.OmitType = exports.ApiHideProperty = exports.ApiProperty = exports.modelGeneratorDataSource = exports.getOutputKeys = exports.Fluent = exports.Decorators = exports.createConnection = exports.Collection = exports.BaseConnector = void 0;
|
|
4
|
+
const BaseConnector_1 = require("./BaseConnector");
|
|
5
|
+
Object.defineProperty(exports, "BaseConnector", { enumerable: true, get: function () { return BaseConnector_1.BaseConnector; } });
|
|
6
|
+
const js_utils_1 = require("@goatlab/js-utils");
|
|
7
|
+
Object.defineProperty(exports, "Collection", { enumerable: true, get: function () { return js_utils_1.Collection; } });
|
|
8
|
+
const Fluent_1 = require("./Fluent");
|
|
9
|
+
Object.defineProperty(exports, "Fluent", { enumerable: true, get: function () { return Fluent_1.Fluent; } });
|
|
10
|
+
const generatorDatasource_1 = require("./generatorDatasource");
|
|
11
|
+
Object.defineProperty(exports, "modelGeneratorDataSource", { enumerable: true, get: function () { return generatorDatasource_1.modelGeneratorDataSource; } });
|
|
12
|
+
const outputKeys_1 = require("./outputKeys");
|
|
13
|
+
Object.defineProperty(exports, "getOutputKeys", { enumerable: true, get: function () { return outputKeys_1.getOutputKeys; } });
|
|
14
|
+
const decorators_1 = require("./core/database/decorators");
|
|
15
|
+
Object.defineProperty(exports, "Decorators", { enumerable: true, get: function () { return decorators_1.Decorators; } });
|
|
16
|
+
const types_1 = require("./core/types");
|
|
17
|
+
Object.defineProperty(exports, "ApiProperty", { enumerable: true, get: function () { return types_1.ApiProperty; } });
|
|
18
|
+
Object.defineProperty(exports, "ApiHideProperty", { enumerable: true, get: function () { return types_1.ApiHideProperty; } });
|
|
19
|
+
Object.defineProperty(exports, "OmitType", { enumerable: true, get: function () { return types_1.OmitType; } });
|
|
20
|
+
Object.defineProperty(exports, "InputType", { enumerable: true, get: function () { return types_1.InputType; } });
|
|
21
|
+
Object.defineProperty(exports, "PartialType", { enumerable: true, get: function () { return types_1.PartialType; } });
|
|
22
|
+
Object.defineProperty(exports, "Column", { enumerable: true, get: function () { return types_1.Column; } });
|
|
23
|
+
Object.defineProperty(exports, "getModelSchemaRef", { enumerable: true, get: function () { return types_1.getModelSchemaRef; } });
|
|
24
|
+
Object.defineProperty(exports, "ObjectType", { enumerable: true, get: function () { return types_1.ObjectType; } });
|
|
25
|
+
Object.defineProperty(exports, "HideField", { enumerable: true, get: function () { return types_1.HideField; } });
|
|
26
|
+
const createConnection_1 = require("./core/database/createConnection");
|
|
27
|
+
Object.defineProperty(exports, "createConnection", { enumerable: true, get: function () { return createConnection_1.createConnection; } });
|
|
28
|
+
const TypeOrmConnector_1 = require("./TypeOrmConnector/TypeOrmConnector");
|
|
29
|
+
Object.defineProperty(exports, "TypeOrmConnector", { enumerable: true, get: function () { return TypeOrmConnector_1.TypeOrmConnector; } });
|
|
30
|
+
const loadRelations_1 = require("./loadRelations");
|
|
31
|
+
Object.defineProperty(exports, "loadRelations", { enumerable: true, get: function () { return loadRelations_1.loadRelations; } });
|
|
24
32
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,23 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@goatlab/fluent",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.2",
|
|
4
4
|
"description": "Readable query Interface & API generator for TS and Node",
|
|
5
|
-
"homepage": "https://docs.goatlab.io",
|
|
6
|
-
"main": "dist/index.js",
|
|
7
|
-
"types": "dist/index.d.ts",
|
|
8
|
-
"publishConfig": {
|
|
9
|
-
"access": "public"
|
|
10
|
-
},
|
|
11
|
-
"files": [
|
|
12
|
-
"./dist/**/*"
|
|
13
|
-
],
|
|
14
5
|
"scripts": {
|
|
15
6
|
"prebuild": "rimraf dist",
|
|
16
7
|
"prestart": "rimraf dist",
|
|
17
8
|
"predev": "rimraf dist",
|
|
18
9
|
"test": "jest --forceExit",
|
|
19
10
|
"dev": "tsc --watch",
|
|
20
|
-
"
|
|
11
|
+
"lint": "eslint src --fix",
|
|
21
12
|
"format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\"",
|
|
22
13
|
"update:packages": "npm-check-updates -u && yarn",
|
|
23
14
|
"serve": "tsc -w",
|
|
@@ -34,6 +25,52 @@
|
|
|
34
25
|
"changelog": "auto-changelog --template changelog-template.hbs -p -u --commit-limit false",
|
|
35
26
|
"changelog-debug": "auto-changelog --template changelog-template.hbs -p --template json --output changelog-data.json"
|
|
36
27
|
},
|
|
28
|
+
"dependencies": {
|
|
29
|
+
"@goatlab/dates": "^0.6.1",
|
|
30
|
+
"@loopback/metadata": "^4.1.2",
|
|
31
|
+
"assert": "^2.0.0",
|
|
32
|
+
"bson": "^4.6.2",
|
|
33
|
+
"debug": "^4.3.4",
|
|
34
|
+
"fireorm": "^0.23.3",
|
|
35
|
+
"graphql": "^16.3.0",
|
|
36
|
+
"lodash": "^4.17.21",
|
|
37
|
+
"openapi3-ts": "^2.0.2",
|
|
38
|
+
"reflect-metadata": "^0.1.13",
|
|
39
|
+
"typed-path": "^2.2.3",
|
|
40
|
+
"typeorm": "^0.3.4"
|
|
41
|
+
},
|
|
42
|
+
"devDependencies": {
|
|
43
|
+
"@commitlint/cli": "^16.2.3",
|
|
44
|
+
"@commitlint/config-conventional": "^16.2.1",
|
|
45
|
+
"@commitlint/prompt-cli": "^16.2.3",
|
|
46
|
+
"@digitalroute/cz-conventional-changelog-for-jira": "^7.2.1",
|
|
47
|
+
"auto-changelog": "^2.4.0",
|
|
48
|
+
"commitizen": "^4.2.4",
|
|
49
|
+
"cz-conventional-changelog": "^3.3.0",
|
|
50
|
+
"cz-jira-smart-commit": "^3.0.0",
|
|
51
|
+
"dotenv-cli": "^5.1.0",
|
|
52
|
+
"eslint": "^8.5.0",
|
|
53
|
+
"husky": "^7.0.4",
|
|
54
|
+
"jest": "^27.5.1",
|
|
55
|
+
"npm-pack-zip": "^1.3.0",
|
|
56
|
+
"prettier": "^2.6.1",
|
|
57
|
+
"pretty-quick": "^3.1.3",
|
|
58
|
+
"release-it": "^14.13.1",
|
|
59
|
+
"ts-jest": "^27.1.4",
|
|
60
|
+
"ts-node": "^10.7.0",
|
|
61
|
+
"turbo": "^1.1.10",
|
|
62
|
+
"typescript": "^4.6.3"
|
|
63
|
+
},
|
|
64
|
+
"homepage": "https://docs.goatlab.io",
|
|
65
|
+
"main": "dist/index.js",
|
|
66
|
+
"types": "dist/index.d.ts",
|
|
67
|
+
"private": false,
|
|
68
|
+
"publishConfig": {
|
|
69
|
+
"access": "public"
|
|
70
|
+
},
|
|
71
|
+
"files": [
|
|
72
|
+
"./dist/**/*"
|
|
73
|
+
],
|
|
37
74
|
"keywords": [
|
|
38
75
|
"goat",
|
|
39
76
|
"fluent",
|
|
@@ -112,122 +149,6 @@
|
|
|
112
149
|
"version": "latest"
|
|
113
150
|
}
|
|
114
151
|
},
|
|
115
|
-
"dependencies": {
|
|
116
|
-
"@azure/storage-blob": "^12.9.0",
|
|
117
|
-
"@loopback/metadata": "^4.1.2",
|
|
118
|
-
"@lukeed/uuid": "^2.0.0",
|
|
119
|
-
"@react-native-async-storage/async-storage": "^1.17.2",
|
|
120
|
-
"@stamp/compose": "^1.0.2",
|
|
121
|
-
"@stamp/it": "^1.1.0",
|
|
122
|
-
"@stamp/privatize": "^1.0.3",
|
|
123
|
-
"agenda": "^4.2.1",
|
|
124
|
-
"ajv": "^8.11.0",
|
|
125
|
-
"amqplib": "^0.8.0",
|
|
126
|
-
"await-to-js": "^3.0.0",
|
|
127
|
-
"aws-sdk": "^2.1104.0",
|
|
128
|
-
"axios": "^0.26.1",
|
|
129
|
-
"bcryptjs": "^2.4.3",
|
|
130
|
-
"bluebird": "^3.7.2",
|
|
131
|
-
"bson": "^4.6.2",
|
|
132
|
-
"btoa": "^1.2.1",
|
|
133
|
-
"bull": "^4.8.1",
|
|
134
|
-
"bullmq": "^1.78.2",
|
|
135
|
-
"chalk": "^5.0.1",
|
|
136
|
-
"child_process": "^1.0.2",
|
|
137
|
-
"class-validator": "^0.13.2",
|
|
138
|
-
"cli-progress": "^3.10.0",
|
|
139
|
-
"cluster": "^0.7.7",
|
|
140
|
-
"colors": "^1.4.0",
|
|
141
|
-
"commander": "^9.1.0",
|
|
142
|
-
"cron": "^1.8.2",
|
|
143
|
-
"dayjs": "^1.11.0",
|
|
144
|
-
"deep-diff": "^1.0.2",
|
|
145
|
-
"delete-property": "0.0.4",
|
|
146
|
-
"dockerode": "^3.3.1",
|
|
147
|
-
"faker": "^5.5.3",
|
|
148
|
-
"figlet": "^1.5.2",
|
|
149
|
-
"firebase-admin": "^10.0.2",
|
|
150
|
-
"fireorm": "^0.23.3",
|
|
151
|
-
"formiojs": "^4.14.5",
|
|
152
|
-
"got": "^11.8.2",
|
|
153
|
-
"graphql": "^16.3.0",
|
|
154
|
-
"handlebars": "^4.7.7",
|
|
155
|
-
"http-errors": "^2.0.0",
|
|
156
|
-
"inquirer": "^8.2.2",
|
|
157
|
-
"ioredis": "^4.28.0",
|
|
158
|
-
"joi": "14.3.1",
|
|
159
|
-
"jwt-decode": "^3.1.2",
|
|
160
|
-
"lodash": "^4.17.21",
|
|
161
|
-
"loglevel": "^1.8.0",
|
|
162
|
-
"loglevel-plugin-prefix": "^0.8.4",
|
|
163
|
-
"loki-react-native-asyncstorage-adapter": "^1.0.1",
|
|
164
|
-
"lokijs": "^1.5.12",
|
|
165
|
-
"memory-cache": "^0.2.0",
|
|
166
|
-
"moment": "^2.29.1",
|
|
167
|
-
"mongoose": "^6.2.9",
|
|
168
|
-
"multer": "^1.4.4",
|
|
169
|
-
"multer-azure-blob-storage": "^1.1.0",
|
|
170
|
-
"multer-google-storage": "^1.3.0",
|
|
171
|
-
"multer-s3": "^2.10.0",
|
|
172
|
-
"nanoid": "^3.3.2",
|
|
173
|
-
"nestjs-typeorm-paginate": "^3.1.3",
|
|
174
|
-
"net": "^1.0.2",
|
|
175
|
-
"openapi3-ts": "^2.0.2",
|
|
176
|
-
"ora": "^6.1.0",
|
|
177
|
-
"os": "^0.1.2",
|
|
178
|
-
"pluralize": "^8.0.0",
|
|
179
|
-
"portfinder": "^1.0.28",
|
|
180
|
-
"pusher-js": "^7.0.6",
|
|
181
|
-
"q": "^1.5.1",
|
|
182
|
-
"qs": "^6.10.3",
|
|
183
|
-
"reflect-metadata": "^0.1.13",
|
|
184
|
-
"request-promise-native": "^1.0.9",
|
|
185
|
-
"rimraf": "^3.0.2",
|
|
186
|
-
"shelljs": "^0.8.5",
|
|
187
|
-
"sqlite3": "^5.0.2",
|
|
188
|
-
"stampit": "4.3.2",
|
|
189
|
-
"ts-morph": "^14.0.0",
|
|
190
|
-
"typed-path": "^2.2.3",
|
|
191
|
-
"typeorm": "^0.3.4",
|
|
192
|
-
"verror": "^1.10.1",
|
|
193
|
-
"winston": "^3.6.0"
|
|
194
|
-
},
|
|
195
|
-
"devDependencies": {
|
|
196
|
-
"@commitlint/cli": "^16.2.3",
|
|
197
|
-
"@commitlint/config-conventional": "^16.2.1",
|
|
198
|
-
"@commitlint/prompt-cli": "^16.2.3",
|
|
199
|
-
"@digitalroute/cz-conventional-changelog-for-jira": "^7.2.1",
|
|
200
|
-
"@types/agenda": "^4.1.0",
|
|
201
|
-
"@types/amqplib": "^0.8.2",
|
|
202
|
-
"@types/bull": "^3.15.8",
|
|
203
|
-
"@types/dockerode": "^3.3.6",
|
|
204
|
-
"@types/faker": "^6.6.8",
|
|
205
|
-
"@types/jest": "^27.4.1",
|
|
206
|
-
"@types/js-combinatorics": "^0.5.32",
|
|
207
|
-
"@types/multer": "^1.4.7",
|
|
208
|
-
"@types/multer-s3": "^2.7.11",
|
|
209
|
-
"@types/node": "^17.0.23",
|
|
210
|
-
"@types/passport-http": "^0.3.9",
|
|
211
|
-
"@types/redis": "^4.0.10",
|
|
212
|
-
"auto-changelog": "^2.4.0",
|
|
213
|
-
"commitizen": "^4.2.4",
|
|
214
|
-
"cz-conventional-changelog": "^3.3.0",
|
|
215
|
-
"cz-jira-smart-commit": "^3.0.0",
|
|
216
|
-
"dotenv-cli": "^5.1.0",
|
|
217
|
-
"husky": "^7.0.4",
|
|
218
|
-
"jest": "^27.5.1",
|
|
219
|
-
"jest-environment-node": "^27.5.1",
|
|
220
|
-
"jest-node-exports-resolver": "^1.1.5",
|
|
221
|
-
"npm-pack-zip": "^1.3.0",
|
|
222
|
-
"prettier": "^2.6.1",
|
|
223
|
-
"pretty-quick": "^3.1.3",
|
|
224
|
-
"release-it": "^14.13.1",
|
|
225
|
-
"ts-jest": "^27.1.4",
|
|
226
|
-
"ts-node": "^10.7.0",
|
|
227
|
-
"tslint": "^6.1.3",
|
|
228
|
-
"tslint-config-prettier": "^1.18.0",
|
|
229
|
-
"typescript": "^4.6.3"
|
|
230
|
-
},
|
|
231
152
|
"engines": {
|
|
232
153
|
"node": ">=14.16.0"
|
|
233
154
|
}
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) GOAT, SPA. and its affiliates.
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
package/Readme.md
DELETED
|
@@ -1,180 +0,0 @@
|
|
|
1
|
-
<!-- PROJECT SHIELDS -->
|
|
2
|
-
|
|
3
|
-
[![Stargazers][stars-shield]][stars-url]
|
|
4
|
-
[![Issues][issues-shield]][issues-url]
|
|
5
|
-
[![MIT License][license-shield]][license-url]
|
|
6
|
-
[](http://commitizen.github.io/cz-cli/)
|
|
7
|
-
|
|
8
|
-
<!-- PROJECT LOGO -->
|
|
9
|
-
<br />
|
|
10
|
-
<p align="center">
|
|
11
|
-
<a href="https://github.com/github_username/repo">
|
|
12
|
-
<img src="https://docs.goatlab.io/logo.png" alt="Logo" width="150" height="150">
|
|
13
|
-
</a>
|
|
14
|
-
|
|
15
|
-
<h3 align="center">GOAT-FLUENT</h3>
|
|
16
|
-
|
|
17
|
-
<p align="center">
|
|
18
|
-
Readable query Interface & API generator
|
|
19
|
-
<br />
|
|
20
|
-
<a href="https://docs.goatlab.io/#/0.5.x/fluent/fluent"><strong>Explore the docs »</strong></a>
|
|
21
|
-
<br />
|
|
22
|
-
<br />
|
|
23
|
-
<a href="https://codesandbox.io/s/goat-nestjs-tytmv?file=/src/main.ts">View Demo</a>
|
|
24
|
-
·
|
|
25
|
-
<a href="https://github.com/goat-io/fluent/issues">Report Bug</a>
|
|
26
|
-
·
|
|
27
|
-
<a href="https://github.com/goat-io/fluent/issues">Request Feature</a>
|
|
28
|
-
</p>
|
|
29
|
-
</p>
|
|
30
|
-
|
|
31
|
-
# Goat - Fluent
|
|
32
|
-
|
|
33
|
-
Fluent query interface for Multiple database types and helpers for fast API generation and general App building.
|
|
34
|
-
|
|
35
|
-
## Supported Databases
|
|
36
|
-
|
|
37
|
-
1. Firebase\*\*
|
|
38
|
-
2. MongoDB\*
|
|
39
|
-
3. Mysql\*
|
|
40
|
-
4. MariaDB\*
|
|
41
|
-
5. SQLite\*
|
|
42
|
-
6. Postgres\*
|
|
43
|
-
7. CockroachDB\*
|
|
44
|
-
8. Microsoft SQL Server\*
|
|
45
|
-
9. Oracle\*
|
|
46
|
-
10. SAP Hana\*
|
|
47
|
-
11. sql.js\*
|
|
48
|
-
12. LokiJS
|
|
49
|
-
13. In-memory
|
|
50
|
-
|
|
51
|
-
Wrapper for TypeORM \*
|
|
52
|
-
|
|
53
|
-
Wrapper for firebase-admin and fireorm \*\*
|
|
54
|
-
|
|
55
|
-
### Installing
|
|
56
|
-
|
|
57
|
-
To install this package in your project, you can use the following command within your terminal.
|
|
58
|
-
|
|
59
|
-
```bash
|
|
60
|
-
npm install --global @goatlab/fluent
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
### Documentation
|
|
64
|
-
|
|
65
|
-
To learn how to use this visit the [Goat Docs](https://docs.goatlab.io/#/0.5.x/fluent/fluent)
|
|
66
|
-
|
|
67
|
-
<!--
|
|
68
|
-
|
|
69
|
-
Packages that we need to replace
|
|
70
|
-
npm-pack-zip
|
|
71
|
-
@commitlint/prompt-cli
|
|
72
|
-
formiojs
|
|
73
|
-
react-native
|
|
74
|
-
multer-google-storage
|
|
75
|
-
nestjs-typed-dynamodb
|
|
76
|
-
-->
|
|
77
|
-
|
|
78
|
-
## Roadmap
|
|
79
|
-
|
|
80
|
-
See the [open issues](https://github.com/github_username/repo/issues) for a list of proposed features (and known issues).
|
|
81
|
-
|
|
82
|
-
<!-- CONTRIBUTING -->
|
|
83
|
-
|
|
84
|
-
## Contributing
|
|
85
|
-
|
|
86
|
-
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.
|
|
87
|
-
|
|
88
|
-
We use a few tools to help with code styling, pre-commits, versioning, changelog and releases.
|
|
89
|
-
|
|
90
|
-
- [Pretty-quick](https://github.com/azz/pretty-quick)
|
|
91
|
-
- [Husky](https://github.com/typicode/husky)
|
|
92
|
-
- [Auto-changelog](https://github.com/CookPete/auto-changelog)
|
|
93
|
-
- [Release-it](https://github.com/release-it/release-it)
|
|
94
|
-
|
|
95
|
-
All of these should run out of the box with your dev dependencies
|
|
96
|
-
|
|
97
|
-
1. If you have an issue assigned, please include the issue code/id in the beginning of you commits.
|
|
98
|
-
2. Include the issue id also at the start of your PR message.
|
|
99
|
-
3. Fork the Project
|
|
100
|
-
4. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)
|
|
101
|
-
5. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)
|
|
102
|
-
6. Push to the Branch (`git push origin feature/AmazingFeature`)
|
|
103
|
-
7. Open a Pull Request
|
|
104
|
-
|
|
105
|
-
## Release Process
|
|
106
|
-
|
|
107
|
-
1. All PRs will be merge directly into Master. (If test are green)
|
|
108
|
-
2. Once we are ready to create a release, we will locally pull the latest master version and run the release process
|
|
109
|
-
|
|
110
|
-
If patch release
|
|
111
|
-
|
|
112
|
-
```
|
|
113
|
-
npm run release
|
|
114
|
-
```
|
|
115
|
-
|
|
116
|
-
If minor release
|
|
117
|
-
|
|
118
|
-
```
|
|
119
|
-
npm run release:minor
|
|
120
|
-
```
|
|
121
|
-
|
|
122
|
-
If mayor release
|
|
123
|
-
|
|
124
|
-
```
|
|
125
|
-
npm run release:mayor
|
|
126
|
-
```
|
|
127
|
-
|
|
128
|
-
This will start the release scripts including:
|
|
129
|
-
|
|
130
|
-
- Local tests
|
|
131
|
-
- Final version building
|
|
132
|
-
- Final release zip
|
|
133
|
-
- Tag
|
|
134
|
-
- Release
|
|
135
|
-
- Push
|
|
136
|
-
|
|
137
|
-
## Continuous Deployment
|
|
138
|
-
|
|
139
|
-
Continuous deployment is optional. We will trigger a deployment with every published release. The equivalent trigger in Github Actions is:
|
|
140
|
-
|
|
141
|
-
```yml
|
|
142
|
-
on:
|
|
143
|
-
release:
|
|
144
|
-
types: [published]
|
|
145
|
-
```
|
|
146
|
-
|
|
147
|
-
<!-- LICENSE -->
|
|
148
|
-
|
|
149
|
-
## License
|
|
150
|
-
|
|
151
|
-
Distributed under the MIT License. See `LICENSE` for more information.
|
|
152
|
-
|
|
153
|
-
<!-- CONTACT -->
|
|
154
|
-
|
|
155
|
-
## Contact
|
|
156
|
-
|
|
157
|
-
Ignacio Cabrera - [@twitter_handle](https://twitter.com/cabrerabywaters) - ignacio.cabrera@goatlab.io
|
|
158
|
-
|
|
159
|
-
<!-- ACKNOWLEDGEMENTS -->
|
|
160
|
-
|
|
161
|
-
## Acknowledgements
|
|
162
|
-
|
|
163
|
-
- [Tomas Castro]()
|
|
164
|
-
- []()
|
|
165
|
-
- []()
|
|
166
|
-
|
|
167
|
-
<!-- MARKDOWN LINKS & IMAGES -->
|
|
168
|
-
<!-- https://www.markdownguide.org/basic-syntax/#reference-style-links -->
|
|
169
|
-
|
|
170
|
-
[contributors-url]: https://github.com/goat-io/fluent/graphs/contributors
|
|
171
|
-
[forks-url]: https://github.com/goat-io/fluent/network/members
|
|
172
|
-
[stars-shield]: https://img.shields.io/github/stars/goat-io/fluent?style=flat-square
|
|
173
|
-
[stars-url]: https://github.com/goat-io/fluent/stargazers
|
|
174
|
-
[issues-shield]: https://img.shields.io/github/issues/goat-io/fluent?style=flat-square
|
|
175
|
-
[issues-url]: https://github.com/goat-io/fluent/issues
|
|
176
|
-
[license-shield]: https://img.shields.io/github/license/goat-io/fluent?style=flat-square
|
|
177
|
-
[license-url]: https://github.com/goat-io/fluent/blob/master/LICENSE.txt
|
|
178
|
-
[linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?style=flat-square&logo=linkedin&colorB=555
|
|
179
|
-
[linkedin-url]: https://linkedin.com/in/othneildrew
|
|
180
|
-
[product-screenshot]: images/screenshot.png
|