Skip to content

Commit

Permalink
Merge "[mono] Update more builds & deps"
Browse files Browse the repository at this point in the history
GitOrigin-RevId: de506e9343e946c76c2dffddc57f563271561f62
  • Loading branch information
yang authored and Copybara committed Nov 1, 2023
1 parent 7f3ca35 commit 3f6c6a4
Show file tree
Hide file tree
Showing 9 changed files with 38 additions and 43 deletions.
3 changes: 1 addition & 2 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"version": "independent",
"npmClient": "yarn",
"useWorkspaces": true
"npmClient": "yarn"
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"eslint-plugin-react": "^7.29.4",
"if-env": "^1.0.4",
"jest": "29.5.0",
"lerna": "^6.3.0",
"lerna": "^7.4.2",
"prettier": "2.7.1",
"size-limit": "8.2.4",
"tsconfig-paths": "^4.2.0",
Expand Down
12 changes: 6 additions & 6 deletions plasmicpkgs/antd5/src/registerSlider.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { Slider } from "antd";
import React, { ReactElement, useMemo } from "react";
import { capitalize, Registerable, registerComponentHelper } from "./utils";
import kebabCase from "lodash/kebabCase";
import { PropType } from "@plasmicapp/host";
import { Slider } from "antd";
import type { SliderTooltipProps } from "antd/lib/slider";
import type { TooltipPlacement } from "antd/lib/tooltip";
import kebabCase from "lodash/kebabCase";
import React, { ReactElement, useMemo } from "react";
import { Registerable, registerComponentHelper } from "./utils";

export type StylableMark = {
mark: number;
Expand Down Expand Up @@ -53,8 +53,8 @@ export interface AntdRangeSliderProps extends AntdSliderBaseProps {
valueMax?: number;
defaultValueMin?: number;
defaultValueMax?: number;
onChange: (value?: [number, number]) => void;
onAfterChange: (value?: [number, number]) => void;
onChange: (value?: number[]) => void;
onAfterChange: (value?: number[]) => void;
}

export function useMarks({
Expand Down
15 changes: 7 additions & 8 deletions plasmicpkgs/plasmic-content-stack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,16 @@
"description": "Plasmic ContentStack components.",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"module": "dist/plasmic-content-stack.esm.js",
"module": "dist/index.mjs",
"publishConfig": {
"access": "public"
},
"files": [
"dist"
],
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"build": "tsup-node src/index.tsx --dts --format esm,cjs --target es2019",
"test": "yarn --cwd=../.. test --passWithNoTests",
"lint": "tsdx lint",
"prepare": "if-env PREPARE_NO_BUILD=true || yarn build",
"size": "size-limit",
"analyze": "size-limit --why"
Expand All @@ -25,11 +23,11 @@
},
"size-limit": [
{
"path": "dist/plasmic-content-stack.cjs.production.min.js",
"path": "dist/index.js",
"limit": "10 KB"
},
{
"path": "dist/plasmic-content-stack.esm.js",
"path": "dist/index.mjs",
"limit": "10 KB"
}
],
Expand All @@ -44,8 +42,9 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"size-limit": "^7.0.8",
"tsdx": "^0.14.1",
"tslib": "^2.3.1"
"tslib": "^2.3.1",
"tsup": "^7.2.0",
"typescript": "^5.2.2"
},
"dependencies": {
"change-case": "^4.1.2",
Expand Down
15 changes: 7 additions & 8 deletions plasmicpkgs/plasmic-contentful/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,16 @@
"description": "Plasmic Contentful components.",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"module": "dist/plasmic-contentful.esm.js",
"module": "dist/index.mjs",
"publishConfig": {
"access": "public"
},
"files": [
"dist"
],
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"build": "tsup-node src/index.tsx --dts --format esm,cjs --target es2019",
"test": "yarn --cwd=../.. test --passWithNoTests",
"lint": "tsdx lint",
"prepare": "if-env PREPARE_NO_BUILD=true || yarn build",
"size": "size-limit",
"analyze": "size-limit --why"
Expand All @@ -25,11 +23,11 @@
},
"size-limit": [
{
"path": "dist/plasmic-contentful.cjs.production.min.js",
"path": "dist/index.js",
"limit": "10 KB"
},
{
"path": "dist/plasmic-contentful.esm.js",
"path": "dist/index.mjs",
"limit": "10 KB"
}
],
Expand All @@ -44,8 +42,9 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"size-limit": "^7.0.8",
"tsdx": "^0.14.1",
"tslib": "^2.3.1"
"tslib": "^2.3.1",
"tsup": "^7.2.0",
"typescript": "^5.2.2"
},
"dependencies": {
"@contentful/rich-text-html-renderer": "^15.13.1",
Expand Down
15 changes: 7 additions & 8 deletions plasmicpkgs/plasmic-sanity-io/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,23 @@
"description": "Plasmic Sanity.io components.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"module": "dist/plasmic-sanity-io.esm.js",
"module": "dist/index.mjs",
"files": [
"dist"
],
"size-limit": [
{
"path": "dist/plasmic-sanity-io.cjs.production.min.js",
"path": "dist/index.js",
"limit": "10 KB"
},
{
"path": "dist/plasmic-sanity-io.esm.js",
"path": "dist/index.mjs",
"limit": "10 KB"
}
],
"scripts": {
"build": "tsdx build",
"start": "tsdx watch",
"build": "tsup-node src/index.tsx --dts --format esm,cjs --target es2019",
"test": "yarn --cwd=../.. test --passWithNoTests",
"lint": "tsdx lint",
"prepare": "if-env PREPARE_NO_BUILD=true || yarn build",
"size": "size-limit",
"analyze": "size-limit --why"
Expand All @@ -35,8 +33,9 @@
"@types/node": "^17.0.14",
"@types/react": "^18.2.33",
"size-limit": "^7.0.8",
"tsdx": "^0.14.1",
"tslib": "^2.3.1"
"tslib": "^2.3.1",
"tsup": "^7.2.0",
"typescript": "^5.2.2"
},
"dependencies": {
"@sanity/client": "^6.2.0",
Expand Down
15 changes: 7 additions & 8 deletions plasmicpkgs/plasmic-strapi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,16 @@
"description": "Plasmic Strapi components.",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"module": "dist/plasmic-strapi.esm.js",
"module": "dist/index.mjs",
"publishConfig": {
"access": "public"
},
"files": [
"dist"
],
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"build": "tsup-node src/index.tsx --dts --format esm,cjs --target es2019",
"test": "yarn --cwd=../.. test --passWithNoTests",
"lint": "tsdx lint",
"prepare": "if-env PREPARE_NO_BUILD=true || yarn build",
"size": "size-limit",
"analyze": "size-limit --why"
Expand All @@ -25,11 +23,11 @@
},
"size-limit": [
{
"path": "dist/plasmic-strapi.cjs.production.min.js",
"path": "dist/index.js",
"limit": "10 KB"
},
{
"path": "dist/plasmic-strapi.esm.js",
"path": "dist/index.mjs",
"limit": "10 KB"
}
],
Expand All @@ -46,8 +44,9 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"size-limit": "^7.0.8",
"tsdx": "^0.14.1",
"tslib": "^2.3.1"
"tslib": "^2.3.1",
"tsup": "^7.2.0",
"typescript": "^5.2.2"
},
"dependencies": {
"@types/dlv": "^1.1.2",
Expand Down
2 changes: 1 addition & 1 deletion plasmicpkgs/radix-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
}
],
"scripts": {
"build": "tsup src/index.tsx --dts --format esm,cjs --target es2019",
"build": "tsup-node src/index.tsx --dts --format esm,cjs --target es2019",
"test": "yarn --cwd=../.. test --passWithNoTests",
"prepare": "if-env PREPARE_NO_BUILD=true || yarn build",
"size": "size-limit",
Expand Down
2 changes: 1 addition & 1 deletion plasmicpkgs/react-audio-player/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"dist"
],
"scripts": {
"build": "tsup src/index.tsx --dts --format esm,cjs --target es2019",
"build": "tsup-node src/index.tsx --dts --format esm,cjs --target es2019",
"test": "yarn --cwd=../.. test --passWithNoTests",
"prepare": "if-env PREPARE_NO_BUILD=true || yarn build",
"size": "size-limit",
Expand Down

0 comments on commit 3f6c6a4

Please sign in to comment.