Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempt to fix build step #471

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"devDependencies": {
"@cspotcode/zx": "^6.1.2",
"@microsoft/api-documenter": "^7.19.0",
"@microsoft/api-extractor": "^7.28.6",
"@microsoft/api-extractor": "^7.38.5",
"@types/eslint": "^8.44.2",
"@types/jest": "^26.0.23",
"@typescript-eslint/eslint-plugin": "^6.3.0",
Expand Down Expand Up @@ -64,6 +64,7 @@
"node": ">=18"
},
"dependencies": {
"@actions/core": "^1.10.0"
"@actions/core": "^1.10.0",
"rollup-plugin-dts": "^6.1.0"
}
}
4 changes: 1 addition & 3 deletions packages/browser-bundles/devEnv/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
{

}
{}
2 changes: 1 addition & 1 deletion packages/dataverse/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"precommit": "yarn run docs"
},
"devDependencies": {
"@microsoft/api-extractor": "^7.36.4",
"@microsoft/api-extractor": "^7.38.5",
"@types/jest": "^26.0.23",
"@types/lodash-es": "^4.17.4",
"@types/node": "^15.6.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"clean": "rm -rf ./dist && rm -f tsconfig.tsbuildinfo"
},
"devDependencies": {
"@microsoft/api-extractor": "^7.18.11",
"@microsoft/api-extractor": "^7.38.5",
"@types/jest": "^26.0.23",
"@types/lodash-es": "^4.17.4",
"@types/node": "^15.6.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/saaz/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"precommit": "yarn run docs"
},
"devDependencies": {
"@microsoft/api-extractor": "^7.36.4",
"@microsoft/api-extractor": "^7.38.5",
"@theatre/dataverse": "workspace:*",
"@theatre/utils": "workspace:*",
"@types/jest": "^26.0.23",
Expand Down
2 changes: 1 addition & 1 deletion packages/theatric/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"clean": "rm -rf ./dist && rm -f tsconfig.tsbuildinfo"
},
"devDependencies": {
"@microsoft/api-extractor": "^7.18.11",
"@microsoft/api-extractor": "^7.38.5",
"@theatre/dataverse": "workspace:*",
"@types/jest": "^26.0.23",
"@types/node": "^15.6.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"precommit": "yarn run docs"
},
"devDependencies": {
"@microsoft/api-extractor": "^7.36.4",
"@microsoft/api-extractor": "^7.38.5",
"@theatre/dataverse": "workspace:*",
"@types/jest": "^26.0.23",
"@types/lodash-es": "^4.17.4",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
import alias from '@rollup/plugin-alias'
import path from 'path'
import { fileURLToPath } from 'url'
import dts from 'rollup-plugin-dts'

const __filename = fileURLToPath(import.meta.url)
const __dirname = path.dirname(__filename)

const fromPrivatePackage = (s) => path.join(__dirname, '../..', s)

const config = ['studio', 'core'].map((which) => {
Expand Down Expand Up @@ -36,7 +40,7 @@ const config = ['studio', 'core'].map((which) => {
},

plugins: [
dts({respectExternal: true}),
dts({respectExternal: false}),
alias({
entries: [
{
Expand Down
7 changes: 3 additions & 4 deletions theatre/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
"build:js": "node -r esbuild-register devEnv/bundle.ts",
"build:js:watch": "node -r esbuild-register devEnv/watch.ts",
"build:ts": "run-s typecheck build:ts:bundle",
"build:ts:bundle": "rollup -c devEnv/declarations-bundler/rollup.config.js",
"build:ts:bundle": "rollup -c devEnv/declarations-bundler/rollup.config.mjs",
"build:api-json": "run-p build:api-json:core build:api-json:studio",
"build:api-json:core": "api-extractor run --local --config core/devEnv/api-extractor.json",
"build:api-json:studio": "api-extractor run --local --config studio/devEnv/api-extractor.json",
"build": "run-p build:ts build:js",
"clean": "rm -rf ./.temp && rm -rf ./core/dist && rm -rf ./studio/dist"
},
"devDependencies": {
"@microsoft/api-extractor": "^7.18.11",
"@microsoft/api-extractor": "^7.38.5",
"@react-spring/web": "^9.7.3",
"@rollup/plugin-alias": "^3.1.5",
"@rollup/plugin-multi-entry": "^4.1.0",
Expand Down Expand Up @@ -85,8 +85,7 @@
"redux": "^3.7.2",
"redux-actions": "^2.6.5",
"rimraf": "^3.0.2",
"rollup": "^2.56.3",
"rollup-plugin-dts": "^4.0.0",
"rollup": "^4.6.1",
"shallowequal": "^1.1.0",
"styled-components": "^5.3.11",
"superjson": "^1.13.1",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import {Atom} from '@theatre/dataverse'
import type {$IntentionalAny} from '@theatre/utils/types'
import {useEffect, type ElementType, type MutableRefObject} from 'react'
import {useEffect} from 'react'
import type {ElementType, MutableRefObject} from 'react'
import type {DragOpts} from '@theatre/studio/uiComponents/useDrag'
import type React from 'react'

Expand Down
Loading