@smartsoft001/users 2.75.0 → 2.80.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/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "@smartsoft001/users",
3
- "version": "2.75.0",
3
+ "version": "2.80.0",
4
4
  "dependencies": {
5
5
  "tslib": "^2.3.0"
6
6
  },
7
7
  "type": "commonjs",
8
8
  "main": "./src/index.js",
9
- "typings": "./src/index.d.ts"
10
- }
9
+ "typings": "./src/index.d.ts",
10
+ "types": "./src/index.d.ts"
11
+ }
package/src/index.js ADDED
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./lib/entities"), exports);
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../packages/shared/users/src/index.ts"],"names":[],"mappings":";;;AAAA,yDAA+B"}
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./user"), exports);
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/shared/users/src/lib/entities/index.ts"],"names":[],"mappings":";;;AAAA,iDAAuB"}
@@ -0,0 +1,9 @@
1
+ export interface IUser {
2
+ scope?: string;
3
+ username: string;
4
+ permissions: Array<string>;
5
+ }
6
+ export interface IUserCredentials {
7
+ username: string;
8
+ password: string;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=user.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user.js","sourceRoot":"","sources":["../../../../../../../packages/shared/users/src/lib/entities/user.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./entities"), exports);
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/shared/users/src/lib/index.ts"],"names":[],"mappings":";;;AAAA,qDAA2B"}
package/.eslintrc.json DELETED
@@ -1,24 +0,0 @@
1
- {
2
- "extends": ["../../../.eslintrc.json"],
3
- "ignorePatterns": ["!**/*"],
4
- "rules": {},
5
- "overrides": [
6
- {
7
- "files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
8
- "rules": {}
9
- },
10
- {
11
- "files": ["*.ts", "*.tsx"],
12
- "rules": {}
13
- },
14
- {
15
- "files": ["*.js", "*.jsx"],
16
- "rules": {}
17
- },
18
- {
19
- "files": "package.json",
20
- "parser": "jsonc-eslint-parser",
21
- "rules": {}
22
- }
23
- ]
24
- }
package/jest.config.ts DELETED
@@ -1,11 +0,0 @@
1
- /* eslint-disable */
2
- export default {
3
- displayName: 'users',
4
- preset: '../../../jest.preset.js',
5
- testEnvironment: 'node',
6
- transform: {
7
- '^.+\\.[tj]s$': ['ts-jest', { tsconfig: '<rootDir>/tsconfig.spec.json' }],
8
- },
9
- moduleFileExtensions: ['ts', 'js', 'html'],
10
- coverageDirectory: '../../../coverage/packages/shared/users',
11
- };
package/project.json DELETED
@@ -1,37 +0,0 @@
1
- {
2
- "name": "users",
3
- "$schema": "../../../node_modules/nx/schemas/project-schema.json",
4
- "sourceRoot": "packages/shared/users/src",
5
- "projectType": "library",
6
- "tags": [],
7
- "targets": {
8
- "build": {
9
- "executor": "@nx/js:tsc",
10
- "outputs": ["{options.outputPath}"],
11
- "options": {
12
- "outputPath": "dist/packages/shared/users",
13
- "main": "packages/shared/users/src/index.ts",
14
- "tsConfig": "packages/shared/users/tsconfig.lib.json",
15
- "assets": ["packages/shared/users/*.md"]
16
- }
17
- },
18
- "lint": {
19
- "executor": "@nx/eslint:lint"
20
- },
21
- "test": {
22
- "executor": "@nx/jest:jest",
23
- "outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
24
- "options": {
25
- "jestConfig": "packages/shared/users/jest.config.ts"
26
- }
27
- },
28
- "deploy": {
29
- "executor": "ngx-deploy-npm:deploy",
30
- "options": {
31
- "access": "public",
32
- "distFolderPath": "dist/packages/shared/users"
33
- },
34
- "dependsOn": ["build"]
35
- }
36
- }
37
- }
@@ -1,10 +0,0 @@
1
- export interface IUser {
2
- scope?: string;
3
- username: string;
4
- permissions: Array<string>;
5
- }
6
-
7
- export interface IUserCredentials {
8
- username: string;
9
- password: string;
10
- }
package/tsconfig.json DELETED
@@ -1,22 +0,0 @@
1
- {
2
- "extends": "../../../tsconfig.base.json",
3
- "compilerOptions": {
4
- "module": "commonjs",
5
- "forceConsistentCasingInFileNames": true,
6
- "strict": true,
7
- "noImplicitOverride": true,
8
- "noPropertyAccessFromIndexSignature": true,
9
- "noImplicitReturns": true,
10
- "noFallthroughCasesInSwitch": true
11
- },
12
- "files": [],
13
- "include": [],
14
- "references": [
15
- {
16
- "path": "./tsconfig.lib.json"
17
- },
18
- {
19
- "path": "./tsconfig.spec.json"
20
- }
21
- ]
22
- }
package/tsconfig.lib.json DELETED
@@ -1,10 +0,0 @@
1
- {
2
- "extends": "./tsconfig.json",
3
- "compilerOptions": {
4
- "outDir": "../../../dist/out-tsc",
5
- "declaration": true,
6
- "types": ["node"]
7
- },
8
- "include": ["src/**/*.ts"],
9
- "exclude": ["jest.config.ts", "src/**/*.spec.ts", "src/**/*.test.ts"]
10
- }
@@ -1,14 +0,0 @@
1
- {
2
- "extends": "./tsconfig.json",
3
- "compilerOptions": {
4
- "outDir": "../../../dist/out-tsc",
5
- "module": "commonjs",
6
- "types": ["jest", "node"]
7
- },
8
- "include": [
9
- "jest.config.ts",
10
- "src/**/*.test.ts",
11
- "src/**/*.spec.ts",
12
- "src/**/*.d.ts"
13
- ]
14
- }
File without changes
File without changes
File without changes