Current section

48 Versions

Jump to

Compare versions

5 files changed
+46 additions
-21 deletions
  @@ -1,6 +1,6 @@
1 1 # Changelog
2 2
3 - ## 0.2.0
3 + ## 0.2.1
4 4
5 5 ### Rework of form controls
  @@ -17,7 +17,7 @@
17 17 <<"priv/static/primer-live.cjs.js">>,<<"priv/static/primer-live.min.css">>,
18 18 <<"priv/static/primer-live.min.js">>,<<"priv/static/primer-live.js">>,
19 19 <<"priv/static/index.d.ts">>,<<"priv/static/primer-live.esm.js.map">>,
20 - <<"CHANGELOG.md">>]}.
20 + <<"CHANGELOG.md">>,<<"package.json">>]}.
21 21 {<<"licenses">>,[<<"MIT">>]}.
22 22 {<<"links">>,
23 23 [{<<"GitHub">>,<<"https://github.com/ArthurClemens/primer_live">>}]}.
  @@ -43,4 +43,4 @@
43 43 {<<"optional">>,false},
44 44 {<<"repository">>,<<"hexpm">>},
45 45 {<<"requirement">>,<<"~> 1.0">>}]]}.
46 - {<<"version">>,<<"0.2.0">>}.
46 + {<<"version">>,<<"0.2.1">>}.
  @@ -21,17 +21,6 @@ defmodule PrimerLive do
21 21
22 22 [PrimerLive at GitHub](https://github.com/ArthurClemens/primer_live)
23 23
24 - ## Versioning
25 -
26 - Dependencies:
27 - - [primer-live (npm)](https://www.npmjs.com/package/primer-live)
28 - - Includes:
29 - - [@primer/css](https://www.npmjs.com/package/@primer/css)
30 - - [dialogic-js](https://www.npmjs.com/package/dialogic-js)
31 -
32 - Included libraries:
33 - - [Octicons](https://primer.style/octicons/)
34 -
35 24 ## Installation
36 25
37 26 ### Install primer_live
  @@ -39,7 +28,7 @@ defmodule PrimerLive do
39 28 Add PrimerLive as a dependency in your Phoenix application's `mix.exs`
40 29
41 30 ```
42 - {:primer_live, "~> 0.2.0"}
31 + {:primer_live, "~> 0.2.1"}
43 32 ```
44 33
45 34 Run `mix.deps get`
  @@ -138,7 +127,7 @@ defmodule PrimerLive do
138 127 <p>Add to <code>root.html.heex</code>:</p>
139 128
140 129 ```
141 - <link rel="stylesheet" href="https://unpkg.com/primer-live/dist/primer-live.min.css" media="all">
130 + <link rel="stylesheet" href="https://unpkg.com/primer-live/priv/static/primer-live.min.css" media="all">
142 131 ```
143 132
144 133 <h4>CSS and JavaScript</h4>
  @@ -146,9 +135,8 @@ defmodule PrimerLive do
146 135 <p>Add to <code>root.html.heex</code>:</p>
147 136
148 137 ```
149 - <link rel="stylesheet" href="https://unpkg.com/primer-live/dist/primer-live.min.css" media="all">
150 - <script src="https://unpkg.com/primer-live/dist/primer-live.min.js"></script>
151 - <script src="https://unpkg.com/dialogic-js/dist/dialogic-js.min.js"></script>
138 + <link rel="stylesheet" href="https://unpkg.com/primer-live/priv/static/primer-live.min.css" media="all">
139 + <script src="https://unpkg.com/primer-live/priv/static/primer-live.min.js"></script>
152 140 ```
153 141
154 142 <p>
  @@ -4,7 +4,7 @@ defmodule PrimerLive.MixProject do
4 4 def project do
5 5 [
6 6 app: :primer_live,
7 - version: "0.2.0",
7 + version: "0.2.1",
8 8 homepage_url: "https://github.com/ArthurClemens/primer_live",
9 9 description: description(),
10 10 package: package(),
  @@ -88,7 +88,7 @@ defmodule PrimerLive.MixProject do
88 88 },
89 89 files:
90 90 ~w(lib .formatter.exs mix.exs README* LICENSE* priv/octicon_builder/build.exs priv/static
91 - CHANGELOG*)
91 + CHANGELOG* package.json)
92 92 ]
93 93 end
  @@ -0,0 +1,37 @@
1 + {
2 + "name": "primer-live",
3 + "version": "0.2.1",
4 + "description": "JavaScript and CSS for PrimerLive",
5 + "license": "MIT",
6 + "module": "./priv/static/primer-live.esm.js",
7 + "main": "./priv/static/primer-live.cjs.js",
8 + "unpkg": "./priv/static/primer-live.min.js",
9 + "jsdelivr": "./priv/static/primer-live.min.js",
10 + "exports": {
11 + ".": {
12 + "import": "./priv/static/primer-live.esm.js",
13 + "require": "./priv/static/primer-live.cjs.js",
14 + "default": "./priv/static/primer-live.js"
15 + },
16 + "./primer-live.css": {
17 + "import": "./priv/static/primer-live.css",
18 + "default": "./priv/static/primer-live.css"
19 + },
20 + "./primer-live.min.css": {
21 + "default": "./priv/static/primer-live.min.css"
22 + }
23 + },
24 + "types": "./priv/static",
25 + "author": "Arthur Clemens <arthurclemens@gmail.com> (http://arthurclemens.com)",
26 + "repository": {
27 + "type": "git",
28 + "url": "git+https://github.com/ArthurClemens/primer_live.git"
29 + },
30 + "homepage": "https://primer-live.org/",
31 + "files": [
32 + "README.md",
33 + "LICENSE.md",
34 + "package.json",
35 + "priv/static/*"
36 + ]
37 + }