chore: add publish:all command which can publish packages

pull/100/head
moonrailgun 2 years ago
parent e254341526
commit 5b76932c81

@ -1,6 +1,7 @@
{ {
"name": "oauth-demo", "name": "oauth-demo",
"version": "1.0.0", "version": "1.0.0",
"private": true,
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {

@ -1,5 +1,6 @@
{ {
"name": "tailchat-design", "name": "tailchat-design",
"private": true,
"version": "1.0.0", "version": "1.0.0",
"description": "Tailchat frontend UI library", "description": "Tailchat frontend UI library",
"scripts": { "scripts": {

@ -1,11 +1,11 @@
{ {
"name": "tailchat-shared", "name": "tailchat-shared",
"private": true,
"version": "1.0.0", "version": "1.0.0",
"main": "index.tsx", "main": "index.tsx",
"repository": "https://github.com/msgbyte/tailchat.git", "repository": "https://github.com/msgbyte/tailchat.git",
"author": "moonrailgun <moonrailgun@gmail.com>", "author": "moonrailgun <moonrailgun@gmail.com>",
"license": "GPLv3", "license": "GPLv3",
"private": true,
"dependencies": { "dependencies": {
"@reduxjs/toolkit": "^1.7.1", "@reduxjs/toolkit": "^1.7.1",
"@tanstack/react-query": "4.29.3", "@tanstack/react-query": "4.29.3",

@ -1,11 +1,11 @@
{ {
"name": "tailchat-web", "name": "tailchat-web",
"private": true,
"version": "1.0.0", "version": "1.0.0",
"main": "index.js", "main": "index.js",
"repository": "https://github.com/msgbyte/tailchat.git", "repository": "https://github.com/msgbyte/tailchat.git",
"author": "moonrailgun <moonrailgun@gmail.com>", "author": "moonrailgun <moonrailgun@gmail.com>",
"license": "Apache-2.0", "license": "Apache-2.0",
"private": true,
"scripts": { "scripts": {
"build": "cross-env NODE_ENV=production rimraf ./dist && pnpm plugins:all && pnpm build:webpack", "build": "cross-env NODE_ENV=production rimraf ./dist && pnpm plugins:all && pnpm build:webpack",
"build:webpack": "cross-env TS_NODE_PROJECT='tsconfig.node.json' webpack --config ./build/webpack.config.ts", "build:webpack": "cross-env TS_NODE_PROJECT='tsconfig.node.json' webpack --config ./build/webpack.config.ts",

@ -20,6 +20,7 @@
"check:type": "concurrently npm:check:type:client npm:check:type:server", "check:type": "concurrently npm:check:type:client npm:check:type:server",
"check:type:client": "cd client/web && tsc --noEmit", "check:type:client": "cd client/web && tsc --noEmit",
"check:type:server": "cd server && tsc --noEmit", "check:type:server": "cd server && tsc --noEmit",
"publish:all": "pnpm -r publish --registry=https://registry.npmjs.com/",
"website": "cd website && pnpm dev", "website": "cd website && pnpm dev",
"preinstall": "npx only-allow pnpm", "preinstall": "npx only-allow pnpm",
"lint:fix": "eslint --fix './**/*.{ts,tsx}'", "lint:fix": "eslint --fix './**/*.{ts,tsx}'",

@ -1,10 +1,10 @@
{ {
"name": "tailchat-server", "name": "tailchat-server",
"private": true,
"main": "index.js", "main": "index.js",
"repository": "https://github.com/msgbyte/tailchat-server.git", "repository": "https://github.com/msgbyte/tailchat-server.git",
"author": "moonrailgun <moonrailgun@gmail.com>", "author": "moonrailgun <moonrailgun@gmail.com>",
"license": "Apache-2.0", "license": "Apache-2.0",
"private": true,
"scripts": { "scripts": {
"dev": "concurrently --kill-others npm:dev:main npm:dev:sdk npm:dev:plugins npm:dev:admin", "dev": "concurrently --kill-others npm:dev:main npm:dev:sdk npm:dev:plugins npm:dev:admin",
"dev:main": "ts-node ./runner.ts", "dev:main": "ts-node ./runner.ts",

@ -2,6 +2,7 @@
"name": "openapi-client", "name": "openapi-client",
"version": "1.0.0", "version": "1.0.0",
"description": "", "description": "",
"private": true,
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"start": "ts-node ./index.ts", "start": "ts-node ./index.ts",

@ -2,6 +2,7 @@
"name": "openapi-client", "name": "openapi-client",
"version": "1.0.0", "version": "1.0.0",
"description": "", "description": "",
"private": true,
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"start": "ts-node ./index.ts", "start": "ts-node ./index.ts",

Loading…
Cancel
Save