bridgetown-core 0.18.6 → 0.20.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/bridgetown +6 -0
- data/bridgetown-core.gemspec +4 -4
- data/lib/bridgetown-core.rb +46 -13
- data/lib/bridgetown-core/cleaner.rb +7 -1
- data/lib/bridgetown-core/collection.rb +173 -77
- data/lib/bridgetown-core/commands/apply.rb +4 -3
- data/lib/bridgetown-core/commands/base.rb +9 -0
- data/lib/bridgetown-core/commands/concerns/actions.rb +0 -5
- data/lib/bridgetown-core/commands/configure.rb +66 -0
- data/lib/bridgetown-core/commands/console.rb +4 -0
- data/lib/bridgetown-core/commands/new.rb +28 -1
- data/lib/bridgetown-core/commands/plugins.rb +1 -0
- data/lib/bridgetown-core/concerns/data_accessible.rb +1 -0
- data/lib/bridgetown-core/concerns/site/configurable.rb +7 -3
- data/lib/bridgetown-core/concerns/site/content.rb +57 -15
- data/lib/bridgetown-core/concerns/site/processable.rb +1 -0
- data/lib/bridgetown-core/concerns/site/renderable.rb +26 -0
- data/lib/bridgetown-core/concerns/site/writable.rb +11 -1
- data/lib/bridgetown-core/concerns/validatable.rb +1 -0
- data/lib/bridgetown-core/configuration.rb +39 -19
- data/lib/bridgetown-core/configurations/.keep +0 -0
- data/lib/bridgetown-core/configurations/bt-postcss.rb +26 -0
- data/lib/bridgetown-core/configurations/bt-postcss/postcss.config.js +21 -0
- data/lib/bridgetown-core/configurations/minitesting.rb +95 -0
- data/lib/bridgetown-core/configurations/netlify.rb +6 -0
- data/lib/bridgetown-core/configurations/netlify/netlify.sh +14 -0
- data/lib/bridgetown-core/configurations/netlify/netlify.toml +44 -0
- data/lib/bridgetown-core/configurations/purgecss.rb +49 -0
- data/lib/bridgetown-core/configurations/stimulus.rb +49 -0
- data/lib/bridgetown-core/configurations/swup.rb +37 -0
- data/lib/bridgetown-core/configurations/tailwindcss.rb +29 -0
- data/lib/bridgetown-core/configurations/tailwindcss/css_imports.css +4 -0
- data/lib/bridgetown-core/configurations/tailwindcss/postcss.config.js +12 -0
- data/lib/bridgetown-core/configurations/turbo.rb +16 -0
- data/lib/bridgetown-core/converter.rb +14 -0
- data/lib/bridgetown-core/converters/erb_templates.rb +6 -13
- data/lib/bridgetown-core/converters/identity.rb +0 -9
- data/lib/bridgetown-core/converters/markdown.rb +14 -4
- data/lib/bridgetown-core/converters/markdown/kramdown_parser.rb +3 -0
- data/lib/bridgetown-core/current.rb +10 -0
- data/lib/bridgetown-core/document.rb +6 -14
- data/lib/bridgetown-core/drops/collection_drop.rb +1 -1
- data/lib/bridgetown-core/drops/page_drop.rb +4 -0
- data/lib/bridgetown-core/drops/resource_drop.rb +81 -0
- data/lib/bridgetown-core/drops/site_drop.rb +33 -8
- data/lib/bridgetown-core/drops/unified_payload_drop.rb +4 -0
- data/lib/bridgetown-core/entry_filter.rb +10 -23
- data/lib/bridgetown-core/errors.rb +0 -2
- data/lib/bridgetown-core/filters.rb +4 -3
- data/lib/bridgetown-core/generator.rb +2 -1
- data/lib/bridgetown-core/generators/prototype_generator.rb +37 -19
- data/lib/bridgetown-core/layout.rb +2 -2
- data/lib/bridgetown-core/liquid_renderer/file.rb +1 -0
- data/lib/bridgetown-core/liquid_renderer/table.rb +1 -0
- data/lib/bridgetown-core/model/base.rb +138 -0
- data/lib/bridgetown-core/model/builder_origin.rb +40 -0
- data/lib/bridgetown-core/model/file_origin.rb +119 -0
- data/lib/bridgetown-core/model/origin.rb +38 -0
- data/lib/bridgetown-core/page.rb +9 -1
- data/lib/bridgetown-core/plugin.rb +2 -26
- data/lib/bridgetown-core/plugin_manager.rb +0 -2
- data/lib/bridgetown-core/publisher.rb +7 -1
- data/lib/bridgetown-core/reader.rb +25 -12
- data/lib/bridgetown-core/readers/data_reader.rb +3 -4
- data/lib/bridgetown-core/readers/post_reader.rb +1 -1
- data/lib/bridgetown-core/regenerator.rb +8 -1
- data/lib/bridgetown-core/related_posts.rb +1 -1
- data/lib/bridgetown-core/renderer.rb +5 -12
- data/lib/bridgetown-core/resource/base.rb +275 -0
- data/lib/bridgetown-core/resource/destination.rb +49 -0
- data/lib/bridgetown-core/resource/permalink_processor.rb +179 -0
- data/lib/bridgetown-core/resource/taxonomy_term.rb +25 -0
- data/lib/bridgetown-core/resource/taxonomy_type.rb +47 -0
- data/lib/bridgetown-core/resource/transformer.rb +173 -0
- data/lib/bridgetown-core/ruby_template_view.rb +13 -2
- data/lib/bridgetown-core/site.rb +9 -1
- data/lib/bridgetown-core/static_file.rb +33 -10
- data/lib/bridgetown-core/url.rb +1 -0
- data/lib/bridgetown-core/utils.rb +40 -40
- data/lib/bridgetown-core/utils/platforms.rb +1 -0
- data/lib/bridgetown-core/version.rb +2 -2
- data/lib/site_template/README.md +70 -0
- data/lib/site_template/frontend/javascript/index.js.erb +11 -0
- data/lib/site_template/frontend/styles/index.css +19 -0
- data/lib/site_template/{package.json → package.json.erb} +14 -8
- data/lib/site_template/postcss.config.js.erb +11 -0
- data/lib/site_template/src/_components/footer.liquid +1 -1
- data/lib/site_template/src/_posts/0000-00-00-welcome-to-bridgetown.md.erb +1 -1
- data/lib/site_template/{webpack.config.js → webpack.config.js.erb} +47 -5
- metadata +67 -42
- data/lib/bridgetown-core/page_without_a_file.rb +0 -14
- data/lib/bridgetown-core/readers/collection_reader.rb +0 -23
- data/lib/bridgetown-core/utils/exec.rb +0 -26
- data/lib/bridgetown-core/utils/internet.rb +0 -37
- data/lib/bridgetown-core/utils/win_tz.rb +0 -75
- data/lib/site_template/frontend/javascript/index.js +0 -3
@@ -0,0 +1,70 @@
|
|
1
|
+
# Bridgetown Website README
|
2
|
+
|
3
|
+
Welcome to your new Bridgetown website! You can update this README file to provide additional context and setup information for yourself or other contributors.
|
4
|
+
|
5
|
+
## Table of Contents
|
6
|
+
|
7
|
+
- [Prerequisites](#prerequisites)
|
8
|
+
- [Install](#install)
|
9
|
+
- [Development](#development)
|
10
|
+
- [Commands](#commands)
|
11
|
+
- [Deployment](#deployment)
|
12
|
+
- [Contributing](#contributing)
|
13
|
+
|
14
|
+
## Prerequisites
|
15
|
+
|
16
|
+
- [GCC](https://gcc.gnu.org/install/)
|
17
|
+
- [Make](https://www.gnu.org/software/make/)
|
18
|
+
- [Ruby](https://www.ruby-lang.org/en/downloads/)
|
19
|
+
- `>= 2.5`
|
20
|
+
- [Bridgetown Gem](https://rubygems.org/gems/bridgetown)
|
21
|
+
- `gem install bundler bridgetown -N`
|
22
|
+
- [Node](https://nodejs.org)
|
23
|
+
- `>= 10.13`
|
24
|
+
- [Yarn](https://yarnpkg.com)
|
25
|
+
|
26
|
+
## Install
|
27
|
+
|
28
|
+
```sh
|
29
|
+
cd bridgetown-site-folder
|
30
|
+
bundle install && yarn install
|
31
|
+
```
|
32
|
+
> Learn more: [Bridgetown Getting Started Documentation](https://www.bridgetownrb.com/docs/).
|
33
|
+
|
34
|
+
## Development
|
35
|
+
|
36
|
+
To start your site in development mode, run `yarn start` and navigate to [localhost:4000](https://localhost:4000/)!
|
37
|
+
|
38
|
+
Use a [theme](https://github.com/topics/bridgetown-theme), add some [plugins](https://www.bridgetownrb.com/plugins/), and/or run some [automations](https://github.com/topics/bridgetown-automation) to get started quickly.
|
39
|
+
|
40
|
+
### Commands
|
41
|
+
|
42
|
+
```sh
|
43
|
+
# running locally
|
44
|
+
yarn start
|
45
|
+
|
46
|
+
# build & deploy to production
|
47
|
+
yarn deploy
|
48
|
+
|
49
|
+
# load the site up within a Ruby console (IRB)
|
50
|
+
bundle exec bridgetown console
|
51
|
+
```
|
52
|
+
|
53
|
+
> Learn more: [Bridgetown CLI Documentation](https://www.bridgetownrb.com/docs/command-line-usage)
|
54
|
+
|
55
|
+
## Deployment
|
56
|
+
|
57
|
+
You can deploy Bridgetown sites on "Jamstack" hosts (Netlify, Vercel, Render, etc.) or virtually any tranditional web server by simply building and copying the output folder to your HTML root.
|
58
|
+
|
59
|
+
> Read the [Bridgetown Deployment Documentation](https://www.bridgetownrb.com/docs/deployment) for more information.
|
60
|
+
|
61
|
+
## Contributing
|
62
|
+
|
63
|
+
If repo is on GitHub:
|
64
|
+
|
65
|
+
1. Fork it
|
66
|
+
2. Clone the fork using `git clone` to your local development machine.
|
67
|
+
3. Create your feature branch (`git checkout -b my-new-feature`)
|
68
|
+
4. Commit your changes (`git commit -am 'Add some feature'`)
|
69
|
+
5. Push to the branch (`git push origin my-new-feature`)
|
70
|
+
6. Create a new Pull Request
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<% if options["use-postcss"] %>
|
2
|
+
import "index.css"
|
3
|
+
<% else %>
|
4
|
+
import "index.scss"
|
5
|
+
<% end %>
|
6
|
+
|
7
|
+
// Import all javascript files from src/_components
|
8
|
+
const componentsContext = require.context("bridgetownComponents", true, /.js$/)
|
9
|
+
componentsContext.keys().forEach(componentsContext)
|
10
|
+
|
11
|
+
console.info("Bridgetown is loaded!")
|
@@ -0,0 +1,19 @@
|
|
1
|
+
:root {
|
2
|
+
--body-background: #fafafa;
|
3
|
+
--body-color: #444;
|
4
|
+
}
|
5
|
+
|
6
|
+
body {
|
7
|
+
background: var(--body-background);
|
8
|
+
color: var(--body-color);
|
9
|
+
font-family: sans-serif;
|
10
|
+
}
|
11
|
+
|
12
|
+
h1, nav, footer {
|
13
|
+
text-align: center;
|
14
|
+
}
|
15
|
+
|
16
|
+
main {
|
17
|
+
margin: 4rem auto;
|
18
|
+
max-width: 60rem;
|
19
|
+
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
|
-
"name": "
|
2
|
+
"name": "<%= @site_name %>",
|
3
3
|
"version": "1.0.0",
|
4
4
|
"private": true,
|
5
5
|
"scripts": {
|
@@ -21,14 +21,20 @@
|
|
21
21
|
"babel-loader": "^8.1.0",
|
22
22
|
"browser-sync": "^2.26.7",
|
23
23
|
"concurrently": "^5.2.0",
|
24
|
-
"css-loader": "^3.
|
25
|
-
"file-loader": "^6.
|
26
|
-
"mini-css-extract-plugin": "^
|
24
|
+
"css-loader": "^4.3.0",
|
25
|
+
"file-loader": "^6.2.0",
|
26
|
+
"mini-css-extract-plugin": "^1.3.1",
|
27
|
+
<% if options["use-postcss"] %>
|
28
|
+
"postcss": "^8.1.9",
|
29
|
+
"postcss-flexbugs-fixes": "^4.1.0",
|
30
|
+
"postcss-loader": "^4.1.0",
|
31
|
+
"postcss-preset-env": "^6.7.0",
|
32
|
+
<% else %>
|
27
33
|
"node-sass": "^4.13.1",
|
28
|
-
"sass-loader": "^8.0.2",
|
29
|
-
|
30
|
-
"webpack": "^4.
|
34
|
+
"sass-loader": "^8.0.2",
|
35
|
+
<% end %>
|
36
|
+
"webpack": "^4.44.2",
|
31
37
|
"webpack-cli": "^3.3.11",
|
32
|
-
"webpack-manifest-plugin": "^2.
|
38
|
+
"webpack-manifest-plugin": "^2.1.0"
|
33
39
|
}
|
34
40
|
}
|
@@ -23,4 +23,4 @@ print_hi('Tom')
|
|
23
23
|
#=> prints 'Hi, Tom' to STDOUT.
|
24
24
|
````
|
25
25
|
|
26
|
-
Check out the [Bridgetown docs](https://bridgetownrb.com/docs/) for more info on how to get the most out of Bridgetown. File all bugs/feature requests at [Bridgetown’s GitHub repo](https://github.com/bridgetownrb/bridgetown). If you have questions, you can ask them on [Bridgetown
|
26
|
+
Check out the [Bridgetown docs](https://bridgetownrb.com/docs/) for more info on how to get the most out of Bridgetown. File all bugs/feature requests at [Bridgetown’s GitHub repo](https://github.com/bridgetownrb/bridgetown). If you have questions, you can ask them on [Bridgetown Discussions on GitHub](https://github.com/bridgetownrb/bridgetown/discussions).
|
@@ -3,7 +3,9 @@ const MiniCssExtractPlugin = require("mini-css-extract-plugin");
|
|
3
3
|
const ManifestPlugin = require("webpack-manifest-plugin");
|
4
4
|
|
5
5
|
module.exports = {
|
6
|
-
entry:
|
6
|
+
entry: {
|
7
|
+
main: "./frontend/javascript/index.js"
|
8
|
+
},
|
7
9
|
devtool: "source-map",
|
8
10
|
// Set some or all of these to true if you want more verbose logging:
|
9
11
|
stats: {
|
@@ -14,14 +16,22 @@ module.exports = {
|
|
14
16
|
},
|
15
17
|
output: {
|
16
18
|
path: path.resolve(__dirname, "output", "_bridgetown", "static", "js"),
|
17
|
-
filename: "
|
19
|
+
filename: "[name].[contenthash].js",
|
18
20
|
},
|
19
21
|
resolve: {
|
20
22
|
extensions: [".js", ".jsx"],
|
23
|
+
modules: [
|
24
|
+
path.resolve(__dirname, 'frontend', 'javascript'),
|
25
|
+
path.resolve(__dirname, 'frontend', 'styles'),
|
26
|
+
path.resolve('./node_modules')
|
27
|
+
],
|
28
|
+
alias: {
|
29
|
+
bridgetownComponents: path.resolve(__dirname, "src", "_components")
|
30
|
+
}
|
21
31
|
},
|
22
32
|
plugins: [
|
23
33
|
new MiniCssExtractPlugin({
|
24
|
-
filename: "../css/
|
34
|
+
filename: "../css/[name].[contenthash].css",
|
25
35
|
}),
|
26
36
|
new ManifestPlugin({
|
27
37
|
fileName: path.resolve(__dirname, ".bridgetown-webpack", "manifest.json"),
|
@@ -48,11 +58,32 @@ module.exports = {
|
|
48
58
|
},
|
49
59
|
},
|
50
60
|
},
|
61
|
+
<% if options["use-postcss"] %>
|
62
|
+
{
|
63
|
+
test: /\.(s[ac]|c)ss$/,
|
64
|
+
use: [
|
65
|
+
MiniCssExtractPlugin.loader,
|
66
|
+
{
|
67
|
+
loader: "css-loader",
|
68
|
+
options: {
|
69
|
+
url: url => !url.startsWith('/'),
|
70
|
+
importLoaders: 1
|
71
|
+
}
|
72
|
+
},
|
73
|
+
"postcss-loader"
|
74
|
+
],
|
75
|
+
},
|
76
|
+
<% else %>
|
51
77
|
{
|
52
78
|
test: /\.(s[ac]|c)ss$/,
|
53
79
|
use: [
|
54
80
|
MiniCssExtractPlugin.loader,
|
55
|
-
|
81
|
+
{
|
82
|
+
loader: "css-loader",
|
83
|
+
options: {
|
84
|
+
url: url => !url.startsWith('/')
|
85
|
+
}
|
86
|
+
},
|
56
87
|
{
|
57
88
|
loader: "sass-loader",
|
58
89
|
options: {
|
@@ -65,14 +96,25 @@ module.exports = {
|
|
65
96
|
},
|
66
97
|
],
|
67
98
|
},
|
99
|
+
<% end %>
|
68
100
|
{
|
69
|
-
test: /\.woff2?$|\.ttf$|\.eot
|
101
|
+
test: /\.woff2?$|\.ttf$|\.eot$/,
|
70
102
|
loader: "file-loader",
|
71
103
|
options: {
|
104
|
+
name: "[name]-[contenthash].[ext]",
|
72
105
|
outputPath: "../fonts",
|
73
106
|
publicPath: "../fonts",
|
74
107
|
},
|
75
108
|
},
|
109
|
+
{
|
110
|
+
test: /\.png?$|\.gif$|\.jpg$|\.svg$/,
|
111
|
+
loader: "file-loader",
|
112
|
+
options: {
|
113
|
+
name: "[path][name]-[contenthash].[ext]",
|
114
|
+
outputPath: "../",
|
115
|
+
publicPath: "../",
|
116
|
+
},
|
117
|
+
},
|
76
118
|
],
|
77
119
|
},
|
78
120
|
};
|
metadata
CHANGED
@@ -1,15 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bridgetown-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.20.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bridgetown Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-03-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: activemodel
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '6.0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '6.0'
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: activesupport
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -170,14 +184,14 @@ dependencies:
|
|
170
184
|
requirements:
|
171
185
|
- - "~>"
|
172
186
|
- !ruby/object:Gem::Version
|
173
|
-
version: '
|
187
|
+
version: '5.0'
|
174
188
|
type: :runtime
|
175
189
|
prerelease: false
|
176
190
|
version_requirements: !ruby/object:Gem::Requirement
|
177
191
|
requirements:
|
178
192
|
- - "~>"
|
179
193
|
- !ruby/object:Gem::Version
|
180
|
-
version: '
|
194
|
+
version: '5.0'
|
181
195
|
- !ruby/object:Gem::Dependency
|
182
196
|
name: liquid-component
|
183
197
|
requirement: !ruby/object:Gem::Requirement
|
@@ -192,20 +206,6 @@ dependencies:
|
|
192
206
|
- - ">="
|
193
207
|
- !ruby/object:Gem::Version
|
194
208
|
version: '0.1'
|
195
|
-
- !ruby/object:Gem::Dependency
|
196
|
-
name: liquid-render-tag
|
197
|
-
requirement: !ruby/object:Gem::Requirement
|
198
|
-
requirements:
|
199
|
-
- - "~>"
|
200
|
-
- !ruby/object:Gem::Version
|
201
|
-
version: '0.2'
|
202
|
-
type: :runtime
|
203
|
-
prerelease: false
|
204
|
-
version_requirements: !ruby/object:Gem::Requirement
|
205
|
-
requirements:
|
206
|
-
- - "~>"
|
207
|
-
- !ruby/object:Gem::Version
|
208
|
-
version: '0.2'
|
209
209
|
- !ruby/object:Gem::Dependency
|
210
210
|
name: listen
|
211
211
|
requirement: !ruby/object:Gem::Requirement
|
@@ -220,20 +220,6 @@ dependencies:
|
|
220
220
|
- - "~>"
|
221
221
|
- !ruby/object:Gem::Version
|
222
222
|
version: '3.0'
|
223
|
-
- !ruby/object:Gem::Dependency
|
224
|
-
name: pathutil
|
225
|
-
requirement: !ruby/object:Gem::Requirement
|
226
|
-
requirements:
|
227
|
-
- - "~>"
|
228
|
-
- !ruby/object:Gem::Version
|
229
|
-
version: '0.9'
|
230
|
-
type: :runtime
|
231
|
-
prerelease: false
|
232
|
-
version_requirements: !ruby/object:Gem::Requirement
|
233
|
-
requirements:
|
234
|
-
- - "~>"
|
235
|
-
- !ruby/object:Gem::Version
|
236
|
-
version: '0.9'
|
237
223
|
- !ruby/object:Gem::Dependency
|
238
224
|
name: rouge
|
239
225
|
requirement: !ruby/object:Gem::Requirement
|
@@ -282,14 +268,14 @@ dependencies:
|
|
282
268
|
requirements:
|
283
269
|
- - "~>"
|
284
270
|
- !ruby/object:Gem::Version
|
285
|
-
version: '1.
|
271
|
+
version: '1.1'
|
286
272
|
type: :runtime
|
287
273
|
prerelease: false
|
288
274
|
version_requirements: !ruby/object:Gem::Requirement
|
289
275
|
requirements:
|
290
276
|
- - "~>"
|
291
277
|
- !ruby/object:Gem::Version
|
292
|
-
version: '1.
|
278
|
+
version: '1.1'
|
293
279
|
- !ruby/object:Gem::Dependency
|
294
280
|
name: tilt
|
295
281
|
requirement: !ruby/object:Gem::Requirement
|
@@ -304,6 +290,20 @@ dependencies:
|
|
304
290
|
- - "~>"
|
305
291
|
- !ruby/object:Gem::Version
|
306
292
|
version: '2.0'
|
293
|
+
- !ruby/object:Gem::Dependency
|
294
|
+
name: webrick
|
295
|
+
requirement: !ruby/object:Gem::Requirement
|
296
|
+
requirements:
|
297
|
+
- - "~>"
|
298
|
+
- !ruby/object:Gem::Version
|
299
|
+
version: '1.7'
|
300
|
+
type: :runtime
|
301
|
+
prerelease: false
|
302
|
+
version_requirements: !ruby/object:Gem::Requirement
|
303
|
+
requirements:
|
304
|
+
- - "~>"
|
305
|
+
- !ruby/object:Gem::Version
|
306
|
+
version: '1.7'
|
307
307
|
description: Bridgetown is a Webpack-aware, Ruby-powered static site generator for
|
308
308
|
the modern Jamstack era
|
309
309
|
email: maintainers@bridgetownrb.com
|
@@ -328,6 +328,7 @@ files:
|
|
328
328
|
- lib/bridgetown-core/commands/concerns/build_options.rb
|
329
329
|
- lib/bridgetown-core/commands/concerns/configuration_overridable.rb
|
330
330
|
- lib/bridgetown-core/commands/concerns/summarizable.rb
|
331
|
+
- lib/bridgetown-core/commands/configure.rb
|
331
332
|
- lib/bridgetown-core/commands/console.rb
|
332
333
|
- lib/bridgetown-core/commands/doctor.rb
|
333
334
|
- lib/bridgetown-core/commands/new.rb
|
@@ -348,6 +349,20 @@ files:
|
|
348
349
|
- lib/bridgetown-core/concerns/site/writable.rb
|
349
350
|
- lib/bridgetown-core/concerns/validatable.rb
|
350
351
|
- lib/bridgetown-core/configuration.rb
|
352
|
+
- lib/bridgetown-core/configurations/.keep
|
353
|
+
- lib/bridgetown-core/configurations/bt-postcss.rb
|
354
|
+
- lib/bridgetown-core/configurations/bt-postcss/postcss.config.js
|
355
|
+
- lib/bridgetown-core/configurations/minitesting.rb
|
356
|
+
- lib/bridgetown-core/configurations/netlify.rb
|
357
|
+
- lib/bridgetown-core/configurations/netlify/netlify.sh
|
358
|
+
- lib/bridgetown-core/configurations/netlify/netlify.toml
|
359
|
+
- lib/bridgetown-core/configurations/purgecss.rb
|
360
|
+
- lib/bridgetown-core/configurations/stimulus.rb
|
361
|
+
- lib/bridgetown-core/configurations/swup.rb
|
362
|
+
- lib/bridgetown-core/configurations/tailwindcss.rb
|
363
|
+
- lib/bridgetown-core/configurations/tailwindcss/css_imports.css
|
364
|
+
- lib/bridgetown-core/configurations/tailwindcss/postcss.config.js
|
365
|
+
- lib/bridgetown-core/configurations/turbo.rb
|
351
366
|
- lib/bridgetown-core/converter.rb
|
352
367
|
- lib/bridgetown-core/converters/erb_templates.rb
|
353
368
|
- lib/bridgetown-core/converters/identity.rb
|
@@ -355,6 +370,7 @@ files:
|
|
355
370
|
- lib/bridgetown-core/converters/markdown.rb
|
356
371
|
- lib/bridgetown-core/converters/markdown/kramdown_parser.rb
|
357
372
|
- lib/bridgetown-core/converters/smartypants.rb
|
373
|
+
- lib/bridgetown-core/current.rb
|
358
374
|
- lib/bridgetown-core/deprecator.rb
|
359
375
|
- lib/bridgetown-core/document.rb
|
360
376
|
- lib/bridgetown-core/drops/bridgetown_drop.rb
|
@@ -363,6 +379,7 @@ files:
|
|
363
379
|
- lib/bridgetown-core/drops/drop.rb
|
364
380
|
- lib/bridgetown-core/drops/excerpt_drop.rb
|
365
381
|
- lib/bridgetown-core/drops/page_drop.rb
|
382
|
+
- lib/bridgetown-core/drops/resource_drop.rb
|
366
383
|
- lib/bridgetown-core/drops/site_drop.rb
|
367
384
|
- lib/bridgetown-core/drops/static_file_drop.rb
|
368
385
|
- lib/bridgetown-core/drops/unified_payload_drop.rb
|
@@ -390,14 +407,16 @@ files:
|
|
390
407
|
- lib/bridgetown-core/log_adapter.rb
|
391
408
|
- lib/bridgetown-core/log_writer.rb
|
392
409
|
- lib/bridgetown-core/mime.types
|
410
|
+
- lib/bridgetown-core/model/base.rb
|
411
|
+
- lib/bridgetown-core/model/builder_origin.rb
|
412
|
+
- lib/bridgetown-core/model/file_origin.rb
|
413
|
+
- lib/bridgetown-core/model/origin.rb
|
393
414
|
- lib/bridgetown-core/page.rb
|
394
|
-
- lib/bridgetown-core/page_without_a_file.rb
|
395
415
|
- lib/bridgetown-core/path_manager.rb
|
396
416
|
- lib/bridgetown-core/plugin.rb
|
397
417
|
- lib/bridgetown-core/plugin_manager.rb
|
398
418
|
- lib/bridgetown-core/publisher.rb
|
399
419
|
- lib/bridgetown-core/reader.rb
|
400
|
-
- lib/bridgetown-core/readers/collection_reader.rb
|
401
420
|
- lib/bridgetown-core/readers/data_reader.rb
|
402
421
|
- lib/bridgetown-core/readers/defaults_reader.rb
|
403
422
|
- lib/bridgetown-core/readers/layout_reader.rb
|
@@ -408,6 +427,12 @@ files:
|
|
408
427
|
- lib/bridgetown-core/regenerator.rb
|
409
428
|
- lib/bridgetown-core/related_posts.rb
|
410
429
|
- lib/bridgetown-core/renderer.rb
|
430
|
+
- lib/bridgetown-core/resource/base.rb
|
431
|
+
- lib/bridgetown-core/resource/destination.rb
|
432
|
+
- lib/bridgetown-core/resource/permalink_processor.rb
|
433
|
+
- lib/bridgetown-core/resource/taxonomy_term.rb
|
434
|
+
- lib/bridgetown-core/resource/taxonomy_type.rb
|
435
|
+
- lib/bridgetown-core/resource/transformer.rb
|
411
436
|
- lib/bridgetown-core/ruby_template_view.rb
|
412
437
|
- lib/bridgetown-core/site.rb
|
413
438
|
- lib/bridgetown-core/static_file.rb
|
@@ -424,22 +449,22 @@ files:
|
|
424
449
|
- lib/bridgetown-core/url.rb
|
425
450
|
- lib/bridgetown-core/utils.rb
|
426
451
|
- lib/bridgetown-core/utils/ansi.rb
|
427
|
-
- lib/bridgetown-core/utils/exec.rb
|
428
|
-
- lib/bridgetown-core/utils/internet.rb
|
429
452
|
- lib/bridgetown-core/utils/platforms.rb
|
430
453
|
- lib/bridgetown-core/utils/ruby_exec.rb
|
431
454
|
- lib/bridgetown-core/utils/thread_event.rb
|
432
|
-
- lib/bridgetown-core/utils/win_tz.rb
|
433
455
|
- lib/bridgetown-core/version.rb
|
434
456
|
- lib/bridgetown-core/watcher.rb
|
435
457
|
- lib/site_template/.gitignore
|
436
458
|
- lib/site_template/Gemfile.erb
|
459
|
+
- lib/site_template/README.md
|
437
460
|
- lib/site_template/bridgetown.config.yml
|
438
|
-
- lib/site_template/frontend/javascript/index.js
|
461
|
+
- lib/site_template/frontend/javascript/index.js.erb
|
462
|
+
- lib/site_template/frontend/styles/index.css
|
439
463
|
- lib/site_template/frontend/styles/index.scss
|
440
|
-
- lib/site_template/package.json
|
464
|
+
- lib/site_template/package.json.erb
|
441
465
|
- lib/site_template/plugins/builders/.keep
|
442
466
|
- lib/site_template/plugins/site_builder.rb
|
467
|
+
- lib/site_template/postcss.config.js.erb
|
443
468
|
- lib/site_template/src/404.html
|
444
469
|
- lib/site_template/src/_components/footer.liquid
|
445
470
|
- lib/site_template/src/_components/head.liquid
|
@@ -457,7 +482,7 @@ files:
|
|
457
482
|
- lib/site_template/src/posts.md
|
458
483
|
- lib/site_template/start.js
|
459
484
|
- lib/site_template/sync.js
|
460
|
-
- lib/site_template/webpack.config.js
|
485
|
+
- lib/site_template/webpack.config.js.erb
|
461
486
|
homepage: https://www.bridgetownrb.com
|
462
487
|
licenses:
|
463
488
|
- MIT
|