frontend-hamroun 1.2.6 → 1.2.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,13 +1,23 @@
|
|
1
1
|
{
|
2
2
|
"compilerOptions": {
|
3
3
|
"target": "ES2020",
|
4
|
+
"useDefineForClassFields": true,
|
4
5
|
"module": "ESNext",
|
5
6
|
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
6
|
-
"
|
7
|
+
"skipLibCheck": true,
|
7
8
|
"moduleResolution": "bundler",
|
8
|
-
"
|
9
|
+
"allowImportingTsExtensions": true,
|
10
|
+
"resolveJsonModule": true,
|
11
|
+
"isolatedModules": true,
|
12
|
+
"noEmit": true,
|
13
|
+
"jsx": "react-jsx",
|
14
|
+
"jsxFactory": "jsx",
|
15
|
+
"jsxFragmentFactory": "Fragment",
|
9
16
|
"strict": true,
|
10
|
-
"
|
17
|
+
"noUnusedLocals": true,
|
18
|
+
"noUnusedParameters": true,
|
19
|
+
"noFallthroughCasesInSwitch": true
|
11
20
|
},
|
12
|
-
"include": ["src"]
|
21
|
+
"include": ["src"],
|
22
|
+
"references": [{ "path": "./tsconfig.node.json" }]
|
13
23
|
}
|
@@ -1,13 +1,23 @@
|
|
1
1
|
{
|
2
2
|
"compilerOptions": {
|
3
3
|
"target": "ES2020",
|
4
|
+
"useDefineForClassFields": true,
|
4
5
|
"module": "ESNext",
|
5
6
|
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
6
|
-
"
|
7
|
+
"skipLibCheck": true,
|
7
8
|
"moduleResolution": "bundler",
|
8
|
-
"
|
9
|
+
"allowImportingTsExtensions": true,
|
10
|
+
"resolveJsonModule": true,
|
11
|
+
"isolatedModules": true,
|
12
|
+
"noEmit": true,
|
13
|
+
"jsx": "react-jsx",
|
14
|
+
"jsxFactory": "jsx",
|
15
|
+
"jsxFragmentFactory": "Fragment",
|
9
16
|
"strict": true,
|
10
|
-
"
|
17
|
+
"noUnusedLocals": true,
|
18
|
+
"noUnusedParameters": true,
|
19
|
+
"noFallthroughCasesInSwitch": true
|
11
20
|
},
|
12
|
-
"include": ["src"]
|
21
|
+
"include": ["src"],
|
22
|
+
"references": [{ "path": "./tsconfig.node.json" }]
|
13
23
|
}
|
@@ -4,7 +4,8 @@ import { nodePolyfills } from 'vite-plugin-node-polyfills';
|
|
4
4
|
export default defineConfig({
|
5
5
|
esbuild: {
|
6
6
|
jsxFactory: 'jsx',
|
7
|
-
jsxFragment: 'Fragment'
|
7
|
+
jsxFragment: 'Fragment',
|
8
|
+
jsxInject: `import { jsx, Fragment } from 'frontend-hamroun'`
|
8
9
|
},
|
9
10
|
build: {
|
10
11
|
outDir: 'dist',
|
@@ -1,22 +1,23 @@
|
|
1
1
|
{
|
2
2
|
"compilerOptions": {
|
3
|
-
"target": "
|
3
|
+
"target": "ES2020",
|
4
|
+
"useDefineForClassFields": true,
|
4
5
|
"module": "ESNext",
|
5
|
-
"
|
6
|
-
"jsx": "react",
|
7
|
-
"jsxFactory": "createElement",
|
8
|
-
"jsxFragmentFactory": "Fragment",
|
9
|
-
"strict": true,
|
10
|
-
"esModuleInterop": true,
|
6
|
+
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
11
7
|
"skipLibCheck": true,
|
12
|
-
"
|
13
|
-
"
|
14
|
-
"allowJs": true,
|
15
|
-
"noEmit": true,
|
16
|
-
"isolatedModules": true,
|
8
|
+
"moduleResolution": "bundler",
|
9
|
+
"allowImportingTsExtensions": true,
|
17
10
|
"resolveJsonModule": true,
|
18
|
-
"
|
11
|
+
"isolatedModules": true,
|
12
|
+
"noEmit": true,
|
13
|
+
"jsx": "react-jsx",
|
14
|
+
"jsxFactory": "jsx",
|
15
|
+
"jsxFragmentFactory": "Fragment",
|
16
|
+
"strict": true,
|
17
|
+
"noUnusedLocals": true,
|
18
|
+
"noUnusedParameters": true,
|
19
|
+
"noFallthroughCasesInSwitch": true
|
19
20
|
},
|
20
|
-
"include": ["src
|
21
|
-
"
|
21
|
+
"include": ["src"],
|
22
|
+
"references": [{ "path": "./tsconfig.node.json" }]
|
22
23
|
}
|
@@ -4,7 +4,8 @@ import { nodePolyfills } from 'vite-plugin-node-polyfills';
|
|
4
4
|
export default defineConfig({
|
5
5
|
esbuild: {
|
6
6
|
jsxFactory: 'jsx',
|
7
|
-
jsxFragment: 'Fragment'
|
7
|
+
jsxFragment: 'Fragment',
|
8
|
+
jsxInject: `import { jsx, Fragment } from 'frontend-hamroun'`
|
8
9
|
},
|
9
10
|
build: {
|
10
11
|
outDir: 'dist',
|