@cybertale/form 2.0.3 → 2.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.
Files changed (2) hide show
  1. package/copy-package.mjs +2 -2
  2. package/package.json +2 -3
package/copy-package.mjs CHANGED
@@ -9,8 +9,8 @@ const prompt = promptSync();
9
9
  const __dirname = path.dirname(fileURLToPath(import.meta.url));
10
10
 
11
11
  // Correct the source and destination directory paths
12
- const sourceDir = path.resolve(__dirname, 'src');
13
- const destDir = path.resolve(process.cwd(), 'src', '@cybertale', 'form');
12
+ const sourceDir = path.join(__dirname, 'src');
13
+ const destDir = path.join(process.cwd(), 'src', '@cybertale', 'form');
14
14
 
15
15
  // Create the destination directory if it doesn't exist
16
16
  const ensureDir = async (dir) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cybertale/form",
3
- "version": "2.0.3",
3
+ "version": "2.0.4",
4
4
  "description": "ECS interface for Web Development, CyberTale edition.",
5
5
  "author": "Joso Marich <jspmari@proton.me>",
6
6
  "license": "GPL-3.0-only",
@@ -40,7 +40,6 @@
40
40
  "vite": "^5.3.4"
41
41
  },
42
42
  "scripts": {
43
- "copy-package": "node copy-package.mjs",
44
- "postinstall": "npm run copy-package"
43
+ "copy-package": "node copy-package.mjs"
45
44
  }
46
45
  }