Skip to content

Commit

Permalink
Upd: 删除了vite和vue相关的内容,添加了编译方法,上传到了npm
Browse files Browse the repository at this point in the history
  • Loading branch information
Zecyel committed Sep 20, 2023
1 parent 50bcab0 commit 07d110d
Show file tree
Hide file tree
Showing 35 changed files with 49 additions and 119 deletions.
3 changes: 0 additions & 3 deletions .vite/deps_temp_9669b4be/package.json

This file was deleted.

3 changes: 0 additions & 3 deletions .vscode/extensions.json

This file was deleted.

21 changes: 0 additions & 21 deletions index.html

This file was deleted.

37 changes: 24 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,31 @@
{
"name": "vf",
"private": true,
"version": "0.0.0",
"name": "@quasi-dev/visual-flow",
"version": "0.0.1",
"type": "module",
"license": "MIT",
"description": "A visualized functional programming framework.",
"repository": "https://github.com/Quasi-Studio/Visual-Flow",
"author": "Zecyel",
"scripts": {
"dev": "vite",
"build": "vue-tsc && vite build",
"preview": "vite preview"
},
"dependencies": {
"vue": "^3.3.4"
"build": "tsc",
"publish": "npm publish --access=public"
},
"devDependencies": {
"@vitejs/plugin-vue": "^4.2.3",
"typescript": "^5.0.2",
"vite": "^4.4.5",
"vue-tsc": "^1.8.5"
"typescript": "^5.0.2"
},
"main": "./dist/src/index.js",
"types": "./dist/src/index.d.ts",
"files": [
"/dist/src",
"README.md",
"package.json"
],
"exports": {
".": {
"import": {
"types": "./dist/src/index.d.ts",
"default": "./dist/src/index.js"
}
}
}
}
1 change: 0 additions & 1 deletion public/vite.svg

This file was deleted.

19 changes: 0 additions & 19 deletions src/App.vue

This file was deleted.

1 change: 0 additions & 1 deletion src/assets/vue.svg

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
12 changes: 12 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

export * from './flowgraph/flowgraph'
export * from './flowgraph/block'
export * from './preset/color'
export * from './preset/shape'

export * from './type/block'
export * from './type/color'
export * from './type/dire'
export * from './type/line'
export * from './type/point'
export * from './type/socket'
4 changes: 0 additions & 4 deletions src/main.ts

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 0 additions & 5 deletions src/vf/index.ts

This file was deleted.

20 changes: 0 additions & 20 deletions src/vf/inject.ts

This file was deleted.

Empty file removed src/vf/style.css
Empty file.
1 change: 0 additions & 1 deletion src/vite-env.d.ts

This file was deleted.

24 changes: 13 additions & 11 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,27 @@
"compilerOptions": {
"target": "ES2020",
"useDefineForClassFields": true,
"declaration": true,
"module": "ESNext",
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"skipLibCheck": true,

"strictPropertyInitialization": false,
// "moduleResolution": "NodeNext",

/* Bundler mode */
"composite": true,
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "preserve",
"strictPropertyInitialization": false,
"allowSyntheticDefaultImports": true,

/* Linting */
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true
"noFallthroughCasesInSwitch": true,
"outDir": "dist"
},
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"],
"references": [{ "path": "./tsconfig.node.json" }]
}
"include": [
"src/**/*"
],
"exclude": ["node_modules"]
}
10 changes: 0 additions & 10 deletions tsconfig.node.json

This file was deleted.

7 changes: 0 additions & 7 deletions vite.config.ts

This file was deleted.

0 comments on commit 07d110d

Please sign in to comment.