Skip to content

Commit d8f7ca8

Browse files
committed
move blueprint blueprint-plugin-template from /plugin-templates to /plugins
1 parent 95d4449 commit d8f7ca8

34 files changed

Lines changed: 7160 additions & 0 deletions
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"settings": {
3+
"author": "Blueprint Plugin Author Placeholder",
4+
"license": "Apache-2.0",
5+
"copyPluginSettings": {
6+
"param1": "param1-value",
7+
"param2": "param2-value",
8+
"array": ["array-value1", "array-value2"]
9+
}
10+
}
11+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
node_modules
2+
**/node_modules
3+
dist
4+
**/src/models.ts
5+
**/*.stories.tsx
6+
coverage
7+
**/*.template.ts
8+
src/static
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"env": {
3+
"node": true,
4+
"es2021": true
5+
},
6+
"extends": [
7+
"eslint:recommended",
8+
"plugin:@typescript-eslint/recommended",
9+
"plugin:prettier/recommended"
10+
],
11+
"parser": "@typescript-eslint/parser",
12+
"parserOptions": {
13+
"ecmaVersion": 2021,
14+
"sourceType": "module"
15+
},
16+
"plugins": ["@typescript-eslint", "prettier"],
17+
"rules": {
18+
"@typescript-eslint/no-unused-vars": [
19+
"warn",
20+
{ "argsIgnorePattern": "^_", "varsIgnorePattern": "^_" }
21+
],
22+
"@typescript-eslint/no-explicit-any": "warn",
23+
"@typescript-eslint/explicit-function-return-type": [
24+
"warn",
25+
{ "allowExpressions": true }
26+
],
27+
"no-console": "warn",
28+
"prettier/prettier": ["error"]
29+
},
30+
"ignorePatterns": ["node_modules/", "dist/", "build/", ".eslintrc.js"]
31+
}
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
# See http://help.github.com/ignore-files/ for more about ignoring files.
2+
3+
# compiled output
4+
5+
tmp
6+
/out-tsc
7+
8+
# dependencies
9+
node_modules
10+
**/node_modules/
11+
12+
# IDEs and editors
13+
/.idea
14+
.project
15+
.classpath
16+
.c9/
17+
*.launch
18+
.settings/
19+
*.sublime-workspace
20+
21+
# IDE - VSCode
22+
.vscode/*
23+
!.vscode/settings.json
24+
!.vscode/tasks.json
25+
!.vscode/launch.json
26+
!.vscode/extensions.json
27+
*.code-workspace
28+
29+
# Local History for Visual Studio Code
30+
.history/
31+
32+
# Common credential files
33+
**/credentials.json
34+
**/client_secrets.json
35+
**/client_secret.json
36+
*.dat
37+
*.httr-oauth*
38+
39+
# Terraform development
40+
**/.terraform.lock.hcl
41+
**/.terraform
42+
**/terraform.tfstate
43+
**/terraform.tfstate.backup
44+
45+
# misc
46+
/.sass-cache
47+
/connect.lock
48+
**/coverage/
49+
/libpeerconnection.log
50+
npm-debug.log
51+
yarn-error.log
52+
testem.log
53+
/typings
54+
55+
56+
# System Files
57+
.DS_Store
58+
Thumbs.db
59+
60+
.nx/cache
61+
62+
.env.local
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.prettierignore
2+
.gitignore
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
dist
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"$schema": "http://json.schemastore.org/prettierrc",
3+
"singleQuote": false,
4+
"trailingComma": "all"
5+
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Amplication Blueprint Plugin Template
2+
3+
## Overview
4+
5+
This is a plugin for creating a template for creating Amplication Blueprint Plugins. It provides a basic structure and necessary files to help you get started with developing your own plugins.
6+
7+
Although you can clone this plugin as a starting point to create a new plugin, the main purpose of this plugin is to be used from within Amplication with a blueprint to be able to create plugin templates from the Amplication UI.
8+
9+
## Getting Started
10+
11+
To get started with creating your own Amplication Blueprint Plugin, follow these steps:
12+
13+
1. **Go to Amplication**: Open your web browser and navigate to [Amplication](https://app.amplication.com).
14+
15+
2. **Create a Blueprint**:
16+
17+
- Log in to your Amplication account.
18+
- Go to the "Blueprints" section in the "Settings" tab in the workspace.
19+
- Create a new blueprint and call it "Amplication Plugin".
20+
21+
3. **Create a Plugin**:
22+
23+
- Go to the "Plugin Repository" section in the "Platform" settings.
24+
- Create a new plugin and connect it to this code repository.
25+
26+
## Creating a new Plugin
27+
28+
When ever you want to create a new plugin, follow the common practice to create a resource in Amplication, using the new "Amplication Plugin" blueprint.
29+
30+
## License
31+
32+
This plugin is licensed under the MIT License.

0 commit comments

Comments
 (0)