test-bdk-cli 0.1.13 → 0.1.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,3 +1,3 @@
1
- # React template
1
+ # App template
2
2
 
3
- This is a minimal React template for BoldDesk apps. Use `bdk create my-app --template react` to scaffold.
3
+ This is a minimal template for apps. Use `bdk apps:new my-app` to scaffold.
@@ -17,7 +17,7 @@ function registerCreate(program) {
17
17
  program
18
18
  .command('apps:new [appDirectories...]')
19
19
  .description('Scaffold one or more new app projects (usage: apps:new ./appName)')
20
- .option('--template <template>', 'template name', 'react')
20
+ .option('--template <template>', 'template name', 'default')
21
21
  .option('--path <dir>', 'base path for created directories', '.')
22
22
  .option('--force', 'overwrite if exists', false)
23
23
  .option('--git', 'initialize a git repository', false)
@@ -160,8 +160,22 @@ function registerCreate(program) {
160
160
  if (!fs_1.default.existsSync(manifestPath)) {
161
161
  const defaultManifest = {
162
162
  name: appName,
163
- version: '0.1.0',
164
- author: '',
163
+ author: {
164
+ name: '',
165
+ email: ''
166
+ },
167
+ defaultLocale: 'en',
168
+ private: true,
169
+ location: {
170
+ support: {
171
+ ticket_sidebar: {
172
+ url: 'assets/iframe.html',
173
+ flexible: true
174
+ }
175
+ }
176
+ },
177
+ version: '1.0.0',
178
+ frameworkVersion: '2.0',
165
179
  description: '',
166
180
  main: 'dist/index.html',
167
181
  permissions: []
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "test-bdk-cli",
3
- "version": "0.1.13",
3
+ "version": "0.1.15",
4
4
  "description": "test CLI",
5
5
  "author": "@raisulaslam",
6
6
  "bin": {
@@ -21,7 +21,8 @@
21
21
  "commander": "^10.0.0",
22
22
  "form-data": "^4.0.0",
23
23
  "inquirer": "^9.0.0",
24
- "node-fetch": "^2.6.7"
24
+ "node-fetch": "^2.6.7",
25
+ "test-bdk-cli": "^0.1.13"
25
26
  },
26
27
  "devDependencies": {
27
28
  "@types/archiver": "^7.0.0",
@@ -0,0 +1,14 @@
1
+ # App name
2
+
3
+ [brief description of the app]
4
+
5
+ ### The following information is displayed:
6
+
7
+ * info1
8
+ * info2
9
+ * info3
10
+
11
+ Please submit bug reports to [Insert Link](). Pull requests are welcome.
12
+
13
+ ### Screenshot(s):
14
+ [put your screenshots down here.]
@@ -0,0 +1,22 @@
1
+ {
2
+ "name": "sample-app",
3
+ "author": {
4
+ "name": "Your Name",
5
+ "email": ""
6
+ },
7
+ "defaultLocale": "en",
8
+ "private": true,
9
+ "location": {
10
+ "support": {
11
+ "ticket_sidebar": {
12
+ "url": "assets/iframe.html",
13
+ "flexible": true
14
+ }
15
+ }
16
+ },
17
+ "version": "1.0.0",
18
+ "frameworkVersion": "2.0",
19
+ "description": "A sample Node.js BoldDesk app",
20
+ "main": "dist/index.html",
21
+ "permissions": []
22
+ }
@@ -1,7 +1,7 @@
1
1
  {
2
- "name": "sample-react-app",
2
+ "name": "sample-app",
3
3
  "version": "0.1.0",
4
- "description": "Sample React app scaffolded by bdk",
4
+ "description": "Sample app scaffolded by bdk",
5
5
  "scripts": {
6
6
  "start": "echo \"No start script defined\" && exit 0",
7
7
  "build": "echo \"No build script defined\" && exit 0",
Binary file
@@ -1,3 +0,0 @@
1
- # React template
2
-
3
- This is a minimal sample React template for `bdk apps:new --template react`.
@@ -1,8 +0,0 @@
1
- {
2
- "name": "sample-react-app",
3
- "version": "0.1.0",
4
- "author": "Your Name",
5
- "description": "A sample React BoldDesk app",
6
- "main": "dist/index.html",
7
- "permissions": []
8
- }
File without changes
File without changes