Skip to content

Commit

Permalink
fix namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Maya Shavin committed Nov 4, 2020
1 parent 360e9c6 commit c59979d
Show file tree
Hide file tree
Showing 13 changed files with 39 additions and 112 deletions.
2 changes: 1 addition & 1 deletion packages/api/jest.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
["jest-html-reporters", {
"publicPath" : "./public/progress/",
"filename": "api-report.html",
"pageTitle": "@mayas/api Report",
"pageTitle": "@mayas/cld-api Report",
"expand": true
}]
]
Expand Down
4 changes: 2 additions & 2 deletions packages/demo/gridsome.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = {
siteName: 'Gridsome - Cloudinary Source',
plugins: [
{
use: '@mayas/gridsome-source-cld',
use: 'gridsome-source-cloudinary',
options: {
cloudName: process.env.CLOUDNAME,
apiKey: process.env.API_KEY,
Expand Down Expand Up @@ -37,7 +37,7 @@ module.exports = {
}
},
{
use: "@mayas/gridsome-plugin-cld",
use: "gridsome-plugin-cloudinary",
options: {
cloudName: process.env.CLOUDNAME,
apiKey: process.env.API_KEY,
Expand Down
4 changes: 2 additions & 2 deletions packages/demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"@cloudinary/base": "^1.0.0-alpha.2",
"@gridsome/source-filesystem": "^0.6.2",
"@gridsome/transformer-remark": "^0.6.3",
"@mayas/gridsome-source-cld": "^0.0.6",
"@mayas/gridsome-plugin-cld": "^0.0.6",
"gridsome-source-cloudinary": "^0.0.6",
"gridsome-plugin-cloudinary": "^0.0.6",
"gridsome-transformer-image": "0.0.6",
"dotenv": "^8.2.0",
"gridsome": "^0.7.0",
Expand Down
14 changes: 11 additions & 3 deletions packages/gs-cld-plugin/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
# `@mayas/gridsome-plugin-cld`
# `gridsome-plugin-cloudinary`

> Cloudinary plugin for Gridsome
> Cloudinary general plugin for Gridsome
[Demo site](https://gridsome-cloudinary.netlify.app/)

## Installation

```
yarn add gridsome-plugin-cloudinary
```

## Usage

Expand All @@ -9,7 +17,7 @@
export default {
plugins: [
{
use: "@mayas/gridsome-plugin-cld",
use: "gridsome-plugin-cloudinary",
options: {
cloudName: process.env.CLOUDNAME,
apiKey: process.env.API_KEY,
Expand Down
10 changes: 0 additions & 10 deletions packages/gs-cld-plugin/example.js

This file was deleted.

9 changes: 0 additions & 9 deletions packages/gs-cld-plugin/example.md

This file was deleted.

10 changes: 3 additions & 7 deletions packages/gs-cld-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@mayas/gridsome-plugin-cld",
"name": "gridsome-plugin-cloudinary",
"version": "0.0.6",
"description": "Cloudinary plugin for Gridsome",
"author": "Maya Shavin <maya@cloudinary.com>",
Expand Down Expand Up @@ -28,13 +28,9 @@
"url": "https://github.com/mayashavin/gridsome-plugin-cloudinary/issues"
},
"dependencies": {
"cloudinary": "^1.23.0",
"@mayas/cld-api": "^0.0.6",
"cross-env": "^7.0.2",
"retext": "^7.0.1",
"ts-jest": "^26.4.3",
"unist-util-visit": "^2.0.3",
"webpack-bundle-analyzer": "^3.9.0",
"webpack-cli": "^4.1.0"
"ts-jest": "^26.4.3"
},
"keywords": [
"gridsome",
Expand Down
8 changes: 5 additions & 3 deletions packages/gs-cld-source/README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
# `@mayas/gridsome-source-cld`
# `gridsome-source-cloudinary`

> Cloudinary Source plugin for Gridsome
[Demo site](https://gridsome-cloudinary.netlify.app/)

## Installation

```bash
yarn add @mayas/gridsome-source-cld
yarn add gridsome-source-cloudinary
```

## Usage
Expand All @@ -14,7 +16,7 @@ yarn add @mayas/gridsome-source-cld
export default {
plugins: [
{
use: '@mayas/gridsome-source-cld',
use: 'gridsome-source-cloudinary',
options: {
cloudName: process.env.CLOUDNAME,
apiKey: process.env.API_KEY,
Expand Down
2 changes: 1 addition & 1 deletion packages/gs-cld-source/package-lock.json

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

2 changes: 1 addition & 1 deletion packages/gs-cld-source/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@mayas/gridsome-source-cld",
"name": "gridsome-source-cloudinary",
"version": "0.0.6",
"description": "Source plugin of Cloudinary for Gridsome",
"keywords": [
Expand Down
8 changes: 7 additions & 1 deletion packages/gs-transformer-image/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# `gridsome-transformer-image`

> Image transformer for Gridsome
> Image transformer for Gridsome with options for optimization loader.
## Installation

```bash
yarn add gridsome-transformer-image
```

## Usage

Expand Down
8 changes: 4 additions & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"compilerOptions": {
"baseUrl": "./packages",
"paths": {
"@mayas/api": ["api/lib"],
"@mayas/gridsome-source-cld": ["gs-cld-source/lib"],
"@mayas/gridsome-plugin-cld": ["gs-cld-plugin/lib"],
"@mayas/gridsome-transformer-image": ["gs-transformer-image/lib"]
"@mayas/cld-api": ["api/lib"],
"gridsome-source-cloudinary": ["gs-cld-source/lib"],
"gridsome-plugin-cloudinary": ["gs-cld-plugin/lib"],
"gridsome-transformer-image": ["gs-transformer-image/lib"]
}
}
}
70 changes: 2 additions & 68 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3758,11 +3758,6 @@ array-ify@^1.0.0:
resolved "https://registry.yarnpkg.com/array-ify/-/array-ify-1.0.0.tgz#9e528762b4a9066ad163a6962a364418e9626ece"
integrity sha1-nlKHYrSpBmrRY6aWKjZEGOlibs4=

array-iterate@^1.0.0:
version "1.1.4"
resolved "https://registry.yarnpkg.com/array-iterate/-/array-iterate-1.1.4.tgz#add1522e9dd9749bb41152d08b845bd08d6af8b7"
integrity sha512-sNRaPGh9nnmdC8Zf+pT3UqP8rnWj5Hf9wiFGsX3wUQ2yVSIhO2ShFwCoceIPpB41QF6i2OEmrHmCo36xronCVA==

array-union@^1.0.1, array-union@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/array-union/-/array-union-1.0.2.tgz#9a34410e4f4e3da23dea375be5be70f24778ec39"
Expand Down Expand Up @@ -9352,7 +9347,7 @@ is-path-inside@^3.0.1:
resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-3.0.2.tgz#f5220fc82a3e233757291dddc9c5877f2a1f3017"
integrity sha512-/2UGPSgmtqwo1ktx8NDHjuPwZWmHhO+gj0f93EkhLB5RgW9RZevWYYlIkS6zePc6U2WpOdQYIwHe9YC4DWEBVg==

is-plain-obj@2.1.0, is-plain-obj@^2.0.0, is-plain-obj@^2.1.0:
is-plain-obj@2.1.0, is-plain-obj@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-2.1.0.tgz#45e42e37fccf1f40da8e5f76ee21515840c09287"
integrity sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==
Expand Down Expand Up @@ -11971,11 +11966,6 @@ nice-try@^1.0.4:
resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366"
integrity sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==

nlcst-to-string@^2.0.0:
version "2.0.4"
resolved "https://registry.yarnpkg.com/nlcst-to-string/-/nlcst-to-string-2.0.4.tgz#9315dfab80882bbfd86ddf1b706f53622dc400cc"
integrity sha512-3x3jwTd6UPG7vi5k4GEzvxJ5rDA7hVUIRNHPblKuMVP9Z3xmlsd9cgLcpAMkc5uPOBna82EeshROFhsPkbnTZg==

no-case@^2.2.0:
version "2.3.2"
resolved "https://registry.yarnpkg.com/no-case/-/no-case-2.3.2.tgz#60b813396be39b3f1288a4c1ed5d1e7d28b464ac"
Expand Down Expand Up @@ -12841,15 +12831,6 @@ parse-json@^5.0.0:
json-parse-even-better-errors "^2.3.0"
lines-and-columns "^1.1.6"

parse-latin@^4.0.0:
version "4.3.0"
resolved "https://registry.yarnpkg.com/parse-latin/-/parse-latin-4.3.0.tgz#1a70fc5601743baa06c5f12253c334fc94b4a917"
integrity sha512-TYKL+K98dcAWoCw/Ac1yrPviU8Trk+/gmjQVaoWEFDZmVD4KRg6c/80xKqNNFQObo2mTONgF8trzAf2UTwKafw==
dependencies:
nlcst-to-string "^2.0.0"
unist-util-modify-children "^2.0.0"
unist-util-visit-children "^1.0.0"

parse-ms@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/parse-ms/-/parse-ms-2.1.0.tgz#348565a753d4391fa524029956b172cb7753097d"
Expand Down Expand Up @@ -14781,30 +14762,6 @@ ret@~0.1.10:
resolved "https://registry.yarnpkg.com/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc"
integrity sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==

retext-latin@^2.0.0:
version "2.0.4"
resolved "https://registry.yarnpkg.com/retext-latin/-/retext-latin-2.0.4.tgz#ef5d34ae7641ae56b0675ea391095e8ee762b251"
integrity sha512-fOoSSoQgDZ+l/uS81oxI3alBghDUPja0JEl0TpQxI6MN+dhM6fLFumPJwMZ4PJTyL5FFAgjlsdv8IX+6IRuwMw==
dependencies:
parse-latin "^4.0.0"
unherit "^1.0.4"

retext-stringify@^2.0.0:
version "2.0.4"
resolved "https://registry.yarnpkg.com/retext-stringify/-/retext-stringify-2.0.4.tgz#496d6c532f7dc6d15e4b262de0266e828f72efa9"
integrity sha512-xOtx5mFJBoT3j7PBtiY2I+mEGERNniofWktI1cKXvjMEJPOuqve0dghLHO1+gz/gScLn4zqspDGv4kk2wS5kSA==
dependencies:
nlcst-to-string "^2.0.0"

retext@^7.0.1:
version "7.0.1"
resolved "https://registry.yarnpkg.com/retext/-/retext-7.0.1.tgz#04b7965ab78fe6e5e3a489304545b460d41bf5aa"
integrity sha512-N0IaEDkvUjqyfn3/gwxVfI51IxfGzOiVXqPLWnKeCDbiQdxSg0zebzHPxXWnL7TeplAJ+RE4uqrXyYN//s9HjQ==
dependencies:
retext-latin "^2.0.0"
retext-stringify "^2.0.0"
unified "^8.0.0"

retry@^0.10.0:
version "0.10.1"
resolved "https://registry.yarnpkg.com/retry/-/retry-0.10.1.tgz#e76388d217992c252750241d3d3956fed98d8ff4"
Expand Down Expand Up @@ -16661,17 +16618,6 @@ unified@^7.0.0:
vfile "^3.0.0"
x-is-string "^0.1.0"

unified@^8.0.0:
version "8.4.2"
resolved "https://registry.yarnpkg.com/unified/-/unified-8.4.2.tgz#13ad58b4a437faa2751a4a4c6a16f680c500fff1"
integrity sha512-JCrmN13jI4+h9UAyKEoGcDZV+i1E7BLFuG7OsaDvTXI5P0qhHX+vZO/kOhz9jn8HGENDKbwSeB0nVOg4gVStGA==
dependencies:
bail "^1.0.0"
extend "^3.0.0"
is-plain-obj "^2.0.0"
trough "^1.0.0"
vfile "^4.0.0"

union-value@^1.0.0:
version "1.0.1"
resolved "https://registry.yarnpkg.com/union-value/-/union-value-1.0.1.tgz#0b6fe7b835aecda61c6ea4d4f02c14221e109847"
Expand Down Expand Up @@ -16747,13 +16693,6 @@ unist-util-is@^4.0.0:
resolved "https://registry.yarnpkg.com/unist-util-is/-/unist-util-is-4.0.2.tgz#c7d1341188aa9ce5b3cff538958de9895f14a5de"
integrity sha512-Ofx8uf6haexJwI1gxWMGg6I/dLnF2yE+KibhD3/diOqY2TinLcqHXCV6OI5gFVn3xQqDH+u0M625pfKwIwgBKQ==

unist-util-modify-children@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/unist-util-modify-children/-/unist-util-modify-children-2.0.0.tgz#9c9c30d4e32502aabb3fde10d7872a17c86801e2"
integrity sha512-HGrj7JQo9DwZt8XFsX8UD4gGqOsIlCih9opG6Y+N11XqkBGKzHo8cvDi+MfQQgiZ7zXRUiQREYHhjOBHERTMdg==
dependencies:
array-iterate "^1.0.0"

unist-util-position@^3.0.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/unist-util-position/-/unist-util-position-3.1.0.tgz#1c42ee6301f8d52f47d14f62bbdb796571fa2d47"
Expand Down Expand Up @@ -16785,11 +16724,6 @@ unist-util-stringify-position@^2.0.0:
dependencies:
"@types/unist" "^2.0.2"

unist-util-visit-children@^1.0.0:
version "1.1.4"
resolved "https://registry.yarnpkg.com/unist-util-visit-children/-/unist-util-visit-children-1.1.4.tgz#e8a087e58a33a2815f76ea1901c15dec2cb4b432"
integrity sha512-sA/nXwYRCQVRwZU2/tQWUqJ9JSFM1X3x7JIOsIgSzrFHcfVt6NkzDtKzyxg2cZWkCwGF9CO8x4QNZRJRMK8FeQ==

unist-util-visit-parents@^2.0.0:
version "2.1.2"
resolved "https://registry.yarnpkg.com/unist-util-visit-parents/-/unist-util-visit-parents-2.1.2.tgz#25e43e55312166f3348cae6743588781d112c1e9"
Expand All @@ -16812,7 +16746,7 @@ unist-util-visit@^1.0.0, unist-util-visit@^1.0.1, unist-util-visit@^1.1.0, unist
dependencies:
unist-util-visit-parents "^2.0.0"

unist-util-visit@^2.0.1, unist-util-visit@^2.0.3:
unist-util-visit@^2.0.1:
version "2.0.3"
resolved "https://registry.yarnpkg.com/unist-util-visit/-/unist-util-visit-2.0.3.tgz#c3703893146df47203bb8a9795af47d7b971208c"
integrity sha512-iJ4/RczbJMkD0712mGktuGpm/U4By4FfDonL7N/9tATGIF4imikjOuagyMY53tnZq3NP6BcmlrHhEKAfGWjh7Q==
Expand Down

0 comments on commit c59979d

Please sign in to comment.