mirror of
https://github.com/Hopiu/djLint.git
synced 2026-03-16 21:40:24 +00:00
updated demo
This commit is contained in:
parent
c20bb80bca
commit
2c9995cd78
10 changed files with 21 additions and 22 deletions
21
.github/workflows/release.yml
vendored
21
.github/workflows/release.yml
vendored
|
|
@ -26,27 +26,6 @@ jobs:
|
|||
- name: Setup Poetry
|
||||
uses: snok/install-poetry@v1
|
||||
|
||||
- name: Update wheels in docs demo
|
||||
run: |
|
||||
# remove old wheels
|
||||
rm -f docs/src/static/py/*
|
||||
# build new wheels
|
||||
poetry run pip wheel . -w docs/src/static/py
|
||||
# rename wheels
|
||||
cd docs/src/static/py
|
||||
mv djlint* djlint-99-py3-none-any.whl
|
||||
mv click* click-99-py3-none-any.whl
|
||||
mv colorama* colorama-99-py3-none-any.whl
|
||||
mv cssbeautifier* cssbeautifier-99-py3-none-any.whl
|
||||
mv EditorConfig* EditorConfig-99-py3-none-any.whl
|
||||
mv html_tag_names* html_tag_names-99-py3-none-any.whl
|
||||
mv html_void_elements* html_void_elements-99-py3-none-any.whl
|
||||
mv importlib_metadata* importlib_metadata-99-py3-none-any.whl
|
||||
mv jsbeautifier* jsbeautifier-99-py3-none-any.whl
|
||||
mv pathspec* pathspec-99-py3-none-any.whl
|
||||
mv PyYAML* PyYAML-99-py3-none-any.whl
|
||||
mv zipp* zipp-99-py3-none-any.whl
|
||||
|
||||
- name: Semantic Release
|
||||
uses: cycjimmy/semantic-release-action@v3
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
"@semantic-release/changelog",
|
||||
"@semantic-release/npm",
|
||||
["@semantic-release/exec", {
|
||||
"prepareCmd" : "poetry version ${nextRelease.version}"
|
||||
"prepareCmd" : "poetry version ${nextRelease.version}; ./build_demo.sh"
|
||||
}],
|
||||
["@semantic-release/git", {
|
||||
"assets": ["package.json", "pyproject.toml", "docs"]
|
||||
|
|
|
|||
18
build_demo.sh
Executable file
18
build_demo.sh
Executable file
|
|
@ -0,0 +1,18 @@
|
|||
# remove old wheels
|
||||
rm -f docs/src/static/py/*
|
||||
# build new wheels
|
||||
poetry run pip wheel . -w docs/src/static/py
|
||||
# rename wheels
|
||||
cd docs/src/static/py
|
||||
mv djlint* djlint-99-py3-none-any.whl
|
||||
mv click* click-99-py3-none-any.whl
|
||||
mv colorama* colorama-99-py3-none-any.whl
|
||||
mv cssbeautifier* cssbeautifier-99-py3-none-any.whl
|
||||
mv EditorConfig* EditorConfig-99-py3-none-any.whl
|
||||
mv html_tag_names* html_tag_names-99-py3-none-any.whl
|
||||
mv html_void_elements* html_void_elements-99-py3-none-any.whl
|
||||
mv importlib_metadata* importlib_metadata-99-py3-none-any.whl
|
||||
mv jsbeautifier* jsbeautifier-99-py3-none-any.whl
|
||||
mv pathspec* pathspec-99-py3-none-any.whl
|
||||
mv PyYAML* PyYAML-99-py3-none-any.whl
|
||||
mv zipp* zipp-99-py3-none-any.whl
|
||||
|
|
@ -14,6 +14,8 @@ const i18n_func = require('eleventy-plugin-i18n/i18n.js');
|
|||
const rollupper = require('./src/_utils/rollupper');
|
||||
const { nodeResolve } = require('@rollup/plugin-node-resolve');
|
||||
|
||||
process.setMaxListeners(0);
|
||||
|
||||
const slugifyCustom = (s) =>
|
||||
slugify(s, { lower: true, remove: /[*+~.()'"!:@]/g });
|
||||
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in a new issue