Skip to content

Commit f06db7b

Browse files
committed
Version up
1 parent fa8a02a commit f06db7b

File tree

5 files changed

+1318
-2791
lines changed

5 files changed

+1318
-2791
lines changed

package.json

+13-11
Original file line numberDiff line numberDiff line change
@@ -38,22 +38,24 @@
3838
"pscid": "^2.9.3",
3939
"purescript": "^0.13.8",
4040
"purescript-psa": "^0.8.0",
41-
"purty": "^6.2.0",
42-
"spago": "^0.16.0",
43-
"string-replace-loader": "^2.3.0",
41+
"purty": "^6.3.0",
42+
"spago": "^0.19.0",
43+
"string-replace-loader": "^3.0.1",
4444
"zephyr": "https://github.com/jonasbuntinx/zephyr.git"
4545
},
4646
"dependencies": {
47-
"@next/bundle-analyzer": "^9.5.5",
48-
"cross-env": "^7.0.2",
49-
"next": "^9.5.5",
50-
"next-on-netlify": "^2.5.1",
51-
"preact": "^10.5.5",
52-
"preact-render-to-string": "^5.1.10",
47+
"@next/bundle-analyzer": "^10.0.5",
48+
"autoprefixer": "^10.2.1",
49+
"cross-env": "^7.0.3",
50+
"next": "^10.0.5",
51+
"next-on-netlify": "^2.7.2",
52+
"postcss": "^8.2.4",
53+
"preact": "^10.5.9",
54+
"preact-render-to-string": "^5.1.12",
5355
"react": "github:preact-compat/react#1.0.0",
5456
"react-dom": "github:preact-compat/react-dom#1.0.0",
55-
"react-ssr-prepass": "npm:[email protected].2",
56-
"tailwindcss": "^1.9.5",
57+
"react-ssr-prepass": "npm:[email protected].3",
58+
"tailwindcss": "^2.0.2",
5759
"xhr2": "^0.2.0"
5860
}
5961
}

packages.dhall

+34-57
Original file line numberDiff line numberDiff line change
@@ -31,28 +31,24 @@ Purpose:
3131
the package set's repo
3232
3333
Syntax:
34-
Replace the overrides' "{=}" (an empty record) with the following idea
35-
The "//" or "⫽" means "merge these two records and
36-
when they have the same value, use the one on the right:"
34+
where `entityName` is one of the following:
35+
- dependencies
36+
- repo
37+
- version
3738
-------------------------------
38-
let overrides =
39-
{ packageName =
40-
upstream.packageName // { updateEntity1 = "new value", updateEntity2 = "new value" }
41-
, packageName =
42-
upstream.packageName // { version = "v4.0.0" }
43-
, packageName =
44-
upstream.packageName // { repo = "https://www.example.com/path/to/new/repo.git" }
45-
}
39+
let upstream = --
40+
in upstream
41+
with packageName.entityName = "new value"
4642
-------------------------------
4743
4844
Example:
4945
-------------------------------
50-
let overrides =
51-
{ halogen =
52-
upstream.halogen // { version = "master" }
53-
, halogen-vdom =
54-
upstream.halogen-vdom // { version = "v4.0.0" }
55-
}
46+
let upstream = --
47+
in upstream
48+
with halogen.version = "master"
49+
with halogen.repo = "https://example.com/path/to/git/repo.git"
50+
51+
with halogen-vdom.version = "v4.0.0"
5652
-------------------------------
5753
5854
### Additions
@@ -61,37 +57,30 @@ Purpose:
6157
- Add packages that aren't already included in the default package set
6258
6359
Syntax:
64-
Replace the additions' "{=}" (an empty record) with the following idea:
60+
where `<version>` is:
61+
- a tag (i.e. "v4.0.0")
62+
- a branch (i.e. "master")
63+
- commit hash (i.e. "701f3e44aafb1a6459281714858fadf2c4c2a977")
6564
-------------------------------
66-
let additions =
67-
{ package-name =
68-
{ dependencies =
69-
[ "dependency1"
70-
, "dependency2"
71-
]
72-
, repo =
73-
"https://example.com/path/to/git/repo.git"
74-
, version =
75-
"tag ('v4.0.0') or branch ('master')"
76-
}
77-
, package-name =
78-
{ dependencies =
79-
[ "dependency1"
80-
, "dependency2"
81-
]
82-
, repo =
83-
"https://example.com/path/to/git/repo.git"
84-
, version =
85-
"tag ('v4.0.0') or branch ('master')"
86-
}
87-
, etc.
88-
}
65+
let upstream = --
66+
in upstream
67+
with new-package-name =
68+
{ dependencies =
69+
[ "dependency1"
70+
, "dependency2"
71+
]
72+
, repo =
73+
"https://example.com/path/to/git/repo.git"
74+
, version =
75+
"<version>"
76+
}
8977
-------------------------------
9078
9179
Example:
9280
-------------------------------
93-
let additions =
94-
{ benchotron =
81+
let upstream = --
82+
in upstream
83+
with benchotron =
9584
{ dependencies =
9685
[ "arrays"
9786
, "exists"
@@ -113,21 +102,9 @@ let additions =
113102
, version =
114103
"v7.0.0"
115104
}
116-
}
117105
-------------------------------
118106
-}
119-
120-
121107
let upstream =
122-
https://github.com/purescript/package-sets/releases/download/psc-0.13.8-20200724/packages.dhall sha256:bb941d30820a49345a0e88937094d2b9983d939c9fd3a46969b85ce44953d7d9
123-
124-
let overrides =
125-
{ react-basic-hooks =
126-
upstream.react-basic-hooks
127-
// { version = "v6.1.1"
128-
}
129-
}
130-
131-
let additions = {=}
108+
https://github.com/purescript/package-sets/releases/download/psc-0.13.8-20201021/packages.dhall sha256:55ebdbda1bd6ede4d5307fbc1ef19988c80271b4225d833c8d6fb9b6fb1aa6d8
132109

133-
in upstream // overrides // additions
110+
in upstream

postcss.config.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module.exports = {
2-
plugins: [
3-
'tailwindcss',
4-
'autoprefixer'
5-
],
2+
plugins: {
3+
tailwindcss: {},
4+
autoprefixer: {},
5+
},
66
}

tailwind.config.js

+10-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
1+
const colors = require('tailwindcss/colors')
2+
13
module.exports = {
2-
purge: {
3-
mode: 'all',
4-
content: ['./src/**/*.purs'],
4+
purge: [
5+
'./src/**/*.purs'
6+
],
7+
theme: {
8+
colors: {
9+
gray: colors.blueGray,
10+
teal: colors.teal,
11+
}
512
},
6-
theme: {},
713
variants: {},
814
plugins: [],
915
}

0 commit comments

Comments
 (0)