create-catalyst-app-internal 0.0.1-beta.6 → 0.0.1-beta.7

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,7 +1,7 @@
1
1
  {
2
2
  "name": "create-catalyst-app-internal",
3
3
  "bin": "scripts/cli.cjs",
4
- "version": "0.0.1-beta.6",
4
+ "version": "0.0.1-beta.7",
5
5
  "description": "cli package to scaffold Catalyst application",
6
6
  "main": "index.js",
7
7
  "scripts": {
package/scripts/cli.cjs CHANGED
@@ -63,12 +63,10 @@ const program = new Commander.Command()
63
63
  createGitignore(projectName)
64
64
 
65
65
  execSync(
66
- `cd ${projectName} && npm i && npm pkg set name=${projectName} ${projectDescription ? `description=${projectDescription}` : ""
67
- } && git init --quiet`,
66
+ `cd ${projectName} && npm i && npm pkg set name=${projectName} ${projectDescription ? `description=${projectDescription}` : ""} && git init --quiet`,
68
67
  { stdio: "inherit" }
69
68
  )
70
69
 
71
- console.log(cyan(`Installing Packages`))
72
70
 
73
71
  deleteDirectory(tempDir)
74
72
  } catch (error) {
@@ -238,4 +236,3 @@ function createGitignore(projectName) {
238
236
  fs.writeFileSync(gitignorePath, gitiIgnorePatterns.join('\n'));
239
237
  }
240
238
 
241
- // Create .gitignore with hardcoded patterns
@@ -1,7 +1,7 @@
1
1
  import React from "react"
2
2
  import css from "./Home.scss"
3
3
 
4
- function Landing() {
4
+ function Home() {
5
5
  return (
6
6
  <div className={css.app}>
7
7
  <header className={css.appHeader}>
@@ -20,4 +20,4 @@ function Landing() {
20
20
  )
21
21
  }
22
22
 
23
- export default Landing
23
+ export default Home
@@ -18,6 +18,6 @@
18
18
  "dependencies": {
19
19
  "@loadable/component": "^5.16.3",
20
20
  "@tata1mg/router": "^0.0.1-beta.0",
21
- "catalyst-core-internal": "^0.0.1-beta.2"
21
+ "catalyst-core-internal": "^0.0.1-beta.3"
22
22
  }
23
23
  }
@@ -18,7 +18,7 @@
18
18
  "dependencies": {
19
19
  "@loadable/component": "^5.16.3",
20
20
  "@tata1mg/router": "^0.0.1-beta.0",
21
- "catalyst-core-internal": "^0.0.1-beta.2",
21
+ "catalyst-core-internal": "^0.0.1-beta.3",
22
22
  "@reduxjs/toolkit": "1.9.3",
23
23
  "react-redux": "^8.1.3"
24
24
  }
@@ -4,7 +4,7 @@ export const defaultState = {
4
4
  testActionDispatched: false,
5
5
  }
6
6
 
7
- const shellReducer = (state = defaultState, action) => {
7
+ export const shellReducer = (state = defaultState, action) => {
8
8
  switch (action.type) {
9
9
  case ShellActions.REDUX_TEST: {
10
10
  return {
@@ -18,4 +18,3 @@ const shellReducer = (state = defaultState, action) => {
18
18
  }
19
19
  }
20
20
 
21
- export default shellReducer
@@ -18,7 +18,7 @@
18
18
  "dependencies": {
19
19
  "@loadable/component": "^5.16.3",
20
20
  "@tata1mg/router": "^0.0.1-beta.0",
21
- "catalyst-core-internal": "^0.0.1-beta.2",
21
+ "catalyst-core-internal": "^0.0.1-beta.3",
22
22
  "@reduxjs/toolkit": "1.9.3",
23
23
  "react-redux": "^8.1.3"
24
24
  }