Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: move to pnpm #745

Merged
merged 1 commit into from
Feb 14, 2022
Merged

refactor: move to pnpm #745

merged 1 commit into from
Feb 14, 2022

Conversation

jackson-yyy
Copy link
Contributor

PR Checklist

Please check if your PR fulfills the following requirements:

  • The commit message follows our guidelines
  • Tests for the changes have been added/updated or not needed
  • Docs and demo have been added/updated or not needed

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Component style update
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Application (the showcase website) / infrastructure changes
  • Other... Please describe: move to pnpm

What is the current behavior?

using yarn

What is the new behavior?

move to pnpm

Other information

@idux-bot
Copy link

idux-bot bot commented Feb 4, 2022

This preview will be available after the AzureCI is passed.

@jackson-yyy jackson-yyy changed the title wip:refactor: move to pnpm refactor: move to pnpm Feb 5, 2022
Copy link
Member

@danranVm danranVm left a comment

Choose a reason for hiding this comment

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

顺便改一下 azure-pipelines.yml 里面的命令?

"lodash-es": "^4.17.21",
"vue-types": "^3.0.0"
},
"devDependencies": {
Copy link
Member

Choose a reason for hiding this comment

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

compoents 应该没有依赖这两个库,是 site 的依赖。

Copy link
Contributor Author

Choose a reason for hiding this comment

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

compoents 应该没有依赖这两个库,是 site 的依赖。

我搜了一下,components下是有引用的

Copy link
Member

Choose a reason for hiding this comment

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

这两个是在 demo 里面用的,是输入 site 的代码。
components 的源码仅包含 src 目录下的。

scripts/gulp/build/index.ts Show resolved Hide resolved
@@ -126,6 +121,7 @@
"typescript": "^4.5.0",
"unplugin-vue-components": "^0.17.0",
"vite": "^2.7.0",
"vue": "^3.2.29",
"vue3-jest": "^27.0.0-alpha.2",
"yaml-front-matter": "^4.1.1"
},
Copy link
Contributor

Choose a reason for hiding this comment

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

看看是否需要把gulp给加上,我本地尝试的时候,告诉我没有安装gulp

Copy link
Contributor Author

Choose a reason for hiding this comment

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

应该是有写glup的,是不是什么原因导致glup的bin没有生成?

@jackson-yyy jackson-yyy force-pushed the refactor-pnpm branch 3 times, most recently from 3dfe4bc to 10b71ff Compare February 13, 2022 10:29
@jackson-yyy jackson-yyy changed the title refactor: move to pnpm wip:refactor: move to pnpm Feb 13, 2022
@jackson-yyy jackson-yyy changed the title wip:refactor: move to pnpm refactor: move to pnpm Feb 13, 2022
@jackson-yyy jackson-yyy force-pushed the refactor-pnpm branch 7 times, most recently from a8d5282 to ed932de Compare February 13, 2022 12:58
@codecov
Copy link

codecov bot commented Feb 13, 2022

Codecov Report

Merging #745 (5a88327) into main (9340796) will decrease coverage by 0.05%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #745      +/-   ##
==========================================
- Coverage   83.24%   83.19%   -0.06%     
==========================================
  Files         461      461              
  Lines       12068    12065       -3     
  Branches     2869     2872       +3     
==========================================
- Hits        10046    10037       -9     
- Misses       2022     2028       +6     
Impacted Files Coverage Δ
packages/cdk/breakpoint/src/mediaQuery.ts 79.41% <0.00%> (-8.83%) ⬇️
packages/cdk/utils/src/composable.ts 93.93% <0.00%> (-6.07%) ⬇️
packages/cdk/a11y/src/inputModalityDetector.ts 78.00% <0.00%> (-6.00%) ⬇️
packages/cdk/breakpoint/src/mediaMatcher.ts 91.30% <0.00%> (-4.35%) ⬇️
...ges/components/menu/src/composables/useSelected.ts 70.58% <0.00%> (-1.64%) ⬇️
packages/components/grid/src/Col.tsx 88.88% <0.00%> (-0.48%) ⬇️
packages/components/space/src/Space.tsx 92.98% <0.00%> (-0.13%) ⬇️
packages/components/grid/src/Row.tsx 90.00% <0.00%> (ø)
packages/components/grid/src/types.ts 100.00% <0.00%> (ø)
packages/cdk/a11y/src/focusMonitor.ts 85.98% <0.00%> (+0.63%) ⬆️
... and 2 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9340796...5a88327. Read the comment docs.

@jackson-yyy jackson-yyy force-pushed the refactor-pnpm branch 5 times, most recently from 7290e09 to e0da382 Compare February 13, 2022 13:34
@danranVm danranVm merged commit 9a970de into IDuxFE:main Feb 14, 2022
@danranVm danranVm deleted the refactor-pnpm branch February 14, 2022 03:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants