forked from pool/perl-Mojolicious-Plugin-Webpack
Compare commits
10 Commits
6e8d5d37bd
...
adda8796e4
Author | SHA256 | Date | |
---|---|---|---|
adda8796e4 | |||
96c85d7fbd | |||
1175de90ff | |||
6db0b42ecf | |||
7e1df70b49 | |||
466f0fa56c | |||
a16220c572 | |||
0ee54c35ea | |||
|
5dabe4de5f | ||
|
09cb2ce2aa |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2ffc4509a839a96a743485412c27fe0f4214141a6834bdda7a3fe9c06e84e8ac
|
||||
size 152996
|
3
Mojolicious-Plugin-Webpack-1.02.tar.gz
Normal file
3
Mojolicious-Plugin-Webpack-1.02.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:444cea8a8399aae7a5ad6b7c890ff216093c58ceae6b1c8a065efb7010b7ce7d
|
||||
size 281315
|
28
cpanspec.yml
Normal file
28
cpanspec.yml
Normal file
@@ -0,0 +1,28 @@
|
||||
---
|
||||
description_paragraphs: 4
|
||||
#description: |-
|
||||
# override description from CPAN
|
||||
#summary: override summary from CPAN
|
||||
#no_testing: broken upstream
|
||||
#sources:
|
||||
# - source1
|
||||
# - source2
|
||||
#patches:
|
||||
# foo.patch: -p1
|
||||
# bar.patch:
|
||||
#preamble: |-
|
||||
# BuildRequires: gcc-c++
|
||||
#post_prep: |-
|
||||
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
||||
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
||||
#post_build: |-
|
||||
# rm unused.files
|
||||
#post_install: |-
|
||||
# sed on %{name}.files
|
||||
#license: SUSE-NonFree
|
||||
#skip_noarch: 1
|
||||
#custom_build: |-
|
||||
#./Build build flags=%{?_smp_mflags} --myflag
|
||||
#custom_test: |-
|
||||
#startserver && make test
|
||||
#ignore_requires: Bizarre::Module
|
@@ -1,3 +1,91 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 30 03:07:15 UTC 2022 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
- updated to 1.02
|
||||
see /usr/share/doc/packages/perl-Mojolicious-Plugin-Webpack/Changes
|
||||
|
||||
1.02 2022-07-29T10:45:50+0900
|
||||
- Fix "pnpm init -y" is not a valid command
|
||||
- Fix installing both devDependencies and dependencies #14 #15
|
||||
Contributor: Daniel Mantovani
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 25 03:08:00 UTC 2021 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
- updated to 1.01
|
||||
see /usr/share/doc/packages/perl-Mojolicious-Plugin-Webpack/Changes
|
||||
|
||||
1.01 2021-05-25T07:36:24+0900
|
||||
- Removed need for assets/asset_map.mode.json
|
||||
- Add support for mojo webpack --build
|
||||
|
||||
1.00 2021-05-24T15:17:08+0900
|
||||
- Add Mojo::Alien::npm
|
||||
- Add Mojo::Alien::rollup
|
||||
- Add Mojo::Alien::webpack
|
||||
- Made Mojo::Alien::npm compatible with https://pnpm.io/
|
||||
- Improved dependency tracking in ./node_modules
|
||||
- Rewrote Plugin::Webpack using new Mojo::Alien:: modules
|
||||
- Updated examples to match "alien" modules
|
||||
- Fix being able to include images and other processed assets #7
|
||||
- Fix vulnerabilities reported by GitHub #12
|
||||
- Fix CI Ubuntu workflow
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 21 03:07:55 UTC 2020 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
- updated to 0.14
|
||||
see /usr/share/doc/packages/perl-Mojolicious-Plugin-Webpack/Changes
|
||||
|
||||
0.14 2020-12-21T09:42:41+0900
|
||||
- Fix route warnings issued by latest Mojolicious
|
||||
- Will install new node modules present in "dependencies"
|
||||
- Migrated to webpack 5
|
||||
Contributor: Daniel Mantovani
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 9 09:49:54 UTC 2020 - Tina Müller <tina.mueller@suse.com>
|
||||
|
||||
- Limit description paragraphs
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 7 03:11:51 UTC 2020 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
- updated to 0.13
|
||||
see /usr/share/doc/packages/perl-Mojolicious-Plugin-Webpack/Changes
|
||||
|
||||
0.13 2020-09-07T10:10:24+0900
|
||||
- Fix "sass-loader" options #4
|
||||
- Removed support for "shim"
|
||||
- Improved documentation
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 8 08:05:23 UTC 2019 - <timueller+perl@suse.de>
|
||||
|
||||
- updated to 0.12
|
||||
see /usr/share/doc/packages/perl-Mojolicious-Plugin-Webpack/Changes
|
||||
|
||||
0.12 2019-10-07T07:02:11+0900
|
||||
- Renamed every ".dev." file to ".development." #2
|
||||
|
||||
0.11 2019-10-05T22:12:07+0900
|
||||
- Will skip entries in generated HTML file that does not match current mode.
|
||||
|
||||
0.10 2019-10-02T15:35:43+0900
|
||||
- Add support for custom "npm" binary
|
||||
- Need to look in "devDependencies" as well to skip install of node module
|
||||
- Will only install modules once
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 21 05:15:22 UTC 2019 - Stephan Kulow <coolo@suse.com>
|
||||
|
||||
- updated to 0.09
|
||||
see /usr/share/doc/packages/perl-Mojolicious-Plugin-Webpack/Changes
|
||||
|
||||
0.09 2019-05-20T22:37:42+0200
|
||||
- Add support for rollup.js
|
||||
- Changed the EXPERIMENTAL statement
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun May 5 09:20:01 UTC 2019 - Stephan Kulow <coolo@suse.com>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Mojolicious-Plugin-Webpack
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,41 +16,45 @@
|
||||
#
|
||||
|
||||
|
||||
Name: perl-Mojolicious-Plugin-Webpack
|
||||
Version: 0.08
|
||||
Release: 0
|
||||
%define cpan_name Mojolicious-Plugin-Webpack
|
||||
Summary: Mojolicious ♥ Webpack
|
||||
Name: perl-Mojolicious-Plugin-Webpack
|
||||
Version: 1.02
|
||||
Release: 0
|
||||
License: Artistic-2.0
|
||||
Group: Development/Libraries/Perl
|
||||
Url: https://metacpan.org/release/%{cpan_name}
|
||||
Summary: Mojolicious ♥ Webpack
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/J/JH/JHTHORSEN/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(File::chdir) >= 0.10
|
||||
BuildRequires: perl(Mojolicious) >= 8.00
|
||||
BuildRequires: perl(Test::More) >= 0.88
|
||||
Requires: perl(File::chdir) >= 0.10
|
||||
Requires: perl(Mojolicious) >= 8.00
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
Mojolicious::Plugin::Webpack is a Mojolicious plugin to make it easier to
|
||||
work with https://webpack.js.org/. This means that this is mostly a
|
||||
developer tool. This point is emphasized by installing a "shim" so your
|
||||
application does not depend on this plugin at all when running in
|
||||
production. See Mojolicious::Plugin::Webpack::Builder/PLUGIN SHIM for more
|
||||
information.
|
||||
work with https://webpack.js.org/ or https://rollupjs.org/. This plugin
|
||||
will...
|
||||
|
||||
Note that Mojolicious::Plugin::Webpack is currently EXPERIMENTAL, and
|
||||
changes might come without a warning.
|
||||
* 1.
|
||||
|
||||
Generate a minimal 'package.json' and a Webpack or Rollup config file.
|
||||
Doing this manually is possible, but it can be quite time consuming to
|
||||
figure out all the bits and pieces if you are not already familiar with
|
||||
Webpack.
|
||||
|
||||
* 2.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
%autosetup -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%check
|
||||
make test
|
||||
@@ -61,7 +65,6 @@ make test
|
||||
%perl_gen_filelist
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes example
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user