@mondart/nestjs-common-module 1.0.8 → 1.0.9
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.
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
name: Build and Publish
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
release:
|
|
5
|
+
types: [created]
|
|
6
|
+
|
|
7
|
+
jobs:
|
|
8
|
+
build-and-publish:
|
|
9
|
+
runs-on: ubuntu-latest
|
|
10
|
+
|
|
11
|
+
steps:
|
|
12
|
+
- name: Checkout repository
|
|
13
|
+
uses: actions/checkout@v3
|
|
14
|
+
|
|
15
|
+
- name: Set up Node.js
|
|
16
|
+
uses: actions/setup-node@v3
|
|
17
|
+
with:
|
|
18
|
+
node-version: '16' # Use the Node.js version your project requires
|
|
19
|
+
|
|
20
|
+
- name: Install dependencies
|
|
21
|
+
run: npm install
|
|
22
|
+
|
|
23
|
+
- name: Build project
|
|
24
|
+
run: npm run build # Adjust this if your build command is different
|
|
25
|
+
|
|
26
|
+
- name: Set NPM Token
|
|
27
|
+
run: npm config set _authToken=${{ secrets.NPM_TOKEN }}
|
|
28
|
+
env:
|
|
29
|
+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
30
|
+
|
|
31
|
+
- name: Publish to npm
|
|
32
|
+
env:
|
|
33
|
+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
34
|
+
run: npm publish --access public
|
package/dist/index.d.ts
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
export * from './
|
|
3
|
-
export * from './
|
|
4
|
-
export * from './
|
|
5
|
-
export * from './
|
|
6
|
-
export * from './
|
|
7
|
-
export * from './
|
|
8
|
-
export * from './
|
|
9
|
-
export * from './
|
|
10
|
-
export * from './
|
|
11
|
-
export * from './
|
|
12
|
-
export * from './
|
|
13
|
-
export * from './
|
|
14
|
-
export * from './
|
|
1
|
+
import 'reflect-metadata';
|
|
2
|
+
export * as Caching from './caching';
|
|
3
|
+
export * as Constants from './constants';
|
|
4
|
+
export * as Controllers from './controllers';
|
|
5
|
+
export * as Decorators from './decorators';
|
|
6
|
+
export * as ObjectDto from './dto';
|
|
7
|
+
export * as Entities from './entities';
|
|
8
|
+
export * as Enums from './enums';
|
|
9
|
+
export * as Filters from './filters';
|
|
10
|
+
export * as Helper from './helper';
|
|
11
|
+
export * as Interfaces from './interface';
|
|
12
|
+
export * as Lib from './lib';
|
|
13
|
+
export * as Services from './services';
|
|
14
|
+
export * as Strategies from './strategy';
|
|
15
|
+
export * as Validations from './validators';
|
package/dist/index.js
CHANGED
|
@@ -1,30 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
3
|
+
exports.Validations = exports.Strategies = exports.Services = exports.Lib = exports.Interfaces = exports.Helper = exports.Filters = exports.Enums = exports.Entities = exports.ObjectDto = exports.Decorators = exports.Controllers = exports.Constants = exports.Caching = void 0;
|
|
4
|
+
require("reflect-metadata");
|
|
5
|
+
exports.Caching = require("./caching");
|
|
6
|
+
exports.Constants = require("./constants");
|
|
7
|
+
exports.Controllers = require("./controllers");
|
|
8
|
+
exports.Decorators = require("./decorators");
|
|
9
|
+
exports.ObjectDto = require("./dto");
|
|
10
|
+
exports.Entities = require("./entities");
|
|
11
|
+
exports.Enums = require("./enums");
|
|
12
|
+
exports.Filters = require("./filters");
|
|
13
|
+
exports.Helper = require("./helper");
|
|
14
|
+
exports.Interfaces = require("./interface");
|
|
15
|
+
exports.Lib = require("./lib");
|
|
16
|
+
exports.Services = require("./services");
|
|
17
|
+
exports.Strategies = require("./strategy");
|
|
18
|
+
exports.Validations = require("./validators");
|