You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2021/06/07 09:38:34 UTC
[myfaces-tobago] branch master updated: build: integrate jsf js via
npm
This is an automated email from the ASF dual-hosted git repository.
lofwyr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git
The following commit(s) were added to refs/heads/master by this push:
new 1803a88 build: integrate jsf js via npm
1803a88 is described below
commit 1803a88216a664868bc8537a1aa271d7b521633e
Author: Udo Schnurpfeil <ud...@irian.eu>
AuthorDate: Mon Jun 7 09:40:07 2021 +0200
build: integrate jsf js via npm
issues: TOBAGO-2018
---
tobago-theme/package-lock.json | 15 +++++++++++++++
tobago-theme/package.json | 4 +++-
2 files changed, 18 insertions(+), 1 deletion(-)
diff --git a/tobago-theme/package-lock.json b/tobago-theme/package-lock.json
index 420cdd8..034cc82 100644
--- a/tobago-theme/package-lock.json
+++ b/tobago-theme/package-lock.json
@@ -4450,6 +4450,15 @@
"integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==",
"dev": true
},
+ "jsf.js_next_gen": {
+ "version": "1.0.0-beta-1",
+ "resolved": "https://registry.npmjs.org/jsf.js_next_gen/-/jsf.js_next_gen-1.0.0-beta-1.tgz",
+ "integrity": "sha512-qxUQoGRnAydep7DT4qH7SUInuOpVZKA5UoWxh+vOoL8SLkR2JYqsnzcghpUsy7/P2ZgEuPCUQy3YI7hu7Rt5qQ==",
+ "dev": true,
+ "requires": {
+ "mona-dish": "0.20.3"
+ }
+ },
"json-parse-better-errors": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz",
@@ -4854,6 +4863,12 @@
"integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==",
"dev": true
},
+ "mona-dish": {
+ "version": "0.20.3",
+ "resolved": "https://registry.npmjs.org/mona-dish/-/mona-dish-0.20.3.tgz",
+ "integrity": "sha512-rpq5hE/ckhR1iX3P233S4k1nXUcFUmIhnpVutb/Mb0K203fvXXkJD07t9twbTNsQ1RHcXHaJ7SnUmw8N7reV2w==",
+ "dev": true
+ },
"ms": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
diff --git a/tobago-theme/package.json b/tobago-theme/package.json
index 491696a..737860d 100644
--- a/tobago-theme/package.json
+++ b/tobago-theme/package.json
@@ -30,7 +30,7 @@
},
"homepage": "https://myfaces.apache.org/tobago/",
"scripts": {
- "build": "npm-run-all --parallel test ts css bi",
+ "build": "npm-run-all --parallel test jsf-js ts css bi",
"css": "npm-run-all --parallel css-compile-* css-prefix-* css-minify-*",
"css-compile-standard": "sass --style expanded --source-map --embed-sources --no-error-css --load-path=./ tobago-theme-standard/src/main/scss/tobago-theme.scss:tobago-theme-standard/src/main/css/tobago.css",
"css-prefix-standard": "postcss --config postcss.config.js --replace tobago-theme-standard/src/main/css/tobago.css",
@@ -48,6 +48,7 @@
"css-prefix-charlotteville": "postcss --config postcss.config.js --replace tobago-theme-charlotteville/src/main/css/tobago.css",
"css-minify-charlotteville": "cleancss -O1 specialComments:0 --format breakWith=lf --source-map --source-map-inline-sources --output tobago-theme-charlotteville/src/main/css/tobago.min.css tobago-theme-charlotteville/src/main/css/tobago.css",
"bi": "cpy --parents --cwd=node_modules/bootstrap-icons/font bootstrap-icons.css fonts ../../../tobago-theme-standard/src/main/css",
+ "jsf-js": "cpy --parents --cwd=node_modules/jsf.js_next_gen/dist/window jsf.js jsf.js.map jsf-development.js jsf-development.js.map ../../../../tobago-theme-standard/src/main/js",
"ts": "npm-run-all ts-lint rollup",
"ts-lint": "eslint 'tobago-theme-standard/src/main/ts/**/*.ts'",
"ts-compile": "tsc --project tsconfig.development.json",
@@ -77,6 +78,7 @@
"eslint": "^7.27.0",
"eslint-plugin-compat": "^3.9.0",
"jest": "^26.6.3",
+ "jsf.js_next_gen": "^1.0.0-beta-1",
"lodash": "^4.17.21",
"npm-run-all": "^4.1.5",
"postcss": "^8.3.0",