diff --git a/.editorconfig b/.editorconfig index 004409d..df8f468 100644 --- a/.editorconfig +++ b/.editorconfig @@ -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 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..6313b56 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +* text=auto eol=lf diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1fd7356..86c4685 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,7 +7,6 @@ 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: @@ -15,11 +14,13 @@ jobs: 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 diff --git a/.gitignore b/.gitignore index 59d842b..504afef 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/.npmignore b/.npmignore deleted file mode 100644 index 3374031..0000000 --- a/.npmignore +++ /dev/null @@ -1,7 +0,0 @@ -node_modules -coverage -test -.editorconfig -.gitignore -.npmignore -.travis.yml diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..43c97e7 --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +package-lock=false diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..b6a7d89 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +16 diff --git a/package.json b/package.json index 517f2d6..04887ee 100644 --- a/package.json +++ b/package.json @@ -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": {