Skip to content

Commit e2232ad

Browse files
authored
chore: bump dependencies (#91)
1 parent f148e20 commit e2232ad

20 files changed

+8719
-10366
lines changed

.changeset/ninety-shirts-scream.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"ng-monaco-editor": minor
3+
---
4+
5+
chore: bump dependencies

.eslintrc

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,22 @@
22
"extends": "@1stg/eslint-config/loose",
33
"rules": {
44
"@angular-eslint/component-selector": [
5-
2,
5+
"error",
66
{
77
"type": "element",
88
"prefix": "ng",
99
"style": "kebab-case"
1010
}
1111
],
1212
"@angular-eslint/directive-selector": [
13-
2,
13+
"error",
1414
{
1515
"type": "attribute",
1616
"prefix": "ng",
1717
"style": "camelCase"
1818
}
19-
]
19+
],
20+
"markup/markup": "off",
21+
"unicorn/prefer-event-target": "off"
2022
}
2123
}

.github/workflows/codeql.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: 'CodeQL'
2+
3+
on:
4+
push:
5+
branches: ['master']
6+
pull_request:
7+
branches: ['master']
8+
schedule:
9+
- cron: '0 8 * * 0'
10+
11+
jobs:
12+
analyze:
13+
name: Analyze
14+
runs-on: ubuntu-latest
15+
permissions:
16+
actions: read
17+
contents: read
18+
security-events: write
19+
20+
strategy:
21+
fail-fast: false
22+
matrix:
23+
language: [javascript]
24+
25+
steps:
26+
- name: Checkout
27+
uses: actions/checkout@v3
28+
29+
- name: Initialize CodeQL
30+
uses: github/codeql-action/init@v2
31+
with:
32+
languages: ${{ matrix.language }}
33+
queries: +security-and-quality
34+
35+
- name: Autobuild
36+
uses: github/codeql-action/autobuild@v2
37+
38+
- name: Perform CodeQL Analysis
39+
uses: github/codeql-action/analyze@v2
40+
with:
41+
category: '/language:${{ matrix.language }}'

.github/workflows/release.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,12 @@ jobs:
2222
node-version: 16
2323
cache: yarn
2424

25-
- name: Link Yarn global binaries into PATH
26-
run: echo "$(yarn global bin)" >> $GITHUB_PATH
27-
2825
- name: Install Dependencies
2926
run: yarn --frozen-lockfile
3027

3128
- name: Create Release Pull Request or Publish to npm
3229
id: changesets
33-
uses: changesets/action@master
30+
uses: changesets/action@v1
3431
with:
3532
commit: 'chore: release ng-monaco-editor'
3633
title: 'chore: release ng-monaco-editor'

.github/workflows/stories.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ name: Deploy stories
22

33
on:
44
push:
5-
branches: [master]
5+
branches:
6+
- master
67

78
jobs:
89
deploy_stories:
@@ -18,9 +19,6 @@ jobs:
1819
node-version: 16
1920
cache: yarn
2021

21-
- name: Link Yarn global binaries into PATH
22-
run: echo "$(yarn global bin)" >> $GITHUB_PATH
23-
2422
- name: Install dependencies
2523
run: yarn --frozen-lockfile
2624

.remarkrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"plugins": [
3-
"@1stg/remark-config"
3+
"@1stg/remark-preset"
44
]
55
}

.storybook/global.scss

Lines changed: 0 additions & 5 deletions
This file was deleted.

.storybook/main.ts

Lines changed: 22 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,30 @@
1+
import type { StorybookConfig } from '@storybook/angular';
12
import MonacoEditorWebpackPlugin from 'monaco-editor-webpack-plugin';
23
import { Configuration } from 'webpack';
34

45
const isDev = process.env.NODE_ENV === 'development';
56

6-
export default {
7-
stories: ['../stories/**/*.stories.ts'],
8-
core: {
9-
builder: 'webpack5',
10-
},
7+
const config: StorybookConfig = {
8+
stories: ['../stories/**/*.stories.@(js|jsx|ts|tsx)'],
119
addons: [
12-
'@storybook/addon-actions',
13-
'@storybook/addon-knobs',
14-
'@storybook/addon-postcss',
10+
'@storybook/addon-links',
11+
'@storybook/addon-essentials',
12+
'@storybook/addon-interactions',
1513
],
16-
staticDirs: [`../node_modules/monaco-editor/${isDev ?'dev':'min'}`],
14+
framework: {
15+
name: '@storybook/angular',
16+
options: {},
17+
},
18+
staticDirs: [`../node_modules/monaco-editor/${isDev ? 'dev' : 'min'}`],
1719
webpackFinal(config: Configuration) {
20+
config.module!.rules!.push({
21+
test: /node_modules[/\\]monaco-editor[/\\]esm[/\\].+\.css$/i,
22+
use: [
23+
'style-loader',
24+
'css-loader',
25+
],
26+
});
27+
1828
config.plugins!.push(
1929
new MonacoEditorWebpackPlugin({
2030
languages: ['yaml'],
@@ -31,6 +41,9 @@ export default {
3141
],
3242
}),
3343
);
44+
3445
return config;
3546
},
3647
};
48+
49+
export default config;

.storybook/preview.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

.storybook/tsconfig.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
"extends": "../tsconfig.json",
33
"include": ["./**/*.ts", "../stories/**/*.ts"],
44
"compilerOptions": {
5-
"baseUrl": ".."
5+
"baseUrl": "..",
6+
"noUnusedLocals": false,
7+
"noUnusedParameters": false
68
}
79
}

0 commit comments

Comments
 (0)