Skip to content

Commit 1714bfc

Browse files
authored
Merge pull request #79 from objectstack-ai/copilot/update-action-run-parameters
2 parents eddcee4 + 2035c8c commit 1714bfc

File tree

5 files changed

+12
-11
lines changed

5 files changed

+12
-11
lines changed

examples/designer-modes/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { useState } from 'react';
1+
import { useState } from 'react';
22
import { Designer, type DesignerMode } from '@object-ui/designer';
33
import type { SchemaNode } from '@object-ui/core';
44

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import React from 'react';
2-
import ReactDOM from 'react-dom/client';
1+
import { StrictMode } from 'react';
2+
import { createRoot } from 'react-dom/client';
33
import App from './App';
44
import './index.css';
55

6-
ReactDOM.createRoot(document.getElementById('root')!).render(
7-
<React.StrictMode>
6+
createRoot(document.getElementById('root')!).render(
7+
<StrictMode>
88
<App />
9-
</React.StrictMode>,
9+
</StrictMode>,
1010
);

examples/designer-modes/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"useDefineForClassFields": true,
55
"lib": ["ES2020", "DOM", "DOM.Iterable"],
66
"module": "ESNext",
7+
"types": ["vite/client"],
78
"skipLibCheck": true,
89

910
/* Bundler mode */

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"scripts": {
1717
"dev": "pnpm --filter prototype dev",
1818
"start": "pnpm --filter prototype dev",
19-
"build": "pnpm -r build",
19+
"build": "pnpm --filter './packages/*' -r build && pnpm --filter './examples/*' -r build",
2020
"pretest": "pnpm --filter @object-ui/types build && pnpm --filter @object-ui/core build && pnpm --filter @object-ui/react build && pnpm --filter @object-ui/components build",
2121
"test": "vitest run",
2222
"docs:dev": "pnpm --filter object-ui-docs dev",

packages/components/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
"version": "0.2.0",
44
"type": "module",
55
"license": "MIT",
6-
"main": "dist/index.umd.js",
7-
"module": "dist/index.mjs",
6+
"main": "dist/index.umd.cjs",
7+
"module": "dist/index.js",
88
"types": "dist/index.d.ts",
99
"exports": {
1010
".": {
1111
"types": "./dist/index.d.ts",
12-
"import": "./dist/index.mjs",
13-
"require": "./dist/index.umd.js"
12+
"import": "./dist/index.js",
13+
"require": "./dist/index.umd.cjs"
1414
},
1515
"./dist/style.css": "./dist/style.css"
1616
},

0 commit comments

Comments
 (0)