Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,4 @@ npm-debug.log
web-ext-artifacts
.env
test/extension/manifest.json
index.js
index.d.ts
errors.js
errors.d.ts
types.js
types.d.ts
zip-dir.js
zip-dir.d.ts
distribution
9 changes: 3 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,10 @@
"Federico Brigante <[email protected]> (https://fregante.com)"
],
"type": "module",
"exports": "./index.js",
"types": "./index.d.ts",
"exports": "./distribution/index.js",
"types": "./distribution/index.d.ts",
"files": [
"index.js",
"index.d.ts",
"zip-dir.js",
"zip-dir.d.ts"
"distribution"
],
"scripts": {
"prebundle": "dot-json test/extension/manifest.json version $(utc-version)",
Expand Down
2 changes: 1 addition & 1 deletion test/live-test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import fs from 'node:fs';
import process from 'node:process';
import chromeWebstoreUpload from '../index.js';
import chromeWebstoreUpload from '../distribution/index.js';

const myZipFile = fs.createReadStream('./web-ext-artifacts/live-test.zip');

Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"extends": "@sindresorhus/tsconfig",
"compilerOptions": {
"outDir": ".",
"outDir": "distribution",
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the default in the extended config, it can be deleted

@copilot

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed the trailing comma in commit e2a84ab.

},
"files": [
"source/index.ts"
Expand Down
Loading