jaypie 1.1.69 → 1.1.71
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.
- package/dist/cjs/index.cjs +62 -0
- package/dist/cjs/index.cjs.map +1 -0
- package/{index.d.ts → dist/cjs/index.d.ts} +2 -1
- package/{src/index.js → dist/esm/index.d.ts} +1 -7
- package/dist/esm/index.js +9 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/jaypie.cjs +61 -0
- package/dist/jaypie.esm.js +8 -0
- package/package.json +25 -10
- package/rollup.config.mjs +0 -34
- package/vite.config.mjs +0 -10
|
@@ -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,14 +1,8 @@
|
|
|
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";
|
|
12
5
|
export * from "@jaypie/lambda";
|
|
13
6
|
export * from "@jaypie/llm";
|
|
7
|
+
export * from "@jaypie/kit";
|
|
14
8
|
export * from "@jaypie/mongoose";
|
|
@@ -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
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
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
|
+
});
|
package/package.json
CHANGED
|
@@ -1,20 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jaypie",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.71",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Finlayson Studio",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"exports": {
|
|
8
8
|
".": {
|
|
9
|
-
"types": "./index.d.ts",
|
|
10
|
-
"
|
|
11
|
-
|
|
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": "
|
|
17
|
-
"
|
|
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": "
|
|
30
|
+
"typecheck": "tsc --noEmit"
|
|
29
31
|
},
|
|
30
32
|
"dependencies": {
|
|
31
33
|
"@jaypie/aws": "^1.1.21",
|
|
@@ -37,7 +39,20 @@
|
|
|
37
39
|
"@jaypie/llm": "^1.1.26",
|
|
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
|
+
},
|
|
57
|
+
"gitHead": "b5c6bfda6c1fd0a9e8c0e2c648f1240390c2321d"
|
|
43
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
|
-
];
|