docs: Add version number into products

This commit is contained in:
Peng-YM
2022-06-28 13:10:43 +08:00
parent 03d4d6e918
commit 79a8956f92
7 changed files with 22 additions and 13 deletions

View File

@@ -10,8 +10,7 @@
* @github: https://github.com/Peng-YM/Sub-Store
* @documentation: https://www.notion.so/Sub-Store-6259586994d34c11a4ced5c406264b46
*/
const packageJson = require('../package.json');
const { version } = packageJson;
import { version } from '../package.json';
console.log(
`
┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅