wp-advads 1.0.1 → 1.0.2

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "wp-advads",
4
- "version": "1.0.1",
4
+ "version": "1.0.2",
5
5
  "description": "Create a Advanced Ads wordPress plugin eco system.",
6
6
  "author": {
7
7
  "name": "Shakeeb Ahmed",
@@ -92,6 +92,14 @@ class CreatePlugin {
92
92
  this.template + '/configs',
93
93
  this.folder
94
94
  )
95
+ fs.renameSync(
96
+ this.folder + '/gitattributes',
97
+ this.folder + '/.gitattributes',
98
+ )
99
+ fs.renameSync(
100
+ this.folder + '/gitignore',
101
+ this.folder + '/.gitignore',
102
+ )
95
103
  next()
96
104
  }
97
105
 
@@ -111,7 +119,7 @@ class CreatePlugin {
111
119
  this.folder + '/composer.json',
112
120
  this.folder + '/package.json',
113
121
  this.folder + '/webpack.mix.js',
114
- this.folder + '/webpack.mix.dev.js',
122
+ this.folder + '/webpack.mix.local.js',
115
123
  ]
116
124
 
117
125
  eachSeries( configs, ( file, nextConfig ) => {
@@ -0,0 +1,38 @@
1
+ # Wordpress - ignore core, configuration, examples, uploads and logs.
2
+ # https://github.com/github/gitignore/blob/main/WordPress.gitignore
3
+
4
+ # Operating System files
5
+ .DS_Store
6
+ Thumbs.db
7
+
8
+ # IDE files
9
+ .vscode/*
10
+ project.xml
11
+ project.properties
12
+ .project
13
+ .settings*
14
+ *.sublime-project
15
+ *.sublime-workspace
16
+ .sublimelinterrc
17
+
18
+ # Caches
19
+ .eslintcache
20
+ .stylelintcache
21
+
22
+ # Environment files
23
+ wp-cli.local.yml
24
+ .wp-env.override.json
25
+ npm-debug.log
26
+ .pnpm-debug.log
27
+
28
+ # Node Package Dependencies
29
+ node_modules/
30
+
31
+ # Composer
32
+ vendor/
33
+ bin/composer/**/vendor/
34
+
35
+ # Support .gitkeep Files
36
+ !.gitkeep
37
+ webpack.mix.local.js
38
+ mix-manifest.json
@@ -9,7 +9,7 @@ require('./tools/laravel-mix/wp-pot');
9
9
  let localConfig = {};
10
10
 
11
11
  try {
12
- localConfig = require('./webpack.mix.dev');
12
+ localConfig = require('./webpack.mix.local');
13
13
  } catch {}
14
14
 
15
15
  // Webpack Config.