Skip to content

Commit 038367b

Browse files
committed
Add file field
1 parent 1187aaf commit 038367b

File tree

9 files changed

+33
-0
lines changed

9 files changed

+33
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"changes":{"packages/vite-plugin/package.json":"Patch","packages/next-plugin/package.json":"Patch","packages/utils/package.json":"Patch","packages/core/package.json":"Patch","packages/fetch/package.json":"Patch","packages/webpack-plugin/package.json":"Patch","packages/generator/package.json":"Patch","packages/rsbuild-plugin/package.json":"Patch"},"note":"Add file field","date":"2025-11-29T00:36:04.128800400Z"}

packages/core/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "@devup-api/core",
33
"version": "0.1.0",
4+
"license": "Apache-2.0",
45
"type": "module",
56
"exports": {
67
".": {
@@ -9,6 +10,9 @@
910
"types": "./dist/index.d.ts"
1011
}
1112
},
13+
"files": [
14+
"dist"
15+
],
1216
"scripts": {
1317
"build": "tsc && bun build --target node --outfile=dist/index.js src/index.ts --production --packages=external && bun build --target node --outfile=dist/index.cjs --format=cjs src/index.ts --production --packages=external"
1418
},

packages/fetch/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "@devup-api/fetch",
33
"version": "0.1.0",
4+
"license": "Apache-2.0",
45
"type": "module",
56
"exports": {
67
".": {
@@ -9,6 +10,9 @@
910
"types": "./dist/index.d.ts"
1011
}
1112
},
13+
"files": [
14+
"dist"
15+
],
1216
"scripts": {
1317
"build": "tsc && bun build --target node --outfile=dist/index.js src/index.ts --production --packages=external && bun build --target node --outfile=dist/index.cjs --format=cjs src/index.ts --production --packages=external"
1418
},

packages/generator/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "@devup-api/generator",
33
"version": "0.1.0",
4+
"license": "Apache-2.0",
45
"type": "module",
56
"exports": {
67
".": {
@@ -9,6 +10,9 @@
910
"types": "./dist/index.d.ts"
1011
}
1112
},
13+
"files": [
14+
"dist"
15+
],
1216
"scripts": {
1317
"build": "tsc && bun build --target node --outfile=dist/index.js src/index.ts --production --packages=external && bun build --target node --outfile=dist/index.cjs --format=cjs src/index.ts --production --packages=external"
1418
},

packages/next-plugin/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "@devup-api/next-plugin",
33
"version": "0.1.0",
4+
"license": "Apache-2.0",
45
"type": "module",
56
"exports": {
67
".": {
@@ -9,6 +10,9 @@
910
"types": "./dist/index.d.ts"
1011
}
1112
},
13+
"files": [
14+
"dist"
15+
],
1216
"scripts": {
1317
"build": "tsc && bun build --target node --outfile=dist/index.js src/index.ts --production --packages=external && bun build --target node --outfile=dist/index.cjs --format=cjs src/index.ts --production --packages=external"
1418
},

packages/rsbuild-plugin/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "@devup-api/rsbuild-plugin",
33
"version": "0.1.0",
4+
"license": "Apache-2.0",
45
"type": "module",
56
"exports": {
67
".": {
@@ -9,6 +10,9 @@
910
"types": "./dist/index.d.ts"
1011
}
1112
},
13+
"files": [
14+
"dist"
15+
],
1216
"scripts": {
1317
"build": "tsc && bun build --target node --outfile=dist/index.js src/index.ts --production --packages=external && bun build --target node --outfile=dist/index.cjs --format=cjs src/index.ts --production --packages=external"
1418
},

packages/utils/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "@devup-api/utils",
33
"version": "0.1.0",
4+
"license": "Apache-2.0",
45
"type": "module",
56
"exports": {
67
".": {
@@ -9,6 +10,9 @@
910
"types": "./dist/index.d.ts"
1011
}
1112
},
13+
"files": [
14+
"dist"
15+
],
1216
"scripts": {
1317
"build": "tsc && bun build --target node --outfile=dist/index.js src/index.ts --production --packages=external && bun build --target node --outfile=dist/index.cjs --format=cjs src/index.ts --production --packages=external"
1418
},

packages/vite-plugin/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "@devup-api/vite-plugin",
33
"version": "0.1.0",
4+
"license": "Apache-2.0",
45
"type": "module",
56
"exports": {
67
".": {
@@ -9,6 +10,9 @@
910
"types": "./dist/index.d.ts"
1011
}
1112
},
13+
"files": [
14+
"dist"
15+
],
1216
"scripts": {
1317
"build": "tsc && bun build --target node --outfile=dist/index.js src/index.ts --production --packages=external && bun build --target node --outfile=dist/index.cjs --format=cjs src/index.ts --production --packages=external"
1418
},

packages/webpack-plugin/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "@devup-api/webpack-plugin",
33
"version": "0.1.0",
4+
"license": "Apache-2.0",
45
"type": "module",
56
"exports": {
67
".": {
@@ -9,6 +10,9 @@
910
"types": "./dist/index.d.ts"
1011
}
1112
},
13+
"files": [
14+
"dist"
15+
],
1216
"scripts": {
1317
"build": "tsc && bun build --target node --outfile=dist/index.js src/index.ts --production --packages=external && bun build --target node --outfile=dist/index.cjs --format=cjs src/index.ts --production --packages=external"
1418
},

0 commit comments

Comments
 (0)