update react package json

This commit is contained in:
Matthias Nannt
2022-11-17 09:37:16 +01:00
parent b631ee9c11
commit 497654bdcd
5 changed files with 234 additions and 4 deletions

View File

@@ -3,4 +3,4 @@ module.exports = {
tailwindcss: {},
autoprefixer: {},
},
}
};

View File

@@ -7,4 +7,4 @@ Under the hood we are using [React Hook Form](https://github.com/react-hook-form
## Get started
To get started, please check out our [docs](https://formbricks-com.vercel.app/docs/form-creation/react-form-builder)
To get started, please check out our [docs](https://formbricks.com/docs/react-form-library/introduction)

View File

@@ -1,11 +1,13 @@
{
"name": "@formbricks/react",
"version": "0.0.4",
"version": "0.0.6",
"author": "Formbricks <hola@formbricks.com>",
"description": "Building React forms has never been quicker.",
"homepage": "https://formbricks.com",
"main": "./dist/index.js",
"module": "dist/index.mjs",
"types": "./dist/index.d.ts",
"sideEffects": false,
"exports": {
".": "./dist/index.js",
"./styles.css": "./dist/styles.css"
@@ -33,7 +35,26 @@
"clsx": "^1.2.1",
"react-hook-form": "^7.39.1"
},
"peerDependencies": {
"react": "^16.8.0 || ^17 || ^18"
},
"publishConfig": {
"access": "public"
},
"keywords": [
"react",
"form",
"forms",
"form-validation",
"validation",
"typescript",
"formbricks",
"survey",
"surveys",
"select"
],
"repository": {
"type": "git",
"url": "https://github.com/formbricks/formbricks"
}
}

View File

@@ -0,0 +1,13 @@
// If you want to use other PostCSS plugins, see the following:
// https://tailwindcss.com/docs/using-with-preprocessors
const config = require("@formbricks/tailwind-config/tailwind.config.js");
module.exports = {
plugins: {
// Specifying the config is not necessary in most cases, but it is included
// here to share the same config across the entire monorepo
tailwindcss: { config },
autoprefixer: {},
},
};

198
pnpm-lock.yaml generated
View File

@@ -14,6 +14,41 @@ importers:
tsx: 3.9.0
turbo: 1.6.3
apps/examples:
specifiers:
'@formbricks/react': workspace:*
'@formbricks/tailwind-config': workspace:*
'@formbricks/tsconfig': workspace:*
'@formbricks/ui': workspace:*
'@types/node': ^18.11.9
'@types/react': ^18.0.25
'@types/react-dom': ^18.0.8
autoprefixer: ^10.4.12
eslint-config-formbricks: workspace:*
next: latest
postcss: ^8.4.18
react: ^18.2.0
react-dom: ^18.2.0
tailwindcss: ^3.2.2
typescript: ^4.8.4
dependencies:
'@formbricks/react': link:../../packages/react
'@formbricks/ui': link:../../packages/ui
next: 13.0.3_biqbaboplfbrettd7655fr4n2y
react: 18.2.0
react-dom: 18.2.0_react@18.2.0
devDependencies:
'@formbricks/tailwind-config': link:../../packages/tailwind-config
'@formbricks/tsconfig': link:../../packages/tsconfig
'@types/node': 18.11.9
'@types/react': 18.0.25
'@types/react-dom': 18.0.9
autoprefixer: 10.4.12_postcss@8.4.18
eslint-config-formbricks: link:../../packages/eslint-config-custom
postcss: 8.4.18
tailwindcss: 3.2.4_postcss@8.4.18
typescript: 4.8.4
apps/formbricks-com:
specifiers:
'@docsearch/react': ^3.3.0
@@ -850,6 +885,15 @@ packages:
dev: false
optional: true
/@next/swc-android-arm-eabi/13.0.3:
resolution: {integrity: sha512-uxfUoj65CdFc1gX2q7GtBX3DhKv9Kn343LMqGNvXyuTpYTGMmIiVY7b9yF8oLWRV0gVKqhZBZifUmoPE8SJU6Q==}
engines: {node: '>= 10'}
cpu: [arm]
os: [android]
requiresBuild: true
dev: false
optional: true
/@next/swc-android-arm64/13.0.0:
resolution: {integrity: sha512-RW9Uy3bMSc0zVGCa11klFuwfP/jdcdkhdruqnrJ7v+7XHm6OFKkSRzX6ee7yGR1rdDZvTnP4GZSRSpzjLv/N0g==}
engines: {node: '>= 10'}
@@ -859,6 +903,15 @@ packages:
dev: false
optional: true
/@next/swc-android-arm64/13.0.3:
resolution: {integrity: sha512-t2k+WDfg7Cq2z/EnalKGsd/9E5F4Hdo1xu+UzZXYDpKUI9zgE6Bz8ajQb8m8txv3qOaWdKuDa5j5ziq9Acd1Xw==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [android]
requiresBuild: true
dev: false
optional: true
/@next/swc-darwin-arm64/13.0.0:
resolution: {integrity: sha512-APA26nps1j4qyhOIzkclW/OmgotVHj1jBxebSpMCPw2rXfiNvKNY9FA0TcuwPmUCNqaTnm703h6oW4dvp73A4Q==}
engines: {node: '>= 10'}
@@ -868,6 +921,15 @@ packages:
dev: false
optional: true
/@next/swc-darwin-arm64/13.0.3:
resolution: {integrity: sha512-wV6j6SZ1bc/YHOLCLk9JVqaZTCCey6HBV7inl2DriHsHqIcO6F3+QiYf0KXwRP9BE0GSZZrYd5mZQm2JPTHdJA==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [darwin]
requiresBuild: true
dev: false
optional: true
/@next/swc-darwin-x64/13.0.0:
resolution: {integrity: sha512-qsUhUdoFuRJiaJ7LnvTQ6GZv1QnMDcRXCIjxaN0FNVXwrjkq++U7KjBUaxXkRzLV4C7u0NHLNOp0iZwNNE7ypw==}
engines: {node: '>= 10'}
@@ -877,6 +939,15 @@ packages:
dev: false
optional: true
/@next/swc-darwin-x64/13.0.3:
resolution: {integrity: sha512-jaI2CMuYWvUtRixV3AIjUhnxUDU1FKOR+8hADMhYt3Yz+pCKuj4RZ0n0nY5qUf3qT1AtvnJXEgyatSFJhSp/wQ==}
engines: {node: '>= 10'}
cpu: [x64]
os: [darwin]
requiresBuild: true
dev: false
optional: true
/@next/swc-freebsd-x64/13.0.0:
resolution: {integrity: sha512-sCdyCbboS7CwdnevKH9J6hkJI76LUw1jVWt4eV7kISuLiPba3JmehZSWm80oa4ADChRVAwzhLAo2zJaYRrInbg==}
engines: {node: '>= 10'}
@@ -886,6 +957,15 @@ packages:
dev: false
optional: true
/@next/swc-freebsd-x64/13.0.3:
resolution: {integrity: sha512-nbyT0toBTJrcj5TCB9pVnQpGJ3utGyQj4CWegZs1ulaeUQ5Z7CS/qt8nRyYyOKYHtOdSCJ9Nw5F/RgKNkdpOdw==}
engines: {node: '>= 10'}
cpu: [x64]
os: [freebsd]
requiresBuild: true
dev: false
optional: true
/@next/swc-linux-arm-gnueabihf/13.0.0:
resolution: {integrity: sha512-/X/VxfFA41C9jrEv+sUsPLQ5vbDPVIgG0CJrzKvrcc+b+4zIgPgtfsaWq9ockjHFQi3ycvlZK4TALOXO8ovQ6Q==}
engines: {node: '>= 10'}
@@ -895,6 +975,15 @@ packages:
dev: false
optional: true
/@next/swc-linux-arm-gnueabihf/13.0.3:
resolution: {integrity: sha512-1naLxYvRUQCoFCU1nMkcQueRc0Iux9xBv1L5pzH2ejtIWFg8BrSgyuluJG4nyAhFCx4WG863IEIkAaefOowVdA==}
engines: {node: '>= 10'}
cpu: [arm]
os: [linux]
requiresBuild: true
dev: false
optional: true
/@next/swc-linux-arm64-gnu/13.0.0:
resolution: {integrity: sha512-x6Oxr1GIi0ZtNiT6jbw+JVcbEi3UQgF7mMmkrgfL4mfchOwXtWSHKTSSPnwoJWJfXYa0Vy1n8NElWNTGAqoWFw==}
engines: {node: '>= 10'}
@@ -904,6 +993,15 @@ packages:
dev: false
optional: true
/@next/swc-linux-arm64-gnu/13.0.3:
resolution: {integrity: sha512-3Z4A8JkuGWpMVbUhUPQInK/SLY+kijTT78Q/NZCrhLlyvwrVxaQALJNlXzxDLraUgv4oVH0Wz/FIw1W9PUUhxA==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
requiresBuild: true
dev: false
optional: true
/@next/swc-linux-arm64-musl/13.0.0:
resolution: {integrity: sha512-SnMH9ngI+ipGh3kqQ8+mDtWunirwmhQnQeZkEq9e/9Xsgjf04OetqrqRHKM1HmJtG2qMUJbyXFJ0F81TPuT+3g==}
engines: {node: '>= 10'}
@@ -913,6 +1011,15 @@ packages:
dev: false
optional: true
/@next/swc-linux-arm64-musl/13.0.3:
resolution: {integrity: sha512-MoYe9SM40UaunTjC+01c9OILLH3uSoeri58kDMu3KF/EFEvn1LZ6ODeDj+SLGlAc95wn46hrRJS2BPmDDE+jFQ==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
requiresBuild: true
dev: false
optional: true
/@next/swc-linux-x64-gnu/13.0.0:
resolution: {integrity: sha512-VSQwTX9EmdbotArtA1J67X8964oQfe0xHb32x4tu+JqTR+wOHyG6wGzPMdXH2oKAp6rdd7BzqxUXXf0J+ypHlw==}
engines: {node: '>= 10'}
@@ -922,6 +1029,15 @@ packages:
dev: false
optional: true
/@next/swc-linux-x64-gnu/13.0.3:
resolution: {integrity: sha512-z22T5WGnRanjLMXdF0NaNjSpBlEzzY43t5Ysp3nW1oI6gOkub6WdQNZeHIY7A2JwkgSWZmtjLtf+Fzzz38LHeQ==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
requiresBuild: true
dev: false
optional: true
/@next/swc-linux-x64-musl/13.0.0:
resolution: {integrity: sha512-xBCP0nnpO0q4tsytXkvIwWFINtbFRyVY5gxa1zB0vlFtqYR9lNhrOwH3CBrks3kkeaePOXd611+8sjdUtrLnXA==}
engines: {node: '>= 10'}
@@ -931,6 +1047,15 @@ packages:
dev: false
optional: true
/@next/swc-linux-x64-musl/13.0.3:
resolution: {integrity: sha512-ZOMT7zjBFmkusAtr47k8xs/oTLsNlTH6xvYb+iux7yly2hZGwhfBLzPGBsbeMZukZ96IphJTagT+C033s6LNVA==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
requiresBuild: true
dev: false
optional: true
/@next/swc-win32-arm64-msvc/13.0.0:
resolution: {integrity: sha512-NutwDafqhGxqPj/eiUixJq9ImS/0sgx6gqlD7jRndCvQ2Q8AvDdu1+xKcGWGNnhcDsNM/n1avf1e62OG1GaqJg==}
engines: {node: '>= 10'}
@@ -940,6 +1065,15 @@ packages:
dev: false
optional: true
/@next/swc-win32-arm64-msvc/13.0.3:
resolution: {integrity: sha512-Q4BM16Djl+Oah9UdGrvjFYgoftYB2jNd+rtRGPX5Mmxo09Ry/KiLbOZnoUyoIxKc1xPyfqMXuaVsAFQLYs0KEQ==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [win32]
requiresBuild: true
dev: false
optional: true
/@next/swc-win32-ia32-msvc/13.0.0:
resolution: {integrity: sha512-zNaxaO+Kl/xNz02E9QlcVz0pT4MjkXGDLb25qxtAzyJL15aU0+VjjbIZAYWctG59dvggNIUNDWgoBeVTKB9xLg==}
engines: {node: '>= 10'}
@@ -949,6 +1083,15 @@ packages:
dev: false
optional: true
/@next/swc-win32-ia32-msvc/13.0.3:
resolution: {integrity: sha512-Sa8yGkNeRUsic8Qjf7MLIAfP0p0+einK/wIqJ8UO1y76j+8rRQu42AMs5H4Ax1fm9GEYq6I8njHtY59TVpTtGQ==}
engines: {node: '>= 10'}
cpu: [ia32]
os: [win32]
requiresBuild: true
dev: false
optional: true
/@next/swc-win32-x64-msvc/13.0.0:
resolution: {integrity: sha512-FFOGGWwTCRMu9W7MF496Urefxtuo2lttxF1vwS+1rIRsKvuLrWhVaVTj3T8sf2EBL6gtJbmh4TYlizS+obnGKA==}
engines: {node: '>= 10'}
@@ -958,6 +1101,15 @@ packages:
dev: false
optional: true
/@next/swc-win32-x64-msvc/13.0.3:
resolution: {integrity: sha512-IAptmSqA7k4tQzaw2NAkoEjj3+Dz9ceuvlEHwYh770MMDL4V0ku2m+UHrmn5HUCEDHhgwwjg2nyf6728q2jr1w==}
engines: {node: '>= 10'}
cpu: [x64]
os: [win32]
requiresBuild: true
dev: false
optional: true
/@nodelib/fs.scandir/2.1.5:
resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==}
engines: {node: '>= 8'}
@@ -1117,7 +1269,6 @@ packages:
/@types/node/18.11.9:
resolution: {integrity: sha512-CRpX21/kGdzjOpFsZSkcrXMGIBWMGNIHXXBVFSH+ggkftxg+XYP20TESbh+zFvFj3EQOl5byk0HTRn1IL6hbqg==}
dev: false
/@types/node/18.8.3:
resolution: {integrity: sha512-0os9vz6BpGwxGe9LOhgP/ncvYN5Tx1fNcd2TM3rD/aCGBkysb+ZWpXEocG24h6ZzOi13+VB8HndAQFezsSOw1w==}
@@ -4324,6 +4475,51 @@ packages:
- babel-plugin-macros
dev: false
/next/13.0.3_biqbaboplfbrettd7655fr4n2y:
resolution: {integrity: sha512-rFQeepcenRxKzeKlh1CsmEnxsJwhIERtbUjmYnKZyDInZsU06lvaGw5DT44rlNp1Rv2MT/e9vffZ8vK+ytwXHA==}
engines: {node: '>=14.6.0'}
hasBin: true
peerDependencies:
fibers: '>= 3.1.0'
node-sass: ^6.0.0 || ^7.0.0
react: ^18.2.0
react-dom: ^18.2.0
sass: ^1.3.0
peerDependenciesMeta:
fibers:
optional: true
node-sass:
optional: true
sass:
optional: true
dependencies:
'@next/env': 13.0.3
'@swc/helpers': 0.4.11
caniuse-lite: 1.0.30001418
postcss: 8.4.14
react: 18.2.0
react-dom: 18.2.0_react@18.2.0
styled-jsx: 5.1.0_react@18.2.0
use-sync-external-store: 1.2.0_react@18.2.0
optionalDependencies:
'@next/swc-android-arm-eabi': 13.0.3
'@next/swc-android-arm64': 13.0.3
'@next/swc-darwin-arm64': 13.0.3
'@next/swc-darwin-x64': 13.0.3
'@next/swc-freebsd-x64': 13.0.3
'@next/swc-linux-arm-gnueabihf': 13.0.3
'@next/swc-linux-arm64-gnu': 13.0.3
'@next/swc-linux-arm64-musl': 13.0.3
'@next/swc-linux-x64-gnu': 13.0.3
'@next/swc-linux-x64-musl': 13.0.3
'@next/swc-win32-arm64-msvc': 13.0.3
'@next/swc-win32-ia32-msvc': 13.0.3
'@next/swc-win32-x64-msvc': 13.0.3
transitivePeerDependencies:
- '@babel/core'
- babel-plugin-macros
dev: false
/node-releases/2.0.6:
resolution: {integrity: sha512-PiVXnNuFm5+iYkLBNeq5211hvO38y63T0i2KKh2KnUs3RpzJ+JtODFjkD8yjLwnDkTYF1eKXheUwdssR+NRZdg==}