Skip to content

Commit

Permalink
fix(system-role): format date (#147)
Browse files Browse the repository at this point in the history
* test: release package workflow
  • Loading branch information
buqiyuan authored Feb 1, 2024
1 parent 31ee1ee commit e17fd89
Show file tree
Hide file tree
Showing 10 changed files with 121 additions and 839 deletions.
29 changes: 9 additions & 20 deletions .github/workflows/release-package.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
name: Publish Package

permissions:
id-token: write
contents: write

on:
push:
branches: [main]
Expand All @@ -13,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -27,20 +23,13 @@ jobs:
registry-url: https://registry.npmjs.org/
cache: pnpm

- run: pnpm install
- run: pnpm run --filter \"./packages/**\" build
- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Publish
if: success()
uses: author/action-publish@stable
with:
# Optionally specify the directories to scan
# for modules. If this is not specified, the
# root directory is scanned.
scan: './packages'
# Optionally force publishing as a public
# module. We don't recommend setting this,
# unless you have a very specific use case.
force: true
# run: pnpm run --filter \"./packages/**\" build

- name: Publish 🚀
shell: bash
run: pnpm publish --filter ./packages/* --access public --no-git-checks
env:
REGISTRY_TOKEN: '${{ secrets.NPM_TOKEN }}'
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"tinymce": "^6.8.2",
"vue": "~3.4.15",
"vue-echarts": "^6.6.8",
"vue-i18n": "9.9.0",
"vue-i18n": "9.9.1",
"vue-router": "~4.2.5",
"vue-types": "~5.1.1",
"vue-virtual-scroller": "2.0.0-beta.8",
Expand All @@ -65,7 +65,7 @@
"@faker-js/faker": "^8.4.0",
"@iconify-json/ant-design": "^1.1.14",
"@iconify-json/ep": "^1.1.14",
"@iconify/json": "^2.2.176",
"@iconify/json": "^2.2.177",
"@types/lodash-es": "~4.17.12",
"@types/node": "~20.10.5",
"@typescript-eslint/eslint-plugin": "~6.20.0",
Expand All @@ -84,11 +84,11 @@
"eslint-define-config": "~2.1.0",
"eslint-plugin-import": "~2.29.1",
"eslint-plugin-prettier": "~5.1.3",
"eslint-plugin-vue": "~9.21.0",
"eslint-plugin-vue": "~9.21.1",
"husky": "~9.0.7",
"less": "~4.2.0",
"lightningcss": "^1.23.0",
"lint-staged": "~15.2.0",
"lint-staged": "~15.2.1",
"mockjs": "~1.1.0",
"msw": "^2.1.5",
"postcss": "~8.4.33",
Expand All @@ -110,7 +110,7 @@
"unocss": "^0.58.4",
"unplugin-vue-components": "~0.26.0",
"vite": "~5.0.12",
"vite-plugin-checker": "~0.6.2",
"vite-plugin-checker": "~0.6.4",
"vite-plugin-svg-icons": "~2.0.1",
"vue-eslint-parser": "~9.4.2",
"vue-tsc": "~1.8.27"
Expand Down
1 change: 1 addition & 0 deletions packages/vite-plugin-msw/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
src/mockServiceWorker.js
2 changes: 1 addition & 1 deletion packages/vite-plugin-msw/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@admin-pkg/vite-plugin-msw",
"version": "0.0.3",
"version": "0.0.4",
"description": "",
"module": "./dist/browser/index.mjs",
"main": "./dist/browser/index.mjs",
Expand Down
299 changes: 0 additions & 299 deletions packages/vite-plugin-msw/src/mockServiceWorker.js

This file was deleted.

Loading

0 comments on commit e17fd89

Please sign in to comment.