diff --git a/package-lock.json b/package-lock.json index 65f7f2ee..e3f943f2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,7 @@ "@alex_neo/jest-expect-message": "^1.0.5", "@eslint/eslintrc": "^3.2.0", "@eslint/js": "^9.17.0", - "@freearhey/core": "^0.3.1", + "@freearhey/core": "^0.4.0", "@freearhey/search-js": "^0.1.1", "@ntlab/sfetch": "^1.0.0", "@octokit/plugin-paginate-rest": "^11.3.6", @@ -1202,9 +1202,9 @@ } }, "node_modules/@freearhey/core": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/@freearhey/core/-/core-0.3.1.tgz", - "integrity": "sha512-9n4p4DcRKWz4zU6XluDEGKxiFRwlr+Nhn6DJg5tCG6Cov/yvN/TfGACRGCmJKXkVvf4TSKxIE3hZSKEOMRZI2w==", + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/@freearhey/core/-/core-0.4.0.tgz", + "integrity": "sha512-7gATMRqJSCIsdpbaQ4HJKSkMhWe1dxzRhDZiQ/SgOhchrs/A1jRpDJiFSOQg7xyhYCd1j+m4YzRSVKfYJmT1GA==", "dependencies": { "@types/fs-extra": "^11.0.2", "@types/lodash": "^4.14.198", @@ -10027,9 +10027,9 @@ } }, "@freearhey/core": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/@freearhey/core/-/core-0.3.1.tgz", - "integrity": "sha512-9n4p4DcRKWz4zU6XluDEGKxiFRwlr+Nhn6DJg5tCG6Cov/yvN/TfGACRGCmJKXkVvf4TSKxIE3hZSKEOMRZI2w==", + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/@freearhey/core/-/core-0.4.0.tgz", + "integrity": "sha512-7gATMRqJSCIsdpbaQ4HJKSkMhWe1dxzRhDZiQ/SgOhchrs/A1jRpDJiFSOQg7xyhYCd1j+m4YzRSVKfYJmT1GA==", "requires": { "@types/fs-extra": "^11.0.2", "@types/lodash": "^4.14.198", diff --git a/package.json b/package.json index f1243424..44b81cef 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ "channels:parse": "npx tsx scripts/commands/channels/parse.ts", "channels:editor": "npx tsx scripts/commands/channels/editor.ts", "channels:validate": "npx tsx scripts/commands/channels/validate.ts", + "sites:init": "npx tsx scripts/commands/sites/init.ts", "sites:update": "npx tsx scripts/commands/sites/update.ts", "grab": "npx tsx scripts/commands/epg/grab.ts", "serve": "npx serve", @@ -29,14 +30,14 @@ "transform": { "^.+\\.(ts|js)$": "@swc/jest" }, - "testRegex": "(tests|sites)/(.*?/)?.*test.(js|ts)$", + "testMatch": ["/sites/**/*.test.(js|ts)", "/tests/commands/**/*.test.(js|ts)"], "testTimeout": 10000 }, "dependencies": { "@alex_neo/jest-expect-message": "^1.0.5", "@eslint/eslintrc": "^3.2.0", "@eslint/js": "^9.17.0", - "@freearhey/core": "^0.3.1", + "@freearhey/core": "^0.4.0", "@freearhey/search-js": "^0.1.1", "@ntlab/sfetch": "^1.0.0", "@octokit/plugin-paginate-rest": "^11.3.6", diff --git a/yarn.lock b/yarn.lock index 81ca202d..3248e67a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -396,10 +396,10 @@ dependencies: levn "^0.4.1" -"@freearhey/core@^0.3.1": - version "0.3.1" - resolved "https://registry.npmjs.org/@freearhey/core/-/core-0.3.1.tgz" - integrity sha512-9n4p4DcRKWz4zU6XluDEGKxiFRwlr+Nhn6DJg5tCG6Cov/yvN/TfGACRGCmJKXkVvf4TSKxIE3hZSKEOMRZI2w== +"@freearhey/core@^0.4.0": + version "0.4.0" + resolved "https://registry.npmjs.org/@freearhey/core/-/core-0.4.0.tgz" + integrity sha512-7gATMRqJSCIsdpbaQ4HJKSkMhWe1dxzRhDZiQ/SgOhchrs/A1jRpDJiFSOQg7xyhYCd1j+m4YzRSVKfYJmT1GA== dependencies: "@types/fs-extra" "^11.0.2" "@types/lodash" "^4.14.198"