@zimbra/zimlet-cli 12.12.0 → 14.0.0

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.
Files changed (45) hide show
  1. package/.browserslistrc +1 -0
  2. package/dist/cli.js +11 -17
  3. package/dist/commands/create.js +206 -324
  4. package/dist/commands/package.js +144 -93
  5. package/dist/entry.js +14 -12
  6. package/dist/index.js +89 -114
  7. package/dist/lib/async-command.js +8 -14
  8. package/dist/lib/setup.js +55 -133
  9. package/dist/lib/webpack/transform-config.js +8 -8
  10. package/dist/shims/@apollo/client/index.js +92 -82
  11. package/dist/shims/@apollo/client/react/components/index.js +6 -6
  12. package/dist/shims/@apollo/client/react/hoc/index.js +8 -8
  13. package/dist/shims/@apollo/client/react/index.js +16 -16
  14. package/dist/shims/@zimbra-client/blocks/index.js +28 -28
  15. package/dist/shims/@zimbra-client/browser/index.js +4 -4
  16. package/dist/shims/@zimbra-client/components/index.js +53 -49
  17. package/dist/shims/@zimbra-client/constants/index.js +7 -7
  18. package/dist/shims/@zimbra-client/enhancers/index.js +10 -10
  19. package/dist/shims/@zimbra-client/errors/index.js +5 -5
  20. package/dist/shims/@zimbra-client/graphql/index.js +32 -26
  21. package/dist/shims/@zimbra-client/hooks/graphql/index.js +8 -8
  22. package/dist/shims/@zimbra-client/hooks/index.js +10 -6
  23. package/dist/shims/@zimbra-client/platform/index.js +5 -5
  24. package/dist/shims/@zimbra-client/util/contacts/index.js +4 -4
  25. package/dist/shims/@zimbra-client/util/index.js +15 -11
  26. package/dist/shims/@zimbra-client/util/redux/index.js +8 -8
  27. package/dist/shims/clipboard-polyfill/index.js +4 -4
  28. package/dist/shims/index.js +2 -2
  29. package/dist/shims/moment/index.js +43 -43
  30. package/dist/shims/preact/compat/index.js +40 -52
  31. package/dist/shims/preact/hooks/index.js +14 -14
  32. package/dist/shims/preact/index.js +15 -15
  33. package/dist/shims/preact-context-provider/index.js +6 -6
  34. package/dist/shims/preact-i18n/index.js +12 -12
  35. package/dist/shims/preact-pwa-install/index.js +3 -3
  36. package/dist/shims/preact-render-to-string/index.js +5 -5
  37. package/dist/shims/preact-router/index.js +9 -9
  38. package/dist/shims/preact-router/match/index.js +4 -4
  39. package/dist/shims/react-redux/index.js +16 -16
  40. package/dist/shims/recompose/index.js +46 -46
  41. package/dist/shims/redux-actions/index.js +9 -9
  42. package/dist/util.js +11 -11
  43. package/dist/zimlet-style-loader.js +8 -4
  44. package/package-lock.json +5450 -5941
  45. package/package.json +42 -45
package/package.json CHANGED
@@ -1,13 +1,12 @@
1
1
  {
2
2
  "name": "@zimbra/zimlet-cli",
3
- "version": "12.12.0",
3
+ "version": "14.0.0",
4
4
  "description": "Develop, Build, and Package Zimbra X compatible zimlets for development and production.",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
7
7
  "zimlet": "./dist/cli.js"
8
8
  },
9
9
  "scripts": {
10
- "security:audit": "audit-ci --moderate --report-type important",
11
10
  "build": "npm run build:shims && npm run build:src",
12
11
  "build:src": "babel src -d dist --copy-files",
13
12
  "build:shims": "node ./build-shims.js",
@@ -47,77 +46,75 @@
47
46
  ]
48
47
  },
49
48
  "devDependencies": {
50
- "@apollo/client": "^3.2.5",
51
- "@babel/cli": "^7.12.1",
52
- "@babel/plugin-proposal-optional-chaining": "^7.12.7",
53
- "audit-ci": "^4.1.0",
54
- "babel-eslint": "^10.1.0",
55
- "eslint": "^7.29.0",
49
+ "@apollo/client": "^3.5.10",
50
+ "@babel/cli": "^7.17.6",
51
+ "@babel/plugin-proposal-optional-chaining": "^7.16.7",
52
+ "eslint": "^7.32.0",
56
53
  "eslint-config-synacor": "^3.0.5",
57
- "graphql": "^15.4.0",
58
- "husky": "^6.0.0",
59
- "is-ci": "^3.0.0",
60
- "lint-staged": "^11.0.0",
54
+ "graphql": "^15.8.0",
55
+ "husky": "^7.0.4",
56
+ "is-ci": "^3.0.1",
57
+ "lint-staged": "^12.3.5",
61
58
  "mkdirp": "^1.0.4",
62
59
  "mockery": "^2.1.0",
63
60
  "moment": "^2.29.1",
64
- "preact": "^10.5.13",
61
+ "preact": "^10.6.6",
65
62
  "preact-context-provider": "^2.0.0-preactx.2",
66
63
  "preact-i18n": "^2.4.0-preactx",
67
- "preact-render-to-string": "^5.1.11",
64
+ "preact-render-to-string": "^5.1.20",
68
65
  "preact-router": "github:zimbra/preact-router#3.1.1_base_path_support",
69
- "react-redux": "^7.2.2",
66
+ "react-redux": "^7.2.6",
70
67
  "recompose": "^0.30.0",
71
68
  "redux-actions": "^2.6.5",
72
69
  "rimraf": "^3.0.2"
73
70
  },
74
71
  "license": "GPL-3.0",
75
72
  "dependencies": {
76
- "@babel/core": "^7.12.3",
77
- "@babel/plugin-proposal-class-properties": "^7.12.1",
78
- "@babel/plugin-proposal-decorators": "^7.12.1",
79
- "@babel/plugin-proposal-export-default-from": "^7.12.1",
80
- "@babel/plugin-proposal-export-namespace-from": "^7.12.1",
73
+ "@babel/core": "^7.17.5",
74
+ "@babel/plugin-proposal-class-properties": "^7.16.7",
75
+ "@babel/plugin-proposal-decorators": "^7.17.2",
76
+ "@babel/plugin-proposal-export-default-from": "^7.16.7",
77
+ "@babel/plugin-proposal-export-namespace-from": "^7.16.7",
81
78
  "@babel/plugin-syntax-dynamic-import": "^7.8.3",
82
- "@babel/plugin-transform-object-assign": "^7.12.1",
83
- "@babel/plugin-transform-react-jsx": "^7.12.5",
79
+ "@babel/plugin-transform-object-assign": "^7.16.7",
80
+ "@babel/plugin-transform-react-jsx": "^7.17.3",
84
81
  "@babel/polyfill": "^7.12.1",
85
- "@babel/preset-env": "^7.12.1",
86
- "@babel/register": "^7.12.1",
87
- "@babel/runtime": "^7.12.5",
88
- "adm-zip": "^0.4.16",
89
- "babel-loader": "^8.1.0",
82
+ "@babel/preset-env": "^7.16.11",
83
+ "@babel/register": "^7.17.0",
84
+ "@babel/runtime": "^7.17.2",
85
+ "adm-zip": "^0.5.9",
86
+ "babel-loader": "^8.2.3",
90
87
  "babel-plugin-add-module-exports": "^1.0.4",
91
88
  "bundle-loader": "^0.5.6",
92
- "chalk": "^4.1.0",
93
- "copy-webpack-plugin": "^6.3.0",
89
+ "chalk": "^4.1.2",
90
+ "copy-webpack-plugin": "^6.4.1",
94
91
  "cors": "^2.8.5",
95
92
  "cross-spawn-promise": "^0.10.2",
96
- "css-loader": "^5.0.1",
93
+ "css-loader": "^5.2.7",
97
94
  "file-loader": "^6.2.0",
98
95
  "get-port": "^5.1.1",
99
96
  "gittar": "^0.1.1",
100
- "inquirer": "^7.3.3",
97
+ "inquirer": "^8.2.0",
101
98
  "ip": "^1.1.5",
102
- "less": "^3.12.2",
103
- "less-loader": "^7.0.2",
104
- "loader-utils": "^2.0.0",
105
- "log-symbols": "^4.0.0",
106
- "ora": "^5.1.0",
107
- "postcss": "^8.3.5",
108
- "postcss-discard-comments": "^4.0.2",
109
- "postcss-loader": "^4.0.4",
110
- "postcss-preset-env": "^6.7.0",
99
+ "less": "^3.13.1",
100
+ "less-loader": "^7.3.0",
101
+ "loader-utils": "^2.0.2",
102
+ "log-symbols": "^4.1.0",
103
+ "ora": "^5.4.1",
104
+ "postcss": "^8.4.8",
105
+ "postcss-discard-comments": "^5.1.1",
106
+ "postcss-loader": "^4.3.0",
107
+ "postcss-preset-env": "^7.4.2",
111
108
  "progress-bar-webpack-plugin": "^2.1.0",
112
109
  "raw-loader": "^4.0.2",
113
- "resolve-url-loader": "^3.1.2",
114
- "source-map-loader": "^1.1.2",
110
+ "resolve-url-loader": "^3.1.4",
111
+ "source-map-loader": "^1.1.3",
115
112
  "url-loader": "^4.1.1",
116
113
  "validate-npm-package-name": "^3.0.0",
117
- "webpack": "^4.44.2",
114
+ "webpack": "^4.46.0",
118
115
  "webpack-cli": "^3.3.12",
119
- "webpack-dev-server": "^3.11.0",
116
+ "webpack-dev-server": "^3.11.3",
120
117
  "which": "^2.0.2",
121
- "yargs": "^16.1.0"
118
+ "yargs": "^17.3.1"
122
119
  }
123
120
  }