Skip to content

Commit

Permalink
build: Improve build process
Browse files Browse the repository at this point in the history
  • Loading branch information
ardalanamini committed Aug 14, 2022
1 parent 74bbe74 commit 4ebe6ef
Show file tree
Hide file tree
Showing 8 changed files with 2,512 additions and 727 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
run: npm ci

- name: Build the project
run: npm run build:hybrid
run: npm run build

- name: Publish the package
run: npm publish
Expand Down Expand Up @@ -114,7 +114,7 @@ jobs:
run: npm ci

- name: Build the project
run: npm run build:hybrid
run: npm run build

- name: Publish the package
run: npm publish
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
run: npm run lint

- name: Build CommonJS
run: npm run build
run: npm run build:cjs

- name: Build ECMAScript
run: npm run build:esm
Expand Down
29 changes: 29 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# IDE
.idea/
.vscode/

# Sources
src/

# Tests
__tests__/

# Documents
docs/

# Build
.github/
scripts/
build/*.tsbuildinfo
.gitattributes
.eslintrc
.prettierrc
typedoc.json
tsconfig.json
tsconfig.esm.json
tsconfig.eslint.json
jest.config.js
stale.yml

# Comunity
CODE_OF_CONDUCT.md
Loading

0 comments on commit 4ebe6ef

Please sign in to comment.