-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(shared): move common components to shared package (#467)
- Loading branch information
Showing
29 changed files
with
1,600 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
module.exports = require('@backstage/cli/config/eslint-factory')(__dirname); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Janus React Common | ||
|
||
Shared code for utils, types, and React components for the Janus frontend plugins. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
{ | ||
"name": "@janus-idp/shared-react", | ||
"version": "0.1.0", | ||
"main": "src/index.ts", | ||
"types": "src/index.ts", | ||
"license": "Apache-2.0", | ||
"publishConfig": { | ||
"access": "public", | ||
"main": "dist/index.esm.js", | ||
"module": "dist/index.esm.js", | ||
"types": "dist/index.d.ts" | ||
}, | ||
"backstage": { | ||
"role": "common-library" | ||
}, | ||
"scripts": { | ||
"build": "backstage-cli package build", | ||
"lint": "backstage-cli package lint", | ||
"test": "backstage-cli package test --passWithNoTests --coverage", | ||
"clean": "backstage-cli package clean", | ||
"prepack": "backstage-cli package prepack", | ||
"postpack": "backstage-cli package postpack" | ||
}, | ||
"dependencies": { | ||
"@kubernetes/client-node": "^0.18.1", | ||
"classnames": "2.3.2" | ||
}, | ||
"peerDependencies": { | ||
"react": "^16.13.1 || ^17.0.0" | ||
}, | ||
"devDependencies": { | ||
"@backstage/cli": "0.22.7", | ||
"@backstage/core-app-api": "1.8.0", | ||
"@backstage/dev-utils": "1.0.15", | ||
"@backstage/test-utils": "1.3.1", | ||
"@testing-library/jest-dom": "5.10.1", | ||
"@testing-library/react": "12.1.3", | ||
"@testing-library/user-event": "14.0.0", | ||
"@types/node": "18.16.16", | ||
"msw": "1.2.1", | ||
"cross-fetch": "3.1.6" | ||
}, | ||
"files": [ | ||
"dist" | ||
], | ||
"repository": "github:janus-idp/backstage-plugins", | ||
"keywords": [ | ||
"backstage", | ||
"plugin" | ||
], | ||
"homepage": "https://janus-idp.io/", | ||
"bugs": "https://github.com/janus-idp/backstage-plugins/issues" | ||
} |
Oops, something went wrong.