Skip to content

Commit

Permalink
Merge pull request #43 from Slid-Team/slid-release/v1.3.0
Browse files Browse the repository at this point in the history
Slid release/v1.3.0
  • Loading branch information
somangoi authored Aug 22, 2023
2 parents f402178 + 4721307 commit a8e1fa5
Show file tree
Hide file tree
Showing 178 changed files with 19,820 additions and 8,730 deletions.
19 changes: 0 additions & 19 deletions .babelrc

This file was deleted.

2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# These are supported funding model platforms

github: neSpecc
patreon: editorjs
open_collective: editorjs
custom: https://codex.so/donate
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: Bug report
about: Create a report to help us improve Editor.js
title: "[Bug]"
title: ""
labels: bug
assignees: ''

Expand Down
8 changes: 4 additions & 4 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ contact_links:
- name: Team
url: mailto:team@codex.so
about: Direct team contact.
- name: 💬 Discussions
url: https://github.com/codex-team/editor.js/discussions
about: Use discussions if you have an issue draft, an idea for improvement or for asking questions.
- name: Editor.js Telegram chat
url: https://t.me/codex_editor
about: Telegram chat for Editor.js users communication.
- name: Editor.js contributors Telegram chat
url: https://t.me/editorjsdev
about: Telegram chat for Editor.js contributors communication.
about: Telegram chat for Editor.js users communication.
19 changes: 0 additions & 19 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
name: Discussion
about: Any question about the Editor.js to discuss
name: General Issue
about: Well-designed, algorithmized feature/idea/improvement issue for Editor.js
title: ''
labels: discussion
labels: ''
assignees: ''

---
Expand Down
24 changes: 0 additions & 24 deletions .github/ISSUE_TEMPLATE/issue--discussion.md

This file was deleted.

3 changes: 1 addition & 2 deletions .github/workflows/bump-version-on-merge-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ jobs:
# Setup node environment
- uses: actions/setup-node@v1
with:
node-version: 15
registry-url: https://registry.npmjs.org/
node-version: 16

# Bump version to the next prerelease (patch) with rc suffix
- name: Suggest the new version
Expand Down
23 changes: 18 additions & 5 deletions .github/workflows/create-a-release-draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ jobs:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v3
with:
node-version: 16
# Checkout to target branch
- uses: actions/checkout@v2
with:
Expand Down Expand Up @@ -53,8 +56,7 @@ jobs:
# Setup node environment
- uses: actions/setup-node@v1
with:
node-version: 14.17.0
registry-url: https://registry.npmjs.org/
node-version: 16

# Prepare, build and publish project
- name: Install dependencies
Expand Down Expand Up @@ -87,16 +89,27 @@ jobs:
# If version name contains "-rc" suffix than mark a "pre-release" checkbox
prerelease: ${{ contains(steps.package.outputs.version, '-rc') }}

# Build and upload target Editor.js build to release as artifact
# Build and upload target Editor.js UMD build to release as artifact
- name: Upload Release Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: dist/editor.js
asset_name: editor.js
asset_path: dist/editorjs.umd.js
asset_name: editorjs.umd.js
asset_content_type: application/javascript

# Build and upload target Editor.js MJS build to release as artifact
- name: Upload Release Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: dist/editorjs.mjs
asset_name: editorjs.mjs
asset_content_type: application/javascript

# Send a notification message
- name: Send a message
Expand Down
41 changes: 13 additions & 28 deletions .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,21 @@
name: Tests
name: Cypress

on: [pull_request]

jobs:
firefox:
run-tests:
strategy:
matrix:
browser: [firefox, chrome, edge]

runs-on: ubuntu-latest
container:
image: cypress/browsers:node14.17.0-chrome88-ff89
options: --user 1001
steps:
- uses: actions/checkout@v2
- run: yarn ci:pull_paragraph
- uses: cypress-io/github-action@v2
- uses: actions/setup-node@v3
with:
config: video=false
browser: firefox
build: yarn build
chrome:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: yarn ci:pull_paragraph
- uses: cypress-io/github-action@v2
with:
config: video=false
browser: chrome
build: yarn build
edge:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- run: yarn ci:pull_paragraph
- uses: cypress-io/github-action@v2
node-version: 16
- uses: actions/checkout@v3
- uses: cypress-io/github-action@v5
with:
config: video=false
browser: edge
browser: ${{ matrix.browser }}
build: yarn build
3 changes: 1 addition & 2 deletions .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,5 @@ jobs:
${{ runner.OS }}-build-
${{ runner.OS }}-
- run: yarn install

- run: yarn
- run: yarn lint
2 changes: 1 addition & 1 deletion .github/workflows/publish-package-to-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
# Setup node environment
- uses: actions/setup-node@v1
with:
node-version: 14.17.0
node-version: 16
registry-url: https://registry.npmjs.org/

# Prepare, build and publish project
Expand Down
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
[submodule "example/tools/simple-image"]
path = example/tools/simple-image
url = https://github.com/editor-js/simple-image
[submodule "src/tools/paragraph"]
path = src/tools/paragraph
url = https://github.com/editor-js/paragraph
[submodule "example/tools/marker"]
path = example/tools/marker
url = https://github.com/editor-js/marker
Expand Down
28 changes: 6 additions & 22 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,22 +1,6 @@
.idea
.github
docs
example
src
test
.babelrc
.editorconfig
.eslintignore
.eslintrc
.git
.gitmodules
.jshintrc
.postcssrc.yml
.stylelintrc
CODEOWNERS
cypress.json
tsconfig.json
tslint.json
webpack.config.js
yarn.lock
devserver.js
*
!/dist/**/*
!/types/**/*
!/LICENSE
!/README.md
!/package.json
18 changes: 0 additions & 18 deletions .postcssrc.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
plugins:
# Consumes files by @import rule
# https://github.com/postcss/postcss-import
postcss-import: {}

# Apply custom property sets via @apply rule
# https://github.com/pascalduez/postcss-apply
postcss-apply: {}
Expand All @@ -26,24 +22,10 @@ plugins:
# https://github.com/csstools/postcss-preset-env#preserve
preserve: false

# Enable or disable specific polyfills
# https://github.com/csstools/postcss-preset-env#features
#
# List of available plugins
# https://github.com/csstools/postcss-preset-env/blob/master/src/lib/plugins-by-id.js
features:
# Modify colors using the color-mod() function in CSS
# https://github.com/jonathantneal/postcss-color-mod-function
color-mod-function: {}

# Nested rules unwrapper
# https://github.com/postcss/postcss-nested
#
# As you know 'postcss-preset-env' plugin has an ability to process
# 'postcss-nesting' feature but it does not work with BEM
# Report: https://github.com/csstools/postcss-preset-env/issues/40
postcss-nested: {}

# Compression tool
# https://github.com/cssnano/cssnano
cssnano: {}
2 changes: 2 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"colspan",
"contenteditable",
"contentless",
"Convertable",
"cssnano",
"cssnext",
"Debouncer",
Expand All @@ -34,6 +35,7 @@
"textareas",
"twitterwidget",
"typeof",
"Unmergeable",
"viewports"
]
}
Loading

0 comments on commit a8e1fa5

Please sign in to comment.