Initial commit

This commit is contained in:
Roman Rizzi 2023-02-17 11:33:47 -03:00 committed by GitHub
commit 2b319d9077
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
24 changed files with 3121 additions and 0 deletions

0
.discourse-compatibility Normal file
View File

3
.eslintrc Normal file
View File

@ -0,0 +1,3 @@
{
"extends": "eslint-config-discourse"
}

11
.github/workflows/discourse-plugin.yml vendored Normal file
View File

@ -0,0 +1,11 @@
name: Discourse Plugin
on:
push:
branches:
- main
pull_request:
jobs:
ci:
uses: discourse/.github/.github/workflows/discourse-plugin.yml@v1

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
node_modules
/gems
/auto_generated

1
.prettierrc Normal file
View File

@ -0,0 +1 @@
{}

2
.rubocop.yml Normal file
View File

@ -0,0 +1,2 @@
inherit_gem:
rubocop-discourse: stree-compat.yml

2
.streerc Normal file
View File

@ -0,0 +1,2 @@
--print-width=100
--plugins=plugin/trailing_comma,disable_ternary

4
.template-lintrc.js Normal file
View File

@ -0,0 +1,4 @@
module.exports = {
plugins: ["ember-template-lint-plugin-discourse"],
extends: "discourse:recommended",
};

9
Gemfile Normal file
View File

@ -0,0 +1,9 @@
# frozen_string_literal: true
source "https://rubygems.org"
group :development do
gem "rubocop-discourse"
gem "syntax_tree"
gem "syntax_tree-disable_ternary"
end

50
Gemfile.lock Normal file
View File

@ -0,0 +1,50 @@
GEM
remote: https://rubygems.org/
specs:
ast (2.4.2)
json (2.6.2)
parallel (1.22.1)
parser (3.1.2.1)
ast (~> 2.4.1)
prettier_print (1.2.0)
rainbow (3.1.1)
regexp_parser (2.6.0)
rexml (3.2.5)
rubocop (1.36.0)
json (~> 2.3)
parallel (~> 1.10)
parser (>= 3.1.2.1)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.20.1, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 3.0)
rubocop-ast (1.21.0)
parser (>= 3.1.1.0)
rubocop-discourse (3.0)
rubocop (>= 1.1.0)
rubocop-rspec (>= 2.0.0)
rubocop-rspec (2.13.2)
rubocop (~> 1.33)
ruby-progressbar (1.11.0)
syntax_tree (5.1.0)
prettier_print (>= 1.2.0)
syntax_tree-disable_ternary (1.0.0)
unicode-display_width (2.3.0)
PLATFORMS
arm64-darwin-20
ruby
x86_64-darwin-18
x86_64-darwin-19
x86_64-darwin-20
x86_64-linux
DEPENDENCIES
rubocop-discourse
syntax_tree
syntax_tree-disable_ternary
BUNDLED WITH
2.3.10

21
LICENSE Normal file
View File

@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) 2021 Civilized Discourse Construction Kit
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

5
README.md Normal file
View File

@ -0,0 +1,5 @@
# **Plugin Name** Plugin
**Plugin Summary**
For more information, please see: **url to meta topic**

0
app/.gitkeep Normal file
View File

View File

View File

View File

@ -0,0 +1,4 @@
en:
js:
discourse_plugin_name:
placeholder: placeholder

View File

@ -0,0 +1 @@
en:

4
config/settings.yml Normal file
View File

@ -0,0 +1,4 @@
plugins:
plugin_name_enabled:
default: true
client: true

0
db/.gitkeep Normal file
View File

10
package.json Normal file
View File

@ -0,0 +1,10 @@
{
"name": "discourse-plugin-name",
"version": "0.0.1",
"repository": "TODO",
"author": "Discourse",
"license": "MIT",
"devDependencies": {
"eslint-config-discourse": "^3.1.0"
}
}

12
plugin.rb Normal file
View File

@ -0,0 +1,12 @@
# frozen_string_literal: true
# name: discourse-plugin-name
# about: TODO
# version: 0.0.1
# authors: Discourse
# url: TODO
# required_version: 2.7.0
enabled_site_setting :plugin_name_enabled
after_initialize {}

0
spec/.gitkeep Normal file
View File

View File

2979
yarn.lock Normal file

File diff suppressed because it is too large Load Diff