-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A prominent pain point I've observed working with seek-module-toolkit is that it compiles to nested directories like `/lib/commonjs`. This means that the depth of the compiled file differs from the source file under `/src`, which can make bundling and referencing of non-JS assets more of a hassle than it should be. I propose that we instead compile to `/lib-commonjs`, and document this as a potential breaking change when migrating from seek-module-toolkit. skuba itself moves to this model as a guinea pig. I've taken this opportunity to revise the ignore files to account for proposed directories like `/lib-commonjs`.
- Loading branch information
Showing
17 changed files
with
106 additions
and
142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
'skuba': patch | ||
--- | ||
|
||
**configure, init:** Tweak ignore file patterns | ||
|
||
Directory names like `/lib-es2015` are ignored based on prefix now, | ||
but certain patterns have been restricted to the root to allow for `/src/lib`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,11 @@ | ||
.idea/ | ||
.serverless/ | ||
.vscode/ | ||
coverage/ | ||
dist/ | ||
lib/ | ||
node_modules/ | ||
node_modules_bak/ | ||
tmp/ | ||
node_modules*/ | ||
|
||
.DS_Store | ||
.npmrc | ||
npm-debug.log | ||
yarn-error.log | ||
/coverage*/ | ||
/dist*/ | ||
/lib*/ | ||
/tmp*/ | ||
|
||
/template/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,4 @@ | |
|
||
set -e | ||
|
||
cp -r template lib | ||
|
||
chmod +x 'lib/commonjs/skuba.js' | ||
chmod +x 'lib-commonjs/skuba.js' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,9 @@ | ||
.idea/ | ||
.serverless/ | ||
.vscode/ | ||
coverage/ | ||
dist/ | ||
lib/ | ||
node_modules/ | ||
node_modules_bak/ | ||
tmp/ | ||
node_modules*/ | ||
|
||
.DS_Store | ||
.npmrc | ||
npm-debug.log | ||
yarn-error.log | ||
/coverage*/ | ||
/dist*/ | ||
/lib*/ | ||
/tmp*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters