Skip to content

Commit

Permalink
fix: imports (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cahllagerfeld authored Sep 24, 2022
1 parent 2533e40 commit 2ea986d
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@webstone/gluegun",
"version": "0.0.1",
"version": "0.0.2",
"description": "A delightful toolkit for building Node-powered CLIs.",
"repository": "webstoneHQ/gluegun",
"bin": {
Expand Down
4 changes: 2 additions & 2 deletions src/cli/templates/cli/__tests__/cli-integration.test.js.ejs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<% if (props.language === "typescript") { %>
import { system, filesystem } from 'gluegun'
import { system, filesystem } from '@webstone/gluegun'
<% } else { %>
const { system, filesystem } = require('gluegun')
const { system, filesystem } = require('@webstone/gluegun')
<% } %>

const src = filesystem.path(__dirname, '..')
Expand Down
4 changes: 2 additions & 2 deletions src/cli/templates/cli/src/cli.js.ejs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<% if (props.language === "typescript") { %>
import { build } from 'gluegun'
import { build } from '@webstone/gluegun'
<% } else { %>
const { build } = require('gluegun')
const { build } = require('@webstone/gluegun')
<% } %>

/**
Expand Down
2 changes: 1 addition & 1 deletion src/cli/templates/cli/src/commands/default.js.ejs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<% if (props.language === "typescript") { %>
import { GluegunCommand } from 'gluegun'
import { GluegunCommand } from '@webstone/gluegun'
<% } %>

const command<%= (props.language === "typescript") ? ": GluegunCommand" : "" %> = {
Expand Down
2 changes: 1 addition & 1 deletion src/cli/templates/cli/src/commands/generate.js.ejs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<% if (props.language === "typescript") { %>
import { GluegunToolbox } from 'gluegun'
import { GluegunToolbox } from '@webstone/gluegun'
<% } %>

module.exports = {
Expand Down
2 changes: 1 addition & 1 deletion src/cli/templates/cli/src/extensions/cli-extension.js.ejs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<% if (props.language === "typescript") { %>
import { GluegunToolbox } from 'gluegun'
import { GluegunToolbox } from '@webstone/gluegun'
<% } %>

// add your CLI-specific functionality here, which will then be accessible
Expand Down
4 changes: 2 additions & 2 deletions src/cli/templates/test/kitchen-sink-command.js.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const {
strings,
system,
patching
} = require('gluegun')
} = require('@webstone/gluegun')

// from gluegun/*
const { filesystem: filesystemDirect } = require('gluegun/filesystem')
Expand Down Expand Up @@ -95,4 +95,4 @@ module.exports = {
// run all the asyncs at once yolo
await Promise.all(asyncs)
}
}
}

0 comments on commit 2ea986d

Please sign in to comment.