diff --git a/packages/f2elint/package.json b/packages/f2elint/package.json index a138468..d2a7442 100644 --- a/packages/f2elint/package.json +++ b/packages/f2elint/package.json @@ -1,6 +1,6 @@ { "name": "f2elint", - "version": "3.0.0", + "version": "4.0.0-beta.0", "description": "Linter for Alibaba F2E Guidelines", "keywords": [ "f2elint", @@ -64,19 +64,18 @@ "extends": "eslint-config-ali/typescript" }, "dependencies": { - "@babel/core": "^7.23.9", - "@babel/eslint-parser": "^7.23.10", - "@babel/preset-react": "^7.23.3", "@clack/prompts": "^0.7.0", - "@commitlint/cli": "^16.3.0", - "@typescript-eslint/eslint-plugin": "^5.62.0", - "@typescript-eslint/parser": "^5.62.0", "chalk": "^5.3.0", - "command-exists": "^1.2.9", "commander": "^12.0.0", + "init-roll": "^1.0.10" + }, + "devDependencies": { + "@commitlint/cli": "^16.3.0", + "@mdx-js/react": "^3.0.0", "commitlint-config-ali": "workspace:^", - "cross-spawn": "^7.0.3", - "ejs": "^3.1.9", + "markdownlint": "0.x", + "markdownlint-config-ali": "workspace:^", + "markdownlint-rule-helpers": "^0.13.0", "eslint": "^8.56.0", "eslint-config-ali": "workspace:^", "eslint-config-egg": "^10.0.0", @@ -88,30 +87,6 @@ "eslint-plugin-react": "^7.33.2", "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-vue": "^7.20.0", - "execa": "^5.1.1", - "fast-glob": "^3.3.2", - "fs-extra": "^9.1.0", - "glob": "^7.2.3", - "husky": "^3.1.0", - "init-roll": "^1.0.10", - "inquirer": "^7.3.3", - "is-docker": "^2.2.1", - "lodash": "^4.17.21", - "markdownlint": "0.x", - "markdownlint-config-ali": "workspace:^", - "markdownlint-rule-helpers": "^0.13.0", - "ora": "^5.4.1", - "prettier": "^2.8.8", - "strip-ansi": "^6.0.1", - "stylelint": "^14.16.1", - "stylelint-config-ali": "workspace:^", - "stylelint-scss": "^4.7.0", - "terminal-link": "^2.1.1", - "text-table": "^0.2.0", - "vue-eslint-parser": "^7.11.0" - }, - "devDependencies": { - "@mdx-js/react": "^3.0.0", "@types/command-exists": "^1.2.3", "@types/cross-spawn": "^6.0.6", "@types/ejs": "^3.1.5", @@ -127,11 +102,18 @@ "@types/text-table": "^0.2.5", "copyfiles": "^2.4.1", "gh-pages": "^5.0.0", + "prettier": "^2.8.8", "jest": "^27.5.1", "nyc": "^15.1.0", "react": "^18.2.0", "react-doc-ui": "^2.2.1", "react-dom": "^18.2.0", + "stylelint": "^14.16.1", + "stylelint-config-ali": "workspace:^", + "stylelint-scss": "^4.7.0", + "terminal-link": "^2.1.1", + "text-table": "^0.2.0", + "vue-eslint-parser": "^7.11.0", "rive": "^2.0.22", "typescript": "^5.3.3" }, diff --git a/packages/f2elint/src/index.test.ts b/packages/f2elint/src/index.test.ts deleted file mode 100644 index cbbf3b3..0000000 --- a/packages/f2elint/src/index.test.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { f2elint } from '.'; - -describe('f2elint', () => { - describe('normal', async () => { - expect(f2elint('Foo', 'Bar')).toBe('Foo Bar'); - }); - - describe('lastName upper case', async () => { - expect(f2elint('Foo', 'Bar', { lastNameUpperCase: true })).toBe('Foo BAR'); - }); -});