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

chore: replace vsce with @vscode/vsce #77

Merged
merged 2 commits into from
Aug 21, 2024

Conversation

kagol
Copy link
Contributor

@kagol kagol commented Aug 20, 2024

When I execute pnpm build, there is a warning, so I rename autoComplete.json to autocomplete.json.

 WARN  ▲ [WARNING] Use "src/ui/antd/antd4/autocomplete.json" instead of "src/ui/antd/antd4/autoComplete.json" to avoid issues with case-sensitive file systems [different-path-case]                                22:37:10

    src/ui/antd/antd4/index.ts:23:25:
      23 │ import AutoComplete from './autoComplete.json'
         ╵                          ~~~~~~~~~~~~~~~~~~~~~

When I execute pnpm i, there is a warning, so I replace vsce with @vscode/vsce.

WARN  deprecated [email protected]: vsce has been renamed to @vscode/vsce. Install using @vscode/vsce instead.

After I replace vsce with @vscode/vsce, I execute npx vsce package --no-dependencies(I do not know why, but executing pnpm pack only generate tgz file, not vsix file), there is a error and package failed, so I removed files from package.json file.

ERROR  Both a .vscodeignore file and a "files" property in package.json were found. VSCE does not support combining both strategies. Either remove the .vscodeignore file or the "files" property in package.json.

@Simon-He95 Simon-He95 merged commit b120133 into Simon-He95:main Aug 21, 2024
2 checks passed
@Simon-He95
Copy link
Owner

nice job, thx~

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.

2 participants