create-catalyst-app-internal 0.0.2-canary.2 → 0.0.2-canary.4

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.2-canary.2",
4
+ "version": "0.0.2-canary.4",
5
5
  "description": "cli package to scaffold Catalyst application",
6
6
  "dependencies": {
7
7
  "commander": "^8.2.0",
@@ -4,9 +4,11 @@
4
4
  "WEBPACK_DEV_SERVER_HOSTNAME": "localhost",
5
5
  "WEBPACK_DEV_SERVER_PORT": 3006,
6
6
  "BUILD_OUTPUT_PATH": "build",
7
- "PUBLIC_STATIC_ASSET_PATH": "/assets/",
7
+ "PUBLIC_STATIC_ASSET_PATH": "/client/",
8
8
  "PUBLIC_STATIC_ASSET_URL": "http://localhost:3005",
9
9
  "API_URL": "",
10
10
  "ANALYZE_BUNDLE": false,
11
- "CLIENT_ENV_VARIABLES": ["API_URL"]
12
- }
11
+ "CLIENT_ENV_VARIABLES": [
12
+ "API_URL"
13
+ ]
14
+ }
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "create-catalyst-app-starter",
3
3
  "version": "1.0.0",
4
+ "type": "module",
4
5
  "scripts": {
5
6
  "start": "catalyst start",
6
7
  "build": "catalyst build",
@@ -23,6 +24,6 @@
23
24
  "eslint-plugin-react-hooks": "^4.6.0"
24
25
  },
25
26
  "dependencies": {
26
- "catalyst-core-internal": "^0.0.2-canary.4"
27
+ "catalyst-core-internal": "^0.0.2-canary.6"
27
28
  }
28
29
  }
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "create-catalyst-app-starter",
3
3
  "version": "1.0.0",
4
+ "type": "module",
4
5
  "scripts": {
5
6
  "start": "catalyst start",
6
7
  "build": "catalyst build",
@@ -20,7 +21,7 @@
20
21
  },
21
22
  "dependencies": {
22
23
  "@reduxjs/toolkit": "1.9.3",
23
- "catalyst-core-internal": "^0.0.2-canary.4",
24
+ "catalyst-core-internal": "^0.0.2-canary.6",
24
25
  "react-redux": "^8.1.3"
25
26
  },
26
27
  "devDependencies": {
@@ -1,4 +1,5 @@
1
- import { configureStore as createStore } from "@reduxjs/toolkit"
1
+ import * as toolkitRaw from "@reduxjs/toolkit"
2
+ const { configureStore: createStore } = toolkitRaw.default ?? toolkitRaw
2
3
  import { combineReducers } from "redux"
3
4
  import { shellReducer } from "@containers/App/reducer.js"
4
5
  import fetchInstance from "@api"
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "create-catalyst-app-starter",
3
3
  "version": "1.0.0",
4
+ "type": "module",
4
5
  "scripts": {
5
6
  "start": "catalyst start",
6
7
  "build": "catalyst build",
@@ -20,7 +21,7 @@
20
21
  },
21
22
  "dependencies": {
22
23
  "@reduxjs/toolkit": "1.9.3",
23
- "catalyst-core-internal": "^0.0.2-canary.4",
24
+ "catalyst-core-internal": "^0.0.2-canary.6",
24
25
  "react-redux": "^8.1.3"
25
26
  },
26
27
  "devDependencies": {
@@ -1,4 +1,5 @@
1
- import { configureStore as createStore } from "@reduxjs/toolkit"
1
+ import * as toolkitRaw from "@reduxjs/toolkit"
2
+ const { configureStore: createStore } = toolkitRaw.default ?? toolkitRaw
2
3
  import { combineReducers } from "redux"
3
4
  import { shellReducer } from "@containers/App/reducer.js"
4
5
  import fetchInstance from "@api"