Skip to content

Commit

Permalink
Update ESLint configuration and prettier.config.cjs and build process
Browse files Browse the repository at this point in the history
  • Loading branch information
infysumanta committed Feb 17, 2024
1 parent e3e5ce4 commit 7243a7a
Show file tree
Hide file tree
Showing 29 changed files with 7,521 additions and 320 deletions.
5 changes: 0 additions & 5 deletions .changeset/famous-schools-relax.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/silver-horses-eat.md

This file was deleted.

File renamed without changes.
File renamed without changes.
11 changes: 11 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"parser": "@typescript-eslint/parser",
"extends": ["plugin:@typescript-eslint/recommended", "prettier"],
"parserOptions": {
"sourceType": "module"
},
"rules": {
"prettier/prettier": "error"
},
"plugins": ["@typescript-eslint", "prettier"]
}
19 changes: 14 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,30 @@ concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
publish:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
if: ${{ github.event.workflow_run.conclusion == 'success' && github.repository_owner == 'infysumanta' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- name: Checkout Repo
uses: actions/checkout@v3
with:
node-version: 16.x
fetch-depth: 0

- name: Use Node
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: 'npm'

- run: npm install --frozen-lockfile
- name: Create Release Pull Request or Publish
id: changesets
uses: changesets/action@v1
with:
publish: npm run release
commit: 'chore(release): version packages'
title: 'chore(release): version packages'
version: node .github/changeset-version.js
publish: npm run version && npm run install && npm run publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_ENV: 'production'
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# paypal-sdk

## 0.0.1

### Patch Changes

- 9ff71f4: update npmignore files
- e1fdd01: build configurations changed and test script added for version changed and script modifier
7 changes: 0 additions & 7 deletions config/fileTransformer.js

This file was deleted.

7 changes: 0 additions & 7 deletions config/tsconfig.cjs.json

This file was deleted.

7 changes: 0 additions & 7 deletions config/tsconfig.esm.json

This file was deleted.

8 changes: 0 additions & 8 deletions config/tsconfig.types.json

This file was deleted.

7 changes: 0 additions & 7 deletions config/tsconfig.umd.json

This file was deleted.

30 changes: 0 additions & 30 deletions config/webpack.config.js

This file was deleted.

11 changes: 0 additions & 11 deletions eslintrc.js

This file was deleted.

13 changes: 0 additions & 13 deletions index.ts

This file was deleted.

Loading

0 comments on commit 7243a7a

Please sign in to comment.