Move todo-list sourcecode to plugins
Signed-off-by: Vincenzo Scamporlino <me@vinzscam.dev>
This commit is contained in:
committed by
Joon Park
parent
ad9df65b74
commit
74c70f99d5
@@ -1,3 +0,0 @@
|
||||
# Plugin contributions
|
||||
|
||||
Plugins in this directory are for demonstrative purposes, like documentation and tutorials. Refer to the READMEs provided by each plugin for more details.
|
||||
@@ -14,18 +14,18 @@ We will use a "Todo list" feature, composed of the `todo-list` and `todo-list-ba
|
||||
|
||||
The source code is available here:
|
||||
|
||||
- [todo-list](https://github.com/backstage/backstage/blob/master/contrib/plugins/todo-list)
|
||||
- [todo-list-backend](https://github.com/backstage/backstage/blob/master/contrib/plugins/todo-list-backend)
|
||||
- [todo-list-common](https://github.com/backstage/backstage/blob/master/contrib/plugins/todo-list-common)
|
||||
- [todo-list](https://github.com/backstage/backstage/blob/master/plugins/example-todo-list)
|
||||
- [todo-list-backend](https://github.com/backstage/backstage/blob/master/plugins/example-todo-list-backend)
|
||||
- [todo-list-common](https://github.com/backstage/backstage/blob/master/plugins/todo-list-common)
|
||||
|
||||
1. Copy-paste the three folders into the plugins folder of your backstage application repository or run the following script from the root of your backstage application:
|
||||
|
||||
```bash
|
||||
$ curl https://codeload.github.com/backstage/backstage/zip/refs/heads/master | \
|
||||
tar -C plugins --strip-components=1 -xv \
|
||||
backstage-master/contrib/plugins/todo-list \
|
||||
backstage-master/contrib/plugins/todo-list-backend \
|
||||
backstage-master/contrib/plugins/todo-list-common
|
||||
backstage-master/plugins/example-todo-list \
|
||||
backstage-master/plugins/example-todo-list-backend \
|
||||
backstage-master/plugins/example-todo-list-common
|
||||
```
|
||||
|
||||
The `plugins` directory of your project should now include `todo-list`, `todo-list-backend`, and `todo-list-common`.
|
||||
|
||||
+7
-7
@@ -20,12 +20,12 @@
|
||||
"clean": "backstage-cli clean"
|
||||
},
|
||||
"dependencies": {
|
||||
"@backstage/backend-common": "^0.10.7",
|
||||
"@backstage/config": "^0.1.13",
|
||||
"@backstage/errors": "^0.2.0",
|
||||
"@backstage/plugin-auth-node": "^0.1.0",
|
||||
"@types/express": "*",
|
||||
"cross-fetch": "^3.0.6",
|
||||
"@backstage/backend-common": "^0.13.2-next.1",
|
||||
"@backstage/config": "^1.0.0",
|
||||
"@backstage/errors": "^1.0.0",
|
||||
"@backstage/plugin-auth-node": "^0.2.0-next.0",
|
||||
"@types/express": "^4.17.6",
|
||||
"cross-fetch": "^3.1.5",
|
||||
"express": "^4.17.1",
|
||||
"express-promise-router": "^4.1.0",
|
||||
"uuid": "^8.3.2",
|
||||
@@ -33,7 +33,7 @@
|
||||
"yn": "^4.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@backstage/cli": "^0.13.2",
|
||||
"@backstage/cli": "^0.17.0-next.1",
|
||||
"@types/supertest": "^2.0.8",
|
||||
"@types/uuid": "^8.0.0",
|
||||
"msw": "^0.35.0",
|
||||
+1
-1
@@ -36,7 +36,7 @@
|
||||
"@backstage/core-app-api": "^1.0.1-next.0",
|
||||
"@backstage/dev-utils": "^1.0.1-next.0",
|
||||
"@backstage/test-utils": "^1.0.1-next.1",
|
||||
"@types/node": "*",
|
||||
"@types/node": "^14.14.32",
|
||||
"msw": "^0.35.0",
|
||||
"cross-fetch": "^3.1.5"
|
||||
},
|
||||
@@ -21,9 +21,9 @@
|
||||
"clean": "backstage-cli clean"
|
||||
},
|
||||
"dependencies": {
|
||||
"@backstage/core-components": "^0.8.8",
|
||||
"@backstage/core-plugin-api": "^0.6.0",
|
||||
"@backstage/theme": "^0.2.14",
|
||||
"@backstage/core-components": "^0.9.3-next.0",
|
||||
"@backstage/core-plugin-api": "^1.0.0",
|
||||
"@backstage/theme": "^0.2.15",
|
||||
"@material-ui/core": "^4.12.2",
|
||||
"@material-ui/icons": "^4.9.1",
|
||||
"@material-ui/lab": "4.0.0-alpha.57",
|
||||
@@ -33,15 +33,15 @@
|
||||
"react": "^16.13.1 || ^17.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@backstage/cli": "^0.13.2",
|
||||
"@backstage/core-app-api": "^0.5.2",
|
||||
"@backstage/dev-utils": "^0.2.21",
|
||||
"@backstage/test-utils": "^0.2.4",
|
||||
"@backstage/cli": "^0.17.0-next.1",
|
||||
"@backstage/core-app-api": "^1.0.1-next.0",
|
||||
"@backstage/dev-utils": "^1.0.1-next.0",
|
||||
"@backstage/test-utils": "^1.0.1-next.1",
|
||||
"@testing-library/jest-dom": "^5.10.1",
|
||||
"@testing-library/react": "^11.2.5",
|
||||
"@testing-library/user-event": "^13.1.8",
|
||||
"@types/jest": "*",
|
||||
"@types/node": "*",
|
||||
"@testing-library/react": "^12.1.3",
|
||||
"@testing-library/user-event": "^14.0.0",
|
||||
"@types/jest": "^26.0.7",
|
||||
"@types/node": "^14.14.32",
|
||||
"msw": "^0.35.0"
|
||||
},
|
||||
"files": [
|
||||
Reference in New Issue
Block a user