Skip to content

Commit

Permalink
Patched currentPath with join
Browse files Browse the repository at this point in the history
version bump
  • Loading branch information
tomekmarchi committed Apr 23, 2024
1 parent 3c0a611 commit 12fc9a5
Show file tree
Hide file tree
Showing 33 changed files with 64 additions and 63 deletions.
2 changes: 1 addition & 1 deletion build/basic.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/browser.bundle.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/browser.js.map

Large diffs are not rendered by default.

9 changes: 7 additions & 2 deletions build/index.bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/index.bundle.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/module/basic.js.map

Large diffs are not rendered by default.

5 changes: 1 addition & 4 deletions build/module/browser/bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/module/browser/bundle.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/module/browser/index.js.map

Large diffs are not rendered by default.

10 changes: 4 additions & 6 deletions build/module/bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/module/bundle.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/module/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/module/index.js.map

Large diffs are not rendered by default.

5 changes: 1 addition & 4 deletions docs/browser.bundle.es.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 4 additions & 6 deletions docs/index.bundle.es.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 7 additions & 2 deletions docs/index.bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion github/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion github/module/index.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions github/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion github/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@universalweb/acid",
"version": "3.0.73",
"version": "3.0.74",
"description": "Acidjs is a robust, modern, modular, & async focused Javascript utility library.",
"keywords": [
"Acid",
Expand Down
18 changes: 9 additions & 9 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ const expressPort = 8890;
const eslintConfig = eslintConfigRaw[0];
async function liveServer() {
const port = 35729;
const server = await (new tinyLR.Server({
const server = await new tinyLR.Server({
port,
}));
});
server.listen();
app.use(liveReload({
port,
Expand Down Expand Up @@ -66,10 +66,7 @@ const build = async () => {
});
const browserBundleProduction = await rollup({
input: './source/browser.js',
plugins: [
nodeResolve(),
terser()
]
plugins: [nodeResolve(), terser()]
});
await browserBundle.write({
file: './build/browser.bundle.js',
Expand Down Expand Up @@ -103,9 +100,12 @@ const build = async () => {
console.log('Build Server START');
const index = await rollup({
input: './source/index.js',
plugins: [nodeExternals({
builtinsPrefix: 'ignore'
}), nodeResolve()],
plugins: [
nodeExternals({
builtinsPrefix: 'ignore'
}),
nodeResolve()
],
});
const indexProduction = await rollup({
input: './source/index.js',
Expand Down
2 changes: 1 addition & 1 deletion npm/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion npm/module/index.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions npm/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion npm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@universalweb/acid",
"version": "3.0.73",
"version": "3.0.74",
"description": "Acidjs is a robust, modern, modular, & async focused Javascript utility library.",
"keywords": [
"Acid",
Expand Down
2 changes: 1 addition & 1 deletion package/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package/module/index.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@universalweb/acid",
"version": "3.0.73",
"version": "3.0.75",
"description": "Acidjs is a robust, modern, modular, & async focused Javascript utility library.",
"keywords": [
"Acid",
Expand Down
5 changes: 3 additions & 2 deletions source/filesystem/directory.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ export function currentFile(importMeta) {
}
return fileURLToPath(importMeta.url);
}
export function currentPath(importMeta) {
export function currentPath(importMeta, joinPath) {
if (globalThis.__dirname) {
return __dirname;
}
return path.dirname(fileURLToPath(importMeta.url));
const currentPathString = path.dirname(fileURLToPath(importMeta.url));
return joinPath ? path.join(currentPathString, joinPath) : currentPathString;
}

0 comments on commit 12fc9a5

Please sign in to comment.