Sitelet https://github.com/fsprojects/Paket/issues/3225
Skip to content

Ignore projects in hidden directories (starting with a dot) #3225

Description

@alfonsogarciacaro

...or at least in the .fable directory. This is because Fable 2 copies the sources of the referenced packages into a hidden folder in the repository named .fable. This is done to avoid problems with most JS tooling which usually expects all sources (and F# files are also considered sources of JS project thanks to Webpack & fable-loader) to be in the hierarchy defined by the package.json file.

Right now Paket checks the projects in this .fable directory too, so if I run .paket/paket.exe install I get warnings like the following:

 - paket.references -> .fable/Fable.Elmish.1.0.3/Fable.Elmish.fsproj
F# project /Users/alfonsogarciacaronunez/dev/fulma-demo/.fable/Fable.Elmish.1.0.3/Fable.Elmish.fsproj does not reference FSharp.Core.
 - paket.references -> .fable/Fable.Elmish.Browser.1.0.0/Fable.Elmish.Browser.fsproj
F# project /Users/alfonsogarciacaronunez/dev/fulma-demo/.fable/Fable.Elmish.Browser.1.0.0/Fable.Elmish.Browser.fsproj does not reference FSharp.Core.
 - paket.references -> .fable/Fable.Elmish.Debugger.1.0.1/Fable.Elmish.Debugger.fsproj
F# project /Users/alfonsogarciacaronunez/dev/fulma-demo/.fable/Fable.Elmish.Debugger.1.0.1/Fable.Elmish.Debugger.fsproj does not reference FSharp.Core.
 - paket.references -> .fable/Fable.Elmish.HMR.1.0.0/Fable.Elmish.HMR.fsproj
F# project /Users/alfonsogarciacaronunez/dev/fulma-demo/.fable/Fable.Elmish.HMR.1.0.0/Fable.Elmish.HMR.fsproj does not reference FSharp.Core.
 - paket.references -> .fable/Fable.Elmish.React.1.0.3/Fable.Elmish.React.fsproj
F# project /Users/alfonsogarciacaronunez/dev/fulma-demo/.fable/Fable.Elmish.React.1.0.3/Fable.Elmish.React.fsproj does not reference FSharp.Core.
 - paket.references -> .fable/Fable.PowerPack.1.5.0/Fable.PowerPack.fsproj
F# project /Users/alfonsogarciacaronunez/dev/fulma-demo/.fable/Fable.PowerPack.1.5.0/Fable.PowerPack.fsproj does not reference FSharp.Core.
 - paket.references -> .fable/Fable.React.3.1.2/Fable.React.fsproj
F# project /Users/alfonsogarciacaronunez/dev/fulma-demo/.fable/Fable.React.3.1.2/Fable.React.fsproj does not reference FSharp.Core.
 - paket.references -> .fable/Fulma.1.0.0-beta-022/Fulma.fsproj
F# project /Users/alfonsogarciacaronunez/dev/fulma-demo/.fable/Fulma.1.0.0-beta-022/Fulma.fsproj does not reference FSharp.Core.
 - paket.references -> .fable/Fulma.Elmish.0.1.0-beta-010/Fulma.Elmish.fsproj
F# project /Users/alfonsogarciacaronunez/dev/fulma-demo/.fable/Fulma.Elmish.0.1.0-beta-010/Fulma.Elmish.fsproj does not reference FSharp.Core.
 - paket.references -> .fable/Fulma.Extensions.1.0.0-beta-016/Fulma.Extensions.fsproj
F# project /Users/alfonsogarciacaronunez/dev/fulma-demo/.fable/Fulma.Extensions.1.0.0-beta-016/Fulma.Extensions.fsproj does not reference FSharp.Core.
 - paket.references -> .fable/Thoth.Json.1.0.0/Thoth.Json.fsproj
F# project /Users/alfonsogarciacaronunez/dev/fulma-demo/.fable/Thoth.Json.1.0.0/Thoth.Json.fsproj does not reference FSharp.Core.
 - src/paket.references -> src/Demo.fsproj

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions