Skip to content

Commit

Permalink
New version 4.0.1 Read more https://github.com/xdan/jodit/blob/main/C…
Browse files Browse the repository at this point in the history
  • Loading branch information
xdan committed Jan 8, 2024
1 parent c29e873 commit eb38abc
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Publish
run: |
NPM_TOKEN=${{ secrets.NPM_TOKEN }} npm publish ./build --access public --tag beta
NPM_TOKEN=${{ secrets.NPM_TOKEN }} npm publish ./build --access public
- name: Trigger generate site hook
run: |
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
> - :house: [Internal]
> - :nail_care: [Polish]
## 4.0.1

[See changelog](https://github.com/xdan/jodit/releases)

## 4.0.0-beta.121

#### :boom: Breaking Change
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ build-all:
make clean
@mkdir -p $(pwd)/build/
@$(TS_NODE_BASE) $(cwd)tools/utils/prepare-publish.ts $(pwd)
@$(NODE_MODULES_BIN)/replace "4\.0\.0-beta\.\d+" "$(version)" $(pwd)/build/README.md --silent
@$(NODE_MODULES_BIN)/replace "4\.0\.1\.\d+" "$(version)" $(pwd)/build/README.md --silent

@echo 'Build esm ...'
make esm
Expand Down Expand Up @@ -235,8 +235,8 @@ screenshots-build-image:

.PHONY: newversion
newversion:
#npm version patch --no-git-tag-version
npm version prerelease --preid=beta --no-git-tag-version
npm version patch --no-git-tag-version
#npm version prerelease --preid=beta --no-git-tag-version
make newversion-git

.PHONY: newversion-git
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,19 +109,19 @@ You can manually include additional plugins and languages as needed.
```html
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/jodit/4.0.0-beta.24/es2021/jodit.min.css"
href="https://cdnjs.cloudflare.com/ajax/libs/jodit/4.0.1/es2021/jodit.min.css"
/>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jodit/4.0.0-beta.24/es2021/jodit.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jodit/4.0.1/es2021/jodit.min.js"></script>
```

#### unpkg

```html
<link
rel="stylesheet"
href="https://unpkg.com/[email protected].0-beta.24/es2021/jodit.min.css"
href="https://unpkg.com/[email protected].1/es2021/jodit.min.css"
/>
<script src="https://unpkg.com/[email protected].0-beta.24/es2021/jodit.min.js"></script>
<script src="https://unpkg.com/[email protected].1/es2021/jodit.min.js"></script>
```

### Usage
Expand Down
8 changes: 4 additions & 4 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,19 @@ cdnjs
```html
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/jodit/4.0.0-beta.24/es2021/jodit.min.css"
href="https://cdnjs.cloudflare.com/ajax/libs/jodit/4.0.1/es2021/jodit.min.css"
/>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jodit/4.0.0-beta.24/es2021/jodit.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jodit/4.0.1/es2021/jodit.min.js"></script>
```

unpkg

```html
<link
rel="stylesheet"
href="https://unpkg.com/[email protected].0-beta.24/es2021/jodit.min.css"
href="https://unpkg.com/[email protected].1/es2021/jodit.min.css"
/>
<script src="https://unpkg.com/[email protected].0-beta.24/es2021/jodit.min.js"></script>
<script src="https://unpkg.com/[email protected].1/es2021/jodit.min.js"></script>
```

Self-hosted · Download files
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jodit",
"version": "4.0.0-beta.121",
"version": "4.0.1",
"description": "Jodit is awesome and usefully wysiwyg editor with filebrowser",
"main": "build/jodit.min.js",
"types": "./types/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion tools/utils/prepare-publish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ fs.writeFileSync(
...packageJson.dependencies,
...(packageJson.name !== 'jodit'
? {
jodit: '^4.0.0-beta.76'
jodit: '^4.0.1'
}
: {})
},
Expand Down

0 comments on commit eb38abc

Please sign in to comment.