-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
38 changed files
with
153 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,2 @@ | ||
node_modules | ||
.output | ||
.data | ||
.nuxt | ||
.nitro | ||
.cache | ||
dist | ||
coverage | ||
.cutlistrc | ||
.DS_Store | ||
.env | ||
.env.* | ||
!.env.example |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# onshape-cutlist | ||
# @aklinker1/cutlist | ||
|
||
Website and NPM tool for generating cutlists for an onshape assembly. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
node_modules | ||
dist | ||
coverage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
{ | ||
"name": "@aklinker1/cutlist", | ||
"version": "0.4.0", | ||
"type": "module", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/aklinker1/cutlist" | ||
}, | ||
"keywords": [ | ||
"onshape", | ||
"cutlist", | ||
"woodworking" | ||
], | ||
"license": "MIT", | ||
"author": { | ||
"name": "Aaron Klinker", | ||
"email": "[email protected]" | ||
}, | ||
"files": [ | ||
"dist" | ||
], | ||
"exports": { | ||
".": { | ||
"import": { | ||
"types": "./dist/index.d.ts", | ||
"import": "./dist/index.js" | ||
} | ||
}, | ||
"./onshape": { | ||
"import": { | ||
"types": "./dist/onshape.d.ts", | ||
"import": "./dist/onshape.js" | ||
} | ||
} | ||
}, | ||
"module": "./dist/index.js", | ||
"types": "./dist/index.d.ts", | ||
"scripts": { | ||
"check": "check -b ../node_modules/.bin", | ||
"dev": "bun test --watch", | ||
"build": "bun build.ts", | ||
"prepare": "bun run build" | ||
}, | ||
"dependencies": { | ||
"@antfu/utils": "^0.7.7", | ||
"base64-js": "^1.5.1", | ||
"consola": "^3.2.3", | ||
"ofetch": "^1.3.3", | ||
"zod": "^3.22.4" | ||
}, | ||
"devDependencies": { | ||
"publint": "^0.2.7", | ||
"typescript": "^5.0.0" | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
{ | ||
"extends": "./tsconfig.json", | ||
"extends": "../tsconfig.json", | ||
"compilerOptions": { | ||
"noEmit": false, | ||
"declaration": true, | ||
"emitDeclarationOnly": true, | ||
"outDir": "dist/npm" | ||
"outDir": "dist" | ||
}, | ||
"include": ["src/**/*"], | ||
"exclude": ["src/cli.ts", "src/**/*.test.ts"] | ||
"exclude": ["src/**/*.test.ts"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"extends": "../tsconfig.json" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,77 +1,22 @@ | ||
{ | ||
"name": "onshape-cutlist", | ||
"version": "0.4.0", | ||
"type": "module", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/aklinker1/onshape-cutlist" | ||
}, | ||
"keywords": [ | ||
"onshape", | ||
"cutlist", | ||
"woodworking" | ||
], | ||
"license": "MIT", | ||
"author": { | ||
"name": "Aaron Klinker", | ||
"email": "[email protected]" | ||
}, | ||
"files": [ | ||
"bin", | ||
"dist/npm" | ||
"private": true, | ||
"workspaces": [ | ||
"npm", | ||
"web" | ||
], | ||
"bin": { | ||
"cutlist": "./bin/cutlist.mjs" | ||
}, | ||
"exports": { | ||
".": { | ||
"import": { | ||
"types": "./dist/npm/index.d.ts", | ||
"import": "./dist/npm/index.js" | ||
} | ||
} | ||
}, | ||
"module": "./dist/npm/index.js", | ||
"types": "./dist/npm/index.d.ts", | ||
"scripts": { | ||
"dev": "nuxt dev", | ||
"build:npm": "bun build.npm.ts", | ||
"build:web": "bun build:web:nuxt && bun build:web:docker", | ||
"build:web:nuxt": "nuxt build", | ||
"build:web:docker": "docker build . -t aklinker1/cutlist --platform=linux/amd64", | ||
"preview:web": "nuxt preview", | ||
"preview:web:docker": "docker run -it -p 3000:3000 --env-file .env aklinker1/cutlist", | ||
"publish:web:docker": "bun build:web && docker push aklinker1/cutlist", | ||
"prepare": "simple-git-hooks", | ||
"postinstall": "nuxt prepare" | ||
}, | ||
"dependencies": { | ||
"@antfu/utils": "^0.7.7", | ||
"@tanstack/vue-query": "^5.28.4", | ||
"base64-js": "^1.5.1", | ||
"consola": "^3.2.3", | ||
"js-yaml": "^4.1.0", | ||
"ofetch": "^1.3.3", | ||
"zod": "^3.22.4" | ||
"dev": "bun --cwd web dev", | ||
"check": "bun --cwd npm check && bun --cwd web check", | ||
"prepare": "simple-git-hooks" | ||
}, | ||
"devDependencies": { | ||
"@aklinker1/check": "^1.1.0", | ||
"@nuxt/ui": "^2.14.2", | ||
"@types/bun": "latest", | ||
"@types/js-yaml": "^4.0.9", | ||
"@vueuse/core": "^10.9.0", | ||
"@vueuse/nuxt": "^10.9.0", | ||
"lint-staged": "^15.2.2", | ||
"nuxt": "^3.11.0", | ||
"prettier": "^3.2.5", | ||
"publint": "^0.2.7", | ||
"simple-git-hooks": "^2.11.0", | ||
"typescript": "^5.0.0", | ||
"vue": "^3.4.21", | ||
"vue-router": "^4.3.0" | ||
"simple-git-hooks": "^2.11.0" | ||
}, | ||
"simple-git-hooks": { | ||
"pre-commit": "pnpm lint-staged" | ||
"pre-commit": "bun lint-staged" | ||
}, | ||
"lint-staged": { | ||
"*": "prettier --ignore-unknown --write" | ||
|
@@ -80,5 +25,9 @@ | |
"excludeAuthors": [ | ||
"[email protected]" | ||
] | ||
}, | ||
"dependencies": { | ||
"@aklinker1/check": "^1.3.1", | ||
"standard-version": "^9.5.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
node_modules | ||
.output | ||
.nuxt | ||
.nitro | ||
.env | ||
.env.* | ||
!.env.example |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.