Skip to content

Commit 2c85aa4

Browse files
authored
fix: added missing readme + other files to published package (#104)
* fix: added missing readme to published package * fix: added back missing files to build output * chore: fix ci
1 parent c2ad0a3 commit 2c85aa4

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.github/workflows/publish-package.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ jobs:
2828
with:
2929
node-version: 22
3030

31+
- name: Remove package versions from package-lock.json for caching
32+
run: |
33+
jq 'del(.version, .packages[""].version)' package-lock.json > package-lock.temp.json
34+
mv package-lock.temp.json package-lock.json
35+
3136
- name: Cache dependencies
3237
id: cache
3338
uses: actions/cache@v4

benchmark/src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export interface BenchmarkResult {
1616
}
1717

1818
const benchmarkResultPath = `${__dirname}/../../../../web-app/src/assets/benchmarkResults.json`
19-
const ignoredVersions = ['1.9.1', '1.10.0', '1.10.1']
19+
const ignoredVersions = ['1.9.1', '1.10.0', '1.10.1', '1.10.2']
2020

2121
async function main() {
2222
const packageVersions: string[] = JSON.parse(execSync('npm view ss-search versions --json').toString())

ss-search/project.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@
77
"targets": {
88
"build": {
99
"executor": "nx:run-commands",
10+
"outputs": ["{workspaceRoot}/dist/{projectName}"],
1011
"options": {
11-
"commands": ["tsup", "cp package.json ../dist/ss-search/package.json"],
12+
"commands": ["tsup", "cp package.json ../dist/ss-search/package.json", "cp ../README.md ../dist/ss-search/README.md"],
1213
"cwd": "ss-search",
1314
"parallel": false
1415
}

0 commit comments

Comments
 (0)