Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for KOSM #593

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,10 @@ nightwatch.conf.js
# OS X metadata
.DS_Store
.vscode/settings.json
.idea/
.idea/

# wpify/scoper
/vendor/
/dependencies/*
!dependencies/.gitkeep
tmp*
24 changes: 24 additions & 0 deletions composer-dependencies.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"require": {
"krokedil/klarna-onsite-messaging": "^1.0.0"
},
"repositories": [
{
"type": "vcs",
"url": "git@github.com:krokedil/klarna-onsite-messaging.git"
}
],
"config": {
"platform": {
"php": "7.4"
},
"allow-plugins": {
"wpify/scoper": true
},
"scripts": {
"wpify-scoper": "wpify-scoper"
}
},
"minimum-stability": "dev",
"prefer-stable": true
mntzrr marked this conversation as resolved.
Show resolved Hide resolved
}
93 changes: 93 additions & 0 deletions composer-dependencies.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
{
"_readme": [
"This file locks the dependencies of your project to a known state",
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "d8005cfc348a7e59d79e0794919d4917",
"packages": [
{
"name": "krokedil/klarna-onsite-messaging",
"version": "1.2.0",
"source": {
"type": "git",
"url": "https://github.com/krokedil/klarna-onsite-messaging.git",
"reference": "c864c0eb2a7fd8ccd57f7fa845219bcf72a88a2c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/krokedil/klarna-onsite-messaging/zipball/c864c0eb2a7fd8ccd57f7fa845219bcf72a88a2c",
"reference": "c864c0eb2a7fd8ccd57f7fa845219bcf72a88a2c",
"shasum": ""
},
"require": {
"php": "~7.4 || ~8.0"
},
"require-dev": {
"10up/wp_mock": "^1.0",
"php-stubs/woocommerce-stubs": "^8.3",
"wp-coding-standards/wpcs": "^3.0"
},
"type": "library",
"autoload": {
"psr-4": {
"Krokedil\\KlarnaOnsiteMessaging\\": "src/"
}
},
"archive": {
"exclude": [
"tests/*",
"phpunit.xml",
"composer-lock.json",
".github/*",
".gitignore",
".gitattributes"
]
},
"scripts": {
"phpcs": [
"phpcs --standard=phpcs.xml --extensions=php --ignore=vendor/,tests/"
],
"phpcbf": [
"phpcbf --standard=phpcs.xml --extensions=php --ignore=vendor/,tests/"
],
"test": [
"@php ./vendor/bin/phpunit --configuration phpunit.xml"
],
"test-coverage-html": [
"@php ./vendor/bin/phpunit --configuration phpunit.xml --coverage-html coverage"
],
"test-coverage-clover": [
"@php ./vendor/bin/phpunit --configuration phpunit.xml --coverage-clover coverage.xml"
]
},
"license": [
"GPL-v3"
],
"authors": [
{
"name": "Krokedil AB",
"email": "info@krokedil.se"
}
],
"description": "Klarna On-Site Messaging for WooCommerce",
"support": {
"source": "https://github.com/krokedil/klarna-onsite-messaging/tree/1.2.0",
"issues": "https://github.com/krokedil/klarna-onsite-messaging/issues"
},
"time": "2024-09-11T09:30:15+00:00"
}
],
"packages-dev": [],
"aliases": [],
"minimum-stability": "dev",
"stability-flags": [],
"prefer-stable": true,
"prefer-lowest": false,
"platform": [],
"platform-dev": [],
"platform-overrides": {
"php": "7.4"
},
"plugin-api-version": "2.6.0"
}
24 changes: 22 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
{
"require-dev": {
"wp-coding-standards/wpcs": "^2.3"
"wp-coding-standards/wpcs": "^2.3",
"wpify/scoper": "^3.1"
mntzrr marked this conversation as resolved.
Show resolved Hide resolved
},
"config": {
mntzrr marked this conversation as resolved.
Show resolved Hide resolved
"allow-plugins": {
"wpify/scoper": true
},
"platform": {
"php": "7.4"
}
},
"extra": {
"wpify-scoper": {
"prefix": "KrokedilKCODeps",
"folder": "dependencies",
"autorun": true,
"globals": [
"wordpress",
"woocommerce"
]
}
}
}
}
161 changes: 144 additions & 17 deletions composer.lock

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

Loading
Loading