Skip to content

Commit 0b2f913

Browse files
committed
feat: prepare for publish
1 parent d78387d commit 0b2f913

17 files changed

Lines changed: 3250 additions & 1334 deletions

.eslintrc.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"extends": [
3+
"eslint:recommended",
4+
"plugin:@typescript-eslint/eslint-recommended",
5+
"plugin:@typescript-eslint/recommended"
6+
],
7+
"plugins": ["@typescript-eslint"],
8+
"parser": "@typescript-eslint/parser",
9+
"rules": {
10+
"import/prefer-default-export": "off",
11+
"@typescript-eslint/ban-ts-comment": "off",
12+
"@typescript-eslint/no-non-null-assertion": "off",
13+
"@typescript-eslint/explicit-module-boundary-types": "off"
14+
}
15+
}

.github/workflows/main.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# This is a basic workflow to help you get started with Actions
2+
3+
name: Releases
4+
5+
env:
6+
PLUGIN_NAME: logseq-plugin-bullet-threading
7+
8+
# Controls when the action will run.
9+
on:
10+
push:
11+
branches:
12+
- "master"
13+
# Allows you to run this workflow manually from the Actions tab
14+
workflow_dispatch:
15+
16+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
17+
jobs:
18+
release:
19+
# The type of runner that the job will run on
20+
runs-on: ubuntu-latest
21+
22+
# Steps represent a sequence of tasks that will be executed as part of the job
23+
steps:
24+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
25+
- uses: actions/checkout@v2
26+
- uses: actions/setup-node@v2
27+
with:
28+
node-version: "16"
29+
- uses: pnpm/action-setup@v2.0.1
30+
with:
31+
version: 6.0.2
32+
- run: pnpm install
33+
- run: pnpm build
34+
- name: Install zip
35+
uses: montudor/action-zip@v1
36+
- name: Release
37+
run: npx semantic-release
38+
env:
39+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

CHANGELOG.md

Whitespace-only changes.

logo.png

14.4 KB
Loading

logo.svg

Lines changed: 0 additions & 7 deletions
This file was deleted.

package.json

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,32 @@
11
{
2-
"name": "logseq-plugin-template-react",
3-
"version": "0.0.1",
2+
"name": "logseq-plugin-bullet-threading",
3+
"version": "1.0.0",
44
"main": "dist/index.html",
55
"scripts": {
66
"dev": "vite",
7-
"build": "tsc && vite build"
7+
"build": "tsc && vite build",
8+
"preinstall": "npx only-allow pnpm"
89
},
910
"license": "MIT",
1011
"dependencies": {
11-
"@logseq/libs": "^0.0.1-alpha.19",
12-
"react": "^17.0.0",
13-
"react-dom": "^17.0.0",
14-
"react-use": "^17.2.4"
12+
"@logseq/libs": "^0.0.1-alpha.34"
1513
},
1614
"devDependencies": {
17-
"@types/react": "17.0.16",
18-
"@types/react-dom": "17.0.9",
19-
"@vitejs/plugin-react-refresh": "1.3.6",
20-
"typescript": "4.3.5",
21-
"vite": "2.4.4",
22-
"vite-plugin-windicss": "1.2.7",
23-
"windicss": "3.1.7"
15+
"@semantic-release/changelog": "6.0.1",
16+
"@semantic-release/exec": "6.0.3",
17+
"@semantic-release/git": "10.0.1",
18+
"@semantic-release/npm": "8.0.3",
19+
"@types/node": "17.0.1",
20+
"@typescript-eslint/eslint-plugin": "5.8.1",
21+
"@typescript-eslint/parser": "5.8.1",
22+
"conventional-changelog-conventionalcommits": "4.6.3",
23+
"eslint": "8.5.0",
24+
"semantic-release": "18.0.1",
25+
"typescript": "4.5.4",
26+
"vite": "2.7.9"
2427
},
2528
"logseq": {
26-
"id": "_pengx17-logseq-template-react",
27-
"icon": "./logo.svg"
29+
"id": "_pengx17-logseq-bullet-threading",
30+
"icon": "./logo.png"
2831
}
2932
}

0 commit comments

Comments
 (0)