Skip to content

Commit 04a5e9f

Browse files
chore: add license field to get rid of 'warning package.json: No license field' (#32829)
* chore: add license field to get rid of 'warning package.json: No license field' * eslintignore updates * alphabetize package.json field
1 parent a36e181 commit 04a5e9f

File tree

33 files changed

+37
-1
lines changed

33 files changed

+37
-1
lines changed

packages/app/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@
9898
"files": [
9999
"dist"
100100
],
101+
"license": "MIT",
101102
"nx": {
102103
"implicitDependencies": [
103104
"@packages/data-context"

packages/config/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
"esm/*"
5656
],
5757
"types": "cjs/index.d.ts",
58+
"license": "MIT",
5859
"module": "esm/index.js",
5960
"nx": {}
6061
}

packages/data-context/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,5 +120,6 @@
120120
"schemas",
121121
"graphql"
122122
],
123-
"types": "src/index.ts"
123+
"types": "src/index.ts",
124+
"license": "MIT"
124125
}

packages/driver/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@
102102
"files": [
103103
"patches"
104104
],
105+
"license": "MIT",
105106
"workspaces": {
106107
"nohoist": [
107108
"*"

packages/electron/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,6 @@
4545
"lint-staged": {
4646
"**/*.{js,jsx,ts,tsx}": "eslint --fix"
4747
},
48+
"license": "MIT",
4849
"nx": {}
4950
}

packages/errors/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,6 @@
5353
"lint-staged": {
5454
"**/*.{js,jsx,ts,tsx,json}": "eslint --fix"
5555
},
56+
"license": "MIT",
5657
"nx": {}
5758
}

packages/eslint-config/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"peerDependencies": {
2929
"eslint": "^9.31.0"
3030
},
31+
"license": "MIT",
3132
"lint-staged": {
3233
"**/*.{js,jsx,ts,tsx,json}": "eslint --fix"
3334
}

packages/example/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"lib"
2727
],
2828
"types": "index.d.ts",
29+
"license": "MIT",
2930
"nx": {
3031
"targets": {
3132
"build": {

packages/extension/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
"lib-dist",
4646
"theme"
4747
],
48+
"license": "MIT",
4849
"nx": {
4950
"implicitDependencies": [
5051
"@packages/server",

packages/frontend-shared/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@
107107
"vue-tsc": "^2.0.19",
108108
"wonka": "^4.0.15"
109109
},
110+
"license": "MIT",
110111
"module": "es2020",
111112
"workspaces": {
112113
"nohoist": [

0 commit comments

Comments
 (0)