Skip to content

Commit

Permalink
build(cli): dedupe /templates directory
Browse files Browse the repository at this point in the history
- remove unix link in favor of copying directory on build
  - addresses Windows link issues
- add missing rimraf dependency & cpy
  • Loading branch information
zettca committed Jan 10, 2025
1 parent bbaadc1 commit 8861283
Show file tree
Hide file tree
Showing 51 changed files with 172 additions and 542 deletions.
700 changes: 160 additions & 540 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
"chromatic": "^11.8.0",
"clean-publish": "^4.2.0",
"clsx": "^2.0.0",
"cpy-cli": "^5.0.0",
"echarts": "^5.4.3",
"echarts-for-react": "^3.0.2",
"eslint": "^8.55.0",
Expand Down Expand Up @@ -119,6 +120,7 @@
"react-leaflet": "^4.2.1",
"reactflow": "^11.10.1",
"remark-gfm": "^4.0.0",
"rimraf": "^4.4.1",
"storybook": "^8.4.1",
"swr": "^2.2.4",
"typescript": "^5.4.2",
Expand Down
1 change: 1 addition & 0 deletions packages/cli/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
uikit-app*
src/templates
1 change: 1 addition & 0 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
},
"scripts": {
"clean": "npx rimraf package",
"prepare": "npx cpy ../../templates src",
"pretest": "node src/index.js create uikit-app -t Form,ListView",
"test": "cd uikit-app",
"posttest": "npx rimraf uikit-app",
Expand Down
1 change: 0 additions & 1 deletion templates

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.
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.
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.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
9 changes: 8 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@
"@docs/*": ["./apps/docs/src/*"]
}
},
"include": [".config", ".storybook/**/*", "apps", "docs", "packages"],
"include": [
".config",
".storybook/**/*",
"apps",
"docs",
"packages",
"templates"
],
"exclude": ["node_modules", "packages/*/dist", "packages/*/package"]
}

0 comments on commit 8861283

Please sign in to comment.