refactor: Removed some unused scripts
This commit is contained in:
parent
64644a2b18
commit
d2b56004ab
4 changed files with 0 additions and 106 deletions
|
@ -1,8 +0,0 @@
|
||||||
/*
|
|
||||||
* This CSS file overrides some of verdaccio's styles for use by freesewing.
|
|
||||||
*
|
|
||||||
* It hides the login button and search form to avoid confusing users as
|
|
||||||
* we spin up an ephemeral verdaccio, so there's no login or persistent storage.
|
|
||||||
*/
|
|
||||||
header{background: #222!important}
|
|
||||||
div.container form, button.header-button-login{display:none}
|
|
|
@ -1,22 +0,0 @@
|
||||||
storage: ./storage
|
|
||||||
uplinks:
|
|
||||||
npmjs:
|
|
||||||
url: https://registry.npmjs.org/
|
|
||||||
packages:
|
|
||||||
'**':
|
|
||||||
# This is an ephemeral registry used for testing, so we allow all users
|
|
||||||
# (including non-authenticated users) to read and publish all packages
|
|
||||||
access: $all
|
|
||||||
publish: $all
|
|
||||||
logs:
|
|
||||||
- {type: stdout, format: pretty, level: http}
|
|
||||||
web:
|
|
||||||
enable: true
|
|
||||||
title: Freesewing mock registry
|
|
||||||
logo: "/-/static/logo.svg"
|
|
||||||
gravatar: false
|
|
||||||
scope:
|
|
||||||
publish:
|
|
||||||
allow_offline: true
|
|
||||||
listen:
|
|
||||||
- localhost:6662
|
|
|
@ -1,57 +0,0 @@
|
||||||
const Aaron = require('@freesewing/aaron')
|
|
||||||
const Benjamin = require('@freesewing/benjamin')
|
|
||||||
const Bent = require('@freesewing/bent')
|
|
||||||
const Breanna = require('@freesewing/breanna')
|
|
||||||
const Brian = require('@freesewing/brian')
|
|
||||||
const Bruce = require('@freesewing/bruce')
|
|
||||||
const Carlita = require('@freesewing/carlita')
|
|
||||||
const Carlton = require('@freesewing/carlton')
|
|
||||||
const Cathrin = require('@freesewing/cathrin')
|
|
||||||
const Diana = require('@freesewing/diana')
|
|
||||||
const Florent = require('@freesewing/florent')
|
|
||||||
const Fu = require('@freesewing/fu')
|
|
||||||
const Holmes = require('@freesewing/holmes')
|
|
||||||
const Huey = require('@freesewing/huey')
|
|
||||||
const Hugo = require('@freesewing/hugo')
|
|
||||||
const Jaeger = require('@freesewing/jaeger')
|
|
||||||
const Penelope = require('@freesewing/penelope')
|
|
||||||
const Sandy = require('@freesewing/sandy')
|
|
||||||
const Shin = require('@freesewing/shin')
|
|
||||||
const Simon = require('@freesewing/simon')
|
|
||||||
const Simone = require('@freesewing/simone')
|
|
||||||
const Sven = require('@freesewing/sven')
|
|
||||||
const Tamiko = require('@freesewing/tamiko')
|
|
||||||
const Theo = require('@freesewing/theo')
|
|
||||||
const Trayvon = require('@freesewing/trayvon')
|
|
||||||
const Wahid = require('@freesewing/wahid')
|
|
||||||
const Waralee = require('@freesewing/waralee')
|
|
||||||
|
|
||||||
module.exports = {
|
|
||||||
Aaron,
|
|
||||||
Benjamin,
|
|
||||||
Bent,
|
|
||||||
Breanna,
|
|
||||||
Brian,
|
|
||||||
Bruce,
|
|
||||||
Carlita,
|
|
||||||
Carlton,
|
|
||||||
Cathrin,
|
|
||||||
Diana,
|
|
||||||
Florent,
|
|
||||||
Fu,
|
|
||||||
Holmes,
|
|
||||||
Huey,
|
|
||||||
Hugo,
|
|
||||||
Jaeger,
|
|
||||||
Penelope,
|
|
||||||
Sandy,
|
|
||||||
Shin,
|
|
||||||
Simon,
|
|
||||||
Simone,
|
|
||||||
Sven,
|
|
||||||
Tamiko,
|
|
||||||
Theo,
|
|
||||||
Trayvon,
|
|
||||||
Wahid,
|
|
||||||
Waralee
|
|
||||||
}
|
|
|
@ -1,19 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
# This requires: yarn global add verdaccio
|
|
||||||
|
|
||||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
|
||||||
set -e
|
|
||||||
|
|
||||||
# start local registry
|
|
||||||
tmp_registry_log=`mktemp`
|
|
||||||
rm -rf $DIR/../.registry
|
|
||||||
mkdir -p $DIR/../.registry
|
|
||||||
cp $DIR/../config/verdaccio.yaml $DIR/../.registry/config.yaml
|
|
||||||
cp $DIR/../config/verdaccio.css $DIR/../node_modules/verdaccio/static/freesewing.css
|
|
||||||
cp $DIR/../media/logo-emblem-dark.svg $DIR/../node_modules/verdaccio/static/logo.svg
|
|
||||||
# Adding a space to the closing head tag ensures we'll only insert this CSS once
|
|
||||||
sed -i 's@</head>@<link href="/-/static/freesewing.css" rel="stylesheet"></head >@' $DIR/../node_modules/verdaccio/static/index.html
|
|
||||||
sh -c "npx verdaccio -c $DIR/../.registry/config.yaml &>$tmp_registry_log"
|
|
||||||
# wait for `verdaccio` to boot
|
|
||||||
grep -q 'http address' <(tail -f $tmp_registry_log)
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue