@mondart/nestjs-common-module 1.0.8 → 1.1.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.
|
@@ -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 CommonCaching from './caching';
|
|
3
|
+
export * as CommonConstants from './constants';
|
|
4
|
+
export * as CommonControllers from './controllers';
|
|
5
|
+
export * as CommonDecorators from './decorators';
|
|
6
|
+
export * as CommonObjectDto from './dto';
|
|
7
|
+
export * as CommonEntities from './entities';
|
|
8
|
+
export * as CommonEnums from './enums';
|
|
9
|
+
export * as CommonFilters from './filters';
|
|
10
|
+
export * as CommonHelper from './helper';
|
|
11
|
+
export * as CommonInterfaces from './interface';
|
|
12
|
+
export * as CommonLib from './lib';
|
|
13
|
+
export * as CommonServices from './services';
|
|
14
|
+
export * as CommonStrategies from './strategy';
|
|
15
|
+
export * as CommonValidations 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.CommonValidations = exports.CommonStrategies = exports.CommonServices = exports.CommonLib = exports.CommonInterfaces = exports.CommonHelper = exports.CommonFilters = exports.CommonEnums = exports.CommonEntities = exports.CommonObjectDto = exports.CommonDecorators = exports.CommonControllers = exports.CommonConstants = exports.CommonCaching = void 0;
|
|
4
|
+
require("reflect-metadata");
|
|
5
|
+
exports.CommonCaching = require("./caching");
|
|
6
|
+
exports.CommonConstants = require("./constants");
|
|
7
|
+
exports.CommonControllers = require("./controllers");
|
|
8
|
+
exports.CommonDecorators = require("./decorators");
|
|
9
|
+
exports.CommonObjectDto = require("./dto");
|
|
10
|
+
exports.CommonEntities = require("./entities");
|
|
11
|
+
exports.CommonEnums = require("./enums");
|
|
12
|
+
exports.CommonFilters = require("./filters");
|
|
13
|
+
exports.CommonHelper = require("./helper");
|
|
14
|
+
exports.CommonInterfaces = require("./interface");
|
|
15
|
+
exports.CommonLib = require("./lib");
|
|
16
|
+
exports.CommonServices = require("./services");
|
|
17
|
+
exports.CommonStrategies = require("./strategy");
|
|
18
|
+
exports.CommonValidations = require("./validators");
|