2
0

build: 🏗️ Add docker image and deployment features

This commit is contained in:
Baptiste Arnaud
2022-03-12 07:53:37 +01:00
parent 1dbbc9a251
commit e886d1b079
30 changed files with 2020 additions and 2136 deletions

View File

@ -11,41 +11,42 @@
"qs": "^6.10.3",
"react-frame-component": "5.2.2-alpha.1",
"react-phone-number-input": "^3.1.46",
"react-scroll": "^1.8.4",
"react-scroll": "^1.8.6",
"react-transition-group": "^4.4.2",
"utils": "*"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-commonjs": "^21.0.2",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.1.3",
"@rollup/plugin-typescript": "^8.3.0",
"@types/react": "^17.0.39",
"@rollup/plugin-typescript": "^8.3.1",
"@types/react": "^17.0.40",
"@types/react-phone-number-input": "^3.0.13",
"@types/react-scroll": "^1.8.3",
"@types/react-transition-group": "^4.4.4",
"autoprefixer": "^10.4.2",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.6",
"postcss": "^8.4.8",
"rollup": "^2.70.0",
"rollup-plugin-dts": "^4.1.0",
"rollup-plugin-dts": "^4.2.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-terser": "^7.0.2",
"tailwindcss": "^3.0.22",
"typescript": "^4.5.5",
"@typescript-eslint/eslint-plugin": "^5.11.0",
"tailwindcss": "^3.0.23",
"typescript": "^4.6.2",
"@typescript-eslint/eslint-plugin": "^5.14.0",
"eslint": "<8.0.0",
"eslint-config-next": "12.0.10",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0"
"eslint-config-next": "12.1.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"tslib": "^2.3.1"
},
"peerDependencies": {
"react": "^17.0.2"
},
"scripts": {
"build": "yarn rollup -c",
"dev": "yarn rollup -c --watch",
"dx": "yarn rollup -c --watch",
"lint": "eslint --fix -c ./.eslintrc.js \"./src/**/*.ts*\""
}
}

View File

@ -28,7 +28,7 @@ export default [
],
plugins: [
peerDepsExternal(),
resolve(),
resolve({ preferBuiltins: true }),
json(),
commonjs(),
typescript({ tsconfig: './tsconfig.json' }),

View File

@ -5,21 +5,22 @@
"main": "./index.ts",
"types": "./index.ts",
"devDependencies": {
"prisma": "^3.9.2",
"ts-node": "^10.5.0",
"typescript": "^4.5.5",
"prisma": "^3.10.0",
"ts-node": "^10.7.0",
"typescript": "^4.6.2",
"dotenv-cli": "5.0.0"
},
"dependencies": {
"@prisma/client": "^3.9.2"
"@prisma/client": "^3.10.0"
},
"scripts": {
"dev": "dotenv -e ../../apps/builder/.env.local yarn prisma db push && yarn start:sutdio ",
"start:sutdio": "dotenv -e ../../apps/builder/.env.local -v BROWSER=none yarn prisma studio",
"build": "DATABASE_URL=$MIGRATION_DATABASE_URL yarn migration:deploy",
"migration:push": "dotenv -e ../../apps/builder/.env.local yarn prisma db push",
"migration:create": "dotenv -e ../../apps/builder/.env.local yarn prisma migrate dev",
"migration:reset": "dotenv -e ../../apps/builder/.env.local yarn prisma migrate reset",
"migration:deploy": "yarn prisma migrate deploy"
"dx": "dotenv -e ../../apps/builder/.env.local prisma db push && yarn start:sutdio ",
"build": "yarn generate:schema",
"start:sutdio": "dotenv -e ../../apps/builder/.env.local -v BROWSER=none prisma studio",
"generate:schema": "dotenv -e ../../apps/builder/.env.local prisma generate",
"migration:push": "dotenv -e ../../apps/builder/.env.local prisma db push",
"migration:create": "dotenv -e ../../apps/builder/.env.local prisma migrate dev",
"migration:reset": "dotenv -e ../../apps/builder/.env.local prisma migrate reset",
"migration:deploy": "prisma migrate deploy"
}
}

View File

@ -6,14 +6,14 @@
"license": "AGPL-3.0-or-later",
"private": true,
"devDependencies": {
"typescript": "^4.5.5"
"typescript": "^4.6.2"
},
"dependencies": {
"next": "^12.0.10",
"next": "^12.1.0",
"db": "*"
},
"scripts": {
"build": "tsc",
"dev": "tsc --watch --preserveWatchOutput"
"dx": "tsc --watch --preserveWatchOutput"
}
}

View File

@ -23,7 +23,7 @@
"rollup-plugin-styles": "^4.0.0",
"rollup-plugin-terser": "^7.0.2",
"ts-jest": "^27.1.3",
"ts-loader": "^9.2.7",
"ts-loader": "^9.2.8",
"typescript": "^4.6.2"
}
}

View File

@ -7,20 +7,21 @@
"module": "dist/esm/index.js",
"types": "dist/index.d.ts",
"devDependencies": {
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-commonjs": "^21.0.2",
"@rollup/plugin-node-resolve": "^13.1.3",
"@rollup/plugin-typescript": "^8.3.0",
"rollup": "^2.67.2",
"rollup-plugin-dts": "^4.1.0",
"@rollup/plugin-typescript": "^8.3.1",
"rollup": "^2.70.0",
"rollup-plugin-dts": "^4.2.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"typescript": "^4.5.5"
"tslib": "^2.3.1",
"typescript": "^4.6.2"
},
"dependencies": {
"models": "*",
"next": "^12.0.10"
"next": "^12.1.0"
},
"scripts": {
"build": "yarn rollup -c",
"dev": "yarn rollup -c --watch"
"dx": "yarn rollup -c --watch"
}
}

View File

@ -3,10 +3,10 @@
"version": "2.0.0",
"main": "index.js",
"repository": "https://github.com/typebot-io/wordpress.git",
"author": "Baptiste Arnaud <contact@baptiste-arnaud.fr>",
"author": "baptisteArno",
"license": "MIT",
"devDependencies": {
"@prettier/plugin-php": "^0.17.3"
"@prettier/plugin-php": "^0.18.3"
},
"scripts": {
"deploy": "yarn copy && yarn commit",