fix: 所有包添加 files=[src],排除 tsconfig.json 等开发文件不发布到 npm

这个提交包含在:
XuqmGroup 2026-06-16 13:22:54 +08:00
父节点 f727478e53
当前提交 0431b3d694
共有 7 个文件被更改,包括 24 次插入1 次删除

查看文件

@ -6,6 +6,9 @@
"main": "src/index.ts",
"react-native": "src/index.ts",
"types": "src/index.ts",
"files": [
"src"
],
"private": false,
"publishConfig": {
"registry": "https://nexus.xuqinmin.com/repository/npm-hosted/"

查看文件

@ -6,6 +6,9 @@
"main": "src/index.ts",
"react-native": "src/index.ts",
"types": "src/index.ts",
"files": [
"src"
],
"private": false,
"publishConfig": {
"registry": "https://nexus.xuqinmin.com/repository/npm-hosted/"

查看文件

@ -6,6 +6,9 @@
"main": "src/index.ts",
"react-native": "src/index.ts",
"types": "src/index.ts",
"files": [
"src"
],
"private": false,
"publishConfig": {
"registry": "https://nexus.xuqinmin.com/repository/npm-hosted/"

查看文件

@ -6,6 +6,9 @@
"main": "src/index.ts",
"react-native": "src/index.ts",
"types": "src/index.ts",
"files": [
"src"
],
"private": false,
"publishConfig": {
"registry": "https://nexus.xuqinmin.com/repository/npm-hosted/"

查看文件

@ -6,11 +6,16 @@
"main": "src/index.ts",
"react-native": "src/index.ts",
"types": "src/index.ts",
"files": [
"src"
],
"private": false,
"publishConfig": {
"registry": "https://nexus.xuqinmin.com/repository/npm-hosted/"
},
"scripts": { "typecheck": "tsc --noEmit" },
"scripts": {
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@xuqm/rn-common": ">=0.2.2"
},

查看文件

@ -6,6 +6,9 @@
"main": "src/index.ts",
"react-native": "src/index.ts",
"types": "src/index.ts",
"files": [
"src"
],
"private": false,
"publishConfig": {
"registry": "https://nexus.xuqinmin.com/repository/npm-hosted/"

查看文件

@ -6,6 +6,9 @@
"main": "src/index.ts",
"react-native": "src/index.ts",
"types": "src/index.ts",
"files": [
"src"
],
"private": false,
"publishConfig": {
"registry": "https://nexus.xuqinmin.com/repository/npm-hosted/"