@thesage/utils 0.1.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,19 @@
1
+
2
+ 
3
+ > @thesage/utils@0.1.0 build /Users/shalomormsby/Developer/work/ecosystem/packages/utils
4
+ > tsup src/index.ts --format cjs,esm --dts
5
+
6
+ CLI Building entry: src/index.ts
7
+ CLI Using tsconfig: tsconfig.json
8
+ CLI tsup v8.5.1
9
+ CLI Target: es2020
10
+ CJS Build start
11
+ ESM Build start
12
+ CJS dist/index.js 1.09 KB
13
+ CJS ⚡️ Build success in 52ms
14
+ ESM dist/index.mjs 107.00 B
15
+ ESM ⚡️ Build success in 52ms
16
+ DTS Build start
17
+ DTS ⚡️ Build success in 810ms
18
+ DTS dist/index.d.ts 244.00 B
19
+ DTS dist/index.d.mts 244.00 B
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Shared utility functions for the ecosystem
3
+ *
4
+ * Add reusable utility functions here that are used across multiple apps.
5
+ * Keep utilities focused and well-documented.
6
+ */
7
+ declare function placeholder(): string;
8
+
9
+ export { placeholder };
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Shared utility functions for the ecosystem
3
+ *
4
+ * Add reusable utility functions here that are used across multiple apps.
5
+ * Keep utilities focused and well-documented.
6
+ */
7
+ declare function placeholder(): string;
8
+
9
+ export { placeholder };
package/dist/index.js ADDED
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/index.ts
21
+ var index_exports = {};
22
+ __export(index_exports, {
23
+ placeholder: () => placeholder
24
+ });
25
+ module.exports = __toCommonJS(index_exports);
26
+ function placeholder() {
27
+ return "Add shared utilities here";
28
+ }
29
+ // Annotate the CommonJS export names for ESM import in node:
30
+ 0 && (module.exports = {
31
+ placeholder
32
+ });
package/dist/index.mjs ADDED
@@ -0,0 +1,7 @@
1
+ // src/index.ts
2
+ function placeholder() {
3
+ return "Add shared utilities here";
4
+ }
5
+ export {
6
+ placeholder
7
+ };
package/package.json ADDED
@@ -0,0 +1,21 @@
1
+ {
2
+ "name": "@thesage/utils",
3
+ "version": "0.1.0",
4
+ "publishConfig": {
5
+ "access": "public"
6
+ },
7
+ "description": "Shared utility functions for the ecosystem",
8
+ "main": "./src/index.ts",
9
+ "types": "./src/index.ts",
10
+ "exports": {
11
+ ".": "./src/index.ts"
12
+ },
13
+ "devDependencies": {
14
+ "tsup": "^8.5.1",
15
+ "typescript": "^5"
16
+ },
17
+ "scripts": {
18
+ "build": "tsup src/index.ts --format cjs,esm --dts",
19
+ "dev": "tsup src/index.ts --format cjs,esm --dts --watch"
20
+ }
21
+ }
package/src/index.ts ADDED
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Shared utility functions for the ecosystem
3
+ *
4
+ * Add reusable utility functions here that are used across multiple apps.
5
+ * Keep utilities focused and well-documented.
6
+ */
7
+
8
+ // Example utility - remove or replace with actual utilities
9
+ export function placeholder() {
10
+ return 'Add shared utilities here';
11
+ }
package/tsconfig.json ADDED
@@ -0,0 +1,17 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "ES2020",
4
+ "module": "ESNext",
5
+ "lib": ["ES2020"],
6
+ "moduleResolution": "bundler",
7
+ "strict": true,
8
+ "esModuleInterop": true,
9
+ "skipLibCheck": true,
10
+ "forceConsistentCasingInFileNames": true,
11
+ "declaration": true,
12
+ "declarationMap": true,
13
+ "outDir": "./dist"
14
+ },
15
+ "include": ["src/**/*"],
16
+ "exclude": ["node_modules", "dist"]
17
+ }