create-catalyst-app-internal 0.0.3-canary.19 → 0.0.3-canary.20
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 +2 -2
- package/package.json +1 -1
- package/scripts/cli.cjs +1 -1
- package/templates/common/server/document.js +1 -1
- package/templates/none-js/client/index.js +1 -1
- package/templates/none-js/package.json +2 -2
- package/templates/none-ts/client/index.js +1 -1
- package/templates/none-ts/package.json +2 -2
- package/templates/redux-js/client/index.js +1 -1
- package/templates/redux-js/package.json +2 -2
- package/templates/redux-ts/client/index.js +1 -1
- package/templates/redux-ts/package.json +2 -2
- package/templates/rtk-js/client/index.js +1 -1
- package/templates/rtk-js/package.json +2 -2
- package/templates/rtk-ts/client/index.js +1 -1
- package/templates/rtk-ts/package.json +2 -2
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
package/scripts/cli.cjs
CHANGED
|
@@ -33,7 +33,7 @@ const program = new Commander.Command()
|
|
|
33
33
|
return
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
console.log(cyan(`Using create-catalyst-app version ${bold(packageJson.version)}`))
|
|
36
|
+
console.log(cyan(`Using create-catalyst-app-internal version ${bold(packageJson.version)}`))
|
|
37
37
|
|
|
38
38
|
// Use options provided through commander or prompt the user
|
|
39
39
|
validateOptions(cmd)
|
|
@@ -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
|
|
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",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@loadable/component": "^5.16.3",
|
|
28
28
|
"@tata1mg/router": "^0.0.1-beta.7",
|
|
29
|
-
"catalyst-core
|
|
29
|
+
"catalyst-core": "0.0.3-canary.20"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"eslint": "^8.26.0",
|
|
@@ -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
|
|
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",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@loadable/component": "^5.16.3",
|
|
29
29
|
"@tata1mg/router": "^0.0.1-beta.7",
|
|
30
|
-
"catalyst-core
|
|
30
|
+
"catalyst-core": "0.0.3-canary.20"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"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
|
|
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",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@loadable/component": "^5.16.3",
|
|
29
29
|
"@tata1mg/router": "^0.0.1-beta.7",
|
|
30
|
-
"catalyst-core
|
|
30
|
+
"catalyst-core": "0.0.3-canary.20",
|
|
31
31
|
"@reduxjs/toolkit": "1.9.3",
|
|
32
32
|
"react-redux": "^8.1.3"
|
|
33
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
|
|
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",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@loadable/component": "^5.16.3",
|
|
30
30
|
"@tata1mg/router": "^0.0.1-beta.7",
|
|
31
|
-
"catalyst-core
|
|
31
|
+
"catalyst-core": "0.0.3-canary.20",
|
|
32
32
|
"@reduxjs/toolkit": "1.9.3",
|
|
33
33
|
"react-redux": "^8.1.3"
|
|
34
34
|
},
|
|
@@ -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
|
|
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",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@loadable/component": "^5.16.3",
|
|
29
29
|
"@tata1mg/router": "^0.0.1-beta.7",
|
|
30
|
-
"catalyst-core
|
|
30
|
+
"catalyst-core": "0.0.3-canary.20",
|
|
31
31
|
"@reduxjs/toolkit": "1.9.3",
|
|
32
32
|
"react-redux": "^8.1.3"
|
|
33
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
|
|
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",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@loadable/component": "^5.16.3",
|
|
30
30
|
"@tata1mg/router": "^0.0.1-beta.7",
|
|
31
|
-
"catalyst-core
|
|
31
|
+
"catalyst-core": "0.0.3-canary.20",
|
|
32
32
|
"@reduxjs/toolkit": "1.9.3",
|
|
33
33
|
"react-redux": "^8.1.3"
|
|
34
34
|
},
|