@d19n/youfibre-odin-sdk 1.0.289 → 1.0.290

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.
Files changed (2) hide show
  1. package/dist/runner.js +5 -4
  2. package/package.json +1 -1
package/dist/runner.js CHANGED
@@ -62,6 +62,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
62
62
  const odin_sdk_generator_1 = require("@d19n/odin-sdk-generator");
63
63
  const dotenv = __importStar(require("dotenv"));
64
64
  const fs = __importStar(require("fs"));
65
+ const path = __importStar(require("path"));
65
66
  function cleanDirectory(dir) {
66
67
  if (fs.existsSync(dir)) {
67
68
  console.log(`Cleaning ${dir}...`);
@@ -81,10 +82,10 @@ function generate() {
81
82
  console.log('='.repeat(60));
82
83
  // Clean generated directories before regenerating
83
84
  const dirsToClean = [
84
- 'src/actions-v2',
85
- 'src/accessors-v2',
86
- 'src/db-accessors-v2',
87
- 'src/records-v2',
85
+ path.resolve(__dirname, 'actions-v2'),
86
+ path.resolve(__dirname, 'accessors-v2'),
87
+ path.resolve(__dirname, 'db-accessors-v2'),
88
+ path.resolve(__dirname, 'records-v2'),
88
89
  ];
89
90
  for (const dir of dirsToClean) {
90
91
  cleanDirectory(dir);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d19n/youfibre-odin-sdk",
3
- "version": "1.0.289",
3
+ "version": "1.0.290",
4
4
  "description": "",
5
5
  "author": "@d19n",
6
6
  "license": "UNLICENSED",