mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-27 13:53:09 +00:00
change legacy snippets to use named exports and move from dedent-tabs to dedent
This commit is contained in:
@@ -6,7 +6,7 @@ import scriptGen from './snippets/script.gen.js';
|
||||
import ClassFeatureGen from './snippets/classfeature.gen.js';
|
||||
import CoverPageGen from './snippets/coverpage.gen.js';
|
||||
import QuoteGen from './snippets/quote.gen.js';
|
||||
import dedent from 'dedent-tabs';
|
||||
import dedent from 'dedent';
|
||||
|
||||
export default [
|
||||
{
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import _ from 'lodash';
|
||||
import dedent from 'dedent-tabs';
|
||||
import dedent from 'dedent';
|
||||
|
||||
export default function(classname){
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import _ from 'lodash';
|
||||
import dedent from 'dedent-tabs';
|
||||
import dedent from 'dedent';
|
||||
|
||||
const features = [
|
||||
'Astrological Botany', 'Biochemical Sorcery', 'Civil Divination',
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import _ from 'lodash';
|
||||
import dedent from 'dedent-tabs';
|
||||
import dedent from 'dedent';
|
||||
|
||||
const titles = [
|
||||
'The Burning Gallows', 'The Ring of Nenlast',
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import _ from 'lodash';
|
||||
import dedent from 'dedent-tabs';
|
||||
import dedent from 'dedent';
|
||||
|
||||
const genList = function(list, max){
|
||||
return _.sampleSize(list, _.random(0, max)).join(', ') || 'None';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import _ from 'lodash';
|
||||
import dedent from 'dedent-tabs';
|
||||
import dedent from 'dedent';
|
||||
|
||||
export default {
|
||||
dwarvish : ()=>{
|
||||
|
||||
Reference in New Issue
Block a user