Skip to content

Commit

Permalink
feat: Add command for quick creation of new universal file (#85)
Browse files Browse the repository at this point in the history
* feat:add the commnad to quick new univer file

* chore: cleanup package.json

---------

Co-authored-by: karl <[email protected]>
Co-authored-by: 白熱 <[email protected]>
  • Loading branch information
3 people authored Aug 19, 2024
1 parent bd1848e commit 27f52b9
Show file tree
Hide file tree
Showing 5 changed files with 1,430 additions and 1,400 deletions.
32 changes: 31 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,34 @@ jobs:
- name: 📦 Build
run: |
pnpm i
pnpm run build
pnpm build
lint:
runs-on: ubuntu-latest
timeout-minutes: 15

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

- name: Setup pnpm
uses: pnpm/action-setup@v4

- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: 18

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
registry-url: ${{ secrets.VERDACCIO_URL }}
scope: '@univerjs-pro'
env:
NODE_AUTH_TOKEN: ${{ secrets.VERDACCIO_TOKEN }}

- name: 📦 Build
run: |
pnpm i
pnpm lint --quiet
102 changes: 51 additions & 51 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,48 +22,48 @@
"lint:fix": "eslint . --fix"
},
"dependencies": {
"@univerjs/core": "^0.2.7",
"@univerjs/data-validation": "^0.2.7",
"@univerjs/design": "^0.2.7",
"@univerjs/docs": "^0.2.7",
"@univerjs/docs-drawing": "^0.2.7",
"@univerjs/docs-drawing-ui": "^0.2.7",
"@univerjs/docs-hyper-link": "^0.2.7",
"@univerjs/docs-hyper-link-ui": "^0.2.7",
"@univerjs/docs-thread-comment-ui": "^0.2.7",
"@univerjs/docs-ui": "^0.2.7",
"@univerjs/drawing": "^0.2.7",
"@univerjs/drawing-ui": "^0.2.7",
"@univerjs/engine-formula": "^0.2.7",
"@univerjs/engine-numfmt": "^0.2.7",
"@univerjs/engine-render": "^0.2.7",
"@univerjs/facade": "^0.2.7",
"@univerjs/find-replace": "^0.2.7",
"@univerjs/icons": "^0.1.57",
"@univerjs/network": "^0.2.7",
"@univerjs/protocol": "^0.1.37",
"@univerjs/rpc": "^0.2.7",
"@univerjs/sheets": "^0.2.7",
"@univerjs/sheets-conditional-formatting": "^0.2.7",
"@univerjs/sheets-conditional-formatting-ui": "^0.2.7",
"@univerjs/sheets-data-validation": "^0.2.7",
"@univerjs/sheets-drawing": "^0.2.7",
"@univerjs/sheets-drawing-ui": "^0.2.7",
"@univerjs/sheets-filter": "^0.2.7",
"@univerjs/sheets-find-replace": "^0.2.7",
"@univerjs/sheets-formula": "^0.2.7",
"@univerjs/sheets-hyper-link": "^0.2.7",
"@univerjs/sheets-hyper-link-ui": "^0.2.7",
"@univerjs/sheets-numfmt": "^0.2.7",
"@univerjs/sheets-sort": "^0.2.7",
"@univerjs/sheets-sort-ui": "^0.2.7",
"@univerjs/sheets-thread-comment": "^0.2.7",
"@univerjs/sheets-thread-comment-base": "^0.2.7",
"@univerjs/sheets-ui": "^0.2.7",
"@univerjs/sheets-zen-editor": "^0.2.7",
"@univerjs/thread-comment": "^0.2.7",
"@univerjs/thread-comment-ui": "^0.2.7",
"@univerjs/ui": "^0.2.7",
"@univerjs/core": "^0.2.8",
"@univerjs/data-validation": "^0.2.8",
"@univerjs/design": "^0.2.8",
"@univerjs/docs": "^0.2.8",
"@univerjs/docs-drawing": "^0.2.8",
"@univerjs/docs-drawing-ui": "^0.2.8",
"@univerjs/docs-hyper-link": "^0.2.8",
"@univerjs/docs-hyper-link-ui": "^0.2.8",
"@univerjs/docs-thread-comment-ui": "^0.2.8",
"@univerjs/docs-ui": "^0.2.8",
"@univerjs/drawing": "^0.2.8",
"@univerjs/drawing-ui": "^0.2.8",
"@univerjs/engine-formula": "^0.2.8",
"@univerjs/engine-numfmt": "^0.2.8",
"@univerjs/engine-render": "^0.2.8",
"@univerjs/facade": "^0.2.8",
"@univerjs/find-replace": "^0.2.8",
"@univerjs/icons": "^0.1.75",
"@univerjs/network": "^0.2.8",
"@univerjs/protocol": "^0.1.38",
"@univerjs/rpc": "^0.2.8",
"@univerjs/sheets": "^0.2.8",
"@univerjs/sheets-conditional-formatting": "^0.2.8",
"@univerjs/sheets-conditional-formatting-ui": "^0.2.8",
"@univerjs/sheets-data-validation": "^0.2.8",
"@univerjs/sheets-drawing": "^0.2.8",
"@univerjs/sheets-drawing-ui": "^0.2.8",
"@univerjs/sheets-filter": "^0.2.8",
"@univerjs/sheets-find-replace": "^0.2.8",
"@univerjs/sheets-formula": "^0.2.8",
"@univerjs/sheets-hyper-link": "^0.2.8",
"@univerjs/sheets-hyper-link-ui": "^0.2.8",
"@univerjs/sheets-numfmt": "^0.2.8",
"@univerjs/sheets-sort": "^0.2.8",
"@univerjs/sheets-sort-ui": "^0.2.8",
"@univerjs/sheets-thread-comment": "^0.2.8",
"@univerjs/sheets-thread-comment-base": "^0.2.8",
"@univerjs/sheets-ui": "^0.2.8",
"@univerjs/sheets-zen-editor": "^0.2.8",
"@univerjs/thread-comment": "^0.2.8",
"@univerjs/thread-comment-ui": "^0.2.8",
"@univerjs/ui": "^0.2.8",
"defu": "^6.1.4",
"jszip": "^3.10.1",
"rxjs": "^7.8.1",
Expand All @@ -73,19 +73,19 @@
"@univerjs-pro/exchange-wasm": "^1.1.0"
},
"devDependencies": {
"@antfu/eslint-config": "^2.22.2",
"@antfu/eslint-config": "^2.26.0",
"@release-it/conventional-changelog": "^8.0.1",
"@types/node": "^20.14.5",
"@types/node": "^22.4.1",
"@univerjs/vite-plugin": "^0.5.0",
"builtin-modules": "^3.3.0",
"builtin-modules": "^4.0.0",
"dotenv": "^16.4.5",
"eslint": "^8.57.0",
"lint-staged": "^15.2.7",
"obsidian": "1.5.7-1",
"release-it": "^17.3.0",
"eslint": "^9.9.0",
"lint-staged": "^15.2.9",
"obsidian": "1.6.6",
"release-it": "^17.6.0",
"simple-git-hooks": "^2.11.1",
"typescript": "^5.4.5",
"vite": "^5.3.1"
"typescript": "^5.5.4",
"vite": "^5.4.1"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
Expand Down
Loading

0 comments on commit 27f52b9

Please sign in to comment.