Skip to content

Commit

Permalink
fix: added missing readme + other files to published package (#104)
Browse files Browse the repository at this point in the history
* fix: added missing readme to published package

* fix: added back missing files to build output

* chore: fix ci
  • Loading branch information
yann510 authored Oct 31, 2024
1 parent c2ad0a3 commit 2c85aa4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/publish-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion benchmark/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
3 changes: 2 additions & 1 deletion ss-search/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 2c85aa4

Please sign in to comment.