only_ever_generator 0.0.2 → 0.0.4

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/index.js CHANGED
@@ -1,17 +1,14 @@
1
1
  "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
2
  Object.defineProperty(exports, "__esModule", { value: true });
6
- const express_1 = __importDefault(require("express"));
3
+ // import express from "express";
7
4
  // import { returnCardGenPrompt } from "./constants/prompts/card_gen_prompt";
8
5
  // import { returnTypologyPrompt } from "./constants/prompts/typology_prompt";
9
6
  // import { GenerateArgs } from "./utils/generate_args";
10
7
  // import { returnHeadings, returnSourceData } from "./constants/source_data";
11
8
  const app_1 = require("./bootstrap/app");
12
9
  // import config from "./config";
13
- const app = (0, express_1.default)();
14
- const port = 3000;
10
+ // const app = express();
11
+ // const port = 3000;
15
12
  /// While Publishing the package , and using this code as a separate npm module
16
13
  /// uncomment the below line and comment all the others, expect the import of OnlyEverGenerator
17
14
  exports.default = app_1.OnlyEverGenerator;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "only_ever_generator",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "main": "dist/index.js",
5
5
  "scripts": {
6
6
  "start": "nodemon dist/index.js",
@@ -10,6 +10,7 @@
10
10
  "keywords": [],
11
11
  "author": "shree",
12
12
  "license": "ISC",
13
+ "type": "module",
13
14
  "devDependencies": {
14
15
  "@types/express": "^4.17.21",
15
16
  "@types/node": "^20.14.2",
package/src/index.ts CHANGED
@@ -1,13 +1,13 @@
1
1
 
2
- import express from "express";
2
+ // import express from "express";
3
3
  // import { returnCardGenPrompt } from "./constants/prompts/card_gen_prompt";
4
4
  // import { returnTypologyPrompt } from "./constants/prompts/typology_prompt";
5
5
  // import { GenerateArgs } from "./utils/generate_args";
6
6
  // import { returnHeadings, returnSourceData } from "./constants/source_data";
7
7
  import { OnlyEverGenerator } from "./bootstrap/app";
8
8
  // import config from "./config";
9
- const app = express();
10
- const port = 3000;
9
+ // const app = express();
10
+ // const port = 3000;
11
11
 
12
12
 
13
13