wp-advads 1.0.29 → 1.0.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,34 @@
1
1
  # Changelog
2
2
  All notable changes to this project will be documented in this file.
3
3
 
4
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/).
5
+
6
+ ---
7
+ ## [1.0.28] - 2025-04-20
8
+ ### Added
9
+ - `pot` command to generate `.po` and `.mo` translation files.
10
+ - `translations` command to download translation files from GlotPress.
11
+
12
+ ## [1.0.23] - 2025-04-15
13
+
14
+ ### Added
15
+ - Command `init`: Initialize a new project configuration file.
16
+ - Command `release`: Create a new release for the plugin.
17
+ - Command `class`: Generate PHP class files with support for:
18
+ - Singleton
19
+ - Initializer
20
+ - Integration
21
+ - REST interfaces
22
+ - Command `view`: Scaffold new view/template files.
23
+ - Command `updates`: Create plugin update scripts for a given version.
24
+ - Command `js`: Generate JavaScript files with custom headings and descriptions.
25
+ - Command `css`: Generate CSS files with custom headings and descriptions.
26
+
27
+ ### Changed
28
+ - Improved architect using `Commander`.
29
+ - Improved CLI UX with colored output using `chalk`.
30
+ - CLI now validates the presence of a config file for all commands (except `init`).
31
+
4
32
  ## 1.0.11 - 08.08.2023
5
33
 
6
34
  Improve: Remove company questions
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "wp-advads",
4
- "version": "1.0.29",
4
+ "version": "1.0.30",
5
5
  "description": "Create a Advanced Ads wordPress plugin eco system.",
6
6
  "author": {
7
7
  "name": "Shakeeb Ahmed",
@@ -1,7 +1,8 @@
1
1
  /**
2
2
  * External Dependencies
3
3
  */
4
- import fs from 'fs';
4
+ import fs from 'fs'
5
+ import path from 'path'
5
6
  import logSymbols from 'log-symbols'
6
7
  import { forEach, waterfall } from 'async'
7
8
 
@@ -232,6 +233,7 @@ function cleanChangelogDirectory(next) {
232
233
  if (fs.existsSync(folder)) {
233
234
  fs.rmSync(folder, { recursive: true, force: true })
234
235
  fs.mkdirSync(folder)
236
+ fs.writeFileSync(`${folder}/.gitignore`, '')
235
237
  }
236
238
 
237
239
  onSameLine(`${logSymbols.success} Changelog directory cleaned`)