diff --git a/.github/workflows/publish-package.yml b/.github/workflows/publish-package.yml index 736b88c..90156b6 100644 --- a/.github/workflows/publish-package.yml +++ b/.github/workflows/publish-package.yml @@ -28,6 +28,11 @@ jobs: with: node-version: 22 + - name: Remove package versions from package-lock.json for caching + run: | + jq 'del(.version, .packages[""].version)' package-lock.json > package-lock.temp.json + mv package-lock.temp.json package-lock.json + - name: Cache dependencies id: cache uses: actions/cache@v4 diff --git a/benchmark/src/main.ts b/benchmark/src/main.ts index cb6c578..7a396e8 100644 --- a/benchmark/src/main.ts +++ b/benchmark/src/main.ts @@ -16,7 +16,7 @@ export interface BenchmarkResult { } const benchmarkResultPath = `${__dirname}/../../../../web-app/src/assets/benchmarkResults.json` -const ignoredVersions = ['1.9.1', '1.10.0', '1.10.1'] +const ignoredVersions = ['1.9.1', '1.10.0', '1.10.1', '1.10.2'] async function main() { const packageVersions: string[] = JSON.parse(execSync('npm view ss-search versions --json').toString()) diff --git a/ss-search/project.json b/ss-search/project.json index 20e39c3..28cc5d4 100644 --- a/ss-search/project.json +++ b/ss-search/project.json @@ -7,8 +7,9 @@ "targets": { "build": { "executor": "nx:run-commands", + "outputs": ["{workspaceRoot}/dist/{projectName}"], "options": { - "commands": ["tsup", "cp package.json ../dist/ss-search/package.json"], + "commands": ["tsup", "cp package.json ../dist/ss-search/package.json", "cp ../README.md ../dist/ss-search/README.md"], "cwd": "ss-search", "parallel": false }