forked from xvrh/localize-with-spreadsheet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
79475bc
commit 47b9108
Showing
57 changed files
with
3,412 additions
and
3,897 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,4 +17,5 @@ tmp/ | |
packages/*/dist | ||
packages/*/lib | ||
|
||
.yarn | ||
.yarn | ||
tsconfig.tsbuildinfo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"packages/*/src/**/*.(ts|tsx)": "yarn lint", | ||
"packages/*/(src|test)/**/*.(ts|tsx)": "yarn prettier" | ||
"packages/*/(src|test)/**/*.(ts|tsx)": "yarn format" | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,46 @@ | ||
{ | ||
"private": true, | ||
"name": "@lokse/workspace", | ||
"packageManager": "yarn@4.5.1", | ||
"workspaces": [ | ||
"example", | ||
"docs/web", | ||
"packages/*" | ||
], | ||
"engines": { | ||
"node": ">=20" | ||
}, | ||
"scripts": { | ||
"bootstrap": "lerna bootstrap --use-workspaces", | ||
"build": "lerna run build", | ||
"clean": "lerna exec --ignore example -- rm -r lib", | ||
"changelog": "yarn update-gitmoji-config && npx gitmoji-changelog --preset generic", | ||
"lint": "eslint packages/*/src/ --ext .ts --config ./.eslintrc", | ||
"prettier": "prettier --write --config ./.prettierrc \"packages/*/(src|test)/**/*.(ts|tsx)\"", | ||
"publish:ci": "lerna publish from-package --yes", | ||
"release": "lerna version $1", | ||
"version": "yarn changelog && code --wait CHANGELOG.md && git add CHANGELOG.md .gitmoji-changelogrc", | ||
"test": "jest", | ||
"test:watch": "jest --watchAll", | ||
"update-gitmoji-config": "node ./scripts/update-gitmoji-config.js" | ||
}, | ||
"devDependencies": { | ||
"@types/glob": "^8.0.1", | ||
"chai": "^4.2.0", | ||
"eslint": "^7.32.0", | ||
"eslint-config-oclif": "^4.0.0", | ||
"eslint-config-oclif-typescript": "^1.0.2", | ||
"eslint-config-prettier": "^8.3.0", | ||
"glob": "^8.1.0", | ||
"husky": "^4.3.0", | ||
"lint-staged": "^10.5.1", | ||
"prettier": "3.3.3", | ||
"typescript": "5.6.3" | ||
}, | ||
"dependencies": { | ||
"@types/jest": "29.5.14", | ||
"jest": "29.7.0", | ||
"lerna": "4", | ||
"ts-jest": "29.2.5" | ||
} | ||
"private": true, | ||
"name": "@lokse/workspace", | ||
"packageManager": "yarn@4.5.1", | ||
"workspaces": [ | ||
"example", | ||
"docs/web", | ||
"packages/*" | ||
], | ||
"engines": { | ||
"node": ">=20" | ||
}, | ||
"scripts": { | ||
"bootstrap": "lerna bootstrap --use-workspaces", | ||
"build": "lerna run build", | ||
"clean": "lerna exec --ignore example -- rm -r lib", | ||
"changelog": "yarn update-gitmoji-config && npx gitmoji-changelog --preset generic", | ||
"lint": "eslint packages/*/src/ --ext .ts --config ./.eslintrc", | ||
"format": "prettier --write --config prettier.config.mjs \"packages/*/(src|test)/**/*.(ts|tsx)\"", | ||
"publish:ci": "lerna publish from-package --yes", | ||
"release": "lerna version $1", | ||
"version": "yarn changelog && code --wait CHANGELOG.md && git add CHANGELOG.md .gitmoji-changelogrc", | ||
"test": "jest", | ||
"test:watch": "jest --watchAll", | ||
"update-gitmoji-config": "node ./scripts/update-gitmoji-config.js" | ||
}, | ||
"devDependencies": { | ||
"@types/glob": "^8.0.1", | ||
"chai": "^4.2.0", | ||
"eslint": "^7.32.0", | ||
"eslint-config-oclif": "^4.0.0", | ||
"eslint-config-oclif-typescript": "^1.0.2", | ||
"eslint-config-prettier": "^8.3.0", | ||
"glob": "^8.1.0", | ||
"husky": "^4.3.0", | ||
"lint-staged": "^10.5.1", | ||
"prettier": "3.3.3", | ||
"typescript": "5.6.3" | ||
}, | ||
"dependencies": { | ||
"@types/jest": "29.5.14", | ||
"jest": "29.7.0", | ||
"lerna": "4", | ||
"ts-jest": "29.2.5" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
import { Command } from "@oclif/command"; | ||
import * as updateNotifier from "update-notifier"; | ||
import { Command } from '@oclif/command'; | ||
import * as updateNotifier from 'update-notifier'; | ||
|
||
import { getConfig } from "@lokse/core"; | ||
import type { LokseConfig } from "@lokse/core"; | ||
import { getConfig } from '@lokse/core'; | ||
import type { LokseConfig } from '@lokse/core'; | ||
|
||
const pkg = require("../package.json"); | ||
const pkg = require('../package.json'); | ||
|
||
export default abstract class Base extends Command { | ||
protected conf: undefined | null | LokseConfig; | ||
protected conf: undefined | null | LokseConfig; | ||
|
||
async init(): Promise<void> { | ||
const notifier = updateNotifier({ | ||
pkg, | ||
updateCheckInterval: 1000, | ||
shouldNotifyInNpmScript: true, | ||
}); | ||
notifier.notify(); | ||
async init(): Promise<void> { | ||
const notifier = updateNotifier({ | ||
pkg, | ||
updateCheckInterval: 1000, | ||
shouldNotifyInNpmScript: true, | ||
}); | ||
notifier.notify(); | ||
|
||
this.conf = getConfig(); | ||
} | ||
this.conf = getConfig(); | ||
} | ||
} |
Oops, something went wrong.