This commit is contained in:
Rodolphe Marbot 2022-06-03 13:56:58 +02:00
parent bea29624ab
commit 81a9f68a22
58 changed files with 280 additions and 815 deletions

210
.credo.exs Normal file
View File

@ -0,0 +1,210 @@
# This file contains the configuration for Credo and you are probably reading
# this after creating it with `mix credo.gen.config`.
#
# If you find anything wrong or unclear in this file, please report an
# issue on GitHub: https://github.com/rrrene/credo/issues
#
%{
#
# You can have as many configs as you like in the `configs:` field.
configs: [
%{
#
# Run any config using `mix credo -C <name>`. If no config name is given
# "default" is used.
#
name: "default",
#
# These are the files included in the analysis:
files: %{
#
# You can give explicit globs or simply directories.
# In the latter case `**/*.{ex,exs}` will be used.
#
included: [
"lib/",
"src/",
"test/",
"web/",
"apps/*/lib/",
"apps/*/src/",
"apps/*/test/",
"apps/*/web/"
],
excluded: [~r"/_build/", ~r"/deps/", ~r"/node_modules/"]
},
#
# Load and configure plugins here:
#
plugins: [],
#
# If you create your own checks, you must specify the source files for
# them here, so they can be loaded by Credo before running the analysis.
#
requires: [],
#
# If you want to enforce a style guide and need a more traditional linting
# experience, you can change `strict` to `true` below:
#
strict: false,
#
# To modify the timeout for parsing files, change this value:
#
parse_timeout: 5000,
#
# If you want to use uncolored output by default, you can change `color`
# to `false` below:
#
color: true,
#
# You can customize the parameters of any check by adding a second element
# to the tuple.
#
# To disable a check put `false` as second element:
#
# {Credo.Check.Design.DuplicatedCode, false}
#
checks: %{
enabled: [
#
## Consistency Checks
#
{Credo.Check.Consistency.ExceptionNames, []},
{Credo.Check.Consistency.LineEndings, []},
{Credo.Check.Consistency.ParameterPatternMatching, []},
{Credo.Check.Consistency.SpaceAroundOperators, []},
{Credo.Check.Consistency.SpaceInParentheses, []},
{Credo.Check.Consistency.TabsOrSpaces, []},
#
## Design Checks
#
# You can customize the priority of any check
# Priority values are: `low, normal, high, higher`
#
{Credo.Check.Design.AliasUsage,
[priority: :low, if_nested_deeper_than: 2, if_called_more_often_than: 0]},
# You can also customize the exit_status of each check.
# If you don't want TODO comments to cause `mix credo` to fail, just
# set this value to 0 (zero).
#
{Credo.Check.Design.TagTODO, [exit_status: 2]},
{Credo.Check.Design.TagFIXME, []},
#
## Readability Checks
#
{Credo.Check.Readability.AliasOrder, []},
{Credo.Check.Readability.FunctionNames, []},
{Credo.Check.Readability.LargeNumbers, []},
{Credo.Check.Readability.MaxLineLength, [priority: :low, max_length: 120]},
{Credo.Check.Readability.ModuleAttributeNames, []},
{Credo.Check.Readability.ModuleDoc, []},
{Credo.Check.Readability.ModuleNames, []},
{Credo.Check.Readability.ParenthesesInCondition, []},
{Credo.Check.Readability.ParenthesesOnZeroArityDefs, []},
{Credo.Check.Readability.PipeIntoAnonymousFunctions, []},
{Credo.Check.Readability.PredicateFunctionNames, []},
{Credo.Check.Readability.PreferImplicitTry, []},
{Credo.Check.Readability.RedundantBlankLines, []},
{Credo.Check.Readability.Semicolons, []},
{Credo.Check.Readability.SpaceAfterCommas, []},
{Credo.Check.Readability.StringSigils, []},
{Credo.Check.Readability.TrailingBlankLine, []},
{Credo.Check.Readability.TrailingWhiteSpace, []},
{Credo.Check.Readability.UnnecessaryAliasExpansion, []},
{Credo.Check.Readability.VariableNames, []},
{Credo.Check.Readability.WithSingleClause, []},
#
## Refactoring Opportunities
#
{Credo.Check.Refactor.Apply, []},
{Credo.Check.Refactor.CondStatements, []},
{Credo.Check.Refactor.CyclomaticComplexity, []},
{Credo.Check.Refactor.FunctionArity, []},
{Credo.Check.Refactor.LongQuoteBlocks, []},
{Credo.Check.Refactor.MatchInCondition, []},
{Credo.Check.Refactor.MapJoin, []},
{Credo.Check.Refactor.NegatedConditionsInUnless, []},
{Credo.Check.Refactor.NegatedConditionsWithElse, []},
{Credo.Check.Refactor.Nesting, []},
{Credo.Check.Refactor.UnlessWithElse, []},
{Credo.Check.Refactor.WithClauses, []},
{Credo.Check.Refactor.FilterFilter, []},
{Credo.Check.Refactor.RejectReject, []},
{Credo.Check.Refactor.RedundantWithClauseResult, []},
#
## Warnings
#
{Credo.Check.Warning.ApplicationConfigInModuleAttribute, []},
{Credo.Check.Warning.BoolOperationOnSameValues, []},
{Credo.Check.Warning.ExpensiveEmptyEnumCheck, []},
{Credo.Check.Warning.IExPry, []},
{Credo.Check.Warning.IoInspect, []},
{Credo.Check.Warning.OperationOnSameValues, []},
{Credo.Check.Warning.OperationWithConstantResult, []},
{Credo.Check.Warning.RaiseInsideRescue, []},
{Credo.Check.Warning.SpecWithStruct, []},
{Credo.Check.Warning.WrongTestFileExtension, []},
{Credo.Check.Warning.UnusedEnumOperation, []},
{Credo.Check.Warning.UnusedFileOperation, []},
{Credo.Check.Warning.UnusedKeywordOperation, []},
{Credo.Check.Warning.UnusedListOperation, []},
{Credo.Check.Warning.UnusedPathOperation, []},
{Credo.Check.Warning.UnusedRegexOperation, []},
{Credo.Check.Warning.UnusedStringOperation, []},
{Credo.Check.Warning.UnusedTupleOperation, []},
{Credo.Check.Warning.UnsafeExec, []}
],
disabled: [
#
# Checks scheduled for next check update (opt-in for now, just replace `false` with `[]`)
#
# Controversial and experimental checks (opt-in, just move the check to `:enabled`
# and be sure to use `mix credo --strict` to see low priority checks)
#
{Credo.Check.Consistency.MultiAliasImportRequireUse, []},
{Credo.Check.Consistency.UnusedVariableNames, []},
{Credo.Check.Design.DuplicatedCode, []},
{Credo.Check.Design.SkipTestWithoutComment, []},
{Credo.Check.Readability.AliasAs, []},
{Credo.Check.Readability.BlockPipe, []},
{Credo.Check.Readability.ImplTrue, []},
{Credo.Check.Readability.MultiAlias, []},
{Credo.Check.Readability.NestedFunctionCalls, []},
{Credo.Check.Readability.SeparateAliasRequire, []},
{Credo.Check.Readability.SingleFunctionToBlockPipe, []},
{Credo.Check.Readability.SinglePipe, []},
{Credo.Check.Readability.Specs, []},
{Credo.Check.Readability.StrictModuleLayout, []},
{Credo.Check.Readability.WithCustomTaggedTuple, []},
{Credo.Check.Refactor.ABCSize, []},
{Credo.Check.Refactor.AppendSingleItem, []},
{Credo.Check.Refactor.DoubleBooleanNegation, []},
{Credo.Check.Refactor.FilterReject, []},
{Credo.Check.Refactor.IoPuts, []},
{Credo.Check.Refactor.MapMap, []},
{Credo.Check.Refactor.ModuleDependencies, []},
{Credo.Check.Refactor.NegatedIsNil, []},
{Credo.Check.Refactor.PipeChainStart, []},
{Credo.Check.Refactor.RejectFilter, []},
{Credo.Check.Refactor.VariableRebinding, []},
{Credo.Check.Warning.LazyLogging, []},
{Credo.Check.Warning.LeakyEnvironment, []},
{Credo.Check.Warning.MapGetUnsafePass, []},
{Credo.Check.Warning.MixEnv, []},
{Credo.Check.Warning.UnsafeToAtom, []}
# {Credo.Check.Refactor.MapInto, []},
#
# Custom checks can be created using `mix credo.gen.check`.
#
]
}
}
]
}

3
.gitignore vendored
View File

@ -31,4 +31,5 @@ reaproche-*.tar
# In case you use Node.js/npm, you want to ignore these.
npm-debug.log
/assets/node_modules/
/.idea/
reaproche.iml

8
.idea/.gitignore vendored
View File

@ -1,8 +0,0 @@
# Default ignored files
/shelf/
/workspace.xml
# Editor-based HTTP Client requests
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml

View File

@ -1,7 +0,0 @@
<component name="libraryTable">
<library name="bypass" type="mix">
<CLASSES />
<JAVADOC />
<SOURCES />
</library>
</component>

View File

@ -1,25 +0,0 @@
<component name="libraryTable">
<library name="castore" type="mix">
<CLASSES>
<root url="file://$PROJECT_DIR$/_build/dev/lib/castore/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/castore/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/castore/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/castore/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/castore/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/castore/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/castore/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/castore/ebin" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="file://$PROJECT_DIR$/deps/castore/lib" />
<root url="file://$PROJECT_DIR$/deps/castore/priv" />
<root url="file://$PROJECT_DIR$/deps/castore/lib" />
<root url="file://$PROJECT_DIR$/deps/castore/priv" />
<root url="file://$PROJECT_DIR$/deps/castore/lib" />
<root url="file://$PROJECT_DIR$/deps/castore/priv" />
<root url="file://$PROJECT_DIR$/deps/castore/lib" />
<root url="file://$PROJECT_DIR$/deps/castore/priv" />
</SOURCES>
</library>
</component>

View File

@ -1,7 +0,0 @@
<component name="libraryTable">
<library name="circular_buffer" type="mix">
<CLASSES />
<JAVADOC />
<SOURCES />
</library>
</component>

View File

@ -1,21 +0,0 @@
<component name="libraryTable">
<library name="cowboy" type="mix">
<CLASSES>
<root url="file://$PROJECT_DIR$/_build/dev/lib/cowboy/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/cowboy/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/cowboy/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/cowboy/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/cowboy/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/cowboy/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/cowboy/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/cowboy/ebin" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="file://$PROJECT_DIR$/deps/cowboy/src" />
<root url="file://$PROJECT_DIR$/deps/cowboy/src" />
<root url="file://$PROJECT_DIR$/deps/cowboy/src" />
<root url="file://$PROJECT_DIR$/deps/cowboy/src" />
</SOURCES>
</library>
</component>

View File

@ -1,21 +0,0 @@
<component name="libraryTable">
<library name="cowboy_telemetry" type="mix">
<CLASSES>
<root url="file://$PROJECT_DIR$/_build/dev/lib/cowboy_telemetry/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/cowboy_telemetry/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/cowboy_telemetry/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/cowboy_telemetry/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/cowboy_telemetry/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/cowboy_telemetry/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/cowboy_telemetry/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/cowboy_telemetry/ebin" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="file://$PROJECT_DIR$/deps/cowboy_telemetry/src" />
<root url="file://$PROJECT_DIR$/deps/cowboy_telemetry/src" />
<root url="file://$PROJECT_DIR$/deps/cowboy_telemetry/src" />
<root url="file://$PROJECT_DIR$/deps/cowboy_telemetry/src" />
</SOURCES>
</library>
</component>

View File

@ -1,21 +0,0 @@
<component name="libraryTable">
<library name="cowlib" type="mix">
<CLASSES>
<root url="file://$PROJECT_DIR$/_build/dev/lib/cowlib/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/cowlib/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/cowlib/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/cowlib/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/cowlib/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/cowlib/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/cowlib/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/cowlib/ebin" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="file://$PROJECT_DIR$/deps/cowlib/src" />
<root url="file://$PROJECT_DIR$/deps/cowlib/src" />
<root url="file://$PROJECT_DIR$/deps/cowlib/src" />
<root url="file://$PROJECT_DIR$/deps/cowlib/src" />
</SOURCES>
</library>
</component>

View File

@ -1,7 +0,0 @@
<component name="libraryTable">
<library name="dialyxir" type="mix">
<CLASSES />
<JAVADOC />
<SOURCES />
</library>
</component>

View File

@ -1,7 +0,0 @@
<component name="libraryTable">
<library name="ecto" type="mix">
<CLASSES />
<JAVADOC />
<SOURCES />
</library>
</component>

View File

@ -1,7 +0,0 @@
<component name="libraryTable">
<library name="ecto_mysql_extras" type="mix">
<CLASSES />
<JAVADOC />
<SOURCES />
</library>
</component>

View File

@ -1,7 +0,0 @@
<component name="libraryTable">
<library name="ecto_psql_extras" type="mix">
<CLASSES />
<JAVADOC />
<SOURCES />
</library>
</component>

View File

@ -1,7 +0,0 @@
<component name="libraryTable">
<library name="ecto_sql" type="mix">
<CLASSES />
<JAVADOC />
<SOURCES />
</library>
</component>

View File

@ -1,21 +0,0 @@
<component name="libraryTable">
<library name="esbuild" type="mix">
<CLASSES>
<root url="file://$PROJECT_DIR$/_build/dev/lib/esbuild/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/esbuild/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/esbuild/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/esbuild/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/esbuild/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/esbuild/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/esbuild/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/esbuild/ebin" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="file://$PROJECT_DIR$/deps/esbuild/lib" />
<root url="file://$PROJECT_DIR$/deps/esbuild/lib" />
<root url="file://$PROJECT_DIR$/deps/esbuild/lib" />
<root url="file://$PROJECT_DIR$/deps/esbuild/lib" />
</SOURCES>
</library>
</component>

View File

@ -1,7 +0,0 @@
<component name="libraryTable">
<library name="ex_doc" type="mix">
<CLASSES />
<JAVADOC />
<SOURCES />
</library>
</component>

View File

@ -1,7 +0,0 @@
<component name="libraryTable">
<library name="excoveralls" type="mix">
<CLASSES />
<JAVADOC />
<SOURCES />
</library>
</component>

View File

@ -1,29 +0,0 @@
<component name="libraryTable">
<library name="file_system" type="mix">
<CLASSES>
<root url="file://$PROJECT_DIR$/_build/dev/lib/file_system/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/file_system/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/file_system/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/file_system/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/file_system/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/file_system/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/file_system/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/file_system/ebin" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="file://$PROJECT_DIR$/deps/file_system/lib" />
<root url="file://$PROJECT_DIR$/deps/file_system/priv" />
<root url="file://$PROJECT_DIR$/deps/file_system/c_src" />
<root url="file://$PROJECT_DIR$/deps/file_system/lib" />
<root url="file://$PROJECT_DIR$/deps/file_system/priv" />
<root url="file://$PROJECT_DIR$/deps/file_system/c_src" />
<root url="file://$PROJECT_DIR$/deps/file_system/lib" />
<root url="file://$PROJECT_DIR$/deps/file_system/priv" />
<root url="file://$PROJECT_DIR$/deps/file_system/c_src" />
<root url="file://$PROJECT_DIR$/deps/file_system/lib" />
<root url="file://$PROJECT_DIR$/deps/file_system/priv" />
<root url="file://$PROJECT_DIR$/deps/file_system/c_src" />
</SOURCES>
</library>
</component>

View File

@ -1,7 +0,0 @@
<component name="libraryTable">
<library name="finch" type="mix">
<CLASSES />
<JAVADOC />
<SOURCES />
</library>
</component>

View File

@ -1,16 +0,0 @@
<component name="libraryTable">
<library name="floki" type="mix">
<CLASSES />
<JAVADOC />
<SOURCES>
<root url="file://$PROJECT_DIR$/deps/floki/lib" />
<root url="file://$PROJECT_DIR$/deps/floki/src" />
<root url="file://$PROJECT_DIR$/deps/floki/lib" />
<root url="file://$PROJECT_DIR$/deps/floki/src" />
<root url="file://$PROJECT_DIR$/deps/floki/lib" />
<root url="file://$PROJECT_DIR$/deps/floki/src" />
<root url="file://$PROJECT_DIR$/deps/floki/lib" />
<root url="file://$PROJECT_DIR$/deps/floki/src" />
</SOURCES>
</library>
</component>

View File

@ -1,7 +0,0 @@
<component name="libraryTable">
<library name="gen_smtp" type="mix">
<CLASSES />
<JAVADOC />
<SOURCES />
</library>
</component>

View File

@ -1,25 +0,0 @@
<component name="libraryTable">
<library name="gettext" type="mix">
<CLASSES>
<root url="file://$PROJECT_DIR$/_build/dev/lib/gettext/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/gettext/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/gettext/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/gettext/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/gettext/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/gettext/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/gettext/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/gettext/ebin" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="file://$PROJECT_DIR$/deps/gettext/lib" />
<root url="file://$PROJECT_DIR$/deps/gettext/src" />
<root url="file://$PROJECT_DIR$/deps/gettext/lib" />
<root url="file://$PROJECT_DIR$/deps/gettext/src" />
<root url="file://$PROJECT_DIR$/deps/gettext/lib" />
<root url="file://$PROJECT_DIR$/deps/gettext/src" />
<root url="file://$PROJECT_DIR$/deps/gettext/lib" />
<root url="file://$PROJECT_DIR$/deps/gettext/src" />
</SOURCES>
</library>
</component>

View File

@ -1,7 +0,0 @@
<component name="libraryTable">
<library name="hackney" type="mix">
<CLASSES />
<JAVADOC />
<SOURCES />
</library>
</component>

View File

@ -1,12 +0,0 @@
<component name="libraryTable">
<library name="html_entities" type="mix">
<CLASSES />
<JAVADOC />
<SOURCES>
<root url="file://$PROJECT_DIR$/deps/html_entities/lib" />
<root url="file://$PROJECT_DIR$/deps/html_entities/lib" />
<root url="file://$PROJECT_DIR$/deps/html_entities/lib" />
<root url="file://$PROJECT_DIR$/deps/html_entities/lib" />
</SOURCES>
</library>
</component>

View File

@ -1,21 +0,0 @@
<component name="libraryTable">
<library name="jason" type="mix">
<CLASSES>
<root url="file://$PROJECT_DIR$/_build/dev/lib/jason/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/jason/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/jason/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/jason/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/jason/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/jason/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/jason/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/jason/ebin" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="file://$PROJECT_DIR$/deps/jason/lib" />
<root url="file://$PROJECT_DIR$/deps/jason/lib" />
<root url="file://$PROJECT_DIR$/deps/jason/lib" />
<root url="file://$PROJECT_DIR$/deps/jason/lib" />
</SOURCES>
</library>
</component>

View File

@ -1,7 +0,0 @@
<component name="libraryTable">
<library name="kadabra" type="mix">
<CLASSES />
<JAVADOC />
<SOURCES />
</library>
</component>

View File

@ -1,7 +0,0 @@
<component name="libraryTable">
<library name="mail" type="mix">
<CLASSES />
<JAVADOC />
<SOURCES />
</library>
</component>

View File

@ -1,7 +0,0 @@
<component name="libraryTable">
<library name="makeup_eex" type="mix">
<CLASSES />
<JAVADOC />
<SOURCES />
</library>
</component>

View File

@ -1,21 +0,0 @@
<component name="libraryTable">
<library name="mime" type="mix">
<CLASSES>
<root url="file://$PROJECT_DIR$/_build/dev/lib/mime/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/mime/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/mime/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/mime/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/mime/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/mime/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/mime/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/mime/ebin" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="file://$PROJECT_DIR$/deps/mime/lib" />
<root url="file://$PROJECT_DIR$/deps/mime/lib" />
<root url="file://$PROJECT_DIR$/deps/mime/lib" />
<root url="file://$PROJECT_DIR$/deps/mime/lib" />
</SOURCES>
</library>
</component>

View File

@ -1,25 +0,0 @@
<component name="libraryTable">
<library name="phoenix" type="mix">
<CLASSES>
<root url="file://$PROJECT_DIR$/_build/dev/lib/phoenix/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/phoenix/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/phoenix/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/phoenix/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/phoenix/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/phoenix/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/phoenix/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/phoenix/ebin" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="file://$PROJECT_DIR$/deps/phoenix/lib" />
<root url="file://$PROJECT_DIR$/deps/phoenix/priv" />
<root url="file://$PROJECT_DIR$/deps/phoenix/lib" />
<root url="file://$PROJECT_DIR$/deps/phoenix/priv" />
<root url="file://$PROJECT_DIR$/deps/phoenix/lib" />
<root url="file://$PROJECT_DIR$/deps/phoenix/priv" />
<root url="file://$PROJECT_DIR$/deps/phoenix/lib" />
<root url="file://$PROJECT_DIR$/deps/phoenix/priv" />
</SOURCES>
</library>
</component>

View File

@ -1,25 +0,0 @@
<component name="libraryTable">
<library name="phoenix_html" type="mix">
<CLASSES>
<root url="file://$PROJECT_DIR$/_build/dev/lib/phoenix_html/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/phoenix_html/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/phoenix_html/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/phoenix_html/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/phoenix_html/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/phoenix_html/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/phoenix_html/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/phoenix_html/ebin" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="file://$PROJECT_DIR$/deps/phoenix_html/lib" />
<root url="file://$PROJECT_DIR$/deps/phoenix_html/priv" />
<root url="file://$PROJECT_DIR$/deps/phoenix_html/lib" />
<root url="file://$PROJECT_DIR$/deps/phoenix_html/priv" />
<root url="file://$PROJECT_DIR$/deps/phoenix_html/lib" />
<root url="file://$PROJECT_DIR$/deps/phoenix_html/priv" />
<root url="file://$PROJECT_DIR$/deps/phoenix_html/lib" />
<root url="file://$PROJECT_DIR$/deps/phoenix_html/priv" />
</SOURCES>
</library>
</component>

View File

@ -1,21 +0,0 @@
<component name="libraryTable">
<library name="phoenix_live_dashboard" type="mix">
<CLASSES>
<root url="file://$PROJECT_DIR$/_build/dev/lib/phoenix_live_dashboard/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/phoenix_live_dashboard/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/phoenix_live_dashboard/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/phoenix_live_dashboard/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/phoenix_live_dashboard/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/phoenix_live_dashboard/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/phoenix_live_dashboard/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/phoenix_live_dashboard/ebin" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="file://$PROJECT_DIR$/deps/phoenix_live_dashboard/lib" />
<root url="file://$PROJECT_DIR$/deps/phoenix_live_dashboard/lib" />
<root url="file://$PROJECT_DIR$/deps/phoenix_live_dashboard/lib" />
<root url="file://$PROJECT_DIR$/deps/phoenix_live_dashboard/lib" />
</SOURCES>
</library>
</component>

View File

@ -1,25 +0,0 @@
<component name="libraryTable">
<library name="phoenix_live_reload" type="mix">
<CLASSES>
<root url="file://$PROJECT_DIR$/_build/dev/lib/phoenix_live_reload/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/phoenix_live_reload/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/phoenix_live_reload/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/phoenix_live_reload/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/phoenix_live_reload/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/phoenix_live_reload/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/phoenix_live_reload/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/phoenix_live_reload/ebin" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="file://$PROJECT_DIR$/deps/phoenix_live_reload/lib" />
<root url="file://$PROJECT_DIR$/deps/phoenix_live_reload/priv" />
<root url="file://$PROJECT_DIR$/deps/phoenix_live_reload/lib" />
<root url="file://$PROJECT_DIR$/deps/phoenix_live_reload/priv" />
<root url="file://$PROJECT_DIR$/deps/phoenix_live_reload/lib" />
<root url="file://$PROJECT_DIR$/deps/phoenix_live_reload/priv" />
<root url="file://$PROJECT_DIR$/deps/phoenix_live_reload/lib" />
<root url="file://$PROJECT_DIR$/deps/phoenix_live_reload/priv" />
</SOURCES>
</library>
</component>

View File

@ -1,25 +0,0 @@
<component name="libraryTable">
<library name="phoenix_live_view" type="mix">
<CLASSES>
<root url="file://$PROJECT_DIR$/_build/dev/lib/phoenix_live_view/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/phoenix_live_view/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/phoenix_live_view/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/phoenix_live_view/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/phoenix_live_view/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/phoenix_live_view/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/phoenix_live_view/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/phoenix_live_view/ebin" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="file://$PROJECT_DIR$/deps/phoenix_live_view/lib" />
<root url="file://$PROJECT_DIR$/deps/phoenix_live_view/priv" />
<root url="file://$PROJECT_DIR$/deps/phoenix_live_view/lib" />
<root url="file://$PROJECT_DIR$/deps/phoenix_live_view/priv" />
<root url="file://$PROJECT_DIR$/deps/phoenix_live_view/lib" />
<root url="file://$PROJECT_DIR$/deps/phoenix_live_view/priv" />
<root url="file://$PROJECT_DIR$/deps/phoenix_live_view/lib" />
<root url="file://$PROJECT_DIR$/deps/phoenix_live_view/priv" />
</SOURCES>
</library>
</component>

View File

@ -1,21 +0,0 @@
<component name="libraryTable">
<library name="phoenix_pubsub" type="mix">
<CLASSES>
<root url="file://$PROJECT_DIR$/_build/dev/lib/phoenix_pubsub/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/phoenix_pubsub/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/phoenix_pubsub/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/phoenix_pubsub/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/phoenix_pubsub/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/phoenix_pubsub/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/phoenix_pubsub/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/phoenix_pubsub/ebin" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="file://$PROJECT_DIR$/deps/phoenix_pubsub/lib" />
<root url="file://$PROJECT_DIR$/deps/phoenix_pubsub/lib" />
<root url="file://$PROJECT_DIR$/deps/phoenix_pubsub/lib" />
<root url="file://$PROJECT_DIR$/deps/phoenix_pubsub/lib" />
</SOURCES>
</library>
</component>

View File

@ -1,21 +0,0 @@
<component name="libraryTable">
<library name="phoenix_view" type="mix">
<CLASSES>
<root url="file://$PROJECT_DIR$/_build/dev/lib/phoenix_view/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/phoenix_view/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/phoenix_view/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/phoenix_view/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/phoenix_view/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/phoenix_view/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/phoenix_view/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/phoenix_view/ebin" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="file://$PROJECT_DIR$/deps/phoenix_view/lib" />
<root url="file://$PROJECT_DIR$/deps/phoenix_view/lib" />
<root url="file://$PROJECT_DIR$/deps/phoenix_view/lib" />
<root url="file://$PROJECT_DIR$/deps/phoenix_view/lib" />
</SOURCES>
</library>
</component>

View File

@ -1,7 +0,0 @@
<component name="libraryTable">
<library name="phx_new" type="mix">
<CLASSES />
<JAVADOC />
<SOURCES />
</library>
</component>

View File

@ -1,25 +0,0 @@
<component name="libraryTable">
<library name="plug" type="mix">
<CLASSES>
<root url="file://$PROJECT_DIR$/_build/dev/lib/plug/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/plug/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/plug/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/plug/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/plug/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/plug/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/plug/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/plug/ebin" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="file://$PROJECT_DIR$/deps/plug/lib" />
<root url="file://$PROJECT_DIR$/deps/plug/src" />
<root url="file://$PROJECT_DIR$/deps/plug/lib" />
<root url="file://$PROJECT_DIR$/deps/plug/src" />
<root url="file://$PROJECT_DIR$/deps/plug/lib" />
<root url="file://$PROJECT_DIR$/deps/plug/src" />
<root url="file://$PROJECT_DIR$/deps/plug/lib" />
<root url="file://$PROJECT_DIR$/deps/plug/src" />
</SOURCES>
</library>
</component>

View File

@ -1,21 +0,0 @@
<component name="libraryTable">
<library name="plug_cowboy" type="mix">
<CLASSES>
<root url="file://$PROJECT_DIR$/_build/dev/lib/plug_cowboy/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/plug_cowboy/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/plug_cowboy/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/plug_cowboy/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/plug_cowboy/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/plug_cowboy/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/plug_cowboy/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/plug_cowboy/ebin" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="file://$PROJECT_DIR$/deps/plug_cowboy/lib" />
<root url="file://$PROJECT_DIR$/deps/plug_cowboy/lib" />
<root url="file://$PROJECT_DIR$/deps/plug_cowboy/lib" />
<root url="file://$PROJECT_DIR$/deps/plug_cowboy/lib" />
</SOURCES>
</library>
</component>

View File

@ -1,21 +0,0 @@
<component name="libraryTable">
<library name="plug_crypto" type="mix">
<CLASSES>
<root url="file://$PROJECT_DIR$/_build/dev/lib/plug_crypto/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/plug_crypto/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/plug_crypto/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/plug_crypto/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/plug_crypto/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/plug_crypto/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/plug_crypto/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/plug_crypto/ebin" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="file://$PROJECT_DIR$/deps/plug_crypto/lib" />
<root url="file://$PROJECT_DIR$/deps/plug_crypto/lib" />
<root url="file://$PROJECT_DIR$/deps/plug_crypto/lib" />
<root url="file://$PROJECT_DIR$/deps/plug_crypto/lib" />
</SOURCES>
</library>
</component>

View File

@ -1,21 +0,0 @@
<component name="libraryTable">
<library name="ranch" type="mix">
<CLASSES>
<root url="file://$PROJECT_DIR$/_build/dev/lib/ranch/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/ranch/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/ranch/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/ranch/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/ranch/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/ranch/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/ranch/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/ranch/ebin" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="file://$PROJECT_DIR$/deps/ranch/src" />
<root url="file://$PROJECT_DIR$/deps/ranch/src" />
<root url="file://$PROJECT_DIR$/deps/ranch/src" />
<root url="file://$PROJECT_DIR$/deps/ranch/src" />
</SOURCES>
</library>
</component>

View File

@ -1,7 +0,0 @@
<component name="libraryTable">
<library name="stream_data" type="mix">
<CLASSES />
<JAVADOC />
<SOURCES />
</library>
</component>

View File

@ -1,21 +0,0 @@
<component name="libraryTable">
<library name="swoosh" type="mix">
<CLASSES>
<root url="file://$PROJECT_DIR$/_build/dev/lib/swoosh/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/swoosh/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/swoosh/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/swoosh/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/swoosh/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/swoosh/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/swoosh/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/swoosh/ebin" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="file://$PROJECT_DIR$/deps/swoosh/lib" />
<root url="file://$PROJECT_DIR$/deps/swoosh/lib" />
<root url="file://$PROJECT_DIR$/deps/swoosh/lib" />
<root url="file://$PROJECT_DIR$/deps/swoosh/lib" />
</SOURCES>
</library>
</component>

View File

@ -1,21 +0,0 @@
<component name="libraryTable">
<library name="telemetry" type="mix">
<CLASSES>
<root url="file://$PROJECT_DIR$/_build/dev/lib/telemetry/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/telemetry/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/telemetry/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/telemetry/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/telemetry/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/telemetry/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/telemetry/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/telemetry/ebin" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="file://$PROJECT_DIR$/deps/telemetry/src" />
<root url="file://$PROJECT_DIR$/deps/telemetry/src" />
<root url="file://$PROJECT_DIR$/deps/telemetry/src" />
<root url="file://$PROJECT_DIR$/deps/telemetry/src" />
</SOURCES>
</library>
</component>

View File

@ -1,21 +0,0 @@
<component name="libraryTable">
<library name="telemetry_metrics" type="mix">
<CLASSES>
<root url="file://$PROJECT_DIR$/_build/dev/lib/telemetry_metrics/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/telemetry_metrics/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/telemetry_metrics/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/telemetry_metrics/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/telemetry_metrics/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/telemetry_metrics/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/telemetry_metrics/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/telemetry_metrics/ebin" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="file://$PROJECT_DIR$/deps/telemetry_metrics/lib" />
<root url="file://$PROJECT_DIR$/deps/telemetry_metrics/lib" />
<root url="file://$PROJECT_DIR$/deps/telemetry_metrics/lib" />
<root url="file://$PROJECT_DIR$/deps/telemetry_metrics/lib" />
</SOURCES>
</library>
</component>

View File

@ -1,21 +0,0 @@
<component name="libraryTable">
<library name="telemetry_poller" type="mix">
<CLASSES>
<root url="file://$PROJECT_DIR$/_build/dev/lib/telemetry_poller/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/telemetry_poller/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/telemetry_poller/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/telemetry_poller/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/telemetry_poller/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/telemetry_poller/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/telemetry_poller/ebin" />
<root url="file://$PROJECT_DIR$/_build/dev/lib/telemetry_poller/ebin" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="file://$PROJECT_DIR$/deps/telemetry_poller/src" />
<root url="file://$PROJECT_DIR$/deps/telemetry_poller/src" />
<root url="file://$PROJECT_DIR$/deps/telemetry_poller/src" />
<root url="file://$PROJECT_DIR$/deps/telemetry_poller/src" />
</SOURCES>
</library>
</component>

View File

@ -1,7 +0,0 @@
<component name="libraryTable">
<library name="websocket_client" type="mix">
<CLASSES />
<JAVADOC />
<SOURCES />
</library>
</component>

View File

@ -1,7 +0,0 @@
<component name="libraryTable">
<library name="x509" type="mix">
<CLASSES />
<JAVADOC />
<SOURCES />
</library>
</component>

View File

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" languageLevel="JDK_11" default="true" project-jdk-name="Elixir at /usr/lib/elixir" project-jdk-type="Elixir SDK">
<output url="file://$PROJECT_DIR$/classes" />
</component>
</project>

View File

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/reaproche.iml" filepath="$PROJECT_DIR$/reaproche.iml" />
</modules>
</component>
</project>

View File

@ -1,6 +1,7 @@
// We import the CSS which is extracted to its own file by esbuild.
// Remove this line if you add a your own CSS build pipeline (e.g postcss).
import "../css/app.css"
import Alpine from "alpinejs"
// If you want to use Phoenix channels, run `mix help phx.gen.channel`
// to get started and then uncomment the line below.
@ -25,10 +26,21 @@ import "phoenix_html"
import {Socket} from "phoenix"
import {LiveSocket} from "phoenix_live_view"
import topbar from "../vendor/topbar"
window.Alpine = Alpine;
Alpine.start();
let hooks = {};
let csrfToken = document.querySelector("meta[name='csrf-token']").getAttribute("content")
let liveSocket = new LiveSocket("/live", Socket, {params: {_csrf_token: csrfToken}})
let liveSocket = new LiveSocket("/live", Socket, {
params: { _csrf_token: csrfToken },
hooks: hooks,
dom: {
onBeforeElUpdated(from, to) {
if (from._x_dataStack) {
window.Alpine.clone(from, to);
}
},
},
});
// Show progress bar on live navigation and form submits
topbar.config({barColors: {0: "#29d"}, shadowColor: "rgba(0, 0, 0, .3)"})
window.addEventListener("phx:page-loading-start", info => topbar.show())

15
assets/package.json Normal file
View File

@ -0,0 +1,15 @@
{
"name": "assets",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"alpinejs": "^3.10.2"
}
}

25
assets/pnpm-lock.yaml Normal file
View File

@ -0,0 +1,25 @@
lockfileVersion: 5.4
specifiers:
alpinejs: ^3.10.2
dependencies:
alpinejs: 3.10.2
packages:
/@vue/reactivity/3.1.5:
resolution: {integrity: sha512-1tdfLmNjWG6t/CsPldh+foumYFo3cpyCHgBYQ34ylaMsJ+SNHQ1kApMIa8jN+i593zQuaw3AdWH0nJTARzCFhg==}
dependencies:
'@vue/shared': 3.1.5
dev: false
/@vue/shared/3.1.5:
resolution: {integrity: sha512-oJ4F3TnvpXaQwZJNF3ZK+kLPHKarDmJjJ6jyzVNDKH9md1dptjC7lWR//jrGuLdek/U6iltWxqAnYOu8gCiOvA==}
dev: false
/alpinejs/3.10.2:
resolution: {integrity: sha512-P6DTX78J94FgsskS3eS23s26hfb0NWQZUidBnkUK7fId1x64/kLm5E79lL3HNItUmHDCKOHvfP8EAcuCVab89w==}
dependencies:
'@vue/reactivity': 3.1.5
dev: false

View File

@ -20,7 +20,7 @@
<% end %>
</ul>
</nav>
<a href="https://phoenixframework.org/" class="phx-logo">
<a href="https://reaproche.fr/" class="phx-logo">
<img src={Routes.static_path(@conn, "/images/phoenix.png")} alt="Phoenix Framework Logo"/>
</a>
</section>

View File

@ -40,4 +40,12 @@
</li>
</ul>
</article>
<section>
<h2>Alpine JS Installed</h2>
<div x-data="{name:''}">
<label for="name">Name:</label>
<input id="name" type="text" x-model="name" />
<p><br><b><em>Output:</em></b> <span x-text="name"/></p>
</div>
</section>
</section>

View File

@ -45,7 +45,8 @@ defmodule Reaproche.MixProject do
{:telemetry_poller, "~> 1.0"},
{:gettext, "~> 0.18"},
{:jason, "~> 1.2"},
{:plug_cowboy, "~> 2.5"}
{:plug_cowboy, "~> 2.5"},
{:credo, "~> 1.6"}
]
end

View File

@ -1,8 +1,10 @@
%{
"bunt": {:hex, :bunt, "0.2.0", "951c6e801e8b1d2cbe58ebbd3e616a869061ddadcc4863d0a2182541acae9a38", [:mix], [], "hexpm", "7af5c7e09fe1d40f76c8e4f9dd2be7cebd83909f31fee7cd0e9eadc567da8353"},
"castore": {:hex, :castore, "0.1.16", "2675f717adc700475345c5512c381ef9273eb5df26bdd3f8c13e2636cf4cc175", [:mix], [], "hexpm", "28ed2c43d83b5c25d35c51bc0abf229ac51359c170cba76171a462ced2e4b651"},
"cowboy": {:hex, :cowboy, "2.9.0", "865dd8b6607e14cf03282e10e934023a1bd8be6f6bacf921a7e2a96d800cd452", [:make, :rebar3], [{:cowlib, "2.11.0", [hex: :cowlib, repo: "hexpm", optional: false]}, {:ranch, "1.8.0", [hex: :ranch, repo: "hexpm", optional: false]}], "hexpm", "2c729f934b4e1aa149aff882f57c6372c15399a20d54f65c8d67bef583021bde"},
"cowboy_telemetry": {:hex, :cowboy_telemetry, "0.4.0", "f239f68b588efa7707abce16a84d0d2acf3a0f50571f8bb7f56a15865aae820c", [:rebar3], [{:cowboy, "~> 2.7", [hex: :cowboy, repo: "hexpm", optional: false]}, {:telemetry, "~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "7d98bac1ee4565d31b62d59f8823dfd8356a169e7fcbb83831b8a5397404c9de"},
"cowlib": {:hex, :cowlib, "2.11.0", "0b9ff9c346629256c42ebe1eeb769a83c6cb771a6ee5960bd110ab0b9b872063", [:make, :rebar3], [], "hexpm", "2b3e9da0b21c4565751a6d4901c20d1b4cc25cbb7fd50d91d2ab6dd287bc86a9"},
"credo": {:hex, :credo, "1.6.4", "ddd474afb6e8c240313f3a7b0d025cc3213f0d171879429bf8535d7021d9ad78", [:mix], [{:bunt, "~> 0.2.0", [hex: :bunt, repo: "hexpm", optional: false]}, {:file_system, "~> 0.2.8", [hex: :file_system, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "c28f910b61e1ff829bffa056ef7293a8db50e87f2c57a9b5c3f57eee124536b7"},
"esbuild": {:hex, :esbuild, "0.4.0", "9f17db148aead4cf1e6e6a584214357287a93407b5fb51a031f122b61385d4c2", [:mix], [{:castore, ">= 0.0.0", [hex: :castore, repo: "hexpm", optional: false]}], "hexpm", "b61e4e6b92ffe45e4ee4755a22de6211a67c67987dc02afb35a425a0add1d447"},
"file_system": {:hex, :file_system, "0.2.10", "fb082005a9cd1711c05b5248710f8826b02d7d1784e7c3451f9c1231d4fc162d", [:mix], [], "hexpm", "41195edbfb562a593726eda3b3e8b103a309b733ad25f3d642ba49696bf715dc"},
"floki": {:hex, :floki, "0.32.1", "dfe3b8db3b793939c264e6f785bca01753d17318d144bd44b407fb3493acaa87", [:mix], [{:html_entities, "~> 0.5.0", [hex: :html_entities, repo: "hexpm", optional: false]}], "hexpm", "d4b91c713e4a784a3f7b1e3cc016eefc619f6b1c3898464222867cafd3c681a3"},

View File

@ -1,86 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="ELIXIR_MODULE" version="4">
<component name="NewModuleRootManager">
<output url="file://$MODULE_DIR$/_build/dev/lib/reaproche/ebin" />
<output-test url="file://$MODULE_DIR$/_build/test/lib/reaproche/ebin" />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/lib" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/spec" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/test" isTestSource="true" />
<excludeFolder url="file://$MODULE_DIR$/assets/node_modules/phoenix" />
<excludeFolder url="file://$MODULE_DIR$/assets/node_modules/phoenix_html" />
<excludeFolder url="file://$MODULE_DIR$/cover" />
<excludeFolder url="file://$MODULE_DIR$/deps" />
<excludeFolder url="file://$MODULE_DIR$/doc" />
<excludeFolder url="file://$MODULE_DIR$/logs" />
<excludeFolder url="file://$MODULE_DIR$/_build/dev/lib/mime" />
<excludeFolder url="file://$MODULE_DIR$/_build/dev/lib/plug" />
<excludeFolder url="file://$MODULE_DIR$/_build/dev/lib/jason" />
<excludeFolder url="file://$MODULE_DIR$/_build/dev/lib/ranch" />
<excludeFolder url="file://$MODULE_DIR$/_build/dev/lib/cowboy" />
<excludeFolder url="file://$MODULE_DIR$/_build/dev/lib/cowlib" />
<excludeFolder url="file://$MODULE_DIR$/_build/dev/lib/swoosh" />
<excludeFolder url="file://$MODULE_DIR$/_build/dev/lib/castore" />
<excludeFolder url="file://$MODULE_DIR$/_build/dev/lib/esbuild" />
<excludeFolder url="file://$MODULE_DIR$/_build/dev/lib/gettext" />
<excludeFolder url="file://$MODULE_DIR$/_build/dev/lib/phoenix" />
<excludeFolder url="file://$MODULE_DIR$/_build/dev/lib/telemetry" />
<excludeFolder url="file://$MODULE_DIR$/_build/dev/lib/file_system" />
<excludeFolder url="file://$MODULE_DIR$/_build/dev/lib/plug_cowboy" />
<excludeFolder url="file://$MODULE_DIR$/_build/dev/lib/plug_crypto" />
<excludeFolder url="file://$MODULE_DIR$/_build/dev/lib/phoenix_html" />
<excludeFolder url="file://$MODULE_DIR$/_build/dev/lib/phoenix_view" />
<excludeFolder url="file://$MODULE_DIR$/_build/dev/lib/phoenix_pubsub" />
<excludeFolder url="file://$MODULE_DIR$/_build/dev/lib/cowboy_telemetry" />
<excludeFolder url="file://$MODULE_DIR$/_build/dev/lib/telemetry_poller" />
<excludeFolder url="file://$MODULE_DIR$/_build/dev/lib/phoenix_live_view" />
<excludeFolder url="file://$MODULE_DIR$/_build/dev/lib/telemetry_metrics" />
<excludeFolder url="file://$MODULE_DIR$/_build/dev/lib/phoenix_live_reload" />
<excludeFolder url="file://$MODULE_DIR$/_build/dev/lib/phoenix_live_dashboard" />
</content>
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="phoenix" level="project" />
<orderEntry type="library" name="phoenix_html" level="project" />
<orderEntry type="library" name="phoenix_live_reload" level="project" />
<orderEntry type="library" name="phoenix_live_view" level="project" />
<orderEntry type="library" name="floki" level="project" />
<orderEntry type="library" name="phoenix_live_dashboard" level="project" />
<orderEntry type="library" name="esbuild" level="project" />
<orderEntry type="library" name="swoosh" level="project" />
<orderEntry type="library" name="telemetry_metrics" level="project" />
<orderEntry type="library" name="telemetry_poller" level="project" />
<orderEntry type="library" name="gettext" level="project" />
<orderEntry type="library" name="jason" level="project" />
<orderEntry type="library" name="plug_cowboy" level="project" />
<orderEntry type="library" name="plug" level="project" />
<orderEntry type="library" name="plug_crypto" level="project" />
<orderEntry type="library" name="telemetry" level="project" />
<orderEntry type="library" name="phoenix_pubsub" level="project" />
<orderEntry type="library" name="phoenix_view" level="project" />
<orderEntry type="library" name="ex_doc" level="project" />
<orderEntry type="library" name="ecto" level="project" />
<orderEntry type="library" name="ecto_sql" level="project" />
<orderEntry type="library" name="phx_new" level="project" />
<orderEntry type="library" name="websocket_client" level="project" />
<orderEntry type="library" name="file_system" level="project" />
<orderEntry type="library" name="makeup_eex" level="project" />
<orderEntry type="library" name="html_entities" level="project" />
<orderEntry type="library" name="mime" level="project" />
<orderEntry type="library" name="ecto_psql_extras" level="project" />
<orderEntry type="library" name="ecto_mysql_extras" level="project" />
<orderEntry type="library" name="circular_buffer" level="project" />
<orderEntry type="library" name="stream_data" level="project" />
<orderEntry type="library" name="castore" level="project" />
<orderEntry type="library" name="hackney" level="project" />
<orderEntry type="library" name="finch" level="project" />
<orderEntry type="library" name="mail" level="project" />
<orderEntry type="library" name="gen_smtp" level="project" />
<orderEntry type="library" name="cowboy" level="project" />
<orderEntry type="library" name="bypass" level="project" />
<orderEntry type="library" name="dialyxir" level="project" />
<orderEntry type="library" name="excoveralls" level="project" />
<orderEntry type="library" name="cowboy_telemetry" level="project" />
<orderEntry type="library" name="kadabra" level="project" />
<orderEntry type="library" name="x509" level="project" />
</component>
</module>