chore: add dist files and .npmignore for npm distribution
- Include dist/ in git for npm package distribution - Add .npmignore to exclude source files from npm package - This ensures npm install from git works without requiring build Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
+47
@@ -0,0 +1,47 @@
|
||||
# Source files
|
||||
src/
|
||||
|
||||
# Config files
|
||||
tsconfig.json
|
||||
tsup.config.ts
|
||||
|
||||
# Dev dependencies config
|
||||
.eslintrc*
|
||||
.prettierrc*
|
||||
jest.config.*
|
||||
vitest.config.*
|
||||
|
||||
# Test files
|
||||
*.test.ts
|
||||
*.spec.ts
|
||||
__tests__/
|
||||
test/
|
||||
tests/
|
||||
|
||||
# Docs
|
||||
*.md
|
||||
!README.md
|
||||
|
||||
# Git
|
||||
.git/
|
||||
.gitignore
|
||||
|
||||
# IDE
|
||||
.idea/
|
||||
.vscode/
|
||||
*.swp
|
||||
*.swo
|
||||
|
||||
# OS
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
|
||||
# Logs
|
||||
*.log
|
||||
npm-debug.log*
|
||||
|
||||
# TypeScript cache
|
||||
*.tsbuildinfo
|
||||
|
||||
# Local env
|
||||
.env*
|
||||
Reference in New Issue
Block a user