@directivegames/genesys.sdk 3.2.5 → 3.3.1

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.
@@ -378,7 +378,7 @@ export async function buildProject(projectPath, runTsc, logger, handler) {
378
378
  // Get the direct path to esbuild binary (avoids pnpm exec overhead)
379
379
  const esbuildBinary = getEsbuildBinaryPath(projectFolder, logger, handler.app.isPackaged, handler.app.resourcesPath);
380
380
  // Build the command - quote the binary path only if it's not pnpm exec
381
- const buildParameters = `--bundle --platform=browser --minify --keep-names --outfile="${gameBundleFilePath}" --external:genesys.js --external:three --format=cjs`;
381
+ const buildParameters = `--bundle --platform=browser --minify --keep-names --outfile="${gameBundleFilePath}" --external:@directivegames/genesys.js --external:three --format=cjs`;
382
382
  const buildCommand = esbuildBinary.startsWith('pnpm')
383
383
  ? `${esbuildBinary} "${gameFiles[0]}" ${buildParameters}`
384
384
  : `"${esbuildBinary}" "${gameFiles[0]}" ${buildParameters}`;
@@ -24,7 +24,7 @@ export const packProjectFiles = {
24
24
  ],
25
25
  main: 'dist/src/index.js',
26
26
  peerDependencies: {
27
- 'genesys.js': `${getEngineVersion()}`,
27
+ '@directivegames/genesys.js': `${getEngineVersion()}`,
28
28
  'three': ALL_DEPENDENCIES['three'],
29
29
  },
30
30
  devDependencies: {
@@ -31,7 +31,7 @@ export const projectFiles = {
31
31
  keywords: [],
32
32
  type: 'module',
33
33
  dependencies: {
34
- 'genesys.js': `${getEngineVersion()}`,
34
+ '@directivegames/genesys.js': `${getEngineVersion()}`,
35
35
  'three': ALL_DEPENDENCIES['three'],
36
36
  },
37
37
  devDependencies: {
@@ -61,7 +61,7 @@ async function updateProject(projectPath, onBeginVerifyProject, onEndVerifyProje
61
61
  for (const sharedItem of sharedTemplateItems) {
62
62
  const sourcePath = path.join(templatePackagePath, sharedItem);
63
63
  // _gitignore is renamed to .gitignore when copied to the project
64
- const destinationName = sharedItem === '_gitignore' ? '.gitignore' : sharedItem;
64
+ const destinationName = sharedItem === 'gitignore' ? '.gitignore' : sharedItem;
65
65
  const destinatePath = path.join(projectPath, destinationName);
66
66
  if (!fs.existsSync(sourcePath)) {
67
67
  continue;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@directivegames/genesys.sdk",
3
- "version": "3.2.5",
3
+ "version": "3.3.1",
4
4
  "description": "Genesys SDK - A development toolkit for game development",
5
5
  "author": "Directive Games",
6
6
  "main": "index.js",