Skip to content

Commit

Permalink
Merge pull request #35 from 142vip/feat/add-npm-files
Browse files Browse the repository at this point in the history
feat: 各模块增加files配置,限定npm包发布文件
  • Loading branch information
微信公众号:储凡 authored Aug 1, 2024
2 parents 8d20460 + 4edbe15 commit 691800b
Show file tree
Hide file tree
Showing 15 changed files with 60 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/egg-axios/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"keywords": [
"公众号搜:储凡"
],
"files": [
"*.mjs",
"dist"
],
"scripts": {
"build": "unbuild",
"typecheck": "tsc --noEmit"
Expand Down
4 changes: 4 additions & 0 deletions packages/egg-grpc-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"keywords": [
"公众号搜:储凡"
],
"files": [
"*.mjs",
"dist"
],
"scripts": {
"build": "unbuild",
"typecheck": "tsc --noEmit"
Expand Down
4 changes: 4 additions & 0 deletions packages/egg-grpc-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"keywords": [
"公众号搜:储凡"
],
"files": [
"*.mjs",
"dist"
],
"scripts": {
"build": "unbuild",
"typecheck": "tsc --noEmit"
Expand Down
4 changes: 4 additions & 0 deletions packages/egg-mysql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"keywords": [
"公众号搜:储凡"
],
"files": [
"*.mjs",
"dist"
],
"scripts": {
"build": "unbuild",
"typecheck": "tsc --noEmit"
Expand Down
4 changes: 4 additions & 0 deletions packages/egg-redis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"keywords": [
"公众号搜:储凡"
],
"files": [
"*.mjs",
"dist"
],
"scripts": {
"build": "unbuild",
"typecheck": "tsc --noEmit"
Expand Down
4 changes: 4 additions & 0 deletions packages/egg-sequelize/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"keywords": [
"公众号搜:储凡"
],
"files": [
"*.mjs",
"dist"
],
"scripts": {
"build-test": "unbuild",
"typecheck": "tsc --noEmit"
Expand Down
4 changes: 4 additions & 0 deletions packages/egg-swagger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"keywords": [
"公众号搜:储凡"
],
"files": [
"*.mjs",
"dist"
],
"scripts": {
"build": "unbuild",
"typecheck": "tsc --noEmit"
Expand Down
4 changes: 4 additions & 0 deletions packages/egg/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"keywords": [
"公众号搜:储凡"
],
"files": [
"*.mjs",
"dist"
],
"scripts": {
"build": "unbuild",
"typecheck": "tsc --noEmit"
Expand Down
4 changes: 4 additions & 0 deletions packages/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"keywords": [
"公众号搜:储凡"
],
"files": [
"*.mjs",
"dist"
],
"scripts": {
"build": "unbuild",
"typecheck": "tsc --noEmit"
Expand Down
4 changes: 4 additions & 0 deletions packages/nest-redis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"keywords": [
"公众号搜:储凡"
],
"files": [
"*.mjs",
"dist"
],
"scripts": {
"build": "unbuild",
"typecheck": "tsc --noEmit"
Expand Down
4 changes: 4 additions & 0 deletions packages/nest-typeorm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"keywords": [
"公众号搜:储凡"
],
"files": [
"*.mjs",
"dist"
],
"scripts": {
"build-test": "unbuild",
"typecheck": "tsc --noEmit"
Expand Down
4 changes: 4 additions & 0 deletions packages/nest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"keywords": [
"公众号搜:储凡"
],
"files": [
"*.mjs",
"dist"
],
"scripts": {
"build": "unbuild",
"typecheck": "tsc --noEmit"
Expand Down
4 changes: 4 additions & 0 deletions packages/oauth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"keywords": [
"公众号搜:储凡"
],
"files": [
"*.mjs",
"dist"
],
"scripts": {
"build": "unbuild",
"typecheck": "tsc --noEmit"
Expand Down
4 changes: 4 additions & 0 deletions packages/redis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"keywords": [
"公众号搜:储凡"
],
"files": [
"*.mjs",
"dist"
],
"scripts": {
"build": "unbuild",
"typecheck": "tsc --noEmit"
Expand Down
4 changes: 4 additions & 0 deletions packages/vuepress/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"keywords": [
"公众号搜:储凡"
],
"files": [
"*.mjs",
"dist"
],
"scripts": {
"build": "unbuild",
"typecheck": "tsc --noEmit"
Expand Down

0 comments on commit 691800b

Please sign in to comment.