@shoper/cli 0.1.0-3 → 0.1.0-4
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/oclif.config.js +36 -0
- package/package.json +3 -2
package/oclif.config.js
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
bin: 'shoper',
|
|
3
|
+
scope: 'shoper',
|
|
4
|
+
dirname: 'shoper_cli',
|
|
5
|
+
plugins: [
|
|
6
|
+
'@oclif/plugin-help',
|
|
7
|
+
'@oclif/plugin-version',
|
|
8
|
+
'@oclif/plugin-not-found',
|
|
9
|
+
'@oclif/plugin-update',
|
|
10
|
+
'oclif/plugin-warn-if-update-available'
|
|
11
|
+
],
|
|
12
|
+
'warn-if-update-available': {
|
|
13
|
+
frequency: 6,
|
|
14
|
+
frequencyUnit: 'hours',
|
|
15
|
+
message: '<%= config.name %> update available from <%= chalk.greenBright(config.version) %> to <%= chalk.greenBright(latest) %>.',
|
|
16
|
+
registry: 'https://my.example.com/module/registry',
|
|
17
|
+
authorization: 'Basic <SOME READ ONLY AUTH TOKEN>'
|
|
18
|
+
},
|
|
19
|
+
commands: {
|
|
20
|
+
strategy: 'explicit',
|
|
21
|
+
target: './build/index.js',
|
|
22
|
+
identifier: 'COMMANDS'
|
|
23
|
+
},
|
|
24
|
+
hooks: {
|
|
25
|
+
prerun: ['./build/cli/hooks/authorization/ensure_authorization_hook.js', './build/cli/hooks/migration/migration_hook.js']
|
|
26
|
+
},
|
|
27
|
+
topicSeparator: ' ',
|
|
28
|
+
topics: {
|
|
29
|
+
theme: {
|
|
30
|
+
description: 'Build Shoper themes.'
|
|
31
|
+
},
|
|
32
|
+
auth: {
|
|
33
|
+
description: 'Authenticate'
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
};
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@shoper/cli",
|
|
3
3
|
"packageManager": "yarn@3.2.0",
|
|
4
4
|
"sideEffects": false,
|
|
5
|
-
"version": "0.1.0-
|
|
5
|
+
"version": "0.1.0-4",
|
|
6
6
|
"description": "CLI tool for Shoper",
|
|
7
7
|
"author": "Joanna Firek",
|
|
8
8
|
"license": "MIT",
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
},
|
|
12
12
|
"files": [
|
|
13
13
|
"/bin",
|
|
14
|
-
"/build"
|
|
14
|
+
"/build",
|
|
15
|
+
"/oclif.config.js"
|
|
15
16
|
],
|
|
16
17
|
"source": "src/index.ts",
|
|
17
18
|
"type": "module",
|