bridgetown-core 1.3.0.beta2 → 1.3.0.beta3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 58cbef52cc9ace0226b8a2ba380589287678d686684bf4d81e5889a6d3ed25bc
4
- data.tar.gz: 14a1a0f631574b0df1e9844660eeff2a6e5e50ad53b998991a3b9a636654a05f
3
+ metadata.gz: ec81158ce54460fb44c4296bae6c3eb75c95c627492c6fe5891cbd853089a13c
4
+ data.tar.gz: e22e4e4cfd9b4c27a5eefefd1670e43c99badb7eb9c8be96105b47e024324543
5
5
  SHA512:
6
- metadata.gz: 520791c7e08bdc24e4af37ac399bc0a2d73d939b8ea229188b162f90063b05e394e254dabfa7d529db2d41018bc2bf0fee62b5591a14961a2f88fd40d47a1ddc
7
- data.tar.gz: d623c999cb2ceadcacbed1b1dfbdfd365dd3b705e5583037cb23398d0519301d0052e20b9005b3ab0ce75d0b8c6143abc46f352fbeec7313eef1c8864da6ec57
6
+ metadata.gz: 6130dec47320b9b66406afbb6e98e5851ceba1664292c37be8d02a800c9e95a6c9678ccbc5c822dc2f64497e0b9b0826c0956dd72ab81c2526b9fb499b3d13a5
7
+ data.tar.gz: ac1d0032d102186ae07d41997bd29541bf96eb3e7aee7aa6ca25df8da5b3cebef18ebb7cb3d51c1ef58270df68c65d126271b55bb822f8fdd046927ccfee68b5
@@ -1,8 +1,5 @@
1
1
  const build = require("./config/esbuild.defaults.js")
2
2
 
3
- // Update this if you need to configure a destination folder other than `output`
4
- const outputFolder = "output"
5
-
6
3
  // You can customize this as you wish, perhaps to add new esbuild plugins.
7
4
  //
8
5
  // ```
@@ -39,8 +36,8 @@ const esbuildOptions = {
39
36
  // add new plugins here...
40
37
  ],
41
38
  globOptions: {
42
- excludeFilter: /\.(dsd|lit)\.(css|js)$/
39
+ excludeFilter: /\.(dsd|lit)\.css$/
43
40
  }
44
41
  }
45
42
 
46
- build(outputFolder, esbuildOptions)
43
+ build(esbuildOptions)
@@ -283,11 +283,11 @@ const bridgetownConfigured = (bridgetownConfig, outputFolder) => {
283
283
  // Load the PostCSS config from postcss.config.js or whatever else is a supported location/format
284
284
  const postcssrc = require("postcss-load-config")
285
285
 
286
- module.exports = async (esbuildOptions) => {
286
+ module.exports = async (esbuildOptions, ...args) => {
287
287
  let outputFolder;
288
288
  if (typeof esbuildOptions === "string") { // legacy syntax where first argument is output folder
289
- esbuildOptions = arguments[1]
290
- outputFolder = arguments[0]
289
+ outputFolder = esbuildOptions
290
+ esbuildOptions = args[0]
291
291
  }
292
292
  const bridgetownConfig = bridgetownConfigured(esbuildOptions.bridgetownConfig, outputFolder)
293
293
 
@@ -11,9 +11,9 @@ end
11
11
 
12
12
  say_status :lit, "Installing Lit + SSR Plugin..."
13
13
 
14
- add_gem "bridgetown-lit-renderer", version: "2.1.0.beta1"
14
+ add_gem "bridgetown-lit-renderer", version: "2.1.0.beta2"
15
15
 
16
- run "yarn add lit esbuild-plugin-lit-css bridgetown-lit-renderer@2.1.0-beta1"
16
+ run "yarn add lit esbuild-plugin-lit-css bridgetown-lit-renderer@2.1.0-beta2"
17
17
 
18
18
  copy_file in_templates_dir("lit-ssr.config.js"), "config/lit-ssr.config.js"
19
19
  copy_file in_templates_dir("lit-components-entry.js"), "config/lit-components-entry.js"
@@ -30,7 +30,7 @@ end
30
30
  insert_into_file "esbuild.config.js",
31
31
  after: " plugins: [" do
32
32
  <<-JS
33
- plugins: [...plugins],
33
+ ...plugins,
34
34
  JS
35
35
  end
36
36
 
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Bridgetown
4
- VERSION = "1.3.0.beta2"
4
+ VERSION = "1.3.0.beta3"
5
5
  CODE_NAME = "Kelly Butte"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bridgetown-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0.beta2
4
+ version: 1.3.0.beta3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bridgetown Team