create-catalyst-app-internal 0.0.3-canary.4 → 0.0.3-canary.6

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/Readme.md CHANGED
@@ -1,9 +1,9 @@
1
1
  # Creating a Catalyst App
2
2
 
3
- Scaffold your Catalyst app swiftly with `create-catalyst-app`. This tool expedites the process by initializing your project with predefined configurations. To kickstart your project, execute the following command:
3
+ Scaffold your Catalyst app swiftly with `create-catalyst-app-internal`. This tool expedites the process by initializing your project with predefined configurations. To kickstart your project, execute the following command:
4
4
 
5
5
  ```bash
6
- npx create-catalyst-app@latest
6
+ npx create-catalyst-app-internal@latest
7
7
  ```
8
8
 
9
9
  Upon execution, you'll be prompted to name your project. Once named, a template will be cloned into the specified directory.
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.3-canary.4",
4
+ "version": "0.0.3-canary.6",
5
5
  "description": "cli package to scaffold Catalyst application",
6
6
  "dependencies": {
7
7
  "commander": "^8.2.0",
@@ -8,5 +8,14 @@
8
8
  "PUBLIC_STATIC_ASSET_URL": "http://localhost:3005",
9
9
  "API_URL": "",
10
10
  "ANALYZE_BUNDLE": false,
11
- "CLIENT_ENV_VARIABLES": ["API_URL"]
11
+ "CLIENT_ENV_VARIABLES": ["API_URL"],
12
+ "WEBVIEW_CONFIG": {
13
+ "port": "3005",
14
+ "android": {
15
+ "buildType": "debug"
16
+ },
17
+ "ios": {
18
+ "buildType": "debug"
19
+ }
20
+ }
12
21
  }
@@ -1,5 +1,5 @@
1
1
  import React from "react"
2
- import { Head, Body } from "catalyst-core-internal"
2
+ import { Head, Body } from "catalyst-core"
3
3
 
4
4
  function Document(props) {
5
5
  return (
@@ -7,7 +7,12 @@ function Home() {
7
7
  <header className={css.appHeader}>
8
8
  <h1 className={css.heading}>Catalyst</h1>
9
9
  <p>Edit files inside src directory and save to reload.</p>
10
- <a className={css.appLink} href="https://catalyst.1mg.com" rel="noopener noreferrer">
10
+ <a
11
+ className={css.appLink}
12
+ href="https://catalyst.1mg.com"
13
+ target="_blank"
14
+ rel="noopener noreferrer"
15
+ >
11
16
  Learn Catalyst
12
17
  </a>
13
18
  </header>
@@ -3,7 +3,7 @@ import "./styles"
3
3
  import { hydrateRoot } from "react-dom/client"
4
4
  import { loadableReady } from "@loadable/component"
5
5
  import { RouterProvider } from "@tata1mg/router"
6
- import clientRouter from "catalyst-core-internal/router/ClientRouter"
6
+ import clientRouter from "catalyst-core/router/ClientRouter"
7
7
 
8
8
  window.addEventListener("load", () => {
9
9
  loadableReady(() => {
@@ -1,5 +1,5 @@
1
1
  {
2
- "name": "create-catalyst-app-starter",
2
+ "name": "create-catalyst-app-internal-starter",
3
3
  "version": "1.0.0",
4
4
  "scripts": {
5
5
  "start": "catalyst start",
@@ -7,7 +7,13 @@
7
7
  "serve": "catalyst serve",
8
8
  "lint": "eslint .",
9
9
  "devBuild": "catalyst devBuild",
10
- "devServe": "catalyst devServe"
10
+ "devServe": "catalyst devServe",
11
+ "buildApp": "catalyst buildApp",
12
+ "buildApp:ios": "catalyst buildApp:ios",
13
+ "buildApp:android": "catalyst buildApp:android",
14
+ "setupEmulator" : "catalyst setupEmulator",
15
+ "setupEmulator:ios": "catalyst setupEmulator:ios",
16
+ "setupEmulator:android": "catalyst setupEmulator:android"
11
17
  },
12
18
  "_moduleAliases": {
13
19
  "@api": "api.js",
@@ -20,7 +26,7 @@
20
26
  "dependencies": {
21
27
  "@loadable/component": "^5.16.3",
22
28
  "@tata1mg/router": "^0.0.1-beta.6",
23
- "catalyst-core-internal": "0.0.3-canary.0"
29
+ "catalyst-core": "^0.0.3-canary.0"
24
30
  },
25
31
  "devDependencies": {
26
32
  "eslint": "^8.26.0",
@@ -4,7 +4,7 @@ import { hydrateRoot } from "react-dom/client"
4
4
  import { loadableReady } from "@loadable/component"
5
5
  import { Provider } from "react-redux"
6
6
  import { RouterProvider } from "@tata1mg/router"
7
- import clientRouter from "catalyst-core-internal/router/ClientRouter"
7
+ import clientRouter from "catalyst-core/router/ClientRouter"
8
8
  import configureStore from "@store"
9
9
 
10
10
  window.addEventListener("load", () => {
@@ -1,5 +1,5 @@
1
1
  {
2
- "name": "create-catalyst-app-starter",
2
+ "name": "create-catalyst-app-internal-starter",
3
3
  "version": "1.0.0",
4
4
  "scripts": {
5
5
  "start": "catalyst start",
@@ -7,7 +7,13 @@
7
7
  "serve": "catalyst serve",
8
8
  "lint": "eslint .",
9
9
  "devBuild": "catalyst devBuild",
10
- "devServe": "catalyst devServe"
10
+ "devServe": "catalyst devServe",
11
+ "buildApp": "catalyst buildApp",
12
+ "buildApp:ios": "catalyst buildApp:ios",
13
+ "buildApp:android": "catalyst buildApp:android",
14
+ "setupEmulator" : "catalyst setupEmulator",
15
+ "setupEmulator:ios": "catalyst setupEmulator:ios",
16
+ "setupEmulator:android": "catalyst setupEmulator:android"
11
17
  },
12
18
  "_moduleAliases": {
13
19
  "@api": "api.js",
@@ -21,7 +27,7 @@
21
27
  "dependencies": {
22
28
  "@loadable/component": "^5.16.3",
23
29
  "@tata1mg/router": "^0.0.1-beta.6",
24
- "catalyst-core-internal": "0.0.3-canary.0",
30
+ "catalyst-core": "^0.0.3-canary.0",
25
31
  "@reduxjs/toolkit": "1.9.3",
26
32
  "react-redux": "^8.1.3"
27
33
  },
@@ -4,7 +4,7 @@ import { hydrateRoot } from "react-dom/client"
4
4
  import { loadableReady } from "@loadable/component"
5
5
  import { Provider } from "react-redux"
6
6
  import { RouterProvider } from "@tata1mg/router"
7
- import clientRouter from "catalyst-core-internal/router/ClientRouter"
7
+ import clientRouter from "catalyst-core/router/ClientRouter"
8
8
  import configureStore from "@store"
9
9
 
10
10
  window.addEventListener("load", () => {
@@ -1,5 +1,5 @@
1
1
  {
2
- "name": "create-catalyst-app-starter",
2
+ "name": "create-catalyst-app-internal-starter",
3
3
  "version": "1.0.0",
4
4
  "scripts": {
5
5
  "start": "catalyst start",
@@ -7,7 +7,13 @@
7
7
  "serve": "catalyst serve",
8
8
  "lint": "eslint .",
9
9
  "devBuild": "catalyst devBuild",
10
- "devServe": "catalyst devServe"
10
+ "devServe": "catalyst devServe",
11
+ "buildApp": "catalyst buildApp",
12
+ "buildApp:ios": "catalyst buildApp:ios",
13
+ "buildApp:android": "catalyst buildApp:android",
14
+ "setupEmulator" : "catalyst setupEmulator",
15
+ "setupEmulator:ios": "catalyst setupEmulator:ios",
16
+ "setupEmulator:android": "catalyst setupEmulator:android"
11
17
  },
12
18
  "_moduleAliases": {
13
19
  "@api": "api.js",
@@ -21,7 +27,7 @@
21
27
  "dependencies": {
22
28
  "@loadable/component": "^5.16.3",
23
29
  "@tata1mg/router": "^0.0.1-beta.6",
24
- "catalyst-core-internal": "0.0.3-canary.0",
30
+ "catalyst-core": "^0.0.3-canary.0",
25
31
  "@reduxjs/toolkit": "1.9.3",
26
32
  "react-redux": "^8.1.3"
27
33
  },