Skip to content

Commit

Permalink
Merge branch 'main' into patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
Zyie authored Jan 23, 2025
2 parents 696d959 + d8cf767 commit d76c3f4
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"publish-ci": "npm run publish-ci --workspace @assetpack/core",
"pretest": "npm run clean",
"test": "vitest run",
"test:lint": "xs lint",
"test:lint": "xs lint --max-warnings 0",
"test:types": "xs types",
"test:watch": "vitest",
"watch": "npm run --ws watch --if-present",
Expand Down
2 changes: 1 addition & 1 deletion packages/assetpack/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@assetpack/core",
"version": "1.2.2",
"version": "1.2.3",
"keywords": [],
"homepage": "https://pixijs.io/assetpack/",
"bugs": "https://github.com/pixijs/assetpack/issues",
Expand Down
4 changes: 3 additions & 1 deletion packages/assetpack/src/cli/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ async function main()
try
{
/* eslint-disable @typescript-eslint/no-var-requires, global-require */
config = require(configPath) as AssetPackConfig;
const configModule = require(configPath);

config = (configModule.__esModule ? configModule.default : configModule);
AssetPack = require('@assetpack/core').AssetPack;
/* eslint-enable @typescript-eslint/no-var-requires, global-require */
}
Expand Down
2 changes: 1 addition & 1 deletion packages/assetpack/src/core/AssetWatcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ export class AssetWatcher
files.forEach((file) =>
{
file = upath.toUnix(file);

const fullPath = path.joinSafe(asset.path, file);

if (fullPath.includes('DS_Store')) return;
Expand Down

0 comments on commit d76c3f4

Please sign in to comment.