Skip to content

Commit a59badd

Browse files
authored
Merge pull request #150 from liferay/wincent/scope/js-toolkit-core
chore(js-toolkit): move liferay-js-toolkit-core (v3.x) to @liferay/js-toolkit-core
2 parents 542e42c + 9ebcea8 commit a59badd

File tree

140 files changed

+153
-64
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

140 files changed

+153
-64
lines changed

projects/js-toolkit/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion

projects/js-toolkit/packages/generator-liferay-js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"author": "Liferay Frontend Infrastructure Team <pt-frontend-infrastructure@liferay.com>",
33
"dependencies": {
4+
"@liferay/js-toolkit-core": "3.0.0-alpha.2",
45
"dot-prop": "^5.0.1",
56
"fs-extra": "^8.1.0",
6-
"liferay-js-toolkit-core": "3.0.0-alpha.2",
77
"read-json-sync": "^2.0.1",
88
"yargs": "^14.0.0",
99
"yeoman-generator": "^3.2.0"

projects/js-toolkit/packages/generator-liferay-js/src/adapt/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* SPDX-License-Identifier: LGPL-3.0-or-later
44
*/
55

6-
import {Project, ProjectType, format} from 'liferay-js-toolkit-core';
6+
import {Project, ProjectType, format} from '@liferay/js-toolkit-core';
77
import path from 'path';
88
import {argv} from 'yargs';
99
import Generator from 'yeoman-generator';

projects/js-toolkit/packages/generator-liferay-js/src/utils/ProjectAnalyzer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
* SPDX-License-Identifier: LGPL-3.0-or-later
44
*/
55

6+
import {PkgJson} from '@liferay/js-toolkit-core';
67
import prop from 'dot-prop';
7-
import {PkgJson} from 'liferay-js-toolkit-core';
88
import path from 'path';
99

1010
import {DEFAULT_CONFIGURATION} from '../facet-configuration/constants';

projects/js-toolkit/packages/generator-liferay-js/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
"rootDir": "./src"
88
},
99
"include": ["src/**/*", "src/**/*.json"],
10-
"references": [{"path": "../liferay-js-toolkit-core"}]
10+
"references": [{"path": "../js-toolkit-core"}]
1111
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Make `yarn version` produce the right commit message and tag for this package.
2+
version-tag-prefix "js-toolkit-core/v"
3+
version-git-message "chore: prepare @liferay/js-toolkit-core v%s release"

projects/js-toolkit/packages/liferay-js-toolkit-core/package.json renamed to projects/js-toolkit/packages/js-toolkit-core/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
"description": "Utility library for Liferay NPM Build Tools.",
1919
"license": "LGPL-3.0",
2020
"main": "lib/index.js",
21-
"name": "liferay-js-toolkit-core",
21+
"name": "@liferay/js-toolkit-core",
2222
"repository": {
23-
"directory": "projects/js-toolkit/packages/liferay-js-toolkit-core",
23+
"directory": "projects/js-toolkit/packages/js-toolkit-core",
2424
"type": "git",
2525
"url": "https://github.com/liferay/liferay-frontend-projects.git"
2626
},

0 commit comments

Comments
 (0)