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

Put client library hashes in a single package #775

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all 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
1 change: 1 addition & 0 deletions apps/mitt-konto/spago.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ You can edit this file as you like.
{ name = "mitt-konto"
, dependencies =
[ "aff"
, "affresco-apis"
, "affresco-components"
, "affresco-user"
, "argonaut-codecs"
Expand Down
2 changes: 0 additions & 2 deletions apps/mosaico/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@
"description": "",
"license": "MIT",
"dependencies": {
"bottega": "https://github.com/KSF-Media/bottega-javascript-client.git#f58baa4ebf8a494347b212e3378b6168c5e2faff",
"cheerio": "^1.0.0-rc.10",
"parcel": "1.12.3",
"parcel-bundler": "^1.12.3",
"persona": "https://github.com/KSF-Media/persona-javascript-client.git#d8876dc53c39e6c80cdff363a8230deb944c6e73",
"react": ">=16.12",
"react-date-picker": "^8.0.3",
"react-dom": ">=16.12",
Expand Down
1 change: 1 addition & 0 deletions apps/mosaico/spago.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ You can edit this file as you like.
{ name = "mosaico"
, dependencies =
[ "aff"
, "affresco-apis"
, "affresco-components"
, "affresco-user"
, "affresco-vetrina"
Expand Down
1 change: 1 addition & 0 deletions packages.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ let additions =
, affresco-test = ./packages/test/spago.dhall as Location
, affresco-user = ./packages/user/spago.dhall as Location
, affresco-vetrina = ./packages/vetrina/spago.dhall as Location
, affresco-apis = ./packages/apis/spago.dhall as Location
}

in upstream // additions
16 changes: 16 additions & 0 deletions packages/apis/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "@affresco/apis",
"version": "0.1.1",
"description": "KSF Media API client libraries",
"main": "index.js",
"license": "MIT",
"dependencies": {
"persona": "https://github.com/KSF-Media/persona-javascript-client.git#d8876dc53c39e6c80cdff363a8230deb944c6e73",

"bottega": "https://github.com/KSF-Media/bottega-javascript-client.git#f58baa4ebf8a494347b212e3378b6168c5e2faff"
},
"scripts": {
"build-npm": "spago bundle-module -m OpenApiClient -t build.js && parcel build --no-source-maps -d build"
},
"files": [ "index.js" ]
}
27 changes: 27 additions & 0 deletions packages/apis/spago.dhall
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{ name = "affresco-apis"
, dependencies =
[ "effect"
, "console"
, "avar"
, "aff"
, "aff-promise"
, "simple-ajax"
, "formatters"
, "datetime"
, "psci-support"
, "prelude"
, "js-date"
, "foreign-generic"
, "ordered-collections"
, "simple-json"
, "facebook"
, "now"
, "validation"
, "read"
, "uuid"
, "quickcheck"
, "web-url"
]
, packages = ../../packages.dhall
, sources = [ "src/**/*.purs" ]
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions packages/components/spago.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"affresco-components"
, dependencies =
[ "effect"
, "affresco-apis"
, "console"
, "avar"
, "aff"
Expand Down
2 changes: 0 additions & 2 deletions packages/user/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@
"main": "index.js",
"license": "MIT",
"dependencies": {
"persona": "https://github.com/KSF-Media/persona-javascript-client.git#d8876dc53c39e6c80cdff363a8230deb944c6e73",
"react": "^16.12",
"bottega": "https://github.com/KSF-Media/bottega-javascript-client.git#f58baa4ebf8a494347b212e3378b6168c5e2faff",
"react-dom": "^16.12"
},
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions packages/user/spago.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
[ "aff"
, "aff-promise"
, "affjax"
, "affresco-apis"
, "affresco-components"
, "argonaut-codecs"
, "arrays"
Expand Down
2 changes: 0 additions & 2 deletions packages/vetrina/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@
},
"dependencies": {
"@sentry/browser": "^6.2.1",
"bottega": "https://github.com/KSF-Media/bottega-javascript-client.git#f58baa4ebf8a494347b212e3378b6168c5e2faff",
"create-react-class": "^15.6.3",
"persona": "https://github.com/KSF-Media/persona-javascript-client.git#d8876dc53c39e6c80cdff363a8230deb944c6e73",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"uuid-validate": "^0.0.3"
Expand Down
1 change: 1 addition & 0 deletions packages/vetrina/spago.dhall
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{ name = "vetrina"
, dependencies =
[ "aff"
, "affresco-apis"
, "affresco-components"
, "affresco-user"
, "arrays"
Expand Down
10 changes: 4 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1226,8 +1226,6 @@
"@ksf-media/user@file:packages/user":
version "0.3.2"
dependencies:
bottega "https://github.com/KSF-Media/bottega-javascript-client.git#f58baa4ebf8a494347b212e3378b6168c5e2faff"
persona "https://github.com/KSF-Media/persona-javascript-client.git#40058b09b6d969390daaad6e58918b04129b1c16"
react "^16.12"
react-dom "^16.12"

Expand Down Expand Up @@ -7330,15 +7328,15 @@ performance-now@^2.1.0:
resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b"
integrity sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=

"persona@https://github.com/KSF-Media/persona-javascript-client.git#40058b09b6d969390daaad6e58918b04129b1c16":
"persona@https://github.com/KSF-Media/persona-javascript-client.git#72a5ee779d5a9052b3cd274db9d":
version "1.3.0"
resolved "https://github.com/KSF-Media/persona-javascript-client.git#40058b09b6d969390daaad6e58918b04129b1c16"
resolved "https://github.com/KSF-Media/persona-javascript-client.git#72a5ee779d5a9052b3cd274db9d5358ddd27839b"
dependencies:
superagent "3.7.0"

"persona@https://github.com/KSF-Media/persona-javascript-client.git#72a5ee779d5a9052b3cd274db9d":
"persona@https://github.com/KSF-Media/persona-javascript-client.git#d8876dc53c39e6c80cdff363a8230deb944c6e73":
version "1.3.0"
resolved "https://github.com/KSF-Media/persona-javascript-client.git#72a5ee779d5a9052b3cd274db9d5358ddd27839b"
resolved "https://github.com/KSF-Media/persona-javascript-client.git#d8876dc53c39e6c80cdff363a8230deb944c6e73"
dependencies:
superagent "3.7.0"

Expand Down