Skip to content

Commit

Permalink
Update to pnpm, use types from rekor npm package (#36)
Browse files Browse the repository at this point in the history
* Update to pnpm, use API from rekor package

* Fix CI
  • Loading branch information
pdeslaur authored Dec 29, 2022
1 parent 7838f64 commit 882e81a
Show file tree
Hide file tree
Showing 54 changed files with 3,280 additions and 6,356 deletions.
5 changes: 0 additions & 5 deletions .gitattributes

This file was deleted.

7 changes: 3 additions & 4 deletions .github/workflows/reviewdog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,11 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Setup pnpm
uses: pnpm/[email protected]
- uses: actions/setup-node@v3
with:
node-version: 14
cache: yarn
- name: Install modules
run: yarn
node-version: 18
- uses: reviewdog/action-eslint@v1
with:
reporter: github-check
Expand Down
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ build*
node_modules*
.next*
**/generated/**
LICENSE
pnpm-lock.yaml
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -198,4 +198,4 @@
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,11 @@ https://rekor.tlog.dev/
First, run the development server:

```bash
yarn dev
pnpm dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

## Deploy

The app is automatically built & deployed to Vercel when pushing to the `main` branch.

## Commands

### `yarn generate`

Automatically generates Typescript files & types from [Rekor](https://github.com/sigstore/rekor).
51 changes: 0 additions & 51 deletions hack/generate_types.sh

This file was deleted.

14 changes: 10 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
{
"name": "rekor-search-ui",
"version": "0.1.0",
"private": true,
"packageManager": "[email protected]",
"engines": {
"node": "18.x",
"pnpm": ">=7"
},
"scripts": {
"dev": "next dev",
"build": "next build",
Expand All @@ -14,30 +18,32 @@
"@emotion/styled": "^11.8.1",
"@mui/icons-material": "^5.4.4",
"@mui/material": "^5.5.0",
"@peculiar/x509": "^1.6.4",
"@peculiar/x509": "1.8.4",
"@react-rxjs/core": "0.9.6",
"@react-rxjs/utils": "0.9.5",
"@types/js-yaml": "^4.0.5",
"fathom-client": "^3.4.1",
"js-yaml": "^4.1.0",
"moment": "^2.29.3",
"next": "^12.1.6",
"pvtsutils": "^1.3.2",
"react": "^18.0.0-rc.1",
"react-dom": "^18.0.0-rc.1",
"react-error-boundary": "^3.1.4",
"react-hook-form": "^7.31.0",
"react-syntax-highlighter": "^15.5.0",
"rekor": "^0.0.2",
"rxjs": "^7.5.4",
"sass": "^1.49.9",
"sharp": "^0.30.5"
},
"devDependencies": {
"@babel/core": "^7.20.7",
"@types/js-yaml": "^4.0.5",
"@types/node": "17.0.21",
"@types/react": "18.0.9",
"@types/react-syntax-highlighter": "^15.5.1",
"eslint": "8.10.0",
"eslint-config-next": "12.1.0",
"openapi-typescript-codegen": "^0.22.0",
"prettier": "^2.6.2",
"typescript": "4.6.2"
}
Expand Down
Loading

1 comment on commit 882e81a

@vercel
Copy link

@vercel vercel bot commented on 882e81a Dec 29, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

rekor-search-ui – ./

rekor-search-ui.chainguard.app
rekor.tlog.dev
rekor-search-ui-git-main.chainguard.app
rekor-search-ui.vercel.app

Please sign in to comment.