Skip to content

Commit 1be7f76

Browse files
committed
add skeleton
1 parent 9bba8fb commit 1be7f76

File tree

10 files changed

+90
-0
lines changed

10 files changed

+90
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Files not needed to be distributed in the package.
2+
.gitattributes export-ignore
3+
node_modules export-ignore
4+
5+
# Files to exclude from the mirror repo
6+
/changelog/** production-exclude
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
vendor/
2+
node_modules/
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Jetpack
2+
3+
4+
## How to install Jetpack plugin on your site
5+
### Installation From Git Repo
6+
7+
## Contribute
8+
9+
## Get Help
10+
11+
## Security
12+
13+
Need to report a security vulnerability? Go to [https://automattic.com/security/](https://automattic.com/security/) or directly to our security bug bounty site [https://hackerone.com/automattic](https://hackerone.com/automattic).
14+
15+
## License
16+
17+
Licensed under [GNU General Public License v2 (or later)](./LICENSE.txt).
18+

projects/js-packages/jetpack-cli/changelog/.gitkeep

Whitespace-only changes.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Significance: patch
2+
Type: added
3+
4+
Initial version.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"name": "automattic/jetpack-cli",
3+
"description": "Development tools for the Jetpack monorepo",
4+
"type": "library",
5+
"license": "GPL-2.0-or-later",
6+
"require": {},
7+
"require-dev": {
8+
"automattic/jetpack-changelogger": "@dev"
9+
},
10+
"autoload": {
11+
"classmap": [
12+
"src/"
13+
]
14+
},
15+
"scripts": {
16+
"phpunit": [
17+
"./vendor/phpunit/phpunit/phpunit --colors=always"
18+
],
19+
"test-coverage": [
20+
"php -dpcov.directory=. ./vendor/bin/phpunit --coverage-php \"$COVERAGE_DIR/php.cov\""
21+
],
22+
"test-php": [
23+
"@composer phpunit"
24+
]
25+
},
26+
"repositories": [
27+
{
28+
"type": "path",
29+
"url": "../../packages/*",
30+
"options": {
31+
"monorepo": true
32+
}
33+
}
34+
],
35+
"minimum-stability": "dev",
36+
"prefer-stable": true
37+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// Put your code in this `src/` folder!
2+
// Feel free to delete or rename this file.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// We recommend using `jest` for testing. If you're testing React code, we recommend `@testing-library/react` and related packages.
2+
// Please match the versions used elsewhere in the monorepo.
3+
//
4+
// Please don't add new uses of `mocha`, `chai`, `sinon`, `enzyme`, and so on. We're trying to standardize on one testing framework.
5+
//
6+
// The default setup is to have files named like "name.test.js" (or .jsx, .ts, or .tsx) in this `tests/` directory.
7+
// But you could instead put them in `src/`, or put files like "name.js" (or .jsx, .ts, or .tsx) in `test` or `__tests__` directories somewhere.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
const path = require( 'path' );
2+
const baseConfig = require( 'jetpack-js-tools/jest/config.base.js' );
3+
4+
module.exports = {
5+
...baseConfig,
6+
rootDir: path.join( __dirname, '..' ),
7+
};

0 commit comments

Comments
 (0)