Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,25 @@
{
"name": "mutf-8",
"name": "mutf-8.dev",
"build": {
"dockerfile": "Dockerfile"
},
"remoteUser": "node",
"postCreateCommand": "npm ci --ignore-scripts=true",
"customizations": {
"vscode": {
"extensions": ["EditorConfig.EditorConfig", "biomejs.biome"],
"settings": {
"biome.configurationPath": "biome.json",
"biome.suggestInstallingGlobally": false,
"editor.codeActionsOnSave": {
"source.fixAll": "explicit",
"source.organizeImports": "always"
},
"editor.formatOnSave": true,
"editor.defaultFormatter": "biomejs.biome"
"editor.defaultFormatter": "EditorConfig.EditorConfig",
"[typescriptreact]": {
"editor.defaultFormatter": "biomejs.biome"
}
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
node-version-file: package.json
cache: npm
- name: Install dependencies
run: npm ci --ignore-scripts=true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
node-version-file: package.json
cache: npm
- name: Install dependencies
run: npm ci --ignore-scripts=true
Expand Down
18 changes: 0 additions & 18 deletions .github/workflows/publish-mutf-8.yaml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: publish mutf-8-stream
name: publish
on: workflow_dispatch
jobs:
publish:
Expand All @@ -7,14 +7,16 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
node-version-file: package.json
cache: npm
registry-url: https://registry.npmjs.org
- name: Install dependencies
run: npm ci --ignore-scripts=true
- name: Run build mutf-8
run: npm run build:ci --workspace=packages/mutf-8
- name: Publish package
- name: Publish core package
run: npm publish --workspace=packages/mutf-8
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish streaming package
run: npm publish --workspace=packages/mutf-8-stream
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
41 changes: 20 additions & 21 deletions biome.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,23 @@
{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
},
"files": {
"ignoreUnknown": false
},
"formatter": {
"enabled": true,
"useEditorconfig": true
},
"organizeImports": {
"enabled": true
},
"linter": {
"enabled": true,
"rules": {
"recommended": true
"$schema": "https://biomejs.dev/schemas/2.1.4/schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
},
"files": {
"ignoreUnknown": false
},
"formatter": {
"enabled": true,
"useEditorconfig": true,
"lineWidth": 120
},
"assist": { "actions": { "source": { "organizeImports": "on" } } },
"linter": {
"enabled": true,
"rules": {
"recommended": true
}
}
}
}
Loading