v0.1.0

parent a610c65b
# This file is a template, and might need editing before it works on your project.
# Official framework image. Look for the different tagged releases at:
# https://hub.docker.com/r/library/node/tags/
image: node:latest
# This folder is cached between builds
# http://docs.gitlab.com/ce/ci/yaml/README.html#cache
cache:
paths:
- node_modules/
build:
stage: build
script:
- npm install
- npm run build
artifacts:
paths:
- dist/
lint:
stage: test
script:
- npm install
- npm run lint
publish:
stage: deploy
script:
- echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
- npm publish
dependencies:
- build
only:
- /^v.*$/
except:
- branches
This diff is collapsed.
{
"name": "icloud-drive-fs",
"private": true,
"version": "0.1.0",
"homepage": "https://gitlab.fancy.org.uk/samuel/icloud-drive-fs",
"bugs": "https://gitlab.fancy.org.uk/samuel/icloud-drive-fs/issues",
"repository": {
"type": "git",
"url": "https://gitlab.fancy.org.uk/samuel/icloud-drive-fs"
},
"author": {
"name": "Samuel Elliott",
"url": "https://samuelelliott.ml"
},
"main": "dist/index.js",
"files": [
"dist"
],
"dependencies": {
"@samuelthomas2774/icloud-api": "0.1.*",
"fuse-bindings": "^2.11.2",
"yargs": "^12.0.2"
},
......@@ -18,6 +32,7 @@
},
"scripts": {
"start": "node dist/cli.js",
"build": "gulp build",
"lint": "eslint src"
},
"bin": {
......
......@@ -5,7 +5,7 @@ import readline from 'readline';
import yargs from 'yargs';
import fuse from './fuse';
import iCloudService from '../../api';
import iCloudService from '@samuelthomas2774/icloud-api';
import mount from '..';
const apple_id = process.argv[2];
......@@ -22,6 +22,8 @@ function prompt(message) {
});
}
process.on('SIGINT', () => process.stdout.write('\u001B[28m'));
(async () => {
if (!apple_id) throw new Error('No Apple ID provided.');
let password;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment