Skip to content

Commit

Permalink
refactor: make ordering better
Browse files Browse the repository at this point in the history
  • Loading branch information
atlj committed Jun 12, 2024
1 parent b418fc2 commit 23d67d5
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions packages/create-react-native-library/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,13 @@ const OBJC_FILES = {
} as const;

const KOTLIN_FILES = {
'module-legacy': path.resolve(
__dirname,
'../templates/kotlin-library-legacy'
),
'module-new': path.resolve(__dirname, '../templates/kotlin-library-new'),
'module-mixed': path.resolve(__dirname, '../templates/kotlin-library-mixed'),
'view-legacy': path.resolve(__dirname, '../templates/kotlin-view-legacy'),
'view-module-legacy': path.resolve(
__dirname,
'../templates/kotlin-view-library-legacy'
Expand All @@ -90,13 +97,6 @@ const KOTLIN_FILES = {
__dirname,
'../templates/kotlin-view-library-new'
),
'view-legacy': path.resolve(__dirname, '../templates/kotlin-view-legacy'),
'module-legacy': path.resolve(
__dirname,
'../templates/kotlin-library-legacy'
),
'module-new': path.resolve(__dirname, '../templates/kotlin-library-new'),
'module-mixed': path.resolve(__dirname, '../templates/kotlin-library-mixed'),
} as const;

const SWIFT_FILES = {
Expand Down

0 comments on commit 23d67d5

Please sign in to comment.