@directivegames/genesys.sdk 3.3.2 → 3.3.3

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.
@@ -27,11 +27,11 @@ const isInstalledAsDependency = __dirname.includes('node_modules');
27
27
  if (isInstalledAsDependency) {
28
28
  try {
29
29
  // Read package.json to get the package name
30
- const packageJsonPath = path.resolve(__dirname, '../../package.json');
30
+ const packageJsonPath = path.resolve(__dirname, '../package.json');
31
31
  const packageJson = JSON.parse(fs.readFileSync(packageJsonPath, 'utf-8'));
32
32
  const packageName = packageJson.name;
33
33
  // Source: assets folder in this package
34
- const sourceAssetsDir = path.resolve(__dirname, '../../assets');
34
+ const sourceAssetsDir = path.resolve(__dirname, '../assets');
35
35
  // Find the parent project root
36
36
  const parentProjectRoot = findProjectRoot();
37
37
  if (!parentProjectRoot) {
@@ -15,7 +15,7 @@ export const packProjectFiles = {
15
15
  'build': 'tsc',
16
16
  'pack': 'pnpm build && pnpm pack',
17
17
  'lint': 'eslint . --fix --ext .ts,.tsx',
18
- 'postinstall': 'tsx scripts/postinstall.ts'
18
+ 'postinstall': 'pnpm dlx tsx scripts/post-install.ts'
19
19
  },
20
20
  keywords: [],
21
21
  type: 'module',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@directivegames/genesys.sdk",
3
- "version": "3.3.2",
3
+ "version": "3.3.3",
4
4
  "description": "Genesys SDK - A development toolkit for game development",
5
5
  "author": "Directive Games",
6
6
  "main": "index.js",
@@ -25,6 +25,7 @@ jobs:
25
25
  uses: actions/checkout@v4
26
26
  with:
27
27
  token: ${{ secrets.GITHUB_TOKEN }}
28
+ lfs: true
28
29
 
29
30
  - name: Setup pnpm
30
31
  uses: pnpm/action-setup@v4
@@ -35,12 +35,12 @@ const isInstalledAsDependency = __dirname.includes('node_modules');
35
35
  if (isInstalledAsDependency) {
36
36
  try {
37
37
  // Read package.json to get the package name
38
- const packageJsonPath = path.resolve(__dirname, '../../package.json');
38
+ const packageJsonPath = path.resolve(__dirname, '../package.json');
39
39
  const packageJson = JSON.parse(fs.readFileSync(packageJsonPath, 'utf-8'));
40
40
  const packageName = packageJson.name;
41
41
 
42
42
  // Source: assets folder in this package
43
- const sourceAssetsDir = path.resolve(__dirname, '../../assets');
43
+ const sourceAssetsDir = path.resolve(__dirname, '../assets');
44
44
 
45
45
  // Find the parent project root
46
46
  const parentProjectRoot = findProjectRoot();