Skip to content

Commit

Permalink
chore: replace copyfiles with a in-house native package (#1311)
Browse files Browse the repository at this point in the history
* chore: replace copyfiles with a in-house native package

* chore: fix failing Cypress test
  • Loading branch information
ghiscoding authored Feb 2, 2025
1 parent 4228687 commit fe91862
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 103 deletions.
6 changes: 3 additions & 3 deletions packages/aurelia-slickgrid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
"build": "tsc",
"dev": "tsc --watch",
"postbuild": "npm run copy-i18n:dist && npm run copy-asset-lib",
"copy-asset-lib": "copyfiles --up 2 src/assets/lib/** dist",
"copy-i18n:dist": "copyfiles --up 3 src/assets/i18n/**/*.* dist/i18n",
"copy-asset-lib": "copyfiles src/assets/lib/** dist --up 2 --stat",
"copy-i18n:dist": "copyfiles src/assets/i18n/**/*.* dist/i18n --up 3 --stat",
"pack": "npm pack"
},
"peerDependencies": {
Expand All @@ -64,8 +64,8 @@
"sortablejs": "^1.15.6"
},
"devDependencies": {
"copyfiles": "^2.4.1",
"dompurify": "^3.2.3",
"native-copyfiles": "^0.2.1",
"rimraf": "^5.0.10",
"tslib": "^2.8.1",
"typescript": "^5.7.3"
Expand Down
1 change: 0 additions & 1 deletion packages/demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@
"autoprefixer": "^10.4.20",
"clean-webpack-plugin": "^4.0.0",
"copy-webpack-plugin": "^12.0.2",
"copyfiles": "^2.4.1",
"css-loader": "^7.1.2",
"dompurify": "^3.2.3",
"html-webpack-plugin": "^5.6.3",
Expand Down
3 changes: 1 addition & 2 deletions packages/demo/src/examples/slickgrid/example23.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,8 @@ export class Example23 {
}
];

const today = new Date();
const presetLowestDay = format(addDay(new Date(), -2), 'YYYY-MM-DD');
const presetHighestDay = format(addDay(new Date(), today.getDate() < 14 ? 28 : 25), 'YYYY-MM-DD');
const presetHighestDay = format(addDay(new Date(), 25), 'YYYY-MM-DD');

this.gridOptions = {
autoResize: {
Expand Down
109 changes: 12 additions & 97 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fe91862

Please sign in to comment.