@cyberskill/shared 1.10.0 → 1.12.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.
Files changed (41) hide show
  1. package/dist/commands.cjs +1 -1
  2. package/dist/commands.js +1 -1
  3. package/dist/configs/index.cjs +1 -1
  4. package/dist/configs/index.js +1 -1
  5. package/dist/configs/lint-staged/base.cjs +1 -0
  6. package/dist/configs/lint-staged/base.js +1 -0
  7. package/dist/controllers/index.cjs +1 -1
  8. package/dist/controllers/index.js +1 -1
  9. package/dist/controllers/mongoose.cjs +1 -1
  10. package/dist/controllers/mongoose.js +1 -1
  11. package/dist/hooks/react/index.cjs +1 -1
  12. package/dist/hooks/react/index.js +1 -1
  13. package/dist/hooks/react/use-storage.cjs +1 -1
  14. package/dist/hooks/react/use-storage.js +1 -1
  15. package/dist/index.cjs +1 -1
  16. package/dist/index.d.cts +0 -36
  17. package/dist/index.d.ts +0 -36
  18. package/dist/index.js +1 -1
  19. package/dist/utils/command-error.cjs +1 -1
  20. package/dist/utils/command-error.js +1 -1
  21. package/dist/utils/command-log.cjs +1 -1
  22. package/dist/utils/command-log.js +1 -1
  23. package/dist/utils/command.cjs +1 -1
  24. package/dist/utils/command.js +1 -1
  25. package/dist/utils/index.cjs +1 -1
  26. package/dist/utils/index.js +1 -1
  27. package/dist/utils/npm-package.cjs +1 -1
  28. package/dist/utils/npm-package.js +1 -1
  29. package/dist/utils/storage.cjs +1 -1
  30. package/dist/utils/storage.js +1 -1
  31. package/package.json +25 -5
  32. /package/dist/configs/commitlint/{commitlint.base.cjs → base.cjs} +0 -0
  33. /package/dist/configs/commitlint/{commitlint.base.js → base.js} +0 -0
  34. /package/dist/configs/eslint/{eslint.base.cjs → base.cjs} +0 -0
  35. /package/dist/configs/eslint/{eslint.base.js → base.js} +0 -0
  36. /package/dist/configs/eslint/{eslint.nestjs.cjs → nestjs.cjs} +0 -0
  37. /package/dist/configs/eslint/{eslint.nestjs.js → nestjs.js} +0 -0
  38. /package/dist/configs/eslint/{eslint.nextjs.cjs → nextjs.cjs} +0 -0
  39. /package/dist/configs/eslint/{eslint.nextjs.js → nextjs.js} +0 -0
  40. /package/dist/configs/eslint/{eslint.nodejs.cjs → nodejs.cjs} +0 -0
  41. /package/dist/configs/eslint/{eslint.nodejs.js → nodejs.js} +0 -0
package/dist/index.d.cts CHANGED
@@ -668,49 +668,13 @@ declare function isCurrentProject(INIT_CWD: string, PACKAGE_NAME: string): boole
668
668
  declare const serializer: I_Serializer<any>;
669
669
 
670
670
  declare const storage: {
671
- /**
672
- * Get the value of a key.
673
- * @param key The key to retrieve.
674
- * @returns A promise that resolves to the value associated with the key, or `null` if the key doesn't exist.
675
- */
676
671
  get<T = unknown>(key: string): Promise<T | null>;
677
- /**
678
- * Set the value for a key.
679
- * @param key The key to set.
680
- * @param value The value to store.
681
- * @returns A promise that resolves once the value is stored.
682
- */
683
672
  set<T = unknown>(key: string, value: T): Promise<void>;
684
- /**
685
- * Remove the value associated with a key.
686
- * @param key The key to remove.
687
- * @returns A promise that resolves once the key is removed.
688
- */
689
673
  remove(key: string): Promise<void>;
690
- /**
691
- * Get all keys in the storage.
692
- * @returns A promise that resolves to an array of all keys.
693
- */
694
674
  keys(): Promise<string[]>;
695
- /**
696
- * Get all values in the storage.
697
- * @returns A promise that resolves to an array of all values.
698
- */
699
675
  values<T = unknown>(): Promise<T[]>;
700
- /**
701
- * Get all entries in the storage as [key, value] tuples.
702
- * @returns A promise that resolves to an array of entries.
703
- */
704
676
  entries<T = unknown>(): Promise<[string, T][]>;
705
- /**
706
- * Clear all keys and values in the storage.
707
- * @returns A promise that resolves once the storage is cleared.
708
- */
709
677
  clear(): Promise<void>;
710
- /**
711
- * Get the number of items in the storage.
712
- * @returns A promise that resolves to the number of keys stored.
713
- */
714
678
  length(): Promise<number>;
715
679
  };
716
680
 
package/dist/index.d.ts CHANGED
@@ -668,49 +668,13 @@ declare function isCurrentProject(INIT_CWD: string, PACKAGE_NAME: string): boole
668
668
  declare const serializer: I_Serializer<any>;
669
669
 
670
670
  declare const storage: {
671
- /**
672
- * Get the value of a key.
673
- * @param key The key to retrieve.
674
- * @returns A promise that resolves to the value associated with the key, or `null` if the key doesn't exist.
675
- */
676
671
  get<T = unknown>(key: string): Promise<T | null>;
677
- /**
678
- * Set the value for a key.
679
- * @param key The key to set.
680
- * @param value The value to store.
681
- * @returns A promise that resolves once the value is stored.
682
- */
683
672
  set<T = unknown>(key: string, value: T): Promise<void>;
684
- /**
685
- * Remove the value associated with a key.
686
- * @param key The key to remove.
687
- * @returns A promise that resolves once the key is removed.
688
- */
689
673
  remove(key: string): Promise<void>;
690
- /**
691
- * Get all keys in the storage.
692
- * @returns A promise that resolves to an array of all keys.
693
- */
694
674
  keys(): Promise<string[]>;
695
- /**
696
- * Get all values in the storage.
697
- * @returns A promise that resolves to an array of all values.
698
- */
699
675
  values<T = unknown>(): Promise<T[]>;
700
- /**
701
- * Get all entries in the storage as [key, value] tuples.
702
- * @returns A promise that resolves to an array of entries.
703
- */
704
676
  entries<T = unknown>(): Promise<[string, T][]>;
705
- /**
706
- * Clear all keys and values in the storage.
707
- * @returns A promise that resolves once the storage is cleared.
708
- */
709
677
  clear(): Promise<void>;
710
- /**
711
- * Get the number of items in the storage.
712
- * @returns A promise that resolves to the number of keys stored.
713
- */
714
678
  length(): Promise<number>;
715
679
  };
716
680