Skip to content

Commit

Permalink
Built changes for v1.0.0 from develop c431df8
Browse files Browse the repository at this point in the history
  • Loading branch information
srtfisher committed Aug 7, 2024
1 parent c431df8 commit 1d4d077
Show file tree
Hide file tree
Showing 392 changed files with 46,689 additions and 494 deletions.
22 changes: 0 additions & 22 deletions .deployignore

This file was deleted.

25 changes: 0 additions & 25 deletions .github/dependabot.yml

This file was deleted.

48 changes: 0 additions & 48 deletions .github/workflows/all-pr-tests.yml

This file was deleted.

14 changes: 0 additions & 14 deletions .github/workflows/built-release.yml

This file was deleted.

11 changes: 0 additions & 11 deletions .github/workflows/dependabot-auto-approve.yml

This file was deleted.

10 changes: 0 additions & 10 deletions .github/workflows/dependabot-auto-merge.yml

This file was deleted.

28 changes: 0 additions & 28 deletions .github/workflows/update-changelog.yml

This file was deleted.

19 changes: 0 additions & 19 deletions .github/workflows/upgrade-wordpress-plugin.yml

This file was deleted.

44 changes: 20 additions & 24 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,26 +1,22 @@
# Build files
build
vendor
composer.lock
node_modules

# Log files
*.log

# Cache files
.phpcs/*.json
.phpunit.result.cache

# Ignore temporary OS files
.DS_Store
.DS_Store?
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
.thumbsdb

# IDE files
*.code-workspace
.idea
.vscode
wp-cli.local.yml
node_modules/
*.sql
*.tar.gz
*.zip
.phpunit.result.cache
Dockerfile
output.log
.github
tests
bin
composer.lock
.phpcs.xml
phpunit.xml
configure.php
DOCKER_ENV
phpunit.xml
tests
.phpcs
Makefile
61 changes: 0 additions & 61 deletions .phpcs.xml

This file was deleted.

Empty file removed .phpcs/.gitkeep
Empty file.
1 change: 1 addition & 0 deletions build/plugin/index.asset.php
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<?php return array('dependencies' => array('react', 'wp-components', 'wp-data', 'wp-date', 'wp-edit-post', 'wp-element', 'wp-i18n', 'wp-plugins'), 'version' => '80db471c88489eb64a8d');
1 change: 1 addition & 0 deletions build/plugin/index.css

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

42 changes: 42 additions & 0 deletions build/plugin/index.js

Large diffs are not rendered by default.

49 changes: 49 additions & 0 deletions build/plugin/index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
<?php
/**
* Entry point "plugin" script registration and enqueue.
*
* This file will be copied to the assets output directory
* with Webpack using wp-scripts build. The build command must
* be run before this file will be available.
*
* This file must be included from the build output directory in a project.
* and will be loaded from there.
*
* @package wp-modified-date-control
*/

/**
* Register the plugin entry point assets so that they can be enqueued.
*/
function wp_modified_date_control_register_plugin_scripts(): void {
// Automatically load dependencies and version.
$asset_file = include __DIR__ . '/index.asset.php';

// Register the plugin script.
wp_register_script(
'wp-modified-date-control-plugin-js',
plugins_url( 'index.js', __FILE__ ),
$asset_file['dependencies'],
$asset_file['version'],
true
);
wp_set_script_translations( 'wp-modified-date-control-plugin-js', 'wp-modified-date-control' );

// Register the plugin style.
wp_register_style(
'wp-modified-date-control-plugin-css',
plugins_url( 'index.css', __FILE__ ),
[],
$asset_file['version'],
);
}
add_action( 'init', 'wp_modified_date_control_register_plugin_scripts' );

/**
* Enqueue styles/scripts for the plugin entry point.
*/
function wp_modified_date_control_enqueue_plugin(): void {
wp_enqueue_script( 'wp-modified-date-control-plugin-js' );
wp_enqueue_style( 'wp-modified-date-control-plugin-css' );
}
add_action( 'enqueue_block_assets', 'wp_modified_date_control_enqueue_plugin' );
19 changes: 0 additions & 19 deletions phpunit.xml

This file was deleted.

Loading

0 comments on commit 1d4d077

Please sign in to comment.