Skip to content

Commit

Permalink
Change to @watermarkchurch/wcc-contentful
Browse files Browse the repository at this point in the history
  Yarn can't handle installing our fork from the git repo so we needed
  to release it on npm
  • Loading branch information
gburgett committed Oct 26, 2018
1 parent 7879563 commit c58c29f
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 11 deletions.
3 changes: 2 additions & 1 deletion wcc-contentful-app/lib/generators/wcc/model_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ def ensure_migration_tools_installed
deps = package['dependencies']

unless deps.try(:[], 'contentful-migration-cli').present?
run 'npm install --save watermarkchurch/migration-cli ts-node typescript contentful-export'
run 'npm install --save @watermarkchurch/contentful-migration ts-node ' \
'typescript contentful-export'
end
end
end
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Migration from 'contentful-migration-cli'
import Migration from '@watermarkchurch/contentful-migration'

export = function (migration: Migration) {
const page = migration.createContentType('page')
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Migration, { MigrationFunction } from 'contentful-migration'
import Migration, { MigrationFunction } from '@watermarkchurch/contentful-migration'

// Generated by contentful-schema-diff
// from empty-export.json
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Migration, { MigrationFunction } from 'contentful-migration'
import Migration, { MigrationFunction } from '@watermarkchurch/contentful-migration'

// Generated by contentful-schema-diff
// from empty-export.json
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Migration, { MigrationFunction } from 'contentful-migration'
import Migration, { MigrationFunction } from '@watermarkchurch/contentful-migration'

// Generated by contentful-schema-diff
// from empty-export.json
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Migration, { MigrationFunction } from 'contentful-migration'
import Migration, { MigrationFunction } from '@watermarkchurch/contentful-migration'

// Generated by contentful-schema-diff
// from empty-export.json
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Migration, { MigrationFunction } from 'contentful-migration'
import Migration, { MigrationFunction } from '@watermarkchurch/contentful-migration'

// Generated by contentful-schema-diff
// from empty-export.json
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Migration, { MigrationFunction } from 'contentful-migration'
import Migration, { MigrationFunction } from '@watermarkchurch/contentful-migration'

// Generated by contentful-schema-diff
// from empty-export.json
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Migration, { MigrationFunction } from 'contentful-migration'
import Migration, { MigrationFunction } from '@watermarkchurch/contentful-migration'

// Generated by contentful-schema-diff
// from empty-export.json
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Migration, { MigrationFunction } from 'contentful-migration'
import Migration, { MigrationFunction } from '@watermarkchurch/contentful-migration'

// Generated by contentful-schema-diff
// from empty-export.json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
it 'should ensure migration-cli is installed' do
expect(destination_root).to have_structure {
file 'package.json' do
contains '"contentful-migration": "github:watermarkchurch/migration-cli"'
contains '"@watermarkchurch/contentful-migration": "^'
end
}
end
Expand Down

0 comments on commit c58c29f

Please sign in to comment.