Skip to content

Commit

Permalink
Fix invalid dep name.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgerigmeyer committed Jan 4, 2021
1 parent cfbd86f commit 92674e5
Show file tree
Hide file tree
Showing 8 changed files with 43 additions and 65 deletions.
78 changes: 39 additions & 39 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: "CodeQL"
name: 'CodeQL'

on:
push:
branches: [master, ]
branches: [master]
pull_request:
# The branches below must be a subset of the branches above
branches: [master]
Expand All @@ -15,40 +15,40 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2

# If this run was triggered by a pull request event, then checkout
# the head of the pull request instead of the merge commit.
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
# Override language selection by uncommenting this and choosing your languages
with:
languages: javascript

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
- name: Checkout repository
uses: actions/checkout@v2
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2

# If this run was triggered by a pull request event, then checkout
# the head of the pull request instead of the merge commit.
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
# Override language selection by uncommenting this and choosing your languages
with:
languages: javascript

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
12 changes: 0 additions & 12 deletions .pnp.js

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

3 changes: 1 addition & 2 deletions assets/js/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ import 'matchmedia-polyfill';
import 'matchmedia-polyfill/matchMedia.addListener';
import 'srcdoc-polyfill';

import hljs from '@/vendor/highlight';

import * as base from './base';
import hljs from './vendor/highlight';

window.$ = $;

Expand Down
2 changes: 1 addition & 1 deletion dist/webpack/app.min.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
"sassdoc": "^2.5.0"
},
"devDependencies": {
"@": "link:./assets/js",
"@babel/core": "^7.12.10",
"@babel/preset-env": "^7.12.11",
"@testing-library/dom": "^7.29.1",
Expand Down
2 changes: 1 addition & 1 deletion test/clientjs/base.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as base from '@/base';
import * as base from '../../assets/js/base';

describe('initializeToggles', () => {
let toggle,
Expand Down
3 changes: 1 addition & 2 deletions test/clientjs/search.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import lunr from 'lunr';

import * as search from '@/search';

import * as search from '../../assets/js/search';
import { createXHRmock } from './utils';

jest.spyOn(search.nunjucksEnv, 'render').mockImplementation((name, ctx) => {
Expand Down
7 changes: 0 additions & 7 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@ __metadata:
version: 4
cacheKey: 7

"@@link:./assets/js::locator=sassdoc-theme-herman%40workspace%3A.":
version: 0.0.0-use.local
resolution: "@@link:./assets/js::locator=sassdoc-theme-herman%40workspace%3A."
languageName: node
linkType: soft

"@arcanis/slice-ansi@npm:^1.0.2":
version: 1.0.2
resolution: "@arcanis/slice-ansi@npm:1.0.2"
Expand Down Expand Up @@ -13054,7 +13048,6 @@ fsevents@~2.1.2:
version: 0.0.0-use.local
resolution: "sassdoc-theme-herman@workspace:."
dependencies:
"@": "link:./assets/js"
"@babel/core": ^7.12.10
"@babel/preset-env": ^7.12.11
"@testing-library/dom": ^7.29.1
Expand Down

0 comments on commit 92674e5

Please sign in to comment.