Skip to content

Commit 9f0b6f7

Browse files
author
farfromrefuge
committed
chore: project
1 parent 3d72238 commit 9f0b6f7

File tree

11 files changed

+1377
-2337
lines changed

11 files changed

+1377
-2337
lines changed

.eslintignore

Lines changed: 0 additions & 8 deletions
This file was deleted.

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"typescript.tsdk": "node_modules/typescript/lib"
3+
}

demo-snippets/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"private": true,
44
"version": "0.0.1",
55
"dependencies": {
6-
"@nativescript-community/ui-pager": "link:../packages/ui-pager",
7-
"@nativescript-community/ui-pager-indicator": "link:../packages/ui-pager-indicator"
6+
"@nativescript-community/ui-pager": "*",
7+
"@nativescript-community/ui-pager-indicator": "*"
88
}
99
}

demo-snippets/vue/StaticPager.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</ActionBar>
77

88
<StackLayout class="page">
9-
<Pager height="100%">
9+
<Pager height="100%" peaking="30" spacing="10">
1010
<PagerItem backgroundColor="#e67e22"><Label text="First" /></PagerItem>
1111
<PagerItem backgroundColor="#3498db"><Label text="Second" /></PagerItem>
1212
<PagerItem backgroundColor="#e74c3c"><Label text="Third" /></PagerItem>

docs/modules.html

Lines changed: 0 additions & 47 deletions
This file was deleted.

packages/ui-pager/tsconfig.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,14 @@
22
"extends": "../../tsconfig.json",
33
"compilerOptions": {
44
"rootDir": "../../src/ui-pager",
5-
"outDir": "./",
6-
"paths": {
7-
"@nativescript-community/ui-pager": ["packages/ui-pager"],
8-
"@nativescript-community/ui-pager/*": ["packages/ui-pager/*"]
9-
}
5+
"outDir": "./"
106
},
117
"include": ["../../src/ui-pager/**/*", "../../references.d.ts", "../../tools/references.d.ts", "../../src/references.d.ts"],
12-
"exclude": ["../../src/ui-pager/angular/**"]
8+
"exclude": ["../../src/ui-pager/angular/**"],
9+
"references": [
10+
// {
11+
// //Need for tsc
12+
// "path": "../../tsconfig.vue3.json"
13+
// }
14+
]
1315
}

svelte.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
const sveltePreprocess = require('svelte-preprocess');
22
// const svelteNativePreprocessor = require('svelte-native-preprocessor');
3+
34
module.exports = {
45
compilerOptions: {
56
namespace: 'foreign'

tsconfig.eslint.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

tsconfig.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,11 @@
55
"@nativescript-community/ui-pager": ["src/ui-pager"],
66
"@nativescript-community/ui-pager/*": ["src/ui-pager/*"]
77
}
8-
}
8+
},
9+
// "references": [
10+
// {
11+
// //Need for IDE
12+
// "path": "./tsconfig.vue3.json"
13+
// }
14+
// ]
915
}

tsconfig.vue3.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"extends": "./tsconfig.json",
3+
"compilerOptions": {
4+
"composite": true,
5+
"paths": {
6+
"nativescript-vue": ["./node_modules/nativescript-vue3"]
7+
}
8+
},
9+
"include": [
10+
"./src/ui-pager/vue3",
11+
"./demo-snippets/vue3"
12+
]
13+
}

0 commit comments

Comments
 (0)