@isograph/react 0.0.0-main-b82d48f7 → 0.0.0-main-c938c1af
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 +5 -6
- package/tsconfig.pkg.json +1 -1
- package/vitest.config.ts +20 -0
- package/vite.config.ts +0 -16
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@isograph/react",
|
3
|
-
"version": "0.0.0-main-
|
3
|
+
"version": "0.0.0-main-c938c1af",
|
4
4
|
"description": "Use Isograph with React",
|
5
5
|
"homepage": "https://isograph.dev",
|
6
6
|
"main": "dist/index.js",
|
@@ -17,9 +17,9 @@
|
|
17
17
|
"tsc": "tsc"
|
18
18
|
},
|
19
19
|
"dependencies": {
|
20
|
-
"@isograph/disposable-types": "0.0.0-main-
|
21
|
-
"@isograph/react-disposable-state": "0.0.0-main-
|
22
|
-
"@isograph/reference-counted-pointer": "0.0.0-main-
|
20
|
+
"@isograph/disposable-types": "0.0.0-main-c938c1af",
|
21
|
+
"@isograph/react-disposable-state": "0.0.0-main-c938c1af",
|
22
|
+
"@isograph/reference-counted-pointer": "0.0.0-main-c938c1af"
|
23
23
|
},
|
24
24
|
"peerDependencies": {
|
25
25
|
"react": "18.2.0"
|
@@ -30,8 +30,7 @@
|
|
30
30
|
"react-test-renderer": "^18.2.0",
|
31
31
|
"typescript": "^5.0.3",
|
32
32
|
"vite-plugin-babel": "^1.2.0",
|
33
|
-
"vite-plugin-commonjs": "^0.10.1"
|
34
|
-
"vitest": "^0.29.8"
|
33
|
+
"vite-plugin-commonjs": "^0.10.1"
|
35
34
|
},
|
36
35
|
"repository": {
|
37
36
|
"type": "git",
|
package/tsconfig.pkg.json
CHANGED
package/vitest.config.ts
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
import babel from 'vite-plugin-babel';
|
2
|
+
import commonjs from 'vite-plugin-commonjs';
|
3
|
+
import { defineProject } from 'vitest/config';
|
4
|
+
|
5
|
+
export default defineProject({
|
6
|
+
plugins: [
|
7
|
+
babel({
|
8
|
+
filter: /\.[jt]sx?$/,
|
9
|
+
babelConfig: {
|
10
|
+
presets: ['@babel/preset-typescript'],
|
11
|
+
plugins: [require('../isograph-babel-plugin/BabelPluginIsograph')],
|
12
|
+
},
|
13
|
+
}),
|
14
|
+
commonjs({
|
15
|
+
advanced: {
|
16
|
+
importRules: 'merge',
|
17
|
+
},
|
18
|
+
}),
|
19
|
+
],
|
20
|
+
});
|
package/vite.config.ts
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
import babel from 'vite-plugin-babel';
|
2
|
-
import commonjs from 'vite-plugin-commonjs';
|
3
|
-
import { defineConfig } from 'vitest/config';
|
4
|
-
|
5
|
-
export default defineConfig({
|
6
|
-
plugins: [
|
7
|
-
babel({
|
8
|
-
filter: /\.[jt]sx?$/,
|
9
|
-
babelConfig: {
|
10
|
-
presets: ['@babel/preset-typescript'],
|
11
|
-
plugins: ['../isograph-babel-plugin/BabelPluginIsograph'],
|
12
|
-
},
|
13
|
-
}),
|
14
|
-
commonjs(),
|
15
|
-
],
|
16
|
-
});
|