@ttoss/cloud-auth 0.2.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,17 @@
1
+ warning package.json: No license field
2
+ $ tsup
3
+ CLI Building entry: src/index.ts
4
+ CLI Using tsconfig: tsconfig.json
5
+ CLI tsup v6.5.0
6
+ CLI Using tsup config: /home/runner/work/ttoss/ttoss/packages/cloud-auth/tsup.config.ts
7
+ CLI Target: es2021
8
+ CLI Cleaning output folder
9
+ CJS Build start
10
+ ESM Build start
11
+ CJS dist/index.js 1.19 KB
12
+ CJS ⚡️ Build success in 90ms
13
+ ESM dist/esm/index.js 170.00 B
14
+ ESM ⚡️ Build success in 91ms
15
+ DTS Build start
16
+ DTS ⚡️ Build success in 13477ms
17
+ DTS dist/index.d.ts 80.00 B
package/CHANGELOG.md ADDED
@@ -0,0 +1,14 @@
1
+ # Change Log
2
+
3
+ All notable changes to this project will be documented in this file.
4
+ See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
+
6
+ # 0.2.0 (2022-12-18)
7
+
8
+ ### Bug Fixes
9
+
10
+ - publish access public ([9cd42b6](https://github.com/ttoss/ttoss/commit/9cd42b6231bf090c7a568c5fadeda34cbdb35c50))
11
+
12
+ ### Features
13
+
14
+ - add react-auth ([#97](https://github.com/ttoss/ttoss/issues/97)) ([6686ef6](https://github.com/ttoss/ttoss/commit/6686ef6f31f2125dff3fed45aaf8b8250b4ff32c))
@@ -0,0 +1,7 @@
1
+ /** Powered by @ttoss/config. https://ttoss.dev/docs/modules/packages/config/ */
2
+
3
+ // src/config.ts
4
+ var PASSWORD_MINIMUM_LENGTH = 8;
5
+ export {
6
+ PASSWORD_MINIMUM_LENGTH
7
+ };
@@ -0,0 +1,3 @@
1
+ declare const PASSWORD_MINIMUM_LENGTH = 8;
2
+
3
+ export { PASSWORD_MINIMUM_LENGTH };
package/dist/index.js ADDED
@@ -0,0 +1,33 @@
1
+ /** Powered by @ttoss/config. https://ttoss.dev/docs/modules/packages/config/ */
2
+ "use strict";
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
+
21
+ // src/index.ts
22
+ var src_exports = {};
23
+ __export(src_exports, {
24
+ PASSWORD_MINIMUM_LENGTH: () => PASSWORD_MINIMUM_LENGTH
25
+ });
26
+ module.exports = __toCommonJS(src_exports);
27
+
28
+ // src/config.ts
29
+ var PASSWORD_MINIMUM_LENGTH = 8;
30
+ // Annotate the CommonJS export names for ESM import in node:
31
+ 0 && (module.exports = {
32
+ PASSWORD_MINIMUM_LENGTH
33
+ });
package/package.json ADDED
@@ -0,0 +1,20 @@
1
+ {
2
+ "name": "@ttoss/cloud-auth",
3
+ "version": "0.2.0",
4
+ "main": "./dist/index.js",
5
+ "module": "./dist/esm/index.js",
6
+ "scripts": {
7
+ "build": "tsup"
8
+ },
9
+ "typings": "./dist/index.d.ts",
10
+ "devDependencies": {
11
+ "@ttoss/config": "^1.25.0",
12
+ "@types/jest": "^29.2.4",
13
+ "jest": "^29.3.1",
14
+ "typescript": "^4.9.4"
15
+ },
16
+ "publishConfig": {
17
+ "access": "public"
18
+ },
19
+ "gitHead": "01759d9c247bed2fe52ca580e87c0b21544cac49"
20
+ }
package/src/config.ts ADDED
@@ -0,0 +1 @@
1
+ export const PASSWORD_MINIMUM_LENGTH = 8;
package/src/index.ts ADDED
@@ -0,0 +1 @@
1
+ export * from './config';
package/tsconfig.json ADDED
@@ -0,0 +1,3 @@
1
+ {
2
+ "extends": "@ttoss/config/tsconfig.json"
3
+ }
package/tsup.config.ts ADDED
@@ -0,0 +1,3 @@
1
+ import { tsupConfig } from '@ttoss/config';
2
+
3
+ export const tsup = tsupConfig({});