-
Notifications
You must be signed in to change notification settings - Fork 3
/
tangible.config.js
81 lines (81 loc) · 2.19 KB
/
tangible.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
export default {
archive: {
root: 'tangible-template-system',
src: [
'*.php',
'admin/**',
'content/**',
'editor/**',
'elandel/editor/fonts/**',
'form/**',
'framework/**',
'integrations/**',
'language/**',
'logic/**',
'loop/**',
'modules/**',
'view/**',
],
dest: 'publish/tangible-template-system.zip',
exclude: [
'/builder/src',
'/design',
'/framework/design/src',
'/framework/select/src',
// './framework/date/Carbon/src', // Necessary
'/framework/api/src',
'/form/src',
'/modules/**/src',
'/vendor/tangible-dev',
'**/*.test.js',
'**/*.scss',
'**/*.ts',
'**/*.tsx',
],
},
format: ['tests/**/*.{php,js,jsx,json,ts,tsx,scss}'],
/**
* Dependencies for production are installed in `vendor/tangible`, which is included
* in the published zip package. Those for development are in `tangible-dev`, which
* is excluded from the archive.
*
* In the file `.wp-env.json`, these folders are mounted to the virtual file system
* for local development and testing.
*/
install: [
{
git: '[email protected]:tangibleinc/fields',
dest: 'vendor/tangible/fields',
branch: 'main',
},
// {
// git: '[email protected]:tangibleinc/framework',
// dest: 'vendor/tangible/framework',
// branch: 'main',
// },
{
git: '[email protected]:tangibleinc/updater',
dest: 'vendor/tangible/updater',
branch: 'main',
},
],
installDev: [
// Third party
{
zip: 'https://downloads.wordpress.org/plugin/advanced-custom-fields.latest-stable.zip',
dest: 'vendor/tangible-dev/advanced-custom-fields',
},
{
zip: 'https://downloads.wordpress.org/plugin/beaver-builder-lite-version.latest-stable.zip',
dest: 'vendor/tangible-dev/beaver-builder-lite-version',
},
{
zip: 'https://downloads.wordpress.org/plugin/elementor.latest-stable.zip',
dest: 'vendor/tangible-dev/elementor',
},
{
zip: 'https://downloads.wordpress.org/plugin/wp-fusion-lite.latest-stable.zip',
dest: 'vendor/tangible-dev/wp-fusion-lite',
},
],
}