diff --git a/package.json b/package.json index 40888b1..d95f644 100644 --- a/package.json +++ b/package.json @@ -1,55 +1,55 @@ { - "name": "@serverless-cd/ui", - "version": "0.0.1", - "gitHooks": { - }, - "lint-staged": { - "*.{js,jsx,less,md,json}": [ - "prettier --write" - ], - "*.ts?(x)": [ - "prettier --parser=typescript --write" - ] - }, - "scripts": { - "start": "npm run dev", - "dev": "dumi dev", - "build": "father build", - "docs:build": "dumi build", - "prepare": "dumi setup" - }, - "devDependencies": { - "@alicloud/console-components": "^1.5.10", - "@commitlint/cli": "^17.1.2", - "@commitlint/config-conventional": "^17.1.0", - "@testing-library/jest-dom": "^5.15.1", - "@testing-library/react": "^13.0.0", - "@types/jest": "^27.0.3", - "@types/js-cookie": "^3.0.2", - "@types/lodash": "^4.14.191", - "@types/react": "^18.0.0", - "@types/react-dom": "^18.0.0", - "@umijs/fabric": "^2.8.1", - "@umijs/lint": "^4.0.0", - "@umijs/test": "^3.0.5", - "dumi": "^2.0.2", - "eslint": "^8.23.0", - "father": "^4.1.0", - "gh-pages": "^3.0.0", - "husky": "^8.0.1", - "lint-staged": "^13.0.3", - "lodash": "^4.17.21", - "moment": "^2.29.4", - "prettier": "^2.7.1", - "prettier-plugin-organize-imports": "^3.0.0", - "prettier-plugin-packagejson": "^2.2.18", - "react": "^18.2.0", - "react-dom": "^18.2.0", - "styled-components": "^5.3.6", - "stylelint": "^14.9.1", - "yorkie": "^2.0.0" - }, - "dependencies": { - "@emotion/react": "^11.10.6" - } -} \ No newline at end of file + "name": "@serverless-cd/ui", + "version": "0.0.1", + "repository": "git@github.com:serverless-cd/ui.git", + "scripts": { + "build": "father build", + "dev": "dumi dev", + "docs:build": "dumi build", + "prepare": "dumi setup", + "start": "npm run dev" + }, + "lint-staged": { + "*.{js,jsx,less,md,json}": [ + "prettier --write" + ], + "*.ts?(x)": [ + "prettier --parser=typescript --write" + ] + }, + "dependencies": { + "@emotion/react": "^11.10.6" + }, + "devDependencies": { + "@alicloud/console-components": "^1.5.10", + "@commitlint/cli": "^17.1.2", + "@commitlint/config-conventional": "^17.1.0", + "@testing-library/jest-dom": "^5.15.1", + "@testing-library/react": "^13.0.0", + "@types/jest": "^27.0.3", + "@types/js-cookie": "^3.0.2", + "@types/lodash": "^4.14.191", + "@types/react": "^18.0.0", + "@types/react-dom": "^18.0.0", + "@umijs/fabric": "^2.8.1", + "@umijs/lint": "^4.0.0", + "@umijs/test": "^3.0.5", + "dumi": "^2.0.2", + "eslint": "^8.23.0", + "father": "^4.1.0", + "gh-pages": "^3.0.0", + "husky": "^8.0.1", + "lint-staged": "^13.0.3", + "lodash": "^4.17.21", + "moment": "^2.29.4", + "prettier": "^2.7.1", + "prettier-plugin-organize-imports": "^3.0.0", + "prettier-plugin-packagejson": "^2.2.18", + "react": "^18.2.0", + "react-dom": "^18.2.0", + "styled-components": "^5.3.6", + "stylelint": "^14.9.1", + "yorkie": "^2.0.0" + }, + "gitHooks": {} +} diff --git a/packages/trigger-ui/package.json b/packages/trigger-ui/package.json index f477588..f42e447 100644 --- a/packages/trigger-ui/package.json +++ b/packages/trigger-ui/package.json @@ -1,38 +1,38 @@ { "name": "@serverless-cd/trigger-ui", - "version": "0.0.26", + "version": "0.0.31", + "repository": "git@github.com:g-fengchen/ui.git", + "module": "dist/esm/index.js", + "typings": "dist/esm/index.d.ts", + "files": [ + "dist" + ], "scripts": { - "start": "dumi dev", - "docs:build": "dumi build", - "docs:deploy": "gh-pages -d docs-dist", "build": "father build", "deploy": "npm run docs:build && npm run docs:deploy", + "docs:build": "dumi build", + "docs:deploy": "gh-pages -d docs-dist", + "prepublishOnly": "npm run build", "prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"", + "start": "dumi dev", "test": "umi-test", - "test:coverage": "umi-test --coverage", - "prepublishOnly": "npm run build" + "test:coverage": "umi-test --coverage" }, - "files": [ - "dist" - ], - "module": "dist/esm/index.js", - "typings": "dist/esm/index.d.ts", "dependencies": { "js-cookie": "^3.0.1" }, - "peerDependencies": { - "react": ">=16.0.0", - "react-dom": ">=16.0.0", - "@alicloud/console-components": ">=1.0.0", - "lodash": ">=4.17.0" - }, - "publishConfig": { - "registry": "https://registry.npmjs.org", - "access": "public" - }, "devDependencies": { "dumi": "^1.1.0", "father": "^4.0.0-rc.2" }, - "repository": "git@github.com:g-fengchen/ui.git" + "peerDependencies": { + "@alicloud/console-components": ">=1.0.0", + "lodash": ">=4.17.0", + "react": ">=16.0.0", + "react-dom": ">=16.0.0" + }, + "publishConfig": { + "access": "public", + "registry": "https://registry.npmjs.org" + } } diff --git a/packages/ui-help/package.json b/packages/ui-help/package.json index b96224b..c6182b4 100644 --- a/packages/ui-help/package.json +++ b/packages/ui-help/package.json @@ -1,20 +1,16 @@ { "name": "@serverless-cd/ui-help", - "version": "0.0.12", + "version": "0.0.13", "description": "ui help library", + "keywords": [], + "license": "MIT", + "author": "", "main": "lib/index.js", "scripts": { "build": "tsc", - "test": "jest --testTimeout 10000", "prepub": "npm run build", - "pub": "npm publish" - }, - "keywords": [], - "author": "", - "license": "MIT", - "publishConfig": { - "registry": "https://registry.npmjs.org", - "access": "public" + "pub": "npm publish", + "test": "jest --testTimeout 10000" }, "dependencies": { "lodash": "^4.17.21" @@ -24,5 +20,9 @@ "@types/lodash": "^4.14.191", "jest": "^29.3.1", "ts-jest": "^29.0.4" + }, + "publishConfig": { + "access": "public", + "registry": "https://registry.npmjs.org" } } diff --git a/tsconfig.json b/tsconfig.json index 2f6cc52..cdb910a 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -12,5 +12,5 @@ "ui/*": ["src/*", "*"] } }, - "include": [".dumi/**/*", ".dumirc.ts", "src/**/*"] + "include": [".dumirc.ts", "src/**/*"] }