pageturn 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +5 -0
  3. package/package.json +33 -21
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # pageturn
2
2
 
3
+ ## 0.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - d71215f: A fuller package description and keywords, so pageturn is found on npm.
8
+
3
9
  ## 0.1.0
4
10
 
5
11
  ### Minor Changes
package/README.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # pageturn
2
2
 
3
+ [![npm](https://img.shields.io/npm/v/pageturn)](https://www.npmjs.com/package/pageturn)
4
+ [![CI](https://github.com/Androlax2/pageturn/actions/workflows/ci.yml/badge.svg)](https://github.com/Androlax2/pageturn/actions/workflows/ci.yml)
5
+ [![gzip size of pageturn.js](https://img.shields.io/badge/pageturn.js-4.2%20kB%20gzip-informational)](scripts/size.mjs)
6
+ [![MIT](https://img.shields.io/badge/license-MIT-blue)](LICENSE)
7
+
3
8
  Page transitions between real page loads, the same in every browser.
4
9
 
5
10
  ![A product picture grows from the shop's grid into its product page, and shrinks back into its place on Back](docs/media/morph.gif)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pageturn",
3
- "version": "0.1.0",
4
- "description": "Page transitions between real page loads, the same in every browser.",
3
+ "version": "0.1.1",
4
+ "description": "Page transitions between real page loads, in every browser: a default move, moves named in CSS or written in code, a picture that morphs into the next page, and returns on Back. No router, no swapped DOM.",
5
5
  "license": "MIT",
6
6
  "author": "Théo Benoit",
7
7
  "repository": {
@@ -11,16 +11,42 @@
11
11
  "homepage": "https://github.com/Androlax2/pageturn#readme",
12
12
  "bugs": "https://github.com/Androlax2/pageturn/issues",
13
13
  "keywords": [
14
- "page transitions",
15
- "view transitions",
14
+ "page-transitions",
15
+ "page-transition",
16
+ "transitions",
17
+ "view-transitions",
18
+ "view-transition-api",
19
+ "cross-document-view-transitions",
20
+ "mpa",
21
+ "multi-page",
16
22
  "navigation",
23
+ "animation",
24
+ "morph",
25
+ "shared-element-transition",
26
+ "astro",
17
27
  "astro-integration",
18
- "mpa"
28
+ "vanilla-js",
29
+ "no-dependencies"
19
30
  ],
20
31
  "type": "module",
32
+ "packageManager": "pnpm@11.28.4",
21
33
  "engines": {
22
34
  "node": ">=20"
23
35
  },
36
+ "scripts": {
37
+ "build": "node scripts/build.mjs",
38
+ "check": "biome check --error-on-warnings . && pnpm run build && tsc --noEmit",
39
+ "format": "biome check --write .",
40
+ "test": "pnpm run build && node tests/astro/fixture/build.mjs && playwright test",
41
+ "size": "pnpm run build && node scripts/size.mjs",
42
+ "examples": "pnpm run build && node tests/support/server.mjs",
43
+ "record": "pnpm run build && node scripts/record.mjs",
44
+ "lint:package": "publint --strict && attw --pack . --profile esm-only --exclude-entrypoints ./astro/Head.astro ./pageturn.css ./no-native.css ./pageturn.js ./pageturn-morph.js ./morph-head.js",
45
+ "changeset": "changeset",
46
+ "version": "changeset version",
47
+ "release": "pnpm run build && pnpm run lint:package && npm publish",
48
+ "prepack": "node scripts/build.mjs"
49
+ },
24
50
  "sideEffects": true,
25
51
  "files": [
26
52
  "dist",
@@ -94,20 +120,6 @@
94
120
  "typescript": "^6.0.3"
95
121
  },
96
122
  "publishConfig": {
97
- "access": "public",
98
- "provenance": true
99
- },
100
- "scripts": {
101
- "build": "node scripts/build.mjs",
102
- "check": "biome check --error-on-warnings . && pnpm run build && tsc --noEmit",
103
- "format": "biome check --write .",
104
- "test": "pnpm run build && node tests/astro/fixture/build.mjs && playwright test",
105
- "size": "pnpm run build && node scripts/size.mjs",
106
- "examples": "pnpm run build && node tests/support/server.mjs",
107
- "record": "pnpm run build && node scripts/record.mjs",
108
- "lint:package": "publint --strict && attw --pack . --profile esm-only --exclude-entrypoints ./astro/Head.astro ./pageturn.css ./no-native.css ./pageturn.js ./pageturn-morph.js ./morph-head.js",
109
- "changeset": "changeset",
110
- "version": "changeset version",
111
- "release": "pnpm run build && pnpm run lint:package && changeset publish"
123
+ "access": "public"
112
124
  }
113
- }
125
+ }