jaypie 1.1.70 → 1.1.72

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,62 @@
1
+ 'use strict';
2
+
3
+ var core = require('@jaypie/core');
4
+ var aws = require('@jaypie/aws');
5
+ var datadog = require('@jaypie/datadog');
6
+ var express = require('@jaypie/express');
7
+ var lambda = require('@jaypie/lambda');
8
+ var llm = require('@jaypie/llm');
9
+ var kit = require('@jaypie/kit');
10
+ var mongoose = require('@jaypie/mongoose');
11
+
12
+
13
+
14
+ Object.keys(core).forEach(function (k) {
15
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
16
+ enumerable: true,
17
+ get: function () { return core[k]; }
18
+ });
19
+ });
20
+ Object.keys(aws).forEach(function (k) {
21
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
22
+ enumerable: true,
23
+ get: function () { return aws[k]; }
24
+ });
25
+ });
26
+ Object.keys(datadog).forEach(function (k) {
27
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
28
+ enumerable: true,
29
+ get: function () { return datadog[k]; }
30
+ });
31
+ });
32
+ Object.keys(express).forEach(function (k) {
33
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
34
+ enumerable: true,
35
+ get: function () { return express[k]; }
36
+ });
37
+ });
38
+ Object.keys(lambda).forEach(function (k) {
39
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
40
+ enumerable: true,
41
+ get: function () { return lambda[k]; }
42
+ });
43
+ });
44
+ Object.keys(llm).forEach(function (k) {
45
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
46
+ enumerable: true,
47
+ get: function () { return llm[k]; }
48
+ });
49
+ });
50
+ Object.keys(kit).forEach(function (k) {
51
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
52
+ enumerable: true,
53
+ get: function () { return kit[k]; }
54
+ });
55
+ });
56
+ Object.keys(mongoose).forEach(function (k) {
57
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
58
+ enumerable: true,
59
+ get: function () { return mongoose[k]; }
60
+ });
61
+ });
62
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,7 +1,8 @@
1
- export * from "@jaypie/aws";
2
1
  export * from "@jaypie/core";
2
+ export * from "@jaypie/aws";
3
3
  export * from "@jaypie/datadog";
4
4
  export * from "@jaypie/express";
5
5
  export * from "@jaypie/lambda";
6
6
  export * from "@jaypie/llm";
7
+ export * from "@jaypie/kit";
7
8
  export * from "@jaypie/mongoose";
@@ -1,11 +1,4 @@
1
- //
2
- //
3
- // Export
4
- //
5
-
6
- // Required dependencies
7
1
  export * from "@jaypie/core";
8
-
9
2
  export * from "@jaypie/aws";
10
3
  export * from "@jaypie/datadog";
11
4
  export * from "@jaypie/express";
@@ -0,0 +1,9 @@
1
+ export * from '@jaypie/core';
2
+ export * from '@jaypie/aws';
3
+ export * from '@jaypie/datadog';
4
+ export * from '@jaypie/express';
5
+ export * from '@jaypie/lambda';
6
+ export * from '@jaypie/llm';
7
+ export * from '@jaypie/kit';
8
+ export * from '@jaypie/mongoose';
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
package/dist/jaypie.cjs CHANGED
@@ -6,6 +6,7 @@ var datadog = require('@jaypie/datadog');
6
6
  var express = require('@jaypie/express');
7
7
  var lambda = require('@jaypie/lambda');
8
8
  var llm = require('@jaypie/llm');
9
+ var kit = require('@jaypie/kit');
9
10
  var mongoose = require('@jaypie/mongoose');
10
11
 
11
12
 
@@ -46,6 +47,12 @@ Object.keys(llm).forEach(function (k) {
46
47
  get: function () { return llm[k]; }
47
48
  });
48
49
  });
50
+ Object.keys(kit).forEach(function (k) {
51
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
52
+ enumerable: true,
53
+ get: function () { return kit[k]; }
54
+ });
55
+ });
49
56
  Object.keys(mongoose).forEach(function (k) {
50
57
  if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
51
58
  enumerable: true,
@@ -4,4 +4,5 @@ export * from '@jaypie/datadog';
4
4
  export * from '@jaypie/express';
5
5
  export * from '@jaypie/lambda';
6
6
  export * from '@jaypie/llm';
7
+ export * from '@jaypie/kit';
7
8
  export * from '@jaypie/mongoose';
package/package.json CHANGED
@@ -1,20 +1,22 @@
1
1
  {
2
2
  "name": "jaypie",
3
- "version": "1.1.70",
3
+ "version": "1.1.72",
4
4
  "license": "MIT",
5
5
  "author": "Finlayson Studio",
6
6
  "type": "module",
7
7
  "exports": {
8
8
  ".": {
9
- "types": "./index.d.ts",
10
- "default": {
11
- "require": "./dist/jaypie.cjs",
12
- "default": "./src/index.js"
13
- }
9
+ "types": "./dist/esm/index.d.ts",
10
+ "import": "./dist/esm/index.js",
11
+ "require": "./dist/cjs/index.cjs"
14
12
  }
15
13
  },
16
- "main": "src/index.js",
17
- "types": "index.d.ts",
14
+ "main": "./dist/cjs/index.cjs",
15
+ "module": "./dist/esm/index.js",
16
+ "types": "./dist/esm/index.d.ts",
17
+ "files": [
18
+ "dist"
19
+ ],
18
20
  "scripts": {
19
21
  "build": "rollup --config",
20
22
  "format": "npm run format:package && npm run format:lint",
@@ -25,7 +27,7 @@
25
27
  "test:spec:dynamicExport.function": "vitest run ./src/__tests__/dynamicExport.function.spec.js",
26
28
  "test:spec:index": "vitest run ./src/__tests__/index.spec.js",
27
29
  "test:spec:mongoose.package": "vitest run ./src/__tests__/mongoose.package.spec.js",
28
- "typecheck": "echo '[TODO] Convert jaypie to TypeScript'"
30
+ "typecheck": "tsc --noEmit"
29
31
  },
30
32
  "dependencies": {
31
33
  "@jaypie/aws": "^1.1.21",
@@ -34,11 +36,23 @@
34
36
  "@jaypie/express": "^1.1.16",
35
37
  "@jaypie/kit": "^1.1.1",
36
38
  "@jaypie/lambda": "^1.1.6",
37
- "@jaypie/llm": "^1.1.26",
39
+ "@jaypie/llm": "^1.1.27",
38
40
  "@jaypie/mongoose": "^1.1.1"
39
41
  },
42
+ "devDependencies": {
43
+ "@jaypie/types": "^0.1.7",
44
+ "@rollup/plugin-typescript": "^12.1.4",
45
+ "@types/node": "^24.8.1",
46
+ "@typescript-eslint/eslint-plugin": "^8.46.1",
47
+ "@typescript-eslint/parser": "^8.46.1",
48
+ "eslint-config-prettier": "^10.1.8",
49
+ "eslint-plugin-prettier": "^5.5.4",
50
+ "eslint-plugin-vitest": "^0.5.4",
51
+ "typescript": "^5.9.3",
52
+ "typescript-eslint": "^8.46.1"
53
+ },
40
54
  "publishConfig": {
41
55
  "access": "public"
42
56
  },
43
- "gitHead": "24cdd70f5f5a8b766fbc728c11e8eb12edaf1808"
57
+ "gitHead": "0e8414490636bbda8f9f21bd2946d391500318a5"
44
58
  }
package/rollup.config.mjs DELETED
@@ -1,34 +0,0 @@
1
- import autoExternal from "rollup-plugin-auto-external";
2
- import commonjs from "@rollup/plugin-commonjs";
3
- import resolve from "@rollup/plugin-node-resolve";
4
-
5
- export default [
6
- {
7
- input: "src/index.js", // Path to your main JavaScript file
8
- output: [
9
- {
10
- file: "dist/jaypie.esm.js", // Output file for ES Module
11
- format: "es", // ES Module format
12
- },
13
- ],
14
- plugins: [
15
- autoExternal(), // Automatically exclude dependencies from the bundle
16
- resolve(), // Tells Rollup how to find node modules
17
- commonjs(), // Converts CommonJS modules to ES6
18
- ],
19
- },
20
- {
21
- input: "src/index.js", // Path to the CommonJS file
22
- output: [
23
- {
24
- file: "dist/jaypie.cjs", // Output file for CommonJS
25
- format: "cjs", // CommonJS format
26
- },
27
- ],
28
- plugins: [
29
- autoExternal(), // Automatically exclude dependencies from the bundle
30
- resolve(), // Tells Rollup how to find node modules
31
- commonjs(), // Converts CommonJS modules to ES6
32
- ],
33
- },
34
- ];
package/vite.config.mjs DELETED
@@ -1,10 +0,0 @@
1
- /// <reference types="vitest" />
2
-
3
- import { defineConfig } from "vite";
4
-
5
- // https://vitejs.dev/config/
6
- export default defineConfig({
7
- test: {
8
- setupFiles: ["./testSetup.js"],
9
- },
10
- });