Skip to content

Commit

Permalink
chore(pnpm): upgrade npm to pnpm. #108
Browse files Browse the repository at this point in the history
  • Loading branch information
eyunhua authored and fuchunhui committed Jul 15, 2022
1 parent c3f2f6f commit 5d35591
Show file tree
Hide file tree
Showing 7 changed files with 10,104 additions and 26,111 deletions.
3 changes: 3 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
registry=https://registry.npmjs.org/
auto-install-peers=true
strict-peer-dependencies=false
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

### Installation
```
npm install veui-theme-blue --save
pnpm install veui-theme-blue --save
```

### Load base styles for VEUI
Expand All @@ -34,22 +34,22 @@ There are two ways to load the base stylesheet:

## Project setup
```
npm install
pnpm install
```
### Compiles and hot-reloads for development
```
npm run serve
pnpm run serve
```
### Compiles and minifies for production
```
npm run build
pnpm run build
```
### Lints and fixes files
```
npm run lint
pnpm run lint
```
### Customize configuration
Expand Down
4 changes: 2 additions & 2 deletions build/deploy.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
npm run build
echo ' \033[32m npm run build. \033[0m \n'
pnpm run build
echo ' \033[32m pnpm run build. \033[0m \n'

# sed -i "" 's/static\/img/\..\/..\/static\/img/g' `grep static/img -rl components`
2 changes: 1 addition & 1 deletion icons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"prepublishOnly": "cp -r ./icons/* . && cp -r ./assets/images/* .",
"revoke": "rm *.js icon-names.json && rm *.png",
"publish": "rm *.js icon-names.json && rm *.png",
"prepare": "npm run build"
"prepare": "pnpm run build"
},
"repository": "ecomfe/veui-theme-blue",
"peerDependencies": {
Expand Down
Loading

1 comment on commit 5d35591

@vercel
Copy link

@vercel vercel bot commented on 5d35591 Jul 15, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

veui-theme-blue – ./

veui-theme-blue.vercel.app
veui-theme-blue-git-master-ecomfe.vercel.app
veui-theme-blue-ecomfe.vercel.app

Please sign in to comment.