Skip to content

Commit

Permalink
fix: 🐛 npm包不忽略dist文件夹
Browse files Browse the repository at this point in the history
  • Loading branch information
lijie191754186 committed Jul 30, 2024
1 parent 0a01310 commit 78bf3ee
Show file tree
Hide file tree
Showing 31 changed files with 2,905 additions and 49 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# .github/workflows/release.yml

name: Release

permissions:
contents: write

on:
push:
tags:
- 'v*'

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- uses: actions/setup-node@v3
with:
node-version: 16.x

- run: npx changelogithub # or [email protected] if ensure the stable result
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ coverage
.next/
out/
build
dist



# Debug
Expand Down
1 change: 1 addition & 0 deletions apps/docs/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ node_modules
.dumi/tmp
.dumi/tmp-production
.DS_Store
dist
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@
},
"devDependencies": {
"@changesets/cli": "^2.27.1",
"@cmsfe/cli": "workspace:*",
"@cmsfe/eslint-config": "workspace:*",
"@cmsfe/typescript-config": "workspace:*",
"@cmsfe/cli": "workspace:*",
"changelogithub": "^0.13.9",
"flag": "^5.0.1",
"prettier": "^3.2.5",
"tsup": "^8.0.2",
"turbo": "latest",
Expand Down
6 changes: 6 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# CLI

## 1.0.2

### Patch Changes

- 不忽略dist目录

## 1.0.1

### Patch Changes
Expand Down
1 change: 1 addition & 0 deletions packages/cli/dist/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#!/usr/bin/env node
4 changes: 4 additions & 0 deletions packages/cli/dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/cli/dist/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cmsfe/cli",
"version": "1.0.1",
"version": "1.0.2",
"description": "CLI tool",
"license": "MIT",
"publishConfig": {
Expand Down
6 changes: 6 additions & 0 deletions packages/eslint-config/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @cmsfe/eslint-config

## 0.0.3

### Patch Changes

- 不忽略dist目录

## 0.0.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cmsfe/eslint-config",
"version": "0.0.2",
"version": "0.0.3",
"private": false,
"files": [
"library.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/tools/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ coverage
.next/
out/
build
dist



# Debug
Expand Down
6 changes: 6 additions & 0 deletions packages/tools/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @cmsfe/tools

## 1.0.11

### Patch Changes

- 不忽略dist目录

## 1.0.10

### Patch Changes
Expand Down
Loading

0 comments on commit 78bf3ee

Please sign in to comment.