Skip to content

Commit

Permalink
fix: do some clean-up (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
devpow112 authored Dec 1, 2022
1 parent 366262d commit 91d2fe2
Show file tree
Hide file tree
Showing 8 changed files with 38 additions and 51 deletions.
26 changes: 13 additions & 13 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
root = true

[*]
charset = utf8
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = tab
indent_size = 4

[{package.json,.travis.yml}]
indent_style = space
indent_size = 2
root = true

[*]
charset = utf8
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = tab
indent_size = 4

[{*.json,*.yml}]
indent_style = space
indent_size = 2
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto eol=lf
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,20 @@ on:
- '[0-9]+.[0-9]+.x'
jobs:
release:
if: "!contains(github.event.head_commit.message, 'skip ci')"
timeout-minutes: 2
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: Brightspace/third-party-actions@actions/checkout
with:
persist-credentials: false
- name: Setup Node
- name: Set up node
uses: Brightspace/third-party-actions@actions/setup-node
with:
node-version-file: .nvmrc
- name: Semantic Release
uses: BrightspaceUI/actions/semantic-release@main
with:
GITHUB_TOKEN: ${{ secrets.D2L_GITHUB_TOKEN }}
NPM: true
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM: true
30 changes: 2 additions & 28 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,28 +1,2 @@
# Logs
logs
*.log

# Runtime data
pids
*.pid
*.seed

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directory
# Commenting this out is preferred by some people, see
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git-
node_modules

# Users Environment Variables
.lock-wscript
node_modules/
package-lock.json
7 changes: 0 additions & 7 deletions .npmignore

This file was deleted.

1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package-lock=false
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
16
16 changes: 16 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,22 @@
"eslint",
"eslintconfig"
],
"files": [
"browser-config.js",
"common-config.js",
"index.js",
"lit-config.js",
"node-config.js",
"open-wc-testing-config.js",
"polymer-3-config.js",
"polymer-config.js",
"polymer-sort-member-config.js",
"react-config.js",
"sort-member-config.js",
"wct-config.js",
"wct-lit-config.js",
"wct-polymer-3-config.js"
],
"author": "D2L Corporation",
"license": "Apache-2.0",
"bugs": {
Expand Down

0 comments on commit 91d2fe2

Please sign in to comment.