@applicaster/zapplicaster-cli 13.0.0-alpha.8532113155 → 13.0.0-alpha.9103242840

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applicaster/zapplicaster-cli",
3
- "version": "13.0.0-alpha.8532113155",
3
+ "version": "13.0.0-alpha.9103242840",
4
4
  "description": "CLI Tool for the zapp app and Quick Brick project",
5
5
  "main": "index.js",
6
6
  "publishConfig": {
@@ -32,10 +32,10 @@
32
32
  },
33
33
  "homepage": "https://github.com/applicaster/quickbrick#readme",
34
34
  "dependencies": {
35
- "@applicaster/zapp-react-dom-cli-template": "13.0.0-alpha.8532113155",
36
- "@applicaster/zapp-react-native-android-tv-cli-template": "13.0.0-alpha.8532113155",
37
- "@applicaster/zapp-react-native-cli-template": "13.0.0-alpha.8532113155",
38
- "@applicaster/zapp-react-native-tvos-cli-template": "13.0.0-alpha.8532113155",
35
+ "@applicaster/zapp-react-dom-cli-template": "13.0.0-alpha.9103242840",
36
+ "@applicaster/zapp-react-native-android-tv-cli-template": "13.0.0-alpha.9103242840",
37
+ "@applicaster/zapp-react-native-cli-template": "13.0.0-alpha.9103242840",
38
+ "@applicaster/zapp-react-native-tvos-cli-template": "13.0.0-alpha.9103242840",
39
39
  "axios": "^0.28.0",
40
40
  "camelize": "^1.0.0",
41
41
  "chalk": "^2.3.2",
@@ -83,14 +83,12 @@ async function appBootstrapper(configuration) {
83
83
  logger.log("injecting dependencies...");
84
84
  const { dependencies, scripts } = template;
85
85
 
86
- const pluginConfigurations = require(
87
- getFileDestinationPath({
88
- destinationPath,
89
- platform,
90
- folder: "config",
91
- fileName: "plugin_configurations.json",
92
- })
93
- );
86
+ const pluginConfigurations = require(getFileDestinationPath({
87
+ destinationPath,
88
+ platform,
89
+ folder: "config",
90
+ fileName: "plugin_configurations.json",
91
+ }));
94
92
 
95
93
  const getExcludedNodeModules = R.compose(
96
94
  R.map((plug) => new RegExp(plug)),
@@ -58,9 +58,10 @@ async function generateManifest(configuration) {
58
58
  }
59
59
 
60
60
  try {
61
- const manifestConfig = require(
62
- resolve(pluginPath, "manifests/manifest.config.js")
63
- );
61
+ const manifestConfig = require(resolve(
62
+ pluginPath,
63
+ "manifests/manifest.config.js"
64
+ ));
64
65
 
65
66
  const packageJson = require(resolve(pluginPath, "package.json"));
66
67
 
@@ -9,9 +9,10 @@ const QUICK_BRICK_WORKSPACE_NAME = "quick-brick";
9
9
  const CORE_PLUGINS_PATH = "packages/quick-brick-core-plugins";
10
10
 
11
11
  async function updateCorePluginsIfNeeded(configuration) {
12
- const { name: workspaceName } = require(
13
- path.join(process.cwd(), PACKAGE_DOT_JSON)
14
- );
12
+ const { name: workspaceName } = require(path.join(
13
+ process.cwd(),
14
+ PACKAGE_DOT_JSON
15
+ ));
15
16
 
16
17
  if (workspaceName !== QUICK_BRICK_WORKSPACE_NAME) {
17
18
  return;
@@ -20,9 +21,11 @@ async function updateCorePluginsIfNeeded(configuration) {
20
21
  const { version, pluginPackageJson } = configuration;
21
22
  const { name } = pluginPackageJson;
22
23
 
23
- const corePluginsPackageJson = require(
24
- path.join(process.cwd(), CORE_PLUGINS_PATH, PACKAGE_DOT_JSON)
25
- );
24
+ const corePluginsPackageJson = require(path.join(
25
+ process.cwd(),
26
+ CORE_PLUGINS_PATH,
27
+ PACKAGE_DOT_JSON
28
+ ));
26
29
 
27
30
  const { dependencies } = corePluginsPackageJson;
28
31
  const isPluginCore = R.contains(name, R.keys(dependencies));
@@ -69,9 +69,10 @@ describe("injectDependencies", () => {
69
69
  "./fixtures/packageWithDependencies"
70
70
  );
71
71
 
72
- const templatePackageJson = require(
73
- resolve(templatePackageJsonPath, "./package.json")
74
- );
72
+ const templatePackageJson = require(resolve(
73
+ templatePackageJsonPath,
74
+ "./package.json"
75
+ ));
75
76
 
76
77
  await injectDependencies(dependencies, templatePackageJsonPath);
77
78
 
@@ -125,9 +126,10 @@ describe("injectScripts", () => {
125
126
  "./fixtures/packageWithDependencies"
126
127
  );
127
128
 
128
- const templatePackageJson = require(
129
- resolve(templatePackageJsonPath, "./package.json")
130
- );
129
+ const templatePackageJson = require(resolve(
130
+ templatePackageJsonPath,
131
+ "./package.json"
132
+ ));
131
133
 
132
134
  await injectScripts(scripts, templatePackageJsonPath);
133
135
 
@@ -35,9 +35,10 @@ describe("isZappReactNativeRepo", () => {
35
35
 
36
36
  describe("getCLIProperties", () => {
37
37
  it("returns the cli package's name & version", () => {
38
- const { name, version } = require(
39
- path.resolve(__dirname, "../../../package.json")
40
- );
38
+ const { name, version } = require(path.resolve(
39
+ __dirname,
40
+ "../../../package.json"
41
+ ));
41
42
 
42
43
  expect(getCLIProperties()).toEqual({
43
44
  name,