Skip to content

Commit 54ddfef

Browse files
committed
chore: fix package metadata and changeset
Signed-off-by: benjdlambert <ben@blam.sh>
1 parent c7be7c1 commit 54ddfef

File tree

3 files changed

+45
-34
lines changed

3 files changed

+45
-34
lines changed

.changeset/funny-eagles-try.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
'@backstage/plugin-auth-backend': patch
3+
'@backstage/plugin-auth-react': patch
4+
'@backstage/plugin-auth-node': patch
5+
---
6+
7+
Updating plugin metadata

.changeset/giant-buttons-flash.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@backstage/plugin-auth': minor
3+
---
4+
5+
Initial publish of the `auth` frontend package

plugins/auth/package.json

Lines changed: 33 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,50 @@
11
{
22
"name": "@backstage/plugin-auth",
3-
"version": "0.1.0",
4-
"license": "Apache-2.0",
5-
"private": true,
6-
"main": "src/index.ts",
7-
"types": "src/index.ts",
3+
"version": "0.0.0",
4+
"backstage": {
5+
"role": "frontend-plugin",
6+
"pluginId": "auth",
7+
"pluginPackages": [
8+
"@backstage/plugin-auth",
9+
"@backstage/plugin-auth-backend",
10+
"@backstage/plugin-auth-node",
11+
"@backstage/plugin-auth-react"
12+
]
13+
},
814
"publishConfig": {
915
"access": "public"
1016
},
17+
"repository": {
18+
"type": "git",
19+
"url": "https://github.com/backstage/backstage",
20+
"directory": "plugins/auth"
21+
},
22+
"license": "Apache-2.0",
23+
"sideEffects": false,
1124
"exports": {
1225
".": "./src/index.ts",
1326
"./package.json": "./package.json"
1427
},
28+
"main": "src/index.ts",
29+
"types": "src/index.ts",
1530
"typesVersions": {
1631
"*": {
1732
"package.json": [
1833
"package.json"
1934
]
2035
}
2136
},
22-
"repository": {
23-
"type": "git",
24-
"url": "https://github.com/backstage/backstage",
25-
"directory": "plugins/auth"
26-
},
27-
"backstage": {
28-
"role": "frontend-plugin",
29-
"pluginId": "auth",
30-
"pluginPackages": [
31-
"@backstage/plugin-auth",
32-
"@backstage/plugin-auth-backend",
33-
"@backstage/plugin-auth-node",
34-
"@backstage/plugin-auth-react"
35-
]
36-
},
37-
"sideEffects": false,
37+
"files": [
38+
"dist"
39+
],
3840
"scripts": {
39-
"start": "backstage-cli package start",
4041
"build": "backstage-cli package build",
41-
"lint": "backstage-cli package lint",
42-
"test": "backstage-cli package test",
4342
"clean": "backstage-cli package clean",
43+
"lint": "backstage-cli package lint",
4444
"prepack": "backstage-cli package prepack",
45-
"postpack": "backstage-cli package postpack"
45+
"postpack": "backstage-cli package postpack",
46+
"start": "backstage-cli package start",
47+
"test": "backstage-cli package test"
4648
},
4749
"dependencies": {
4850
"@backstage/core-compat-api": "workspace:^",
@@ -56,12 +58,6 @@
5658
"@material-ui/lab": "4.0.0-alpha.61",
5759
"react-use": "^17.2.4"
5860
},
59-
"peerDependencies": {
60-
"@types/react": "^17.0.0 || ^18.0.0",
61-
"react": "^17.0.0 || ^18.0.0",
62-
"react-dom": "^17.0.0 || ^18.0.0",
63-
"react-router-dom": "^6.3.0"
64-
},
6561
"devDependencies": {
6662
"@backstage/cli": "workspace:^",
6763
"@backstage/core-app-api": "workspace:^",
@@ -76,7 +72,10 @@
7672
"react": "^18.0.2",
7773
"react-dom": "^18.0.2"
7874
},
79-
"files": [
80-
"dist"
81-
]
75+
"peerDependencies": {
76+
"@types/react": "^17.0.0 || ^18.0.0",
77+
"react": "^17.0.0 || ^18.0.0",
78+
"react-dom": "^17.0.0 || ^18.0.0",
79+
"react-router-dom": "^6.3.0"
80+
}
8281
}

0 commit comments

Comments
 (0)