@athenas/nestjs-common 0.3.1

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.
Files changed (40) hide show
  1. package/.changeset/README.md +8 -0
  2. package/.changeset/chilled-dragons-roll.md +5 -0
  3. package/.changeset/config.json +11 -0
  4. package/.changeset/curly-files-camp.md +5 -0
  5. package/.changeset/dry-actors-sleep.md +5 -0
  6. package/.changeset/few-ducks-unite.md +5 -0
  7. package/.changeset/plenty-keys-count.md +5 -0
  8. package/.changeset/shaggy-birds-tie.md +5 -0
  9. package/.changeset/wet-owls-search.md +5 -0
  10. package/.eslintrc.js +25 -0
  11. package/.prettierrc +4 -0
  12. package/.swcrc +18 -0
  13. package/.vscode/settings.json +5 -0
  14. package/bun.lock +1977 -0
  15. package/dist/cuid/cuid.d.ts +4 -0
  16. package/dist/cuid/cuid.js +2 -0
  17. package/dist/cuid/cuid.js.map +1 -0
  18. package/dist/cuid/index.d.ts +1 -0
  19. package/dist/cuid/index.js +2 -0
  20. package/dist/cuid/index.js.map +1 -0
  21. package/dist/decorators/is-cuid/index.d.ts +6 -0
  22. package/dist/decorators/is-cuid/index.js +2 -0
  23. package/dist/decorators/is-cuid/index.js.map +1 -0
  24. package/dist/index.d.ts +3 -0
  25. package/dist/index.js +2 -0
  26. package/dist/index.js.map +1 -0
  27. package/dist/tsconfig.build.tsbuildinfo +1 -0
  28. package/dist/utils/utils.module.d.ts +2 -0
  29. package/dist/utils/utils.module.js +2 -0
  30. package/dist/utils/utils.module.js.map +1 -0
  31. package/dist/utils/utils.service.d.ts +3 -0
  32. package/dist/utils/utils.service.js +2 -0
  33. package/dist/utils/utils.service.js.map +1 -0
  34. package/dist/utils/utils.service.spec.js +2 -0
  35. package/dist/utils/utils.service.spec.js.map +1 -0
  36. package/jest-e2e.json +9 -0
  37. package/nest-cli.json +10 -0
  38. package/package.json +80 -0
  39. package/tsconfig.build.json +13 -0
  40. package/vitest.config.ts +17 -0
@@ -0,0 +1,8 @@
1
+ # Changesets
2
+
3
+ Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
4
+ with multi-package repos, or single-package repos to help you version and publish your code. You can
5
+ find the full documentation for it [in our repository](https://github.com/changesets/changesets)
6
+
7
+ We have a quick list of common questions to get you started engaging with this project in
8
+ [our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
@@ -0,0 +1,5 @@
1
+ ---
2
+ "@athenas/nestjs-communs": minor
3
+ ---
4
+
5
+ create cuid class
@@ -0,0 +1,11 @@
1
+ {
2
+ "$schema": "https://unpkg.com/@changesets/config@3.0.4/schema.json",
3
+ "changelog": "@changesets/cli/changelog",
4
+ "commit": false,
5
+ "fixed": [],
6
+ "linked": [],
7
+ "access": "restricted",
8
+ "baseBranch": "main",
9
+ "updateInternalDependencies": "patch",
10
+ "ignore": []
11
+ }
@@ -0,0 +1,5 @@
1
+ ---
2
+ "@athenas/nestjs-communs": patch
3
+ ---
4
+
5
+ fix: using swc and tsc for build
@@ -0,0 +1,5 @@
1
+ ---
2
+ "@athenas/nestjs-communs": minor
3
+ ---
4
+
5
+ add is cuid validator for lib
@@ -0,0 +1,5 @@
1
+ ---
2
+ "@athenas/nestjs-communs": patch
3
+ ---
4
+
5
+ fix: remove vitest from dist
@@ -0,0 +1,5 @@
1
+ ---
2
+ "@athenas/nestjs-communs": patch
3
+ ---
4
+
5
+ add utils in npm
@@ -0,0 +1,5 @@
1
+ ---
2
+ "@athenas/nestjs-communs": minor
3
+ ---
4
+
5
+ add remove bearer method in utils service
@@ -0,0 +1,5 @@
1
+ ---
2
+ "@athenas/nestjs-common": patch
3
+ ---
4
+
5
+ fix package name
package/.eslintrc.js ADDED
@@ -0,0 +1,25 @@
1
+ module.exports = {
2
+ parser: '@typescript-eslint/parser',
3
+ parserOptions: {
4
+ project: 'tsconfig.json',
5
+ tsconfigRootDir: __dirname,
6
+ sourceType: 'module',
7
+ },
8
+ plugins: ['@typescript-eslint/eslint-plugin'],
9
+ extends: [
10
+ 'plugin:@typescript-eslint/recommended',
11
+ 'plugin:prettier/recommended',
12
+ ],
13
+ root: true,
14
+ env: {
15
+ node: true,
16
+ jest: true,
17
+ },
18
+ ignorePatterns: ['.eslintrc.js'],
19
+ rules: {
20
+ '@typescript-eslint/interface-name-prefix': 'off',
21
+ '@typescript-eslint/explicit-function-return-type': 'off',
22
+ '@typescript-eslint/explicit-module-boundary-types': 'off',
23
+ '@typescript-eslint/no-explicit-any': 'off',
24
+ },
25
+ };
package/.prettierrc ADDED
@@ -0,0 +1,4 @@
1
+ {
2
+ "singleQuote": false,
3
+ "trailingComma": "all"
4
+ }
package/.swcrc ADDED
@@ -0,0 +1,18 @@
1
+ {
2
+ "$schema": "https://swc.rs/schema.json",
3
+ "sourceMaps": true,
4
+ "jsc": {
5
+ "parser": {
6
+ "syntax": "typescript",
7
+ "decorators": true,
8
+ "dynamicImport": true,
9
+ "emitDeclarationOnly": false
10
+ },
11
+ "baseUrl": "./",
12
+ "minify": {
13
+ "compress": true,
14
+ "mangle": true
15
+ }
16
+ },
17
+ "minify": true
18
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "cSpell.words": [
3
+ "paralleldrive"
4
+ ]
5
+ }