jodit-react 2.0.1-beta.6 → 4.0.2

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.
@@ -0,0 +1,42 @@
1
+ name: New version
2
+
3
+ on:
4
+ workflow_dispatch:
5
+
6
+ repository_dispatch:
7
+ types: [newversion]
8
+
9
+ jobs:
10
+ newversion:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v3
14
+ with:
15
+ persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal access token.
16
+ fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.
17
+ - uses: actions/setup-node@v3 #Setup Node
18
+ with:
19
+ node-version-file: '.nvmrc'
20
+ cache: 'npm'
21
+ - name: Create local changes
22
+ run: |
23
+ npm ci
24
+ npm i jodit
25
+
26
+ git config --local user.email "github-actions[bot]@users.noreply.github.com"
27
+ git config --local user.name "github-actions[bot]"
28
+
29
+ npm version patch --no-git-tag-version
30
+ npm run git
31
+
32
+ - name: Push changes
33
+ uses: ad-m/github-push-action@master
34
+ with:
35
+ github_token: ${{ secrets.GITHUB_TOKEN }}
36
+ branch: ${{ github.ref }}
37
+ tags: true
38
+
39
+ - name: Trigger release action
40
+ run: |
41
+ curl -XPOST -u "${{ secrets.PAT_USERNAME}}:${{secrets.PAT_TOKEN}}" -H "Accept:application/vnd.github.everest-preview+json" -H "Content-Type: application/json" https://api.github.com/repos/jodit/jodit-react/dispatches --data '{"event_type": "release" }'
42
+
@@ -1,6 +1,9 @@
1
1
  name: Publish Package to npmjs
2
2
 
3
3
  on:
4
+ repository_dispatch:
5
+ types: [ release ]
6
+
4
7
  push:
5
8
  tags: ["*"]
6
9
 
@@ -30,4 +33,4 @@ jobs:
30
33
 
31
34
  - name: Publish
32
35
  run: |
33
- NPM_TOKEN=${{ secrets.NPM_TOKEN }} npm publish ./ --access public --tag beta
36
+ NPM_TOKEN=${{ secrets.NPM_TOKEN }} npm publish ./ --access public
package/.nvmrc CHANGED
@@ -1 +1 @@
1
- 16.15.0
1
+ 18.17.1
package/CHANGELOG.md CHANGED
@@ -9,6 +9,10 @@
9
9
  > - :house: [Internal]
10
10
  > - :nail_care: [Polish]
11
11
 
12
+ ## 4.0.1
13
+
14
+ -
15
+
12
16
  ## 1.3.19
13
17
 
14
18
  #### :rocket: New Feature