create-chayns-app 1.2.13 → 1.3.0-beta.1
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/dist/index.cjs +90 -88
- package/package.json +6 -6
- package/templates/api-v5/page/src/{index.jsx → bootstrap.jsx} +1 -2
- package/templates/api-v5/page/src/components/App.jsx +0 -1
- package/templates/api-v5/page/src/components/AppWrapper.jsx +0 -1
- package/templates/api-v5/page/src/index.js +2 -0
- package/templates/api-v5/page-module/src/components/App.jsx +1 -1
- package/templates/api-v5/page-module/src/components/AppWrapper.jsx +0 -1
- package/templates/api-v5/page-module-redux/src/components/App.jsx +1 -1
- package/templates/api-v5/page-module-redux/src/components/AppWrapper.jsx +0 -1
- package/templates/api-v5/page-redux/src/{index.jsx → bootstrap.jsx} +1 -2
- package/templates/api-v5/page-redux/src/components/App.jsx +0 -2
- package/templates/api-v5/page-redux/src/components/AppWrapper.jsx +0 -1
- package/templates/api-v5/page-redux/src/index.js +2 -0
- package/templates/api-v5/page-ts/src/{index.tsx → bootstrap.tsx} +1 -2
- package/templates/api-v5/page-ts/src/components/App.tsx +0 -2
- package/templates/api-v5/page-ts/src/components/AppWrapper.tsx +0 -1
- package/templates/api-v5/page-ts/src/index.ts +2 -0
- package/templates/api-v5/page-ts-module/src/components/App.tsx +1 -1
- package/templates/api-v5/page-ts-module/src/components/AppWrapper.tsx +2 -3
- package/templates/api-v5/page-ts-module-redux/src/components/App.tsx +1 -1
- package/templates/api-v5/page-ts-module-redux/src/components/AppWrapper.tsx +2 -3
- package/templates/api-v5/page-ts-redux/src/{index.tsx → bootstrap.tsx} +1 -2
- package/templates/api-v5/page-ts-redux/src/components/App.tsx +0 -2
- package/templates/api-v5/page-ts-redux/src/components/AppWrapper.tsx +0 -1
- package/templates/api-v5/page-ts-redux/src/index.ts +2 -0
- package/templates/api-v5/shared/toolkit.config-module.mjs +2 -0
- package/templates/api-v5/shared/toolkit.config.mjs +2 -0
- package/templates/api-v5/shared/ts/tsconfig.json +5 -4
- package/templates/page/src/components/App.jsx +0 -2
- package/templates/page/src/index.jsx +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-chayns-app",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0-beta.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Create a new chayns® development project in one command.",
|
|
6
6
|
"keywords": [
|
|
@@ -43,17 +43,17 @@
|
|
|
43
43
|
"start": "node src/index.js"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@eslint/js": "^9.39.
|
|
46
|
+
"@eslint/js": "^9.39.5",
|
|
47
47
|
"chalk": "^5.6.2",
|
|
48
48
|
"commander": "^14.0.3",
|
|
49
49
|
"enquirer": "^2.4.1",
|
|
50
|
-
"esbuild": "^0.
|
|
51
|
-
"eslint": "^9.39.
|
|
50
|
+
"esbuild": "^0.28.1",
|
|
51
|
+
"eslint": "^9.39.5",
|
|
52
52
|
"execa": "^9.6.1",
|
|
53
53
|
"fast-glob": "^3.3.3",
|
|
54
54
|
"is-npm": "^6.1.0",
|
|
55
|
-
"ora": "^9.
|
|
56
|
-
"prettier": "^3.
|
|
55
|
+
"ora": "^9.4.1",
|
|
56
|
+
"prettier": "^3.9.6",
|
|
57
57
|
"prettier-plugin-packagejson": "^3.0.2",
|
|
58
58
|
"validate-npm-package-name": "^7.0.2"
|
|
59
59
|
},
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { ChaynsProvider, withCompatMode } from 'chayns-api';
|
|
1
|
+
import { ChaynsProvider, type ChaynsProviderProps, withCompatMode } from 'chayns-api';
|
|
3
2
|
import { PageProvider } from '@chayns-components/core';
|
|
4
3
|
import App from './App';
|
|
5
4
|
|
|
6
|
-
const AppWrapper = (props:
|
|
5
|
+
const AppWrapper = (props: ChaynsProviderProps) => (
|
|
7
6
|
<div className="{{ package-name-underscore }}">
|
|
8
7
|
<ChaynsProvider {...props}>
|
|
9
8
|
<PageProvider>
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import React, { ComponentPropsWithoutRef } from 'react';
|
|
2
1
|
import { Provider } from 'react-redux';
|
|
3
|
-
import { ChaynsProvider, withCompatMode } from 'chayns-api';
|
|
2
|
+
import { ChaynsProvider, type ChaynsProviderProps, withCompatMode } from 'chayns-api';
|
|
4
3
|
import { PageProvider } from '@chayns-components/core';
|
|
5
4
|
import App from './App';
|
|
6
5
|
import store from '../redux-modules';
|
|
7
6
|
|
|
8
|
-
const AppWrapper = (props:
|
|
7
|
+
const AppWrapper = (props: ChaynsProviderProps) => (
|
|
9
8
|
<div className="{{ package-name-underscore }}">
|
|
10
9
|
<ChaynsProvider {...props}>
|
|
11
10
|
<Provider store={store}>
|
|
@@ -2,18 +2,19 @@
|
|
|
2
2
|
"compilerOptions": {
|
|
3
3
|
"allowJs": true,
|
|
4
4
|
"allowSyntheticDefaultImports": true,
|
|
5
|
-
"baseUrl": "src",
|
|
6
5
|
"checkJs": false,
|
|
7
6
|
"esModuleInterop": true,
|
|
8
7
|
"experimentalDecorators": true,
|
|
9
8
|
"isolatedModules": true,
|
|
10
|
-
"jsx": "react",
|
|
9
|
+
"jsx": "react-jsx",
|
|
11
10
|
"lib": ["DOM", "ESNext"],
|
|
12
|
-
"
|
|
11
|
+
"module": "Preserve",
|
|
12
|
+
"moduleResolution": "Bundler",
|
|
13
13
|
"target": "ES2020",
|
|
14
14
|
"noEmit": true,
|
|
15
15
|
"resolveJsonModule": true,
|
|
16
16
|
"skipLibCheck": true,
|
|
17
|
-
"strict": true
|
|
17
|
+
"strict": true,
|
|
18
|
+
"verbatimModuleSyntax": true
|
|
18
19
|
}
|
|
19
20
|
}
|