Skip to content

Commit

Permalink
fix: only storage string title
Browse files Browse the repository at this point in the history
1. use tsup instead of vite lib mode
2. package.json redirect css file for improve DX

#43
  • Loading branch information
hemengke1997 committed Mar 8, 2023
1 parent 2741c57 commit 1dc047d
Show file tree
Hide file tree
Showing 21 changed files with 1,549 additions and 4,359 deletions.
26 changes: 8 additions & 18 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,32 +8,22 @@ on:
jobs:
publish-npm:
if: "contains(github.event.head_commit.message, 'release')"
runs-on: ${{matrix.os}}

strategy:
matrix:
os: [ubuntu-latest]
node-version: [16.x]
fail-fast: false
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup Node
uses: actions/setup-node@v3
with:
token: ${{ secrets.ACCESS_TOKEN }}
fetch-depth: 0
node-version: 18.x
registry-url: https://registry.npmjs.org/

- name: Install pnpm
uses: pnpm/action-setup@v2.0.1
with:
version: 6.31.0

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/
cache: pnpm
version: 7.27.1

- name: Install Dependencies
run: pnpm install --no-frozen-lockfile
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ node_modules
.DS_Store
dist
*.local
.vscode
3 changes: 0 additions & 3 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
.DS_STORE
*.log
/example
.idea/
.vscode
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ pnpm add @minko-fe/use-antd-resizable-header
import { Button, Table } from 'antd'
import ProTable from '@ant-design/pro-table'
import { useAntdResizableHeader } from '@minko-fe/use-antd-resizable-header'
import '@minko-fe/use-antd-resizable-header/dist/style.css'
import '@minko-fe/use-antd-resizable-header/index.css'

function App() {
const columns = []
Expand Down Expand Up @@ -89,7 +89,7 @@ function App() {
import React, { useReducer } from 'react'
import { Space, Table, Tag } from 'antd'
import { useAntdResizableHeader } from '@minko-fe/use-antd-resizable-header'
import '@minko-fe/use-antd-resizable-header/dist/style.css'
import '@minko-fe/use-antd-resizable-header/index.css'

const data = [
{
Expand Down
Loading

0 comments on commit 1dc047d

Please sign in to comment.