diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-10-19 15:11:07 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-10-19 15:11:07 +0300 |
commit | f6e2d0776a4a01082f9c1c690ef90df85bfd0dfc (patch) | |
tree | 7b95f2530a7cdc66a640856f5c1e4567a7181f74 /.projections.json.example | |
parent | 687bfbe9324776e9d215b3791d4913d0c418c78f (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to '.projections.json.example')
-rw-r--r-- | .projections.json.example | 95 |
1 files changed, 89 insertions, 6 deletions
diff --git a/.projections.json.example b/.projections.json.example index dc1b42b917a..5a5c87704c1 100644 --- a/.projections.json.example +++ b/.projections.json.example @@ -1,5 +1,7 @@ { "ee/*": { "type": "ee" }, + "app/*": { "type": "ce" }, + "lib/*": { "type": "ce" }, "config/initializers/*.rb": { "alternate": "spec/initializers/{}_spec.rb", "type": "source" @@ -57,37 +59,40 @@ "type": "source" }, "app/presenters/*.rb": { + "alternate": "spec/app/presenters/{}_spec.rb", "related": "ee/app/presenters/ee/{}.rb", "type": "source" }, "app/serializers/*.rb": { + "alternate": "spec/app/serializers/{}_spec.rb", "related": "ee/app/serializers/ee/{}.rb", "type": "source" }, "app/services/*.rb": { + "alternate": "spec/app/services/{}_spec.rb", "related": "ee/app/services/ee/{}.rb", "type": "source" }, "app/uploaders/*.rb": { + "alternate": "spec/app/uploaders/{}_spec.rb", "related": "ee/app/uploaders/ee/{}.rb", "type": "source" }, "app/validators/*.rb": { + "alternate": "spec/app/validators/{}_spec.rb", "related": "ee/app/validators/ee/{}.rb", "type": "source" }, "app/views/*.rb": { + "alternate": "spec/app/views/{}_spec.rb", "related": "ee/app/views/ee/{}.rb", "type": "source" }, "app/workers/*.rb": { + "alternate": "spec/app/workers/{}_spec.rb", "related": "ee/app/workers/ee/{}.rb", "type": "source" }, - "app/*.rb": { - "alternate": "spec/{}_spec.rb", - "type": "source" - }, "spec/*_spec.rb": { "alternate": "app/{}.rb", "type": "test" @@ -124,8 +129,79 @@ "alternate": "ee/lib/api/{}.rb", "type": "test" }, + "ee/app/controllers/ee/*.rb": { + "alternate": "ee/spec/{}_spec.rb", + "related": "app/controllers/{}.rb", + "type": "source" + }, + "ee/app/finders/ee/*.rb": { + "alternate": "ee/spec/{}_spec.rb", + "related": "app/finders/{}.rb", + "type": "source" + }, + "ee/app/graphql/ee/*.rb": { + "alternate": "ee/spec/{}_spec.rb", + "related": "app/graphql/{}.rb", + "type": "source" + }, + "ee/app/helpers/ee/*.rb": { + "alternate": "ee/spec/{}_spec.rb", + "related": "app/helpers/{}.rb", + "type": "source" + }, + "ee/app/mailers/ee/*.rb": { + "alternate": "ee/spec/{}_spec.rb", + "related": "app/mailers/{}.rb", + "type": "source" + }, + "ee/app/models/ee/*.rb": { + "alternate": "ee/spec/{}_spec.rb", + "related": "app/models/{}.rb", + "type": "source" + }, + "ee/app/policies/ee/*.rb": { + "alternate": "ee/spec/{}_spec.rb", + "related": "app/policies/{}.rb", + "type": "source" + }, + "ee/app/presenters/ee/*.rb": { + "alternate": "ee/spec/{}_spec.rb", + "related": "app/presenters/{}.rb", + "type": "source" + }, + "ee/app/serializers/ee/*.rb": { + "alternate": "spec/app/serializers/{}_spec.rb", + "related": "app/serializers/{}.rb", + "type": "source" + }, + "ee/app/services/ee/*.rb": { + "alternate": "spec/app/services/{}_spec.rb", + "related": "app/services/{}.rb", + "type": "source" + }, + "ee/app/uploaders/ee/*.rb": { + "alternate": "spec/app/uploaders/{}_spec.rb", + "related": "app/uploaders/{}.rb", + "type": "source" + }, + "ee/app/validators/ee/*.rb": { + "alternate": "spec/app/validators/{}_spec.rb", + "related": "app/validators/{}.rb", + "type": "source" + }, + "ee/app/views/ee/*.rb": { + "alternate": "spec/app/views/{}_spec.rb", + "related": "app/views/{}.rb", + "type": "source" + }, + "ee/app/workers/ee/*.rb": { + "alternate": "spec/app/workers/{}_spec.rb", + "related": "app/workers/{}.rb", + "type": "source" + }, "ee/app/*.rb": { "alternate": "ee/spec/{}_spec.rb", + "related": "app/{}.rb", "type": "source" }, "ee/spec/*_spec.rb": { @@ -136,6 +212,11 @@ "alternate": "ee/spec/lib/{}_spec.rb", "type": "source" }, + "ee/lib/ee/*.rb": { + "alternate": "ee/spec/lib/{}_spec.rb", + "related": "lib/{}.rb", + "type": "source" + }, "ee/spec/lib/*_spec.rb": { "alternate": "ee/lib/{}.rb", "type": "test" @@ -154,16 +235,18 @@ }, "ee/app/assets/javascripts/*.js": { "alternate": "ee/spec/frontend/{}_spec.js", + "related": "app/assets/javascripts/{}.js", "type": "source" }, "ee/app/assets/javascripts/*.vue": { "alternate": "ee/spec/frontend/{}_spec.js", + "related": "app/assets/javascripts/{}.vue", "type": "source" }, "ee/spec/frontend/*_spec.js": { "alternate": ["ee/app/assets/javascripts/{}.vue", "ee/app/assets/javascripts/{}.js"], "type": "test" }, - "*.rb": {"dispatch": "bundle exec rubocop {file}"}, - "*_spec.rb": {"dispatch": "bundle exec rspec {file}"} + "*.rb": { "dispatch": "bundle exec rubocop {file}" }, + "*_spec.rb": { "dispatch": "bundle exec rspec {file}" } } |