refactor(pkg): Move vue-flow into separate pkg directory

This commit is contained in:
Braks
2022-05-22 22:46:47 +02:00
parent df43ff3b8b
commit b9dbb97374
94 changed files with 17 additions and 5 deletions
+2 -2
View File
@@ -6,13 +6,13 @@
"e2e", "e2e",
"examples", "examples",
"docs", "docs",
"package" "packages/**"
], ],
"scripts": { "scripts": {
"dev": "yarn --cwd examples dev", "dev": "yarn --cwd examples dev",
"docs": "yarn --cwd docs dev", "docs": "yarn --cwd docs dev",
"postrelease": "git-cliff --output CHANGELOG.md && git add CHANGELOG.md && git commit -m \"chore: Update CHANGELOG.md\"", "postrelease": "git-cliff --output CHANGELOG.md && git add CHANGELOG.md && git commit -m \"chore: Update CHANGELOG.md\"",
"release": "yarn --cwd package release", "release": "turbo run release",
"build": "turbo run build", "build": "turbo run build",
"test": "turbo run test", "test": "turbo run test",
"lint": "turbo run lint", "lint": "turbo run lint",
@@ -3,6 +3,6 @@ module.exports = {
'no-use-before-define': 0, 'no-use-before-define': 0,
'vue/no-setup-props-destructure': 0, 'vue/no-setup-props-destructure': 0,
}, },
extends: ['../.eslintrc.js'], extends: ['../../.eslintrc.js'],
ignorePatterns: ['!**/*'], ignorePatterns: ['!**/*'],
} }
@@ -27,9 +27,9 @@
"types": "yarn prepare && vue-tsc --declaration --emitDeclarationOnly && tsc -p tsconfig.build.json && shx rm -rf tmp && yarn lint:dist", "types": "yarn prepare && vue-tsc --declaration --emitDeclarationOnly && tsc -p tsconfig.build.json && shx rm -rf tmp && yarn lint:dist",
"typedoc": "typedoc --tsconfig tsconfig.docs.json dist/index.d.ts --out typedocs", "typedoc": "typedoc --tsconfig tsconfig.docs.json dist/index.d.ts --out typedocs",
"theme": "postcss src/style.css -o dist/style.css && postcss src/theme-default.css -o dist/theme-default.css", "theme": "postcss src/style.css -o dist/style.css && postcss src/theme-default.css -o dist/theme-default.css",
"lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix --ignore-path ../.gitignore .", "lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix --ignore-path ../../.gitignore .",
"lint:dist": "eslint --ext \".ts,.tsx\" -c .eslintrc.js --fix ./dist", "lint:dist": "eslint --ext \".ts,.tsx\" -c .eslintrc.js --fix ./dist",
"prepublishOnly": "shx cp ../README.md .", "prepublishOnly": "shx cp ../../README.md .",
"release": "yarn np", "release": "yarn np",
"postpublish": "shx rm README.md" "postpublish": "shx rm README.md"
}, },

Before

Width:  |  Height:  |  Size: 463 B

After

Width:  |  Height:  |  Size: 463 B

Before

Width:  |  Height:  |  Size: 530 B

After

Width:  |  Height:  |  Size: 530 B

Before

Width:  |  Height:  |  Size: 96 B

After

Width:  |  Height:  |  Size: 96 B

Before

Width:  |  Height:  |  Size: 152 B

After

Width:  |  Height:  |  Size: 152 B

Before

Width:  |  Height:  |  Size: 472 B

After

Width:  |  Height:  |  Size: 472 B

Before

Width:  |  Height:  |  Size: 4.6 MiB

After

Width:  |  Height:  |  Size: 4.6 MiB

@@ -24,6 +24,12 @@
{ "transform": "typescript-transform-paths", "afterDeclarations": true } { "transform": "typescript-transform-paths", "afterDeclarations": true }
] ]
}, },
"vueCompilerOptions": {
"plugins": [
// Transform paths in output .d.ts files (Include this line if you output declarations files)
{ "transform": "typescript-transform-paths", "afterDeclarations": true }
]
},
"include": ["./src"], "include": ["./src"],
"exclude": ["node_modules", "dist"], "exclude": ["node_modules", "dist"],
"references": [{ "path": "./tsconfig.node.json" }] "references": [{ "path": "./tsconfig.node.json" }]
+6
View File
@@ -28,6 +28,12 @@
"dev": { "dev": {
"dependsOn": ["^build"], "dependsOn": ["^build"],
"cache": false "cache": false
},
"release": {
"dependsOn": ["^build"],
"cache": false,
"outputs": []
} }
} }
} }