Skip to content

Commit 3bc64c2

Browse files
init vue 3 migration and setup
1 parent 52405e8 commit 3bc64c2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+3492
-26830
lines changed

.babelrc

-18
This file was deleted.

.editorconfig

+8-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1-
root = true
2-
31
[*]
4-
charset = utf-8
5-
indent_style = space
6-
indent_size = 2
72
end_of_line = lf
83
insert_final_newline = true
4+
5+
[*.{js,jsx,ts,tsx,vue}]
6+
indent_style = space
7+
indent_size = 2
98
trim_trailing_whitespace = true
9+
10+
[*.{md}]
11+
indent_style = space
12+
indent_size = 2

.eslintignore

-1
This file was deleted.

.eslintrc.js

+4-20
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,6 @@
11
module.exports = {
2-
root: true,
3-
parser: 'babel-eslint',
4-
parserOptions: {
5-
sourceType: 'module'
2+
env: {
3+
node: true,
64
},
7-
extends: 'vue',
8-
// add your custom rules here
9-
'rules': {
10-
// allow async-await
11-
'generator-star-spacing': 0,
12-
// allow debugger during development
13-
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0,
14-
camelcase: 1
15-
},
16-
globals: {
17-
requestAnimationFrame: true,
18-
performance: true,
19-
fp_utils: false,
20-
fullpage_api: false
21-
}
22-
}
5+
extends: ['eslint:recommended', 'plugin:vue/vue3-recommended', 'prettier'],
6+
}

.gitattributes

-1
This file was deleted.

.github/ISSUE_TEMPLATE.md

+15-12
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
1-
### Description
2-
3-
### Link to isolated reproduction with no external CSS / JS
4-
[Ideally in codepen.io or codesandbox.io, links to personal websites won't be reviewed unless isolated. Reported issues without a reproduction might get closed.]
5-
6-
### Steps to reproduce it
7-
1. [First step]
8-
2. [Second step]
9-
3. [and so on...]
10-
11-
### Versions
12-
[Browser, operating system, device, ...]
1+
### Description
2+
3+
### Link to isolated reproduction with no external CSS / JS
4+
5+
[Ideally in codepen.io or codesandbox.io, links to personal websites won't be reviewed unless isolated. Reported issues without a reproduction might get closed.]
6+
7+
### Steps to reproduce it
8+
9+
1. [First step]
10+
2. [Second step]
11+
3. [and so on...]
12+
13+
### Versions
14+
15+
[Browser, operating system, device, ...]

.github/PULL_REQUEST_TEMPLATE.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
1. Make sure to commit it to the `dev` branch!
2-
2. Read https://github.com/alvarotrigo/fullPage.js/wiki/Contributing-to-fullpage.js
1+
1. Make sure to commit it to the `dev` branch!
2+
2. Read https://github.com/alvarotrigo/fullPage.js/wiki/Contributing-to-fullpage.js

.gitignore

+82-6
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,84 @@
1+
# Vite
2+
node_modules
13
.DS_Store
4+
dist
5+
dist-ssr
6+
*.local
7+
8+
# Rollup Bundle Visualizer
9+
stats.html
10+
11+
# Logs
12+
logs
13+
*.log
14+
npm-debug.log*
15+
yarn-debug.log*
16+
yarn-error.log*
17+
lerna-debug.log*
18+
19+
# Diagnostic reports (https://nodejs.org/api/report.html)
20+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
21+
22+
# Runtime data
23+
pids
24+
*.pid
25+
*.seed
26+
*.pid.lock
27+
28+
# Directory for instrumented libs generated by jscoverage/JSCover
29+
lib-cov
30+
31+
# Coverage directory used by tools like istanbul
32+
coverage
33+
*.lcov
34+
35+
# nyc test coverage
36+
.nyc_output
37+
38+
# node-waf configuration
39+
.lock-wscript
40+
41+
# Compiled binary addons (https://nodejs.org/api/addons.html)
42+
build/Release
43+
44+
# Dependency directories
245
node_modules/
3-
demos/webpack/node_modules/
4-
demos/test**
5-
npm-debug.log
6-
test/coverage
7-
yarn-error.log
8-
reports
46+
jspm_packages/
47+
48+
# TypeScript cache
49+
*.tsbuildinfo
50+
51+
# Optional npm cache directory
52+
.npm
53+
54+
# Optional eslint cache
55+
.eslintcache
56+
57+
# Optional REPL history
58+
.node_repl_history
59+
60+
# Output of 'npm pack'
61+
*.tgz
62+
63+
# Yarn Integrity file
64+
.yarn-integrity
65+
66+
# dotenv environment variables file
67+
.env
68+
.env.test
69+
70+
# vuepress build output
71+
.vuepress/dist
72+
73+
# TernJS port file
74+
.tern-port
75+
76+
# Stores VSCode versions used for testing VSCode extensions
77+
.vscode-test
78+
79+
# yarn v2
80+
.yarn/cache
81+
.yarn/unplugged
82+
.yarn/build-state.yml
83+
.yarn/install-state.gz
84+
.pnp.*

.npmignore

+82-6
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,84 @@
1+
# Vite
2+
node_modules
13
.DS_Store
4+
dist
5+
dist-ssr
6+
*.local
7+
8+
# Rollup Bundle Visualizer
9+
stats.html
10+
11+
# Logs
12+
logs
13+
*.log
14+
npm-debug.log*
15+
yarn-debug.log*
16+
yarn-error.log*
17+
lerna-debug.log*
18+
19+
# Diagnostic reports (https://nodejs.org/api/report.html)
20+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
21+
22+
# Runtime data
23+
pids
24+
*.pid
25+
*.seed
26+
*.pid.lock
27+
28+
# Directory for instrumented libs generated by jscoverage/JSCover
29+
lib-cov
30+
31+
# Coverage directory used by tools like istanbul
32+
coverage
33+
*.lcov
34+
35+
# nyc test coverage
36+
.nyc_output
37+
38+
# node-waf configuration
39+
.lock-wscript
40+
41+
# Compiled binary addons (https://nodejs.org/api/addons.html)
42+
build/Release
43+
44+
# Dependency directories
245
node_modules/
3-
demos/webpack/node_modules/
4-
demos/test**
5-
npm-debug.log
6-
test/coverage
7-
yarn-error.log
8-
reports
46+
jspm_packages/
47+
48+
# TypeScript cache
49+
*.tsbuildinfo
50+
51+
# Optional npm cache directory
52+
.npm
53+
54+
# Optional eslint cache
55+
.eslintcache
56+
57+
# Optional REPL history
58+
.node_repl_history
59+
60+
# Output of 'npm pack'
61+
*.tgz
62+
63+
# Yarn Integrity file
64+
.yarn-integrity
65+
66+
# dotenv environment variables file
67+
.env
68+
.env.test
69+
70+
# vuepress build output
71+
.vuepress/dist
72+
73+
# TernJS port file
74+
.tern-port
75+
76+
# Stores VSCode versions used for testing VSCode extensions
77+
.vscode-test
78+
79+
# yarn v2
80+
.yarn/cache
81+
.yarn/unplugged
82+
.yarn/build-state.yml
83+
.yarn/install-state.gz
84+
.pnp.*

.prettierrc.js

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = {
2+
trailingComma: 'es5',
3+
tabWidth: 2,
4+
semi: false,
5+
singleQuote: true,
6+
}

.storybook/config.js

-19
This file was deleted.

.storybook/stories/index.js

-55
This file was deleted.

.storybook/webpack.config.js

-9
This file was deleted.

.stylelintrc

-7
This file was deleted.

CONTRIBUTING.md

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ Contributions are **welcome** and will be fully **credited**.
44

55
We accept contributions via Pull Requests on [Github](https://github.com/alvarotrigo/vue-fullpage).
66

7-
87
## Pull Requests
98

109
Please make sure you follow these points:

0 commit comments

Comments
 (0)