Skip to content

Commit

Permalink
Bump skuba from 6.2.0 to 7.4.1 (#83)
Browse files Browse the repository at this point in the history
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: samchungy <[email protected]>
  • Loading branch information
dependabot[bot] and samchungy authored Feb 19, 2024
1 parent ecea49e commit cc29621
Show file tree
Hide file tree
Showing 14 changed files with 7,587 additions and 7,892 deletions.
1 change: 0 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ node_modules*/
/tmp*/

.DS_Store
.npmrc
npm-debug.log
yarn-error.log
# end managed by skuba
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
.vscode/*

.cdk.staging/
.pnpm-store/
.serverless/
cdk.out/
node_modules*/
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,11 @@ jobs:
node-version: 18.x
registry-url: 'https://registry.npmjs.org'

- name: Set up pnpm
run: corepack enable pnpm

- name: Install dependencies
run: yarn install --frozen-lockfile
run: pnpm install --frozen-lockfile

- name: Create Beta Branch
run: |
Expand Down Expand Up @@ -57,6 +60,6 @@ jobs:
DESTINATION_BRANCH: beta

- name: Publish to npm
run: yarn build && npm publish --provenance --tag beta
run: pnpm build && npm publish --provenance --tag beta
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,11 @@ jobs:
node-version: 18.x
registry-url: 'https://registry.npmjs.org'

- name: Set up pnpm
run: corepack enable pnpm

- name: Install dependencies
run: yarn install --frozen-lockfile
run: pnpm install --frozen-lockfile

- name: Create Release Branch
run: |
Expand Down Expand Up @@ -64,6 +67,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Publish to npm
run: yarn build && npm publish --provenance
run: pnpm build && npm publish --provenance
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
11 changes: 7 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,17 @@ jobs:
with:
node-version: 18.x

- name: Set up pnpm
run: corepack enable pnpm

- name: Install dependencies
run: yarn install --frozen-lockfile
run: pnpm install --frozen-lockfile

- name: Test
run: yarn test:ci
run: pnpm test:ci

- name: Lint
run: yarn lint
run: pnpm lint

- name: Build
run: yarn build
run: pnpm build
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ node_modules*/

.DS_Store
.eslintcache
.npmrc
.pnpm-debug.log
*.tgz
*.tsbuildinfo
npm-debug.log
Expand Down
10 changes: 10 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# managed by skuba
public-hoist-pattern[]="@types*"
public-hoist-pattern[]="*eslint*"
public-hoist-pattern[]="*prettier*"
public-hoist-pattern[]="esbuild"
public-hoist-pattern[]="jest"
public-hoist-pattern[]="tsconfig-seek"
# end managed by skuba

public-hoist-pattern[]="openapi-types"
14 changes: 1 addition & 13 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,22 +1,10 @@
# managed by skuba
.idea/*
.vscode/*

.cdk.staging/
.serverless/
cdk.out/
node_modules*/

/coverage*/
/dist*/
/lib*/
/tmp*/

# Gantry resource files support non-standard template syntax
/.gantry/**/*.yaml
/.gantry/**/*.yml
gantry*.yaml
gantry*.yml
pnpm-lock.yaml
# end managed by skuba

examples/**/*.yml
Expand Down
18 changes: 10 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,14 @@ Fastify <a href="https://fastify.dev/docs/latest/Reference/Type-Providers/">type

## Install

Install via `npm` or `yarn`:
Install via `npm`, `pnpm` or `pnpm`:

```bash
npm install zod zod-openapi fastify-zod-openapi
## or
yarn add zod zod-openapi fastify-zod-openapi
pnpm add zod zod-openapi fastify-zod-openapi
## or
pnpm install zod-openapi fastify-zod-openapi
```

## Usage
Expand Down Expand Up @@ -170,27 +172,27 @@ Please note: the `responses`, `parameters` components do not appear to be suppor
### Prerequisites

- Node.js LTS
- Yarn 1.x
- pnpm

```shell
yarn
yarn build
pnpm install
pnpm build
```

### Test

```shell
yarn test
pnpm test
```

### Lint

```shell
# Fix issues
yarn format
pnpm format

# Check for issues
yarn lint
pnpm lint
```

### Release
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"build": "skuba build-package",
"format": "skuba format",
"lint": "skuba lint",
"prepare": "yarn build",
"prepare": "pnpm build",
"start": "skuba node --port=5000 examples/openapi.ts",
"test": "skuba test",
"test:ci": "skuba test --coverage",
Expand All @@ -53,7 +53,7 @@
"@types/node": "20.11.19",
"eslint-plugin-zod-openapi": "^0.1.0",
"fastify": "4.26.1",
"skuba": "6.2.0",
"skuba": "7.4.1",
"zod": "3.22.4",
"zod-openapi": "2.12.0"
},
Expand All @@ -62,6 +62,7 @@
"zod": "^3.21.4",
"zod-openapi": "^2.6.3"
},
"packageManager": "[email protected]",
"engines": {
"node": ">=16.11"
},
Expand All @@ -73,6 +74,6 @@
"entryPoint": "src/index.ts",
"template": "oss-npm-package",
"type": "package",
"version": "6.0.0"
"version": "7.4.1"
}
}
Loading

0 comments on commit cc29621

Please sign in to comment.