Skip to content

Commit

Permalink
Feat/berry (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
njfamirm authored Nov 9, 2023
2 parents f97e70b + 7e25b7c commit c97c47b
Show file tree
Hide file tree
Showing 18 changed files with 134 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
blank_issues_enabled: true
contact_links:
- name: Discussions
url: https://github.com/AliMD/alwatr/discussions
url: https://github.com/Alwatr/alwatr/discussions
about: Please ask and answer questions here.

- name: Contact up
Expand Down
3 changes: 2 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"esbenp.prettier-vscode",
"jgclark.vscode-todo-highlight",
"streetsidesoftware.code-spell-checker-persian",
"streetsidesoftware.code-spell-checker"
"streetsidesoftware.code-spell-checker",
"arcanis.vscode-zipfs"
]
}
11 changes: 9 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,15 @@
"markdownlint.ignore": ["**/CHANGELOG.md"],
"cSpell.language": "en,fa,fa-IR",
"cSpell.words": ["Alwatr"],
"typescript.tsdk": "node_modules/typescript/lib",
"typescript.tsdk": ".yarn/sdks/typescript/lib",
"git.autoStash": true,
"git.branchProtection": ["main", "next"],
"githubPullRequests.ignoredPullRequestBranches": ["main", "next"]
"githubPullRequests.ignoredPullRequestBranches": ["main", "next"],
"search.exclude": {
"**/.yarn": true,
"**/.pnp.*": true
},
"eslint.nodePath": ".yarn/sdks",
"prettier.prettierPath": ".yarn/sdks/prettier/index.cjs",
"typescript.enablePromptUseWorkspaceTsdk": true
}
14 changes: 14 additions & 0 deletions .yarn/sdks/eslint/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"name": "eslint",
"version": "8.53.0-sdk",
"main": "./lib/api.js",
"type": "commonjs",
"bin": {
"eslint": "./bin/eslint.js"
},
"exports": {
"./package.json": "./package.json",
".": "./lib/api.js",
"./use-at-your-own-risk": "./lib/unsupported-api.js"
}
}
5 changes: 5 additions & 0 deletions .yarn/sdks/integrations.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# This file is automatically generated by @yarnpkg/sdks.
# Manual changes might be lost!

integrations:
- vscode
20 changes: 20 additions & 0 deletions .yarn/sdks/prettier/bin/prettier.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/usr/bin/env node

const {existsSync} = require(`fs`);
const {createRequire} = require(`module`);
const {resolve} = require(`path`);

const relPnpApiPath = '../../../../.pnp.cjs';

const absPnpApiPath = resolve(__dirname, relPnpApiPath);
const absRequire = createRequire(absPnpApiPath);

if (existsSync(absPnpApiPath)) {
if (!process.versions.pnp) {
// Setup the environment to be able to require prettier/bin/prettier.cjs
require(absPnpApiPath).setup();
}
}

// Defer to the real prettier/bin/prettier.cjs your application uses
module.exports = absRequire(`prettier/bin/prettier.cjs`);
20 changes: 20 additions & 0 deletions .yarn/sdks/prettier/index.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/usr/bin/env node

const {existsSync} = require(`fs`);
const {createRequire} = require(`module`);
const {resolve} = require(`path`);

const relPnpApiPath = '../../../.pnp.cjs';

const absPnpApiPath = resolve(__dirname, relPnpApiPath);
const absRequire = createRequire(absPnpApiPath);

if (existsSync(absPnpApiPath)) {
if (!process.versions.pnp) {
// Setup the environment to be able to require prettier
require(absPnpApiPath).setup();
}
}

// Defer to the real prettier your application uses
module.exports = absRequire(`prettier`);
7 changes: 7 additions & 0 deletions .yarn/sdks/prettier/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "prettier",
"version": "3.0.3-sdk",
"main": "./index.cjs",
"type": "commonjs",
"bin": "./bin/prettier.cjs"
}
20 changes: 20 additions & 0 deletions .yarn/sdks/typescript/bin/tsc
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/usr/bin/env node

const {existsSync} = require(`fs`);
const {createRequire} = require(`module`);
const {resolve} = require(`path`);

const relPnpApiPath = "../../../../.pnp.cjs";

const absPnpApiPath = resolve(__dirname, relPnpApiPath);
const absRequire = createRequire(absPnpApiPath);

if (existsSync(absPnpApiPath)) {
if (!process.versions.pnp) {
// Setup the environment to be able to require typescript/bin/tsc
require(absPnpApiPath).setup();
}
}

// Defer to the real typescript/bin/tsc your application uses
module.exports = absRequire(`typescript/bin/tsc`);
20 changes: 20 additions & 0 deletions .yarn/sdks/typescript/bin/tsserver
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/usr/bin/env node

const {existsSync} = require(`fs`);
const {createRequire} = require(`module`);
const {resolve} = require(`path`);

const relPnpApiPath = "../../../../.pnp.cjs";

const absPnpApiPath = resolve(__dirname, relPnpApiPath);
const absRequire = createRequire(absPnpApiPath);

if (existsSync(absPnpApiPath)) {
if (!process.versions.pnp) {
// Setup the environment to be able to require typescript/bin/tsserver
require(absPnpApiPath).setup();
}
}

// Defer to the real typescript/bin/tsserver your application uses
module.exports = absRequire(`typescript/bin/tsserver`);
10 changes: 10 additions & 0 deletions .yarn/sdks/typescript/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"name": "typescript",
"version": "5.2.2-sdk",
"main": "./lib/typescript.js",
"type": "commonjs",
"bin": {
"tsc": "./bin/tsc",
"tsserver": "./bin/tsserver"
}
}
1 change: 0 additions & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
nodeLinker: node-modules
enableTelemetry: false
6 changes: 1 addition & 5 deletions demo/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,5 @@

"include": ["**/*.ts"],
"exclude": ["*.d.ts", "node_modules"],
"references": [
{"path": "../packages/signal"},
{"path": "../packages/fsm"},
{"path": "../packages/server-context"}
]
"references": [{"path": "../packages/signal"}, {"path": "../packages/fsm"}, {"path": "../packages/server-context"}]
}
2 changes: 1 addition & 1 deletion packages/fsm/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline

### Bug Fixes

* **fsm:** compatible with new logger api ([77db656](https://github.com/AliMD/alwatr-signal/commit/77db656d8b261da29376cf6dba7b9d4c35deeae8)) by @
- **fsm:** compatible with new logger api ([77db656](https://github.com/AliMD/alwatr-signal/commit/77db656d8b261da29376cf6dba7b9d4c35deeae8)) by @

# 2.0.0 (2023-09-19)

Expand Down
4 changes: 1 addition & 3 deletions packages/fsm/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,5 @@

"include": ["src/**/*.ts"],
"exclude": [],
"references": [
{"path": "../signal"}
]
"references": [{"path": "../signal"}]
}
2 changes: 1 addition & 1 deletion packages/server-context/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline

### Bug Fixes

* **server-context:** compatible with new logger api ([916db77](https://github.com/AliMD/alwatr-signal/commit/916db775c4e352d7ca663507f80539eef38b4738)) by @
- **server-context:** compatible with new logger api ([916db77](https://github.com/AliMD/alwatr-signal/commit/916db775c4e352d7ca663507f80539eef38b4738)) by @

## [1.2.1](https://github.com/AliMD/alwatr-signal/compare/@alwatr/[email protected]...@alwatr/[email protected]) (2023-10-16)

Expand Down
5 changes: 1 addition & 4 deletions packages/server-context/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,5 @@

"include": ["src/**/*.ts"],
"exclude": [],
"references": [
{"path": "../signal"},
{"path": "../fsm"},
]
"references": [{"path": "../signal"}, {"path": "../fsm"}]
}
2 changes: 1 addition & 1 deletion packages/signal/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline

### Bug Fixes

* **signal:** compatible with new logger api ([0a3b1c0](https://github.com/AliMD/alwatr-signal/commit/0a3b1c02b285daa66491104a14596e6a19895e11)) by @
- **signal:** compatible with new logger api ([0a3b1c0](https://github.com/AliMD/alwatr-signal/commit/0a3b1c02b285daa66491104a14596e6a19895e11)) by @

# 2.0.0 (2023-09-19)

Expand Down

0 comments on commit c97c47b

Please sign in to comment.