@pushword/js-helper 0.0.85 → 0.0.87

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.
package/LICENSE CHANGED
File without changes
package/README.md CHANGED
@@ -4,7 +4,7 @@ Some js helpers for Pushword front end.
4
4
 
5
5
  [![Latest Version](https://img.shields.io/github/tag/pushword/pushword.svg?style=flat&label=release)](https://github.com/Pushword/Pushword/tags)
6
6
  [![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat)](LICENSE)
7
- [![GitHub Tests Action Status](https://img.shields.io/github/workflow/status/Pushword/Pushword/Tests?label=tests)](https://github.com/Pushword/Pushword/actions)
7
+ [![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/Pushword/Pushword/run-tests.yml?branch=main)](https://github.com/Pushword/Pushword/actions)
8
8
  [![Quality Score](https://img.shields.io/scrutinizer/g/pushword/pushword.svg?style=flat)](https://scrutinizer-ci.com/g/pushword/pushword)
9
9
  [![Code Coverage](https://codecov.io/gh/Pushword/Pushword/branch/main/graph/badge.svg)](https://codecov.io/gh/Pushword/Pushword/branch/main)
10
10
  [![Type Coverage](https://shepherd.dev/github/pushword/pushword/coverage.svg)](https://shepherd.dev/github/pushword/pushword)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushword/js-helper",
3
- "version": "0.0.85",
3
+ "version": "0.0.87",
4
4
  "description": "Pushword front end helpers. ",
5
5
  "author": "Robin@PiedWeb <contact@piedweb.com>",
6
6
  "license": "MIT",
@@ -9,10 +9,11 @@
9
9
  },
10
10
  "dependencies": {
11
11
  "140.css": "^1.0.1",
12
+ "@babel/core": "^7.20",
13
+ "@babel/preset-env": "^7.22",
12
14
  "@symfony/webpack-encore": "^4.1",
13
15
  "@tailwindcss/aspect-ratio": "^0.4",
14
16
  "@tailwindcss/forms": "^0.5",
15
- "@tailwindcss/line-clamp": "^0.4",
16
17
  "@tailwindcss/typography": "^0.5",
17
18
  "ace-builds": "^1.13",
18
19
  "autoprefixer": "^10.1.0",
@@ -22,14 +23,17 @@
22
23
  "easymde": "^2.13.0",
23
24
  "file-loader": "^6.0",
24
25
  "fslightbox": "^3.2.2",
25
- "sass": "^1.56",
26
26
  "postcss": "^8.4",
27
27
  "postcss-import": "^15.0",
28
28
  "postcss-loader": "^7.0",
29
+ "sass": "^1.56",
30
+ "sass-loader": "^13.3",
29
31
  "simple-jekyll-search": "^1.9.1",
30
32
  "tailwindcss": "^3",
31
- "tailwindcss-hero-patterns": "^0.0.1",
33
+ "tailwindcss-hero-patterns": "^0.1",
32
34
  "tailwindcss-multi-column": "^1.0.2",
35
+ "webpack": "^5.72",
36
+ "webpack-cli": "^4.9.1 || ^5.0.1",
33
37
  "webpack-watch-files-plugin": "^1.1.0"
34
38
  },
35
39
  "repository": {
package/src/app.css CHANGED
File without changes
package/src/app.js CHANGED
@@ -6,6 +6,7 @@ import {
6
6
  convertImageLinkToWebPLink,
7
7
  replaceOn,
8
8
  liveBlock,
9
+ convertFormFromRot13,
9
10
  } from '@pushword/js-helper/src/helpers.js';
10
11
  import { allClickable } from '@pushword/js-helper/src/clickable.js';
11
12
 
@@ -18,6 +19,7 @@ function onDomChanged() {
18
19
  refreshFsLightbox();
19
20
  allClickable('.clickable');
20
21
  addClassForNormalUser();
22
+ convertFormFromRot13();
21
23
  }
22
24
 
23
25
  function onPageLoaded() {
package/src/clickable.js CHANGED
File without changes
package/src/encore.js CHANGED
@@ -66,9 +66,9 @@ module.exports = {
66
66
  outputPath = outputPath ? outputPath : './../public/assets/';
67
67
  publicPath = publicPath ? publicPath : '/assets';
68
68
 
69
- //Encore.configureRuntimeEnvironment('dev');
70
69
 
71
- Encore.setOutputPath(outputPath)
70
+ Encore.configureRuntimeEnvironment(process.env.NODE_ENV || 'dev')
71
+ .setOutputPath(outputPath)
72
72
  .setPublicPath(publicPath)
73
73
  .cleanupOutputBeforeBuild()
74
74
  .enableSassLoader()
package/src/helpers.js CHANGED
File without changes
@@ -27,7 +27,6 @@ module.exports = {
27
27
  require('tailwindcss-multi-column')(),
28
28
  require('@tailwindcss/typography'),
29
29
  require('@tailwindcss/aspect-ratio'),
30
- require('@tailwindcss/line-clamp'),
31
30
  require('@tailwindcss/forms'),
32
31
  plugin(pushwordHelper.twFirstLetterPlugin),
33
32
  plugin(pushwordHelper.twFirstChildPlugin),
File without changes
File without changes