mirror of
https://github.com/kuohuanhuan/x-markdown-css.git
synced 2024-11-25 06:18:19 +00:00
Compare commits
16 Commits
v0.0.0-202
...
v0.0.1-pat
Author | SHA1 | Date | |
---|---|---|---|
ba62d6e364
|
|||
d7c5188b7d
|
|||
de8b9d621c
|
|||
8bb74891ce
|
|||
d33f046030
|
|||
bd8d8822e5
|
|||
d9678940f2
|
|||
706720b8fe
|
|||
ff06dee900
|
|||
80ccac3dd1
|
|||
229680ca85
|
|||
e3fcf96559
|
|||
c77fbd21ae
|
|||
a4f5996f04
|
|||
cb009147b9
|
|||
188ac468fd
|
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -11,7 +11,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
# Test Lint
|
# Test Lint
|
||||||
lint:
|
lint:
|
||||||
# Use Ubuntu 22.04
|
# Use Ubuntu 22.04 LTS
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
# Step I
|
# Step I
|
||||||
|
32
.github/workflows/release.yml
vendored
32
.github/workflows/release.yml
vendored
@ -8,7 +8,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
# NPM Registry & GitHub Release
|
# NPM Registry & GitHub Release
|
||||||
release:
|
release:
|
||||||
# Use Ubuntu 22.04
|
# Use Ubuntu 22.04 LTS
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
# Step I
|
# Step I
|
||||||
@ -33,7 +33,7 @@ jobs:
|
|||||||
uses: TheDoctor0/zip-release@0.7.1
|
uses: TheDoctor0/zip-release@0.7.1
|
||||||
with:
|
with:
|
||||||
type: tar
|
type: tar
|
||||||
path: dist/
|
path: dist/*
|
||||||
filename: build.tar.gz
|
filename: build.tar.gz
|
||||||
# Step VI
|
# Step VI
|
||||||
- name: Publish to NPM Registry
|
- name: Publish to NPM Registry
|
||||||
@ -41,18 +41,28 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
token: ${{ secrets.NPM_TOKEN }}
|
token: ${{ secrets.NPM_TOKEN }}
|
||||||
# Step VII
|
# Step VII
|
||||||
- name: GitHub Release
|
|
||||||
uses: marvinpinto/action-automatic-releases@latest
|
|
||||||
with:
|
|
||||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
prerelease: false
|
|
||||||
files: |
|
|
||||||
dist/*
|
|
||||||
build.tar.gz
|
|
||||||
# Step VIII
|
|
||||||
- name: Generate Changelog
|
- name: Generate Changelog
|
||||||
run: npx changelogithub@0.12
|
run: npx changelogithub@0.12
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
# Step VIII
|
||||||
|
# / pre-release
|
||||||
|
- name: GitHub Release (pre-release)
|
||||||
|
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && contains(github.ref, '-')
|
||||||
|
uses: softprops/action-gh-release@v1
|
||||||
|
with:
|
||||||
|
prerelease: true
|
||||||
|
files: |
|
||||||
|
dist/*
|
||||||
|
build.tar.gz
|
||||||
|
# / release
|
||||||
|
- name: GitHub Release (release)
|
||||||
|
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && contains(github.ref, '-') == false
|
||||||
|
uses: softprops/action-gh-release@v1
|
||||||
|
with:
|
||||||
|
prerelease: false
|
||||||
|
files: |
|
||||||
|
dist/*
|
||||||
|
build.tar.gz
|
||||||
|
|
||||||
# Authored by @kuohuanhuan.
|
# Authored by @kuohuanhuan.
|
||||||
|
@ -14,6 +14,10 @@
|
|||||||
|
|
||||||
- Node.js >= 16
|
- Node.js >= 16
|
||||||
|
|
||||||
|
## Browsers Support
|
||||||
|
|
||||||
|
According to [.browserslistrc](https://github.com/kuohuanhuan/x-markdown-css/blob/master/.browserslistrc), `x-markdown-css` supports **all browsers support CSS variables.**
|
||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "x-markdown-css",
|
"name": "x-markdown-css",
|
||||||
"version": "0.0.0-20230303.3",
|
"version": "0.0.1-patch.0",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "x-markdown-css",
|
"name": "x-markdown-css",
|
||||||
"version": "0.0.0-20230303.3",
|
"version": "0.0.1-patch.0",
|
||||||
"description": "A simple and customizable markdown CSS stylesheet for everyone.",
|
"description": "A simple and customizable markdown CSS stylesheet for everyone.",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"markdown",
|
"markdown",
|
||||||
|
Reference in New Issue
Block a user