Skip to content

Commit 5b99fe8

Browse files
committed
website: re-generate commons
1 parent bbc09e8 commit 5b99fe8

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
2+
{/* ------------------------------------------------------------------------ */}
3+
4+
### Generate the top commons
5+
6+
Run the top **generate-top-commons** npm script to update the
7+
`build-assets/package.json` and the GitHub workflow files.
8+
9+
```sh
10+
(cd ~/Work/xpack-dev-tools/xpack-dev-tools.github.io.git; npm run generate-top-commons)
11+
```
12+
13+
### Commit the top changes
14+
15+
- stage GitHub workflows and `package.json` files (top and from `build-assets`)
16+
- **commit** with the message _**re-generate top commons to bump deps**_
17+

website/src/libs/dateYYYYMMDD.ts

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/*
2+
* DO NOT EDIT!
3+
* Automatically generated from docusaurus-template-liquid/templates/docusaurus.
4+
*
5+
* This file is part of the xPack project (http://xpack.github.io).
6+
* Copyright (c) 2024 Liviu Ionescu. All rights reserved.
7+
*
8+
* Permission to use, copy, modify, and/or distribute this software
9+
* for any purpose is hereby granted, under the terms of the MIT license.
10+
*
11+
* If a copy of the license was not distributed with this file, it can
12+
* be obtained from https://opensource.org/licenses/MIT/.
13+
*/
14+
15+
export default function dateYYYYMMDD(): string {
16+
return (new Date()).toISOString().slice(0,10).replace(/-/g,"");
17+
}

0 commit comments

Comments
 (0)