@basictech/schema 0.1.0-beta.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,22 @@
1
+
2
+ 
3
+ > @basictech/schema@0.0.1 build
4
+ > tsup
5
+
6
+ CLI Building entry: ./index.ts
7
+ CLI tsup v7.2.0
8
+ CLI Using tsup config: /Users/raz/codebook/basic/libs/client-ts/packages/schema/tsup.config.ts
9
+ CLI Target: node16
10
+ CLI Cleaning output folder
11
+ CJS Build start
12
+ ESM Build start
13
+ ESM dist/index.mjs 153.00 B
14
+ ESM dist/index.mjs.map 210.00 B
15
+ ESM ⚡️ Build success in 6ms
16
+ CJS dist/index.js 1.01 KB
17
+ CJS dist/index.js.map 253.00 B
18
+ CJS ⚡️ Build success in 6ms
19
+ DTS Build start
20
+ DTS ⚡️ Build success in 747ms
21
+ DTS dist/index.d.ts 64.00 B
22
+ DTS dist/index.d.mts 64.00 B
package/CHANGELOG.md ADDED
@@ -0,0 +1,7 @@
1
+ # @basictech/schema
2
+
3
+ ## 0.1.0-beta.0
4
+
5
+ ### Minor Changes
6
+
7
+ - added schema package - test
@@ -0,0 +1,3 @@
1
+ declare function hello(): string;
2
+
3
+ export { hello as default };
@@ -0,0 +1,3 @@
1
+ declare function hello(): string;
2
+
3
+ export { hello as default };
package/dist/index.js ADDED
@@ -0,0 +1,29 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+
19
+ // index.ts
20
+ var schema_exports = {};
21
+ __export(schema_exports, {
22
+ default: () => schema_default
23
+ });
24
+ module.exports = __toCommonJS(schema_exports);
25
+ function hello() {
26
+ return "hello";
27
+ }
28
+ var schema_default = hello;
29
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../index.ts"],"sourcesContent":["function hello() : string { \n return 'hello'\n}\n\nexport default hello"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,SAAS,QAAiB;AACtB,SAAO;AACX;AAEA,IAAO,iBAAQ;","names":[]}
package/dist/index.mjs ADDED
@@ -0,0 +1,9 @@
1
+ // index.ts
2
+ function hello() {
3
+ return "hello";
4
+ }
5
+ var schema_default = hello;
6
+ export {
7
+ schema_default as default
8
+ };
9
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../index.ts"],"sourcesContent":["function hello() : string { \n return 'hello'\n}\n\nexport default hello"],"mappings":";AAAA,SAAS,QAAiB;AACtB,SAAO;AACX;AAEA,IAAO,iBAAQ;","names":[]}
package/index.ts ADDED
@@ -0,0 +1,5 @@
1
+ function hello() : string {
2
+ return 'hello'
3
+ }
4
+
5
+ export default hello
package/package.json ADDED
@@ -0,0 +1,28 @@
1
+ {
2
+ "name": "@basictech/schema",
3
+ "version": "0.1.0-beta.0",
4
+ "description": "utils for Basic Schema",
5
+ "main": "dist/index.js",
6
+ "module": "dist/index.mjs",
7
+ "types": "dist/index.d.ts",
8
+ "private": false,
9
+ "publishConfig": {
10
+ "access": "public"
11
+ },
12
+ "scripts": {
13
+ "build": "tsup",
14
+ "dev": "tsup --watch",
15
+ "test": "echo \"Error: no test specified\" && exit 1"
16
+ },
17
+ "author": "",
18
+ "license": "ISC",
19
+ "dependencies": {
20
+ "ajv": "^8.17.1"
21
+ },
22
+ "devDependencies": {
23
+ "@repo/typescript-config": "*",
24
+ "tsup": "^7.2.0",
25
+ "typescript": "^5.0.0"
26
+ },
27
+ "peerDependencies": {}
28
+ }
package/tsup.config.ts ADDED
@@ -0,0 +1,10 @@
1
+ import { defineConfig } from 'tsup'
2
+
3
+ export default defineConfig({
4
+ entry: ['./index.ts'],
5
+ format: ['cjs', 'esm'],
6
+ dts: true,
7
+ splitting: false,
8
+ sourcemap: true,
9
+ clean: true,
10
+ })