Skip to content

Commit

Permalink
Dependabot/npm and yarn/skuba 7.4.1 (#131)
Browse files Browse the repository at this point in the history
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
samchungy and dependabot[bot] authored Jun 1, 2024
1 parent 708a7a9 commit cf83bcd
Show file tree
Hide file tree
Showing 22 changed files with 7,420 additions and 8,203 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 @@ -25,8 +25,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 @@ -56,6 +59,6 @@ jobs:
DESTINATION_BRANCH: beta

- name: Publish to npm
run: yarn release --tag beta
run: pnpm release --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 @@ -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 Release Branch
run: |
Expand Down Expand Up @@ -63,6 +66,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Publish to npm
run: yarn release
run: pnpm release
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
11 changes: 7 additions & 4 deletions .github/workflows/validate.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[]="typescript"
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@ This is a set of Eslint rules created for use with [zod-openapi](https://github.

## Installation

To install simply run on yarn or npm
To install simply run on yarn, npm or pnpm

```bash
yarn add -D eslint-plugin-zod-openapi
# or
npm i -D eslint-plugin-zod-openapi
# or
pnpm i -D eslint-plugin-zod-openapi
```

Add the following configuration to your `.eslintrc` file
Expand Down Expand Up @@ -65,17 +67,17 @@ You may wish to use overrides as this plugin by default will assume that all Zod
### Test

```shell
yarn test
pnpm test
```

### Lint

```shell
# Fix issues
yarn format
pnpm format

# Check for issues
yarn lint
pnpm lint
```

### Release
Expand Down
13 changes: 9 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,27 +25,32 @@
"build": "skuba build --module CommonJS --outDir lib-commonjs --project tsconfig.build.json && skuba build --allowJS false --declaration --emitDeclarationOnly --outDir lib-types --project tsconfig.build.json",
"format": "skuba format",
"lint": "skuba lint",
"release": "yarn build && npm publish",
"release": "pnpm build && npm publish",
"test": "skuba test",
"test:ci": "skuba test --coverage",
"test:watch": "skuba test --watch"
},
"dependencies": {
"@typescript-eslint/utils": "^5.59.0"
"@typescript-eslint/utils": "^7.0.2"
},
"devDependencies": {
"@types/node": "20.11.19",
"skuba": "7.3.1",
"@typescript-eslint/rule-tester": "7.0.2",
"skuba": "7.4.1",
"zod": "3.22.4",
"zod-openapi": "2.13.0"
},
"packageManager": "pnpm@8.15.1",
"engines": {
"node": ">=16.11"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"skuba": {
"entryPoint": "src/index.ts",
"template": "oss-npm-package",
"type": "package",
"version": "5.0.1"
"version": "7.4.1"
}
}
Loading

0 comments on commit cf83bcd

Please sign in to comment.