@vendit-dev/thirdparty-adapters 0.7.34 → 0.7.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,13 +1,12 @@
1
1
  {
2
2
  "name": "@vendit-dev/thirdparty-adapters",
3
- "version": "0.7.34",
3
+ "version": "0.7.35",
4
4
  "description": "Third party adapters between v-cloud and other PMS/CMS providers.",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
7
7
  "build": "tsc",
8
8
  "dev": "node ./test/tl-lincoln.test.js",
9
- "npm-login": "npm login",
10
- "publish": "npm publish"
9
+ "npm-login": "npm login"
11
10
  },
12
11
  "keywords": [
13
12
  "vendit"
@@ -1,16 +0,0 @@
1
- ## PR 개요
2
-
3
- - Jira Ticket: VENDIT-
4
- - Notion Ticket link:
5
- - 요약:
6
- - 예상 PR 소요시간:
7
- - 요청 리뷰어:
8
- - 요청 PR Due Date:
9
-
10
- ## 변경사항 상세
11
-
12
- -
13
-
14
- ## References
15
-
16
- - 참고 문서, 스크린샷, 기타 자료 등등...
@@ -1,87 +0,0 @@
1
- name: Publish to npm
2
-
3
- on:
4
- workflow_dispatch:
5
- inputs:
6
- version_bump:
7
- description: "Version bump type"
8
- required: true
9
- type: choice
10
- options:
11
- - patch
12
- - minor
13
- - major
14
- - custom
15
- default: "patch"
16
- custom_version:
17
- description: 'Custom version (only used when "custom" is selected, e.g. 1.2.3)'
18
- required: false
19
- type: string
20
- dry_run:
21
- description: "Dry run (skip publish & git push)"
22
- required: false
23
- type: boolean
24
- default: false
25
-
26
- jobs:
27
- publish:
28
- runs-on: ubuntu-latest
29
- permissions:
30
- contents: write
31
- steps:
32
- - name: Checkout
33
- uses: actions/checkout@v4
34
-
35
- - name: Setup Node.js
36
- uses: actions/setup-node@v4
37
- with:
38
- node-version: "20"
39
- registry-url: "https://registry.npmjs.org"
40
-
41
- - name: Install dependencies
42
- run: yarn install --frozen-lockfile
43
-
44
- - name: Build
45
- run: yarn build
46
-
47
- - name: Configure Git
48
- run: |
49
- git config user.name "github-actions[bot]"
50
- git config user.email "github-actions[bot]@users.noreply.github.com"
51
-
52
- - name: Bump version
53
- id: bump
54
- run: |
55
- if [ "${{ inputs.version_bump }}" = "custom" ]; then
56
- VERSION="${{ inputs.custom_version }}"
57
- if [ -z "$VERSION" ]; then
58
- echo "::error::custom_version is required when version_bump is 'custom'"
59
- exit 1
60
- fi
61
- npm version "$VERSION" --no-git-tag-version
62
- else
63
- npm version "${{ inputs.version_bump }}" --no-git-tag-version
64
- fi
65
- VERSION=$(node -p "require('./package.json').version")
66
- echo "version=$VERSION" >> "$GITHUB_OUTPUT"
67
-
68
- - name: Publish (dry run)
69
- if: inputs.dry_run
70
- run: npm publish --dry-run
71
- env:
72
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
73
-
74
- - name: Publish
75
- if: ${{ !inputs.dry_run }}
76
- run: npm publish
77
- env:
78
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
79
-
80
- - name: Commit, tag & push
81
- if: ${{ !inputs.dry_run }}
82
- run: |
83
- git add package.json
84
- git commit -m "v${{ steps.bump.outputs.version }}"
85
- git tag "v${{ steps.bump.outputs.version }}"
86
- git push
87
- git push --tags
package/.tool-versions DELETED
@@ -1 +0,0 @@
1
- nodejs 12.22.12
@@ -1,17 +0,0 @@
1
- {
2
- "editor.formatOnSave": true,
3
- "editor.defaultFormatter": "esbenp.prettier-vscode",
4
- "editor.codeActionsOnSave": {
5
- "source.fixAll": "explicit",
6
- "source.organizeImports": "explicit"
7
- },
8
- "editor.tabSize": 2,
9
- "editor.indentSize": "tabSize",
10
- "editor.insertSpaces": true,
11
- "editor.detectIndentation": false,
12
- "editor.formatOnSaveMode": "modifications",
13
- "prettier.singleQuote": true,
14
- "prettier.trailingComma": "all",
15
- "prettier.arrowParens": "avoid",
16
- "prettier.useEditorConfig": true
17
- }