Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix/schematic #488

Merged
merged 105 commits into from
Feb 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
105 commits
Select commit Hold shift + click to select a range
78c1b1b
feat(yarn): plugin-schematics WIP
kirill-ivanovvv Jan 31, 2025
5649ddb
feat(schematics): collection
kirill-ivanovvv Jan 31, 2025
72a098d
feat(yarn): plugin schematics WIP
kirill-ivanovvv Jan 31, 2025
913f429
feat(yarn): schematic plugin WIP
kirill-ivanovvv Feb 3, 2025
628aea6
feat(yarn): cp files from original schematics
kirill-ivanovvv Feb 3, 2025
2572402
feat(yarn): schematics-plugin WIP
kirill-ivanovvv Feb 3, 2025
7f3b24d
refactor(yarn): schematics path
kirill-ivanovvv Feb 3, 2025
ebc701d
feat(schematics): cjs build
kirill-ivanovvv Feb 4, 2025
3519a98
style(common): format
kirill-ivanovvv Feb 4, 2025
6aded2d
feat(schematic): build script
kirill-ivanovvv Feb 4, 2025
991edd5
fix(schematics): generate project path
kirill-ivanovvv Feb 4, 2025
9defd5d
fix(yarn): schematic plugin collection path
kirill-ivanovvv Feb 4, 2025
11431b2
feat(common): generate project script for test
kirill-ivanovvv Feb 4, 2025
03d10c3
refactor(schematics): namings
kirill-ivanovvv Feb 4, 2025
70b67fc
fix(schematics): change js to cjs
kirill-ivanovvv Feb 4, 2025
e776cb1
chore(common): yarn
kirill-ivanovvv Feb 4, 2025
bc95750
feat(schematics): build WIP
kirill-ivanovvv Feb 4, 2025
1669797
fix(schematic): build regex
kirill-ivanovvv Feb 5, 2025
b7bae0f
fix(schematic): update tsconfig
kirill-ivanovvv Feb 5, 2025
94bb137
style(schematic): rm comments
kirill-ivanovvv Feb 5, 2025
3c40f73
refactor(schematic): build script types
kirill-ivanovvv Feb 5, 2025
79c81ab
refactor(schematic): separate ts rule
kirill-ivanovvv Feb 5, 2025
b8b5e27
feat(schematic): sources init (cp from bak)
kirill-ivanovvv Feb 5, 2025
23a044d
feat(schematics): cp templates to dir
kirill-ivanovvv Feb 5, 2025
da1f610
style(common): format
kirill-ivanovvv Feb 5, 2025
51629df
refactor(schematics): split build script
kirill-ivanovvv Feb 5, 2025
e9144dd
refactor(schematics): mv legacy to bak
kirill-ivanovvv Feb 5, 2025
630921a
feat(yarn): schematics command pass options to schematics
kirill-ivanovvv Feb 5, 2025
2274c9f
feat(yarn): schematics command types key
kirill-ivanovvv Feb 5, 2025
bb7cd75
refactor(yarn): rm unused
kirill-ivanovvv Feb 5, 2025
b55d92d
refactor(schematics): rm unused
kirill-ivanovvv Feb 5, 2025
e395c0f
fix(yarn): bundle build WIP
kirill-ivanovvv Feb 5, 2025
597fa4d
feat(common): jsonc patch
kirill-ivanovvv Feb 6, 2025
fe44008
refactor(yarn): plugin schematics, rm unused
kirill-ivanovvv Feb 6, 2025
004994a
refactor(yarn): yarn cli schematics package
kirill-ivanovvv Feb 6, 2025
cee20b9
refactor(yarn): plugin schematics collection path getter
kirill-ivanovvv Feb 6, 2025
ec63202
fix(schematics): get collection path
kirill-ivanovvv Feb 7, 2025
e557671
refactor(common): checks
kirill-ivanovvv Feb 7, 2025
b084c55
refactor(schematics): scripts
kirill-ivanovvv Feb 7, 2025
e88f49a
refactor(common): rm unused
kirill-ivanovvv Feb 7, 2025
988303e
feat(yarn): bundle build
kirill-ivanovvv Feb 7, 2025
3a62865
style(common): format
kirill-ivanovvv Feb 7, 2025
639254d
refactor(schematics): scripts structure & namings
kirill-ivanovvv Feb 10, 2025
b884412
refactor(schematics): description
kirill-ivanovvv Feb 10, 2025
bba3917
refactor(schematics): rm unused package
kirill-ivanovvv Feb 10, 2025
40f41b2
refactor(common): packages
kirill-ivanovvv Feb 10, 2025
6fbb493
style(common): format
kirill-ivanovvv Feb 10, 2025
26eab30
refactor(common): change readme command
kirill-ivanovvv Feb 10, 2025
365db04
refactor(schematics): split prepack script
kirill-ivanovvv Feb 10, 2025
3bbc6e1
refactor(schematics): structure
kirill-ivanovvv Feb 10, 2025
69e9f62
refactor(yarn): move schematics logic into
kirill-ivanovvv Feb 10, 2025
b3a3737
refactor(schematics): rm unused
kirill-ivanovvv Feb 10, 2025
f54d750
feat(yarn): import code function from schematics
kirill-ivanovvv Feb 10, 2025
6f51bda
feat(yarn): add schematica package to bundle
kirill-ivanovvv Feb 10, 2025
70ace9f
style(common): format
kirill-ivanovvv Feb 10, 2025
31dab2a
feat(runtime): reexport tsconfig:
kirill-ivanovvv Feb 10, 2025
dace9dc
refactor(schematics): use tsconfig from runtime
kirill-ivanovvv Feb 10, 2025
7a5173e
refactor(yarn): rm schematics from cli
kirill-ivanovvv Feb 10, 2025
ddf9c63
feat(common): update yarn releases
kirill-ivanovvv Feb 10, 2025
21439d4
feat(schematics): return value
kirill-ivanovvv Feb 10, 2025
c48fda3
feat(yarn): build cli
kirill-ivanovvv Feb 10, 2025
efbc6ea
feat(yarn): change plugin schematics command
kirill-ivanovvv Feb 10, 2025
acea3d5
feat(common): readme change command
kirill-ivanovvv Feb 10, 2025
ce55978
fix(schematics): deps
kirill-ivanovvv Feb 11, 2025
a2f4de3
refactor(common): peer deps
kirill-ivanovvv Feb 11, 2025
ee5aeae
refactor(common): rm unused yarn path
kirill-ivanovvv Feb 11, 2025
7f35a61
feat(runtime): mv schematic
kirill-ivanovvv Feb 14, 2025
3713df1
style(common): format
kirill-ivanovvv Feb 14, 2025
bce5333
refactor(yarn): schemaic plugin, change schematics package
kirill-ivanovvv Feb 14, 2025
2cfca6a
refactor(common): rm unused
kirill-ivanovvv Feb 14, 2025
d2b3e18
style(common): format
kirill-ivanovvv Feb 14, 2025
21794d0
fix(yarn): peer deps
kirill-ivanovvv Feb 14, 2025
2e5c109
fix(common): yarn.lock
kirill-ivanovvv Feb 14, 2025
198b826
refactor(yarn): move schematice code to
kirill-ivanovvv Feb 17, 2025
c26a18c
refactor(runtime): build script
kirill-ivanovvv Feb 17, 2025
df06531
style(common): format
kirill-ivanovvv Feb 17, 2025
2b85e1e
feat(code): schematics missing dep
kirill-ivanovvv Feb 17, 2025
abc9a35
fix(schematic): export path
kirill-ivanovvv Feb 17, 2025
dc66686
refactor(code): schematics cjs to esm import syntas
kirill-ivanovvv Feb 17, 2025
279f76f
feat(.yarn): prettier sdk
kirill-ivanovvv Feb 19, 2025
eec41f6
refactor(schematic): split schematic between code-runtime & code-sche…
kirill-ivanovvv Feb 19, 2025
20716c9
feat(common): prettier to dev
kirill-ivanovvv Feb 19, 2025
f78e167
refactor(code-schematics): code-schematic generate factory to string …
kirill-ivanovvv Feb 19, 2025
3e91933
feat(yarn-cli): build schematic to prepack script
kirill-ivanovvv Feb 19, 2025
47b91d3
chore(common): yarn
kirill-ivanovvv Feb 19, 2025
d48edd5
refactor(code-schematics): rm unused
kirill-ivanovvv Feb 19, 2025
c3c650e
feat(code-runtime): generated schematics
kirill-ivanovvv Feb 19, 2025
6c4cf03
refactor(code-runtime): schematics directory structure
kirill-ivanovvv Feb 19, 2025
3b1601a
feat(code-runtime): schematic build script
kirill-ivanovvv Feb 19, 2025
e010985
refactor(code-schematics): rm unused
kirill-ivanovvv Feb 19, 2025
9a578fe
refactor(code-schematics): generated
kirill-ivanovvv Feb 19, 2025
19b8df3
feat(code-schematics): angular packages to bundle
kirill-ivanovvv Feb 19, 2025
2a2390a
fix(code-runtime): write file async
kirill-ivanovvv Feb 20, 2025
607da08
feat(code-schematics): build WIP
kirill-ivanovvv Feb 20, 2025
55f14a2
refactor(yarn-plugin-schematics): generate project command WIP
kirill-ivanovvv Feb 20, 2025
253a5b0
feat(common): schematic test script
kirill-ivanovvv Feb 21, 2025
aa2fc6f
feat(code-schematics): generated factory
kirill-ivanovvv Feb 21, 2025
b7d2684
refactor(code-schematics): build script refactor - files structure mo…
kirill-ivanovvv Feb 21, 2025
bcd402f
refactor(yarn-plugin-schematics): mv logic into code-schematics
kirill-ivanovvv Feb 21, 2025
0754cce
refactor(code-schematics): move logic and structure refactor
kirill-ivanovvv Feb 21, 2025
c163e10
chore(common): yarn
kirill-ivanovvv Feb 21, 2025
fa91ba0
refactor(code-runtime): mv build script to code-schematics
kirill-ivanovvv Feb 21, 2025
a236119
style(common): format
kirill-ivanovvv Feb 21, 2025
1170e81
refactor(code-schematics): use yarn tmp
kirill-ivanovvv Feb 21, 2025
ce98051
refactor(common): dependencies
kirill-ivanovvv Feb 21, 2025
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
991 changes: 626 additions & 365 deletions .pnp.cjs

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2,983 changes: 2,983 additions & 0 deletions .yarn/patches/jsonc-parser-npm-3.3.1-f57c3cdcf5.patch

Large diffs are not rendered by default.

3,871 changes: 2,580 additions & 1,291 deletions .yarn/releases/yarn.mjs

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions .yarn/sdks/integrations.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# This file is automatically generated by @yarnpkg/sdks.
# Manual changes might be lost!

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

const {existsSync} = require(`fs`);
const {createRequire, register} = require(`module`);
const {resolve} = require(`path`);
const {pathToFileURL} = require(`url`);

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

const absPnpApiPath = resolve(__dirname, relPnpApiPath);
const absUserWrapperPath = resolve(__dirname, `./sdk.user.cjs`);
const absRequire = createRequire(absPnpApiPath);

const absPnpLoaderPath = resolve(absPnpApiPath, `../.pnp.loader.mjs`);
const isPnpLoaderEnabled = existsSync(absPnpLoaderPath);

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

const wrapWithUserWrapper = existsSync(absUserWrapperPath)
? exports => absRequire(absUserWrapperPath)(exports)
: exports => exports;

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

const {existsSync} = require(`fs`);
const {createRequire, register} = require(`module`);
const {resolve} = require(`path`);
const {pathToFileURL} = require(`url`);

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

const absPnpApiPath = resolve(__dirname, relPnpApiPath);
const absUserWrapperPath = resolve(__dirname, `./sdk.user.cjs`);
const absRequire = createRequire(absPnpApiPath);

const absPnpLoaderPath = resolve(absPnpApiPath, `../.pnp.loader.mjs`);
const isPnpLoaderEnabled = existsSync(absPnpLoaderPath);

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

const wrapWithUserWrapper = existsSync(absUserWrapperPath)
? exports => absRequire(absUserWrapperPath)(exports)
: exports => exports;

// Defer to the real prettier your application uses
module.exports = wrapWithUserWrapper(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.4.2-sdk",
"main": "./index.cjs",
"type": "commonjs",
"bin": "./bin/prettier.cjs"
}

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

Binary file not shown.

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

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

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

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

Loading
Loading